How crypto gains are worked out for tax
This page explains the method, not the rates. Crypto tax rules differ enormously between countries and are revised often — a rate or threshold quoted here would be wrong for most readers and stale for the rest. What is broadly consistent is the structure: you identify disposal events, work out a gain or loss on each one, and apply your jurisdiction's rules to the result.
A disposal is any event where you part with a crypto asset. Selling for fiat is the obvious one. Less obvious, and the source of most unpleasant surprises, is that swapping one crypto for another is treated as a disposal in many jurisdictions — you disposed of the first asset at its market value, even though no fiat moved and nothing landed in your bank account. Spending crypto on goods often counts too.
The gain on each disposal is proceeds minus cost basis. What makes this hard is not the subtraction but deciding which units you sold when you bought the same asset at several different prices — and that choice can change the reported gain by a multiple, as the example below shows.
Worked example
Jurisdiction-neutral arithmetic only — no rate is applied, because no rate would be correct everywhere. You bought 1 BTC at 30,000 in January and another at 50,000 in June, then disposed of exactly 1 BTC at 60,000. Which coin did you sell?
| Input | Value |
| January purchase | 1 BTC at 30,000 |
| June purchase | 1 BTC at 50,000 |
| Disposal | 1 BTC at 60,000 |
| Gain under FIFO (oldest first) | 30,000 |
| Gain under highest-cost-first | 10,000 |
| Gain under average cost | 20,000 |
One identical trade, three defensible answers, and the largest is three times the smallest. Which methods you may use is set by your jurisdiction, and some require you to keep using the same one year to year. This is why cost basis records matter more than any rate table: without them, no method can be applied at all.
How to use this calculator
- List every disposal in the period — sales, crypto-to-crypto swaps, spends and gifts — not just the ones that produced fiat.
- Attach a cost basis to each disposal, including the fees paid when you acquired those units.
- Apply the cost basis method your jurisdiction permits, and apply it consistently.
- Separate short-held from long-held disposals, since many countries treat them differently.
- Confirm the current rates, thresholds, allowances and reporting deadlines with an official source or a qualified professional before filing.
Frequently asked questions
Is swapping one crypto for another a taxable event?
In many jurisdictions yes — it is treated as disposing of the first asset at its market value and acquiring the second. No fiat needs to be involved. This catches people who traded actively all year, never withdrew anything, and still have a reportable position. Confirm the treatment locally.
Do I owe anything on crypto I am still holding?
Usually not. Most systems tax on disposal rather than on unrealised gains, so a position that has risen but not been sold typically creates nothing to report. Some jurisdictions differ, and rules around staking rewards, airdrops and lending can create income before any sale.
What is a cost basis method and why does the choice matter?
It is the rule deciding which units you sold when you hold the same asset bought at different prices — FIFO, highest-cost-first, specific identification or average cost. As the example shows, the same trade can produce very different gains. Your jurisdiction dictates which methods are allowed.
Does how long I held it change anything?
In many countries yes. Some distinguish short-term from long-term holdings and treat them differently; others apply no holding-period distinction at all. Because the threshold and treatment vary so much, check the specific rule where you are resident rather than assuming a familiar one applies.
What records should I be keeping?
For every transaction: date, asset, quantity, value in your local currency at the time, fees, and the counterparty or platform. Keep exchange exports and wallet addresses too. Exchanges close, delist assets and lose history — reconstructing years later from memory is far worse than logging as you go.
Can I offset my losses against my gains?
Many jurisdictions allow it, sometimes with restrictions on which categories can offset, whether losses carry forward, and how long they last. Some have anti-avoidance rules that disallow a loss if you rebuy the same asset quickly. This is worth confirming precisely rather than assuming.
This calculator is an educational tool. Results are estimates based on the inputs you provide and do not constitute financial advice. Verify figures with your bank, broker or a qualified advisor before acting on them.