Capital gains tax calculator
Short answer: Capital gains tax is 18% or 24% on gains above the £3,000 yearly allowance in 2026/27. For example, a £12,000 gain on shares for someone with an income of £40,000 costs £1,620. Your income decides the rate: 18% on the part of the gain that fits in the basic rate band left after your income, 24% on the rest.
Capital gains tax
£1,620
On a gain of £12,000: 13.5% of it. You keep £28,380 of the £30,000.
- Gain
- £12,000 sale price less cost and costs
- Taxed
- £9,000 after the £3,000 allowance
- Basic rate band left
- £10,270 after your income
- Covered by the annual allowance £3,000
- Taxed at 18% £9,000
| Amount | Tax | |
|---|---|---|
| Gain | £12,000 | |
| Less the annual allowance | £3,000 | |
| Taxed at 18% (inside the basic rate band) | £9,000 | £1,620 |
| Capital gains tax | £1,620 |
This needs reporting to HMRC: through Self Assessment by 31 January after the tax year ends, or sooner with HMRC's real-time service.
This estimate assumes:
- The £3,000 annual allowance, not used by other gains this year
- 18% on gains inside the basic rate band left after your income, 24% above it. These are the UK-wide bands, for Scottish taxpayers too
- Not included: other gains in the same year, reliefs such as Business Asset Disposal Relief and private residence relief, gifts to a husband, wife or civil partner (free of the tax), and shares bought and sold within 30 days
An estimate. This is an estimate, not advice, a forecast or a quote. It uses 2026/27 tax-year figures, the assumptions shown and only what you entered, so your real figures can differ.
With JavaScript on, the sums run in your browser: what you type is not stored and is not sent to us. Privacy notice
Enter what you sold something for, what it cost and your income for the year. See the gain, how much of it is taxed at each rate after the yearly allowance, and when HMRC needs to hear about it.
How it works
The gain is what you sold something for less what it cost, and the costs of buying, selling or improving it. The first £3,000 of gains in a tax year is free of the tax. The rest is taxed at 18% as far as it fits in the basic rate band left after your income, and 24% above that. The same rates apply to shares, property and other assets.
Example: Shares bought for £18,000 are sold for £30,000: a gain of £12,000. After the £3,000 allowance, £9,000 is taxed. With an income of £40,000 there is room for it in the basic rate band, so the tax is £1,620.
Gains on top of income
Your income uses the basic rate band of £37,700 first (after the personal allowance), and the gain fills whatever is left. A gain can therefore be taxed at two rates.
Example: On a gain of £40,000 with an income of £45,000, £5,270 is taxed at 18% and £31,730 at 24%: £8,563.80 in all.
Scottish taxpayers use these UK-wide bands for capital gains, not the Scottish income tax bands.
What is free of the tax
- Investments held in an ISA or a pension.
- Your main home, in most cases, through private residence relief.
- Gifts to a husband, wife or civil partner you live with: they take on the original cost.
- Cars for personal use, UK government gilts and Premium Bonds.
- A personal possession, such as jewellery, a painting or antiques, sold for £6,000 or less. Above that, the gain is capped at five-thirds of the amount over £6,000. Possessions with a life of less than 50 years, such as machinery, clocks and watches, are free of it whatever they sell for.
Reporting and paying
- UK property that is not your main home: report and pay within 60 days of completion, through HMRC's online service.
- Everything else: in your Self Assessment return for the year, due by 31 January after it ends, or straight away with HMRC's real-time service. If you are registered for Self Assessment, sales of more than £50,000 in a year are reported even when no tax is due.
- Losses: report them within four years of the end of the tax year they were made, so they can be used.
What it leaves out
- Other gains in the same year, which share the one allowance.
- Business Asset Disposal Relief, rollover relief, gift hold-over relief and private residence relief for part of a home.
- The rules for shares bought within 30 days of a sale, or pooled shares bought at different times: HMRC's helpsheet HS284 explains them.
The guide to investing outside an ISA covers dividends and interest as well, and the inheritance tax calculator covers what happens to an estate.
Common questions
How much capital gains tax will I pay?
The first £3,000 of gains in 2026/27 is free. Above that, 18% on the part that fits in the basic rate band left after your income and 24% on the rest. A £12,000 gain for someone earning £40,000 costs £1,620.
What is the capital gains tax allowance?
£3,000 of gains a year in 2026/27. It cannot be carried forward, and a husband, wife or civil partner has their own.
When do I pay capital gains tax on a second home?
Within 60 days of completing the sale of UK residential property that is not your main home, if there is tax to pay. You report it and pay through HMRC's online service.
Sources
The 10 sources this page was checked against
- GOV.UK: Capital Gains Tax rates
- GOV.UK: Capital Gains Tax allowances
- GOV.UK: Work out if you need to pay Capital Gains Tax (reporting sales over £50,000)
- GOV.UK: Capital Gains Tax (working it out, reporting and paying)
- GOV.UK: Report and pay Capital Gains Tax on UK property (60 days)
- GOV.UK: Capital Gains Tax losses (four years to report)
- GOV.UK: What you pay Capital Gains Tax on
- GOV.UK: Capital Gains Tax on personal possessions (the £6,000 rule)
- GOV.UK: Tax when you sell your home (private residence relief)
- HMRC Capital Gains Manual CG21204: available basic rate band (Scottish taxpayers use the UK band)