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.

100 SHARESB

Capital Gains Tax when you sell shares, funds or crypto, with your allowance and losses.

See my result

£
£

Bought the same shares at different times? Use the average price you paid across all of them (HMRC calls this the pool).

£
£
£

Salary, pension and other income, before taking off your tax-free allowance.

Your results

gains check
Capital Gains Tax to pay
£1,620.00
Gain: £12,000Report to HMRC

Selling shares for £30,000 that cost £18,000. £9,000 is taxed after the £3,000 allowance.

Enter what you sold and I'll work out the gain.

Your gain, split up

Your gains£12,000
£12,000
The taxCapital Gains Tax
£1,620.00
  • Taxed at 18%
  • Tax-free allowance
Of £12,000 of gains, £3,000 is covered by the tax-free allowance, £9,000 is taxed at 18% and £0 at 24%. Tax: £1,620.00.
Basic rate band left
£10,270

Gains in your unused basic rate band are taxed at 18%. Above it, 24%.

Reporting
Needed

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.

Inside an ISA
£0

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 crypto
Counts as selling

Swapping one token for another, or paying for things with crypto, counts as selling it, so Capital Gains Tax can apply.

Claim a loss within
4 years

Reported losses can be carried forward against gains in later years.

Gifts to a husband, wife or civil partner
No CGT

Transfers between spouses are tax-free, so a couple can use 2 allowances.

The allowance used to be
£12,300

In 2022/23. It is £3,000 now.

How we worked it out

StepDetailAmount
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

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.