Capital Gains Tax on shares and crypto
When you sell shares, funds or crypto for more than you paid, the profit is a capital gain. Gains over £3,000 a year are taxed at 18% or 24%, depending on your income. The calculator works out the bill, uses your losses and checks whether you need to report.
Capital Gains Tax when you sell shares, funds or crypto, with your allowance and losses.
Your results
Selling shares for £30,000 that cost £18,000. £9,000 is taxed after the £3,000 allowance.
Your gain, split up
- Taxed at 18%
- Tax-free allowance
Gains in your unused basic rate band are taxed at 18%. Above it, 24%.
Report if you have tax to pay, or if you sold more than £50,000 of assets in the year and you are in Self Assessment.
Gains on shares held in an Individual Savings Account (ISA) are tax-free. Crypto cannot go in an ISA.
Worth knowing
- Reporting it. Report the gain on a Self Assessment tax return, or with HMRC's real time Capital Gains Tax service if you do not normally send one.
- The 30-day rule. If you sell shares and buy the same ones back within 30 days, your gain is worked out using the price you paid to buy them back, not the original price.
Penny's fun facts
Swapping one token for another, or paying for things with crypto, counts as selling it, so Capital Gains Tax can apply.
Reported losses can be carried forward against gains in later years.
Transfers between spouses are tax-free, so a couple can use 2 allowances.
In 2022/23. It is £3,000 now.
How we worked it out
| Step | Detail | Amount |
|---|---|---|
| Sold for | £30,000.00 | |
| Cost, including fees | -£18,000.00 | |
| Gain | £12,000.00 | |
| Other gains this year | £0.00 | |
| Losses from earlier years used | £0.00 | |
| Tax-free allowance | -£3,000.00 | |
| Taxed at 18% | £9,000.00 | |
| Taxed at 24% | £0.00 | |
| Capital Gains Tax | £1,620.00 |
Shares and tokens of the same kind are pooled, so the cost is an average. Buying back within 30 days changes the cost used. CGT uses UK bands everywhere, Scotland included.
Keep your results
Handy for your tax return, or before you decide what to sell.
What this calculator assumes, and where the rates come from
- Shares, funds and crypto held outside ISAs and pensions, by a UK resident. Gains on homes and other property use the property calculator.
- The annual exempt amount is £3,000. Rates are 18% for gains within your basic rate band and 24% above.
- Losses from earlier years are only used to bring your gains down to the £3,000 allowance, and any loss left over carries on to later years.
- Matching rules for shares and tokens bought within 30 days, and the pooling rules, are not worked out here.
- You must report if you have tax to pay. If you are already in Self Assessment, you also report when you sold more than £50,000 of assets in the year.
- Rates are for the 2026/27 tax year and were last checked on gov.uk on 23rd of November 2026. This is a guide, not financial or tax advice.
What this does not cover
- Share matching rules for shares bought and sold on the same day or within 30 days, worked out in detail.
- Business Asset Disposal Relief and Employee Shareholder relief.
- Crypto staking, lending and airdrops, which can be income instead.
Keep going
- Stamp duty on shares
Buying UK shares adds 0.5% stamp duty. See what you pay a year, and why Alternative Investment Market shares, exchange traded funds and US shares pay none.
- Lifetime ISA
The 25% bonus, your pot for a first home or later life, and what the 25% withdrawal charge really costs.
- Premium Bonds vs savings
Premium Bond prizes are tax-free, but savings interest can be taxed. See which is likely to pay you more, given your savings and tax band.
- Savings interest tax
How much interest can you earn tax-free? The Personal Savings Allowance, the starting rate and the tax on the rest.
Questions people ask
How much Capital Gains Tax on a £12,000 gain?
£1,620.00 on these figures, after the £3,000 allowance.
Is crypto taxed like shares?
Mostly, yes. Selling it, swapping one token for another, spending it or giving it away (except to a husband, wife or civil partner) all count as selling for Capital Gains Tax.
Do I have to report?
If there is tax to pay, or if you are in Self Assessment and sold more than £50,000 of assets in the year, even with no gain. Use Self Assessment or the real time Capital Gains Tax service.
Can I use losses?
Yes. Losses in the same year come off first. Earlier losses must be reported within 4 years, and are used only to bring gains down to the allowance.
What about selling a property?
A second home or buy-to-let uses the same allowance, also at 18% and 24%. Use the property Capital Gains Tax calculator, and see dividend tax for income from shares.