We use cookies

We use essential cookies to run the site, and optional cookies for analytics. We never sell your data.Cookie Policy·Privacy Policy

Capital gains tax crypto: how disposals, cost basis and losses actually work

Capital gains tax crypto explained. Crypto usually creates a capital gain when you dispose of it, and a disposal is a much broader idea than selling for cash. This guide covers the mechanics, a worked example, the records you need, and how CryptaTax handles it automatically.

Start your crypto tax report

General information, not tax advice. Crypto tax rules differ by country and change over time — verify against your country's guidance or a qualified advisor.

Capital gains tax crypto: how disposals, cost basis and losses actually work

What a capital gain on crypto actually is

A capital gain is the growth in value of an asset, measured at the moment you part with it. You buy something for one amount, you dispose of it for another, and the difference is your gain or loss. Crypto is treated as an asset for this purpose in most tax systems, which is why the language of capital gains — disposals, cost basis, realised and unrealised — applies to it at all.

The part that catches people out is not the arithmetic. It is the word disposal. Most people assume they have only disposed of crypto when they have sold it for their national currency and seen money arrive in a bank account. Tax systems generally take a much wider view, and the gap between those two definitions is where most unexpected tax bills come from.

What counts as a disposal

Broadly, you dispose of crypto whenever you stop owning a particular coin or token. Four cases cover almost everything, and a fifth case that looks identical in an export is not a disposal at all.

Selling for your national currency

The case everyone already recognises. You sell a holding, currency arrives, and the difference between what you received and what the units cost you is your gain or loss. Nothing about this one is counter-intuitive, which is why it is also the only one many people record.

Swapping one crypto for another

You disposed of the first token at its market value on that day, and acquired the second at that same value. No currency moved, so this is the case that most often goes unrecorded — and because a swap sets the cost basis of what you received, missing it corrupts the figures for every later disposal of that second token too.

Spending crypto on goods or services

Paying with crypto is a disposal at the value you spent. The purchase and the tax event are the same act, which makes this the easiest one to forget entirely: there is no trade confirmation to file, only a payment you thought of as shopping.

Gifting or giving crypto away

Treatment here varies more than anywhere else on this list. Some systems treat a gift as a disposal at market value, some treat transfers between spouses differently, and some apply separate gift rules entirely. Record what left, when, and to whom — then check your own country's position rather than assuming the general case.

Moving crypto between your own wallets — not a disposal

Nothing has left your ownership, so there is nothing to tax. This matters more than it sounds, because a self-transfer looks identical to a sale in a raw exchange export — coins leave one address and arrive at another — and mislabelling one is a common way to invent a taxable gain that never happened.

Why crypto-to-crypto swaps surprise people

It is worth being concrete about the swap case, because it is the single most common source of an unexpected bill. Suppose you buy a token, it rises, and you swap it directly for a different token without ever touching cash. Intuitively it feels as though you have not "taken any money out", so nothing should have happened. For tax purposes you generally disposed of the first token at its market value, realising whatever gain had built up in it, and simultaneously acquired the second token at that same value.

Over an active year those realised results accumulate. Someone who traded frequently and never withdrew a single unit of currency can still finish the year with a substantial realised position, and the records needed to prove it are spread across every venue they used. That is precisely the history that is painful to rebuild by hand and that CryptaTax assembles automatically.

Cost basis: the number that decides your gain

Your gain is the disposal proceeds minus your cost basis — what you paid to acquire the asset, generally including the fees that came with acquiring it. Get the cost basis wrong and every downstream number is wrong, which is why this single figure deserves more care than the rate you will eventually pay.

The complication is that most people do not buy their holding in one clean lot. They buy the same coin repeatedly, at different prices, across different venues, over years. When they later sell part of that holding, something has to decide which units were sold. That is what a cost-basis method does: FIFO takes the oldest units first, and other methods take the most recent, the highest-cost, or a weighted average. Which methods are permitted, and whether you may change between them, is set by your jurisdiction — so the method is not a free choice, and applying one consistently matters as much as picking it.

Fees deserve a specific mention because they are quietly consequential. Acquisition fees generally increase your basis, and disposal fees generally reduce your proceeds. Both move your gain in your favour, and both are routinely left out of hand-built spreadsheets — which means the spreadsheet overstates the gain and the person overpays.

Losses, and why they are worth tracking properly

Not every disposal produces a gain. When proceeds fall below cost basis you have a capital loss, and in most systems losses are useful: they can typically be set against gains, which reduces the amount exposed to tax. Many jurisdictions also allow unused losses to be carried forward to later years, though the rules on how, for how long, and against what differ substantially — including whether a loss can only offset the same category of income.

The practical point is that losses are only useful if you can evidence them. A loss you cannot substantiate is a loss you cannot claim, so the coin that went to zero, the exchange that collapsed and the token that turned out to be worthless all need the same record-keeping as your profitable trades. People are diligent about recording wins and casual about recording losses, which is exactly backwards from a tax standpoint.

Holding periods and timing

A number of countries treat gains differently depending on how long you held the asset before disposing of it, and some apply a different rate, a discount, or an exemption once a holding threshold is passed. Where such a rule exists it can be significant, and it is driven entirely by dates, which is another reason acquisition dates need to be right rather than approximate.

This page does not state any holding period or discount, because those are among the most jurisdiction-specific and most frequently amended parts of the whole subject. Check your own country's current position — our crypto tax by country → guides are the starting point, including the US, the UK, Australia and Canada.

Gains versus income: not the same thing

Capital gains are one half of crypto taxation. The other half is income: crypto you received rather than bought. Staking rewards, mining output, airdrops and crypto received as payment are generally income, valued at the moment you received them, and they are usually taxed under a different set of rules and often at different rates from gains.

These two halves connect in a way that is easy to miss. The value at which you were taxed on receiving something normally becomes its cost basis for the future. If you are taxed on a staking reward when it arrives and later sell it, your gain is measured from that receipt value — not from zero. Failing to carry that basis across is a classic way of being taxed twice on the same value. Our crypto income guide → covers the receipt side.

Working out where you actually stand

Pulling this together for a real portfolio means: identifying every disposal across every venue, matching each one to the correct acquisition lots under a permitted method, attaching a market value at the moment of each event, folding in fees on both sides, and separating genuine disposals from self-transfers. Doing that by hand is feasible for tens of transactions and unrealistic for thousands.

CryptaTax connects your exchanges and wallets, reconciles transfers between your own accounts so internal movement is never counted as a sale, reconstructs cost basis across your whole history, and produces a gains report you can file or hand to an accountant with every figure traceable back to the transaction it came from.

Keeping records that hold up

Whatever the topic, the difference between a clean return and a stressful one is records. Tax authorities expect you to be able to show how you arrived at a number, and crypto's volume makes that hard by hand. Keep, at minimum:

  • the date, amount and value of every acquisition and disposal, in your home currency;
  • the fees on each trade, transfer and on-chain transaction;
  • transfers between your own wallets and exchanges, so cost basis follows the coins;
  • the cost-basis method you used, applied consistently through the year;
  • income receipts — staking, mining, airdrops — valued on the day you received them.

Good records are not just defensive. They are what lets you claim every loss and allowance you are entitled to, instead of rounding up out of caution because the paper trail is missing.

How your country changes the answer

Crypto tax is not one global rulebook. Tax rates, allowances, holding-period rules, which events are taxable and which methods are allowed all vary by country — and they change. The general principles on this page hold widely, but the specific numbers and edge cases are jurisdiction-dependent, so always check your own country's current guidance. Our country guides are a practical starting point: crypto tax by country →, including the US, the UK and Germany.

Common mistakes to avoid

  • Treating self-transfers as sales — moving your own coins is not a disposal; matching the two legs is essential.
  • Forgetting income events — staking, rewards and airdrops are usually taxable on receipt, not only when sold.
  • Using a partial history — cost basis depends on your full record, not just the current year.
  • Ignoring fees — they change your gain and are easy to leave out.
  • Waiting until the deadline — reconciling a year of activity under pressure is where errors happen.

When and how you report it

Most countries fold crypto into your normal annual tax return rather than a separate crypto form, usually under capital gains for disposals and ordinary income for receipts like staking or mining. You typically report the totals for the tax year — proceeds, cost basis and the resulting gain or loss — and keep the transaction-level detail in case you are asked for it. The exact boxes, schedules and deadlines depend on where you live, and a few jurisdictions expect more granular per-disposal reporting. The practical takeaway is the same everywhere: the figures you file are only as good as the reconciled records behind them, so the work is in getting the numbers right, not in the form itself.

Putting it together

The recurring theme across every part of this topic is the same: the tax outcome follows the facts, and the facts live in your transaction history. Get the underlying record right — every acquisition, disposal, fee, transfer and income receipt, valued correctly and tracked consistently — and the reporting is almost mechanical. Get it wrong, and no amount of clever treatment at the end can rescue the numbers. The reason crypto tax feels hard is rarely the rules themselves; it is the volume and the reconciliation. That is precisely the part worth automating, so your attention goes to the decisions that actually need judgement rather than to stitching exports together by hand. Treat the guidance here as the general shape of the topic, confirm the specifics for your own country and tax year, and lean on accurate records for everything else — that combination is what turns a stressful filing season into a routine one.

How CryptaTax automates this

CryptaTax imports your activity from every wallet and exchange, applies your cost-basis method consistently, and produces a capital-gains and income report with each figure traceable to its source. The concepts on this page are handled for you, so you spend your time deciding rather than reconciling spreadsheets. Try the crypto tax calculator →

Start your crypto tax report

FAQ

Is swapping one crypto for another taxable?

Usually yes. In most systems a swap is a disposal of the crypto you gave up, measured at its market value that day, so a gain can arise even though you never converted to cash. Check your own country's current treatment.

Do I owe tax if I just hold crypto?

Generally no. Gains are normally taxed when they are realised — when you dispose of the asset. An unrealised gain on something you still hold is usually not a taxable event, though a small number of countries tax holdings under separate wealth rules.

Is moving crypto between my own wallets a disposal?

No. You still own it, so there is nothing to tax. It is important to label these correctly, because a self-transfer looks like a sale in a raw export and can create a phantom gain if mismatched.

How do I work out my cost basis?

Cost basis is what you paid to acquire the asset, generally including acquisition fees. When you bought the same coin repeatedly you need a method — FIFO and others — to decide which units were sold. Which methods are permitted is set by your jurisdiction.

Can I use losses to reduce my tax?

In most systems losses can be set against gains, and often carried forward, but the rules on how and against what vary by country. You need records that evidence the loss for it to be claimable at all.

What tax rate applies to my crypto gains?

That depends entirely on where you are tax resident, and often on how long you held the asset and what other income you have. This page deliberately quotes no rates — see our country guides and confirm the current position with your tax authority.

Related guides

Country-specific rules