Last updated: October 2026 · Loss rules checked against worked examples from tax-practitioner guidance
UK Capital Gains Tax Calculator for Property and Shares
See Your Capital Gains Tax in Seconds
Enter the sale, the costs, and your income. The tax split and an income comparison update live. Nothing leaves your device.
The Sale
Allowable costs usually include legal and estate agent fees, stamp duty paid when you bought, and the cost of improvements. For several disposals, add the proceeds and costs together and use the losses box for any that made a loss.
Losses and Income
Income means salary, pensions, rental profit and other taxable income before the personal allowance, excluding this gain. It decides how much of your basic-rate band is left for the gain.
Rates and allowances (2026/27 - edit if they change)
Leave blank to use the 2026/27 figures shown. These are reviewed each year.
Capital Gains Tax Calculation
An estimate for an individual. Confirm your figures with HMRC guidance or a tax adviser.
Quick answer: UK capital gains tax for 2026/27 is 18% on the part of your taxable gain that fits inside your unused basic-rate band and 24% on the rest, the same for property, shares and other assets since 30 October 2024. The first £3,000 of gains each year is exempt. Example: an £85,000 gain on a second home with a £45,000 income leaves only £5,270 of basic-rate band, so the tax is £19,363.80, or 22.78% of the gain, not a flat 18% or 24%.
- Cost: Free, unlimited calculations, no signup, no watermark.
- Where it runs: 100% in your browser, nothing is uploaded.
- Income-aware: your income decides how much gain is taxed at 18% and how much at 24%.
- Losses in the right order: current-year first, brought-forward only down to the exemption.
- Carry-forward worked out: see exactly what losses remain.
- Editable allowances: pre-filled with the 2026/27 figures.
An Estimate, Not Tax Advice: This follows the standard rules for an individual. Your own circumstances can change the result.
Not Covered: Business Asset Disposal Relief, gains on your main home, trusts, non-residents, and complex gain calculations such as share-matching rules, part disposals, gifts and inheritances.
You Supply the Gain: The calculator works from the proceeds and costs you enter. It does not work out share pooling or similar adjustments for you.
Privacy: Your figures are processed locally and never uploaded or stored.
Why Your Income Sets Your Capital Gains Tax Rate
Capital gains are taxed as if they sat on top of your income. The basic-rate band is £37,700 of taxable income above the £12,570 personal allowance. Your salary and other income use up that band first; whatever is left is available for your gain at 18%, and any gain beyond it is taxed at 24%. Unused personal allowance cannot be set against a gain.
| Your Income | Basic-Rate Band Left for Gains |
|---|---|
| £12,570 or less | £37,700 (the full band) |
| £20,000 | £30,270 |
| £30,000 | £20,270 |
| £45,000 | £5,270 |
| £50,270 or more | £0 (every pound of gain at 24%) |
That is why the same gain costs different people different amounts. Here is the tax on a gain after the £3,000 exemption, with no losses:
| Gain | Income £20,000 | Income £30,000 | Income £60,000 |
|---|---|---|---|
| £10,000 | £1,260.00 (12.60%) | £1,260.00 (12.60%) | £1,680.00 (16.80%) |
| £25,000 | £3,960.00 (15.84%) | £4,063.80 (16.26%) | £5,280.00 (21.12%) |
| £50,000 | £9,463.80 (18.93%) | £10,063.80 (20.13%) | £11,280.00 (22.56%) |
| £100,000 | £21,463.80 (21.46%) | £22,063.80 (22.06%) | £23,280.00 (23.28%) |
Because the exemption is a flat £3,000, spreading a large disposal across two tax years can use it twice, saving up to £720 at the 24% rate or £540 at 18% in the tax year you would otherwise pay more.
Capital Losses: The Order Matters
Losses are not simply subtracted from the gain. Two rules apply in a fixed order, and getting them wrong either wastes your exemption or uses up losses you could have saved.
- Losses from the same tax year come first and must be set against gains in full, even if that pushes the net gain below the £3,000 exemption.
- Losses brought forward come second, and are used only to reduce your gains down to the £3,000 exemption, never below it. Anything left over carries forward.
| Situation | What Happens |
|---|---|
| Gains £15,000, current-year losses £13,000 | Net gain £2,000, inside the exemption. No tax; part of the exemption is wasted. |
| Gains £14,000, losses brought forward £12,000 | £11,000 used to reach the £3,000 exemption. £1,000 carried forward. |
| Gains £15,000, losses brought forward £20,000 | £12,000 used. £8,000 carried forward. |
| Gain £10,000, current-year loss £15,000 | No tax. £5,000 carried forward. |
Losses generally need to be reported to HMRC within four years of the end of the tax year in which they arose before they can be carried forward. The calculator shows the amount carried forward after each calculation.
How to Calculate UK Capital Gains Tax
Enter the Sale
Proceeds, purchase cost, and other allowable costs.
Add Losses
This year's losses and any brought forward.
Enter Your Income
It decides how much band is left at 18%.
Read and Save
Check the 18% and 24% split, then download the PDF.
Your Figures Never Leave Your Device
Every calculation and the PDF are produced by JavaScript running in your browser tab. There is no upload, no account, and no server that ever sees your sale price or income.
Capital Gains Tax: Rates, Allowances and Guide
Capital gains tax (CGT) is charged on the profit when you sell something that has risen in value, such as a second home, a buy-to-let flat, or shares. If you bought the property recently, the stamp duty you paid then is usually an allowable cost, which you can work out with our stamp duty calculator. If a relative lent you money towards the purchase, a promissory note records the terms.
Capital Gains Tax Rates and Allowances
| Item | 2026/27 |
|---|---|
| Lower rate (inside unused basic-rate band) | 18% |
| Higher rate | 24% |
| Annual exempt amount | £3,000 |
| Basic-rate band / personal allowance | £37,700 / £12,570 |
| Business Asset Disposal Relief (not modelled) | 18% on up to £1 million of lifetime gains |
How the Rates and Allowance Have Changed
| Date | Change |
|---|---|
| Before 30 October 2024 | Shares and other assets: 10% and 20%. Residential property: 18% and 28%. |
| From 30 October 2024 | 18% and 24% for all assets. |
| Annual exempt amount | £12,300 before April 2023, £6,000 in 2023/24, £3,000 from 2024/25. |
| Business Asset Disposal Relief | 10% until April 2025, 14% in 2025/26, 18% from 6 April 2026. |
Property: Reporting and Payment
UK residents selling UK residential property generally have to report the gain and pay any tax due within 60 days of completion, rather than waiting for the annual tax return. The calculator reminds you of this when you choose residential property and the tax due is above zero. Gains on your only or main home are generally exempt, so this calculator is aimed at second homes, buy-to-let properties and other assets.
What This Calculator Does Not Cover
- Business Asset Disposal Relief and other reliefs
- Your main home, trusts, personal representatives and non-UK residents
- Share matching and pooling rules, part disposals, gifts, and inherited assets, where working out the gain itself is the hard part
- Extra basic-rate band from pension contributions or Gift Aid donations
For a business owner, an overdue-invoice interest calculator is a useful companion when cash flow is tight around a tax bill.
How This Calculator Actually Works
The calculator subtracts the purchase cost and other allowable costs from the proceeds to get the gain, then deducts current-year losses in full. If a gain remains above the annual exempt amount, it uses brought-forward losses only up to the amount needed to reach the exemption, then deducts the exemption itself. It works out your taxable income as income less the personal allowance (never below zero), subtracts that from the basic-rate band to find the room left, charges the lower rate on the part of the taxable gain that fits and the higher rate on the rest, and shows the losses carried forward. The comparison table repeats the calculation at four income levels. The PDF is drawn locally with jsPDF and jsPDF-AutoTable. Nothing ever touches a server.
Security and Privacy Considerations
- No Data Upload: Every figure you enter stays on your device.
- No Server Processing: Calculation and PDF generation run as client-side JavaScript.
- No Account Needed: No login and no usage cap.
Browser Compatibility and Technical Requirements
This calculator works in modern browsers that support JavaScript and Blob downloads.
- Chrome and Edge 76+
- Firefox 55+
- Safari 13.1+
- Mobile Chrome (Android) and Mobile Safari (iOS)
Troubleshooting Common Issues
Explanation: After losses, the gain is inside the £3,000 annual exempt amount. Solution: Check the costs and losses you entered - this is expected for smaller gains.
Explanation: Your income has already used the whole basic-rate band, which happens at £50,270. Solution: Check the income figure; it should exclude this gain.
Explanation: They are only used down to the exemption level, and the rest is preserved. Solution: This is correct - the carried-forward line shows what remains.
Explanation: They may include a relief, extra band from pension or Gift Aid, or a different gain calculation. Solution: Compare line by line against the calculation sheet.
Frequently Asked Technical Questions
Question 1: What builds the PDF?
Answer: jsPDF, a widely used open-source JavaScript library, with its jsPDF-AutoTable plugin for the tables, both loaded in your browser.
Question 2: Why does the calculator ignore unused personal allowance?
Answer: Taxable income is income minus the personal allowance, floored at zero. If your income is below the allowance, the unused part is not available against a gain, so the full basic-rate band remains.
Question 3: How is the 18% and 24% split decided?
Answer: The taxable gain is stacked on your taxable income. The amount that fits in the remaining basic-rate band is charged at the lower rate and the rest at the higher rate.
Question 4: Can I change the rates?
Answer: Yes. The rates, allowances and band are in the collapsible panel under the losses and income fields, pre-filled with the 2026/27 figures.
Question 5: Does it need an account, server, or API key?
Answer: No. It runs as ordinary JavaScript already loaded by this page.
Glossary of Terms
- Capital Gains Tax (CGT)
- A tax on the profit when you sell or dispose of an asset that has increased in value.
- Annual Exempt Amount
- The amount of gains an individual can make each tax year without paying capital gains tax; £3,000 for 2026/27.
- Basic-Rate Band
- The slice of taxable income, £37,700 above the personal allowance, taxed at the basic rate of income tax and used to decide the lower capital gains tax rate.
- Allowable Costs
- Costs of buying, selling or improving an asset that can be deducted when working out the gain.
- Brought-Forward Loss
- A capital loss from an earlier year, reported to HMRC, that can be set against later gains.
Frequently Asked Questions
Capital gains tax is 18% on the part of your taxable gain that falls within your unused basic-rate income tax band and 24% on the rest. Since 30 October 2024 the same rates apply to property, shares and other assets.
The annual exempt amount is £3,000 for individuals. Gains up to that level are tax-free, and an unused allowance cannot be carried forward to a later year.
Subtract your purchase cost and allowable costs from the sale proceeds to find the gain. Deduct losses, then the £3,000 exempt amount. The remaining taxable gain is added on top of your taxable income: the part inside your unused basic-rate band is taxed at 18% and the rest at 24%.
It depends on your taxable income. The basic-rate band is £37,700 above the £12,570 personal allowance, so whatever part of it your income has not used is left for your gain at 18%. At an income of £45,000 only £5,270 is left, and at £50,270 or more none is.
Gains on your only or main home are generally exempt through private residence relief. This calculator is for other assets such as a second home, a buy-to-let property or shares.
Business Asset Disposal Relief is charged at 18% from 6 April 2026, up from 14% in 2025/26 and 10% before that, on up to £1 million of lifetime qualifying gains. This calculator does not model the relief.
Losses from the same tax year must be set against gains first, even if that wastes part of your exemption. Losses brought forward are then used only to reduce your gains down to the £3,000 exempt amount, and any balance carries forward. Losses generally need to be reported to HMRC within four years of the end of the tax year to be carried forward.
UK residents selling UK residential property generally have to report the gain and pay any tax due within 60 days of completion.
Yes. Since 30 October 2024 both are charged at 18% and 24%. Before that, residential property had higher rates than other assets.
No. Everything is calculated in your browser using JavaScript, and the PDF is generated locally. Nothing is uploaded or stored.
Final Thoughts
Capital gains tax looks like a two-rate system, but the split depends on your income, and losses only work if they are applied in the right order. Enter your figures above, check the 18% and 24% split, and confirm the result with HMRC guidance or a tax adviser before you file.