Capital gains tax calculator — methodology
How a gain stacks on income, the annual exempt amount, the rates table, the gov.uk sources and the two limits that change the answer.
This calculator taxes a gain you supply. It does not work the gain out — there is no share matching, no same-day rule, no thirty-day rule and no s104 pooling — and the difference between “what did I sell it for less what I paid” and the chargeable gain HMRC expects is exactly where a self-assessment goes wrong.
The calculation, in order
- Start from the gain you entered.
- Deduct the annual exempt amount, once. What remains is the chargeable gain. The exempt amount does not consume any basic-rate band, which is why the exempt slice of a gain never pushes the rest of it into the higher rate.
- Work out taxable income: gross income less the personal allowance that actually applies to it. That allowance tapers above £100,000, so this step runs through the income tax engine rather than subtracting a fixed figure.
- Stack the chargeable gain on top of taxable income. The part landing below the basic-rate ceiling is taxed at the basic rate for gains; the rest at the higher rate. One gain routinely meets both — and a calculator that asks “are you a higher-rate taxpayer?” and applies one rate to the whole gain cannot produce the right answer for anyone straddling the boundary.
- Gains qualifying for Business Asset Disposal Relief skip the stack entirely and are charged at a flat rate.
chargeable = max(0, gain − annual exempt amount)
basic-rate room = max(0, basic-rate ceiling − taxable income)
at basic rate = min(chargeable, basic-rate room)
at higher rate = chargeable − at basic rateRates and allowances
| Figure | 2025/26 | 2026/27 |
|---|---|---|
| Annual exempt amount | £3,000 | £3,000 |
| Other assets — basic / higher | 18.00% / 24.00% | 18.00% / 24.00% |
| Residential property — basic / higher | 18.00% / 24.00% | 18.00% / 24.00% |
| Business Asset Disposal Relief | 14.00% | 18.00% |
| Relief lifetime limit (reported, not enforced) | £1,000,000 | £1,000,000 |
| Personal allowance | £12,570 | £12,570 |
Capital gains tax is not devolved. The rates, the annual exempt amount and the basic-rate band for gains are the same across the UK; Scottish income tax bands differ but do not change which capital gains rate a gain meets.
Sources
- gov.uk — Capital gains tax rates and annual tax-free allowances
- gov.uk — Capital gains tax: rates
- gov.uk — Business Asset Disposal ReliefFor the relief rate and the £1 million lifetime limit, which this calculator reports but does not enforce.
- gov.uk — Income tax rates and allowances: current and pastThe personal allowance and the basic-rate band both come from the income tax rules, because a gain is taxed according to the income sitting underneath it.
The rates, thresholds and allowances used by this calculator were verified against gov.uk on . That covers the published rates, thresholds and allowances this page calculates with. It does not verify any figure the page produces for you: that is arithmetic on verified inputs. Parts of the engine behind it are checked against HMRC’s own published worked examples, which tests the method on a small number of scenarios rather than your answer, and most of the test suite derives its expected values by hand. That check was carried out automatically and no named person has signed it off yet.
| Figures covered | Verified on | Verified by | Human sign-off |
|---|---|---|---|
| 2025-26 | 2026-08-12 | Automated verification (Claude Opus 5) | not yet signed off |
| 2026-27 | 2026-08-12 | Automated verification (Claude Opus 5) | not yet signed off |
| 2020-21 to 2024-25 — pension annual allowance only | 2026-08-12 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — share identification window only | 2026-08-13 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — pension relief at source only | 2026-08-13 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — inheritance tax only | 2026-08-13 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — family tax, LISA and pension-access additions | 2026-08-13 | Automated verification (Codex) | not yet signed off |
| 2025-26 and 2026-27 — student loan deductions only | 2026-08-18 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — property acquisition tax only | 2026-08-18 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — automatic enrolment only | 2026-08-18 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — State Pension age and rates only | 2026-08-18 | Automated verification (Claude Opus 5) | not yet signed off |
The log covers the rules directory, not only this calculator. 8 rows are deliberately narrow — 2020-21 to 2024-25 — pension annual allowance only; 2025-26 and 2026-27 — share identification window only; 2025-26 and 2026-27 — pension relief at source only; 2025-26 and 2026-27 — inheritance tax only; 2025-26 and 2026-27 — student loan deductions only; 2025-26 and 2026-27 — property acquisition tax only; 2025-26 and 2026-27 — automatic enrolment only; 2025-26 and 2026-27 — State Pension age and rates only — and they verify the figures named there and nothing else. Those tax years are not modelled by any calculator on this site: the years this page can compute are the ones its tax-year selector offers, and no others.
A verification goes stale the moment one of its sources is updated past the date above. If a source below carries a later date than this stamp, trust the source.
Rates, thresholds and allowances on this page are taken from material published by HM Revenue & Customs and the Scottish Government. Contains public sector information licensed under the Open Government Licence v3.0.
Three limits that change the answer, stated here rather than buried
- The gain is yours to work out, and that is where it usually goes wrong. This page taxes the figure you enter. It does not derive it: there is no share matching, no same-day rule, no thirty-day rule and no s104 pooling, so a disposal out of a holding built up over several purchases needs the chargeable gain calculated before you get here. Enter a proceeds-less-cost figure where HMRC expects a pooled one and every number below is arithmetic on the wrong input.
- The Business Asset Disposal Relief lifetime limit is not applied. The relief is capped across every qualifying disposal you have ever made, and this calculator has no record of your earlier claims. If those claims have already used the cap, gains above it are charged at the ordinary rates and the figure this page shows is too low. Keep your own running total.
- One asset class per calculation. Every run deducts a full annual exempt amount, so running the page twice and adding the results deducts the exemption twice and understates the bill. A year with disposals in more than one class needs the exemption set against the gains taxed at the highest rate and the remainder stacked in a single calculation, which this page does not do.