Capital Gains Tax calculator

Enter your gain, the type of asset, your taxable income for the year and any losses you can use. The calculator takes off the losses and the tax-free allowance, then shows how much Capital Gains Tax is due and how much of the gain is charged at each rate.

Capital Gains Tax to pay

£3,618.00

You keep £16,382.00 of your £20,000.00 gain (81.91%)

Your details

What you sold it for, less what it cost you

After the personal allowance

Losses you can set against this gain

Your capital gain
Amount
Gain£20,000.00
Losses used£0.00
Tax-free amount used£3,000.00
Gain over the tax-free amount£17,000.00
Taxed at 18%£7,700.00
Taxed at 24%£9,300.00
Capital Gains Tax to pay£3,618.00
How this was worked out
  1. Gain: £20,000.00
  2. The annual exempt amount and losses come off the gains taxed at the highest rate first.
  3. Losses set against the gain: £0.00
  4. Annual exempt amount used: £3,000.00
  5. Gain over the tax-free amount: £20,000.00 − £0.00 − £3,000.00 = £17,000.00
  6. The UK basic rate band decides the rate in every nation. Band left: £37,700.00 − £30,000.00 taxable income = £7,700.00
  7. Taxed at 18%: £7,700.00 × 18% = £1,386.00
  8. Taxed at 24%: £9,300.00 × 24% = £2,232.00
  9. Capital Gains Tax to pay: £7,700.00 × 18% + £9,300.00 × 24% = £3,618.00

What the calculator assumes

How the rate is set

Capital Gains Tax is charged on the gain. If you paid £40,000 for some shares and sold them for £55,000, the gain is £15,000.

There are two rates, and your income decides how much of the gain gets the lower one. The calculator follows the GOV.UK steps. It takes your taxable income, adds the gain left after losses and the tax-free allowance, and looks at where the total falls. The part of the gain that still fits inside the basic rate band is charged at the lower rate. Anything above the band is charged at the higher rate. If you are already a higher or additional rate taxpayer, your whole taxable gain is charged at the higher rate.

For gains from 6 April 2026, GOV.UK gives the same two rates for residential property as for other assets. The asset type changes when you report. If you sell UK residential property and have tax to pay, you must report and pay it within 60 days of completion. Most other gains go on your Self Assessment tax return.

Losses and the allowance

Losses on other assets you sold in the same tax year come off your gains in full. Losses from earlier years work differently. They only bring your gains down to the tax-free allowance, and any loss left over carries forward to a later year. You can claim a loss up to four years after the end of the tax year in which you made it.

If some of your gain falls at each rate, GOV.UK lets you set the tax-free allowance against the part charged at the higher rate. The calculator does this, and the working shows where the allowance went.

What it leaves out

The Income Tax rates page shows the bands your taxable income sits in. Shares held outside an ISA can also pay dividends, and the dividend tax calculator works out the tax on those. If you are buying a property, the Stamp Duty calculator covers the tax on the purchase.

Official guidance

Report a mistake

We will receive the page address and the tax year. We will not receive the figures you entered.

Please do not include your name or contact details. To get a reply, email [email protected] instead.

Spotted a mistake?

Email [email protected]. Tell us what you entered and what you expected to see. Fixed errors are listed on the corrections page.