How to calculate crypto capital gains tax
Capital gain is the amount you sold for minus your cost basis (what you originally paid, including fees). If that gain is positive, multiplying it by your tax rate gives an estimated tax owed; a loss owes no tax and may offset other gains, depending on your country's rules.
Example: buying for $5,000 and selling for $8,000 is a $3,000 gain. At a 20% rate, the estimated tax is $600, leaving $7,400 net.
Short-term vs long-term rates
Many countries tax assets held for a short period differently from ones held longer — often with a lower rate for longer holds. Enter whichever rate applies to your situation; the calculator itself doesn't assume any particular country's rules.
Estimates only, for general information — not tax advice. Rates and rules vary by country and change often; check your local tax authority or a professional. Last updated
Frequently asked questions
How is crypto capital gain calculated?
Capital gain is what you sold for minus your cost basis, which is usually what you originally paid including fees. Tax owed is an estimate: the gain multiplied by your tax rate.
Do I use the short-term or long-term rate?
That depends on how long you held the asset and on your country's rules — many places tax assets held under a year differently from those held longer. Enter whichever rate applies to you.
Is this tax advice?
No. Crypto tax rules vary by country and change often. This gives a quick estimate for general information only — check your local rules or a tax professional for your actual filing.
Is my information stored anywhere?
No. The calculation runs in your browser and nothing you enter is sent to a server.
Related calculators
Percentage Calculator · Profit Margin Calculator · Discount Calculator
More in Money & Work.