Crypto Capital Gains Tax Calculator
Enter your crypto transactions to estimate UK Capital Gains Tax. The calculator applies HMRC’s same-day rule, 30-day rule and Section 104 pooling for each token, then works out your tax for the year.
Your tax position
Your income decides how much of your gain falls in the 18% band.
Only disposals dated in this tax year are taxed. Earlier purchases still count towards your pools.
Before the Personal Allowance: salary, self-employed profit, pensions, rental profit, savings interest and dividends.
Relief at source pension contributions and Gift Aid donations, including basic rate relief. Leave blank if none.
Losses from earlier years already reported to HMRC. Leave blank if none.
Shares, property or other assets, so the £3,000 allowance is shared correctly.
Leave blank if none.
Include every purchase, sale, swap and income receipt for each token, including those from earlier tax years, so your pools start from the right cost. Values are in pounds at the time of the transaction. Fees are assumed to be paid in pounds (fiat). Fees paid in cryptocurrency are not modelled as a separate disposal. The example transactions below are illustrative and do not use real market prices.
No transactions yet. Add a transaction or import a CSV to get started.
Import transactions from CSV
Paste rows in this format, one transaction per line. The header line is optional. Type is buy, sell, swap or income. Dates can be YYYY-MM-DD or DD/MM/YYYY. For a swap, add the asset and quantity received in the last two columns. Wrap any number containing a comma in double quotes.
date,type,asset,quantity,gbp_value,fee,to_asset,to_quantity
2025-03-01,buy,BTC,0.25,12000,15,,
2026-05-20,swap,BTC,0.05,3500,5,ETH,1.2
2026-07-14,sell,ETH,1.2,3900,6,,
2026-08-01,income,ETH,0.01,30,,,
You have changed your inputs. Select Calculate CGT to update the results.
Tax calculation
Disposals in the tax year
Disposals of the same token on the same day are combined into one, as HMRC requires. Allowable cost excludes fees, which are shown separately.
Section 104 pools
Keep a record of these figures: they are the starting cost for next year’s calculation.
Things to check
Crypto Capital Gains Tax Calculator UK
This crypto Capital Gains Tax calculator estimates the tax on your cryptocurrency disposals for the 2025/26 or 2026/27 tax year. Instead of asking for a single gain, it takes your full list of transactions and applies the share matching rules HMRC uses for cryptoassets: the same-day rule, the 30-day rule and Section 104 pooling. That matters because a general Capital Gains Tax calculator cannot tell you what your allowable cost is when you have bought the same token many times at different prices.
How crypto is taxed in the UK
HMRC treats cryptoassets held as a personal investment as assets for Capital Gains Tax. You make a disposal when you:
- sell tokens for pounds or another currency
- swap tokens for a different cryptoasset, including stablecoins
- use tokens to pay for goods or services
- give tokens away, other than to a spouse, civil partner or charity
Moving tokens between wallets or exchanges you own is not a disposal. Tokens you receive from staking, mining, airdrops or as pay may be taxed as income when you receive them, and their value at that point becomes their cost for Capital Gains Tax when you later dispose of them.
How to use this calculator
- Choose the tax year and enter your total income, so the calculator knows how much of your basic rate band is left.
- Add any gains or losses on other assets and any capital losses brought forward, because the £3,000 allowance covers all your assets together.
- Enter every transaction for each token, including purchases from earlier years. Use the pound value at the time of each transaction, and add any fees.
- For a crypto-to-crypto swap, choose Swap and enter the asset and quantity you gave, the asset and quantity you received, and the pound value of the exchange.
- Select Calculate CGT to see your estimated tax, how each disposal was matched, and your pool balances at the end of the tax year.
If you have many transactions, you can paste them in using the CSV template instead of typing them one by one.
The matching rules HMRC uses for crypto
When you dispose of tokens, HMRC’s cryptoasset guidance says the cost is worked out by matching the tokens disposed of against acquisitions in a fixed order:
| Order | Rule | What it matches |
|---|---|---|
| 1 | Same-day rule | Tokens of the same type bought on the same day as the disposal. All same-day purchases are treated as one, and so are all same-day disposals. |
| 2 | 30-day rule | Tokens of the same type bought in the 30 days after the disposal, matched to the earliest disposal first. This is often called the bed and breakfasting rule. |
| 3 | Section 104 pool | Anything left is matched with your pool of that token at its average cost. |
Each token has its own pool. Bitcoin, ether and any other token are never mixed. NFTs are not pooled, because each one is separately identifiable.
Worked example
This example uses the illustrative transactions pre-filled in the calculator, not real market prices. Someone buys 0.5 BTC for £20,000 plus a £20 fee, and later 0.3 BTC for £21,000 plus a £15 fee. Their BTC pool is 0.8 BTC with a pooled cost of £41,035.
In June 2026 they sell 0.4 BTC for £28,000 with a £25 fee, then buy 0.1 BTC 18 days later for £6,500 plus a £5 fee. Under the 30-day rule, that 0.1 BTC is matched with the sale at a cost of £6,505. The other 0.3 BTC comes from the pool: £41,035 × 0.3 ÷ 0.8 = £15,388.13. The gain is £28,000 − £25 − £6,505 − £15,388.13 = £6,081.87.
They also swap 2 ETH for 30 SOL at a value of £5,200 with an £8 fee. Their ETH pool is 4 ETH costing £9,010, so the cost of 2 ETH is £4,505 and the gain is £687. The 30 SOL enter a new SOL pool at a cost of £5,200.
Total gains are £6,768.87. After the £3,000 annual exempt amount, £3,768.87 is taxable. With £48,000 of income, £2,270 of basic rate band is left, so £2,270 is taxed at 18% and £1,498.87 at 24%, giving estimated Capital Gains Tax of £768.33.
Capital Gains Tax rates and allowance for crypto
| Item | 2025/26 | 2026/27 |
|---|---|---|
| Annual exempt amount | £3,000 | £3,000 |
| Rate on gains within your basic rate band | 18% | 18% |
| Rate on gains above your basic rate band | 24% | 24% |
Your gains are added on top of your taxable income. Any part that fits in your unused basic rate band is taxed at 18%, and the rest at 24%. Relief at source pension contributions and Gift Aid donations extend your basic rate band, so they can move part of a gain into the lower rate. Scottish taxpayers use the UK basic rate band for this, not the Scottish income tax bands.
Reporting crypto gains to HMRC
If your gains are above the annual exempt amount, you need to report them and pay the tax, either through a Self Assessment return or HMRC’s real time Capital Gains Tax service. Self Assessment returns from 2024/25 onwards have a separate cryptoasset section on the capital gains pages. If you complete a return, you generally need to fill in the capital gains pages when your total disposal proceeds are more than £50,000, even if you have no tax to pay.
HMRC expects you to keep your own records for each pool: the type of token, dates, quantities, pound values, and the pooled cost before and after each disposal. Exchange reports can help, but they are not tax calculations and do not keep track of your pools.
What this calculator does not cover
- Trading: if your activity amounts to a trade, profits are taxed as income, not capital gains.
- DeFi lending, staking and liquidity pools: the government has proposed a no gain, no loss treatment for some of these arrangements from 6 April 2027, but it is not in force yet.
- NFTs, forks and negligible value claims.
- Gifts to a spouse or civil partner, which are generally treated as no gain, no loss.
- Income Tax on staking, mining or airdrop receipts. The calculator adds these tokens to your pool at their value when received, but does not calculate the income tax.
- Non-residence and temporary non-residence rules.
Frequently asked questions
Do I pay tax on crypto in the UK?
Usually, yes, if you hold crypto as a personal investment. HMRC does not treat cryptoassets as currency. Capital Gains Tax can apply when you dispose of tokens: selling them for pounds, swapping them for a different cryptoasset, using them to pay for goods or services, or giving them away (gifts to a spouse, civil partner or charity are treated differently). Simply buying and holding is not a disposal. Tokens you receive from staking, mining, airdrops or employment can be subject to Income Tax instead.
What is a Section 104 pool for crypto?
HMRC requires you to pool each type of token. Every time you buy or receive tokens, their cost is added to that token’s pool, and when you dispose of tokens you deduct a proportionate share of the pooled cost. For example, if you hold 400 tokens that cost £500 in total, the average cost is £1.25 each, so selling 200 uses £250 of pooled cost. Bitcoin, ether and every other token each have a separate pool.
What is the 30-day rule for crypto?
If you dispose of tokens and buy the same type of token within the next 30 days, the new purchase is matched with the earlier disposal instead of going into your pool. This stops people selling and quickly rebuying just to create a gain or loss for tax purposes. The same-day rule is applied first: tokens bought and sold on the same day are matched with each other before the 30-day rule or the pool is used.
Is swapping one cryptocurrency for another taxable?
Yes. Exchanging one cryptoasset for a different one is a disposal for Capital Gains Tax, even though you never receive pounds. You work out the pound value of the exchange at the time, use it as the proceeds of the tokens you gave up, and use it as the cost of the tokens you received. Converting to a stablecoin is also a crypto-to-crypto disposal.
How much crypto profit can I make tax-free?
For 2025/26 and 2026/27 the Capital Gains Tax annual exempt amount is £3,000. It covers your net gains across all assets, not just crypto, so gains on shares or property in the same tax year share the same allowance. Any unused allowance cannot be carried forward to a later year.
What rate of Capital Gains Tax do I pay on crypto?
Gains above the annual exempt amount are taxed at 18% where they fall within your unused basic rate band and 24% above it. The same rates apply to crypto, shares and other assets. Capital Gains Tax is not devolved, so Scottish taxpayers use the UK basic rate band, not the Scottish income tax bands, to work out which rate applies.
Do I need to report crypto to HMRC if I have no tax to pay?
You must report and pay if your total gains are above the annual exempt amount. If you complete a Self Assessment return, you generally also need to fill in the capital gains pages when your total disposal proceeds for the year are more than £50,000, even if your gains are below the allowance. Self Assessment returns from 2024/25 onwards include a dedicated section for cryptoassets.
Can I use crypto losses to reduce my tax?
Yes. Losses made in the same tax year are set against your gains first, even if that takes your gains below the annual exempt amount. Unused losses can be carried forward if you report them to HMRC, normally within four years of the end of the tax year in which they arose. Brought-forward losses are only used to reduce your gains down to the annual exempt amount, so the allowance is not wasted.
How are DeFi lending, staking and liquidity pools taxed?
Under the current rules, depositing tokens into a lending or liquidity protocol can be a disposal if you give up beneficial ownership, and rewards are usually taxed as income. The government has proposed a no gain, no loss treatment for certain DeFi lending and liquidity arrangements, intended to apply from 6 April 2027. That change is not in force yet, and this calculator does not model DeFi transactions.
Does HMRC know about my crypto transactions?
Increasingly, yes. Under the Cryptoasset Reporting Framework, UK cryptoasset service providers have been collecting customer and transaction details since 1 January 2026, with the first reports due to HMRC in 2027. Overseas platforms in participating countries share similar data through their own tax authorities. If you have unpaid tax from earlier years, HMRC’s Cryptoasset Disclosure Service lets you correct it.
This calculator gives an illustrative estimate based on the figures you enter and HMRC’s published rules as checked in September 2026. It is not financial or tax advice. Tax rules and allowances can change, so check HMRC’s guidance on cryptoassets or speak to a qualified tax adviser before filing.