Home Guides & News About Us Contact
Updated Apr 2026

UK Shares Capital Gains Tax Calculator (2026/27)

Capital Gains Tax on shares is charged at 18% (Basic Rate) and 24% (Higher Rate), with a £3,000 annual exempt amount for 2026/27. This tool helps you estimate your tax liability by automatically calculating your "Section 104 Holding" (Share Pool) average cost.

1. Tax Year & Income
?
?
£
?
£

2. Build Purchase Pool (Section 104)
Qty Cost Action
No purchases added.
Total: 0 £0.00

3. Enter Your Sale
£
Data processed locally. We do not store financial details.

How the Section 104 pool works

When you sell UK shares you cannot pick which ones you sold. HMRC pools all shares of the same company into a single HMRC's share-pooling rule: all shares of the same class in the same company sit in one pool at their average cost, so you cannot choose which specific shares you sold. and averages the cost: (total cost of all shares owned ÷ total number of shares) = average cost per share. This calculator builds that pool for you.

The order HMRC matches shares

Before the pool is used, two anti-avoidance rules are checked first, in order:

  1. Same-day rule: shares bought on the day of the sale are matched first.
  2. Selling shares to use your CGT allowance then quickly rebuying them. HMRC blocks it - shares rebought within 30 days match to the sale, not the cheaper pool, so no gain is crystallised. (30 days): shares bought in the 30 days after the sale are matched next - this stops you selling to use your allowance and instantly buying back.
  3. Section 104 pool: if neither applies, the pool average is used. This calculator assumes the pool.

How your gain is actually taxed

This is where most calculators mislead you. CGT is not simply "18% if you are a basic-rate taxpayer". Your taxable gain - after the £3,000 annual exempt amount - is stacked on top of your income. The slice that still fits inside the basic-rate band (up to £50,270) is taxed at 18%; anything above is taxed at 24%. A single gain can be split across both rates.

How a capital gain is split across the 18% and 24% rates Your taxable gain stacks on top of your income. With £40,000 income, the slice of the gain up to the £50,270 basic-rate limit is taxed at 18% and the rest at 24%. Your gain stacks on your income Income £40,000 18% 24% basic-rate limit £50,270 income gain at 18% gain at 24% Source: gov.uk · the £50,270 CGT band test is UK-wide, including Scottish taxpayersukfinancetools.co.uk
The portion of a gain that fits below the £50,270 basic-rate limit is taxed at 18%; the rest at 24%.

Worked example: income £40,000, gain £20,000. After the £3,000 allowance, £17,000 is taxable. Around £10,270 fills the rest of the basic-rate band at 18%, and the remaining £6,730 is taxed at 24%.

Using capital losses

Losses on other share disposals are deducted from your gains in the same year first. If losses remain, they carry forward indefinitely - but you must claim them within 4 years of the end of the tax year in which they arose, so report a loss on your tax return even in a year you owe nothing. Brought-forward losses are only used down to the level of the annual exempt amount, never below it, so the allowance is not wasted.

Crystallising a gain without breaking the 30-day rule

Selling to use your £3,000 allowance and rebuying the same shares within 30 days does not work - the bed & breakfast rule matches the repurchase to the sale. The legitimate alternatives that keep you invested are to rebuy through your spouse (bed-and-spouse), rebuy the holding inside an ISA (bed-and-ISA), or buy a similar but not identical fund.

Deductible costs

You can reduce the gain by the incidental costs of buying and selling: broker fees and commission, and Stamp Duty Reserve Tax (SDRT, usually 0.5%) paid on purchase.

Reporting and paying

Share gains are not reported through the 60-day service - that is only for UK residential property. Report shares on your Self Assessment return, or HMRC's real-time CGT service. You must report if your gains exceed £3,000 or your total proceeds exceed £50,000, even when the gain is within the allowance.

The 2026/27 rates

Share CGT is 18% and 24% from April 2026, now aligned with residential-property rates, with a £3,000 annual exempt amount. Selling a second property too? Use the property CGT calculator.

Hold income funds? Reinvested income in Fund or ETF units that reinvest income instead of paying it out. The reinvested income is still taxed each year and must be added to your Section 104 cost, or you overpay CGT on sale. is taxed as income but also raises your pool cost - our guide to CGT on shares covers this, plus RSU and foreign-share cost basis, in full.

Frequently Asked Questions

What is the "Bed and Breakfasting" rule?

The "Bed and Breakfasting" rule prevents you from selling shares to crystallise a capital gain (to use your allowance) and immediately buying them back. If you buy the same shares back within 30 days of selling them, the new purchase is matched with the sale, bypassing the Section 104 Pool.

Can I deduct buying and selling costs?

Yes. You can deduct "incidental costs of disposal" such as stockbroker fees and Stamp Duty Reserve Tax (SDRT) from your gain. In this calculator, please include these costs in your "Total Cost" entry for purchases, or deduct them from your "Sale Proceeds" figure for simplicity.

Do I pay tax on shares held in an ISA?

No. Shares held within a Stocks & Shares ISA are completely free from Capital Gains Tax and Dividend Tax. You do not need to report ISA gains to HMRC.

Can I use a capital loss from a previous year?

Yes. Capital losses carry forward indefinitely once claimed, and you must claim a loss within 4 years of the end of the tax year it arose. Brought-forward losses reduce gains only down to the 3,000 pound annual exempt amount, so you keep the benefit of the allowance.

Do I report share gains within 60 days?

No. The 60-day report-and-pay deadline applies only to UK residential property. Report share gains through your Self Assessment return or HMRC real-time CGT service. You must report if your gains exceed 3,000 pounds or your total proceeds exceed 50,000 pounds.