UK CGT Share Matching Calculator 2026/27

Estimate the gain on a share sale, track your Section 104 pool and compare buying back in a taxable account, an ISA or through a spouse’s own market purchase.

Key takeaways

HMRC matches same-day purchases first, then qualifying purchases in the next 30 calendar days, then the Section 104 average-cost pool. This statutory order overrides broker FIFO and LIFO.

For 2026/27, individuals generally have a £3,000 annual exemption. Chargeable gains use the remaining basic-rate band at 18%, then 24%. An eligible ISA repurchase leaves the original taxable sale subject to CGT and stays outside its share matching.

Enter your share sale

Use GBP for one taxable disposal date from 6 April 2026 to 5 April 2027. Combine same-day trades for the same company, share class and ownership capacity. The estimate assumes UK tax residence and no competing disposals or special share rules.

Opening pool and sale
Repurchases

Use all-in costs per share, including allowable purchase fees. Enter 0 shares if a purchase did not happen. The later purchase covers one trade date.

The same-day purchase above stays taxable in every comparison. To model a same-day ISA buyback with no separate taxable purchase, enter 0 in both repurchase share fields. The gain will use the opening pool.

2026/27 tax position

Enter other gains less allowable current-year losses before the exemption, using a minus sign for a net loss. Enter taxable income before adding gains. The calculation uses the standard CGT basic-rate band and ordinary gain rates.

Official UK CGT parameters for 2026/27

Parameter2026/27 value
Tax year6 April 2026 to 5 April 2027
Individual annual exempt amount£3,000
Standard basic-rate band£37,700 of taxable income and chargeable gains combined
Standard Personal Allowance£12,570 when available
Ordinary individual CGT rates18% in the unused basic-rate band and 24% above it
30-day matching windowCalendar days 1 to 30 after the sale

With the full standard Personal Allowance, the £37,700 band corresponds to £50,270 before that allowance. Use your actual taxable income after allowances in the calculator.

Frequently asked questions

Which shares does HMRC match first?

Match taxable purchases of the same share class in the same capacity on the sale date first, then qualifying purchases on days 1 to 30, then the Section 104 pool. If shares are still unmatched, later acquisitions may be needed under the statutory fallback.

Does day 30 count if it falls in the next tax year?

Yes. Day 30 is included, even across 5 April. The disposal still belongs to the tax year of the original sale. The 30-day rule generally requires UK tax residence at the time of acquisition.

How does the Section 104 pool change after a sale?

Remove the shares matched to the pool and their proportional share of the pooled cost. Add any unmatched taxable purchases entered for the period at their acquisition cost. Shares already matched to the sale do not enter the pool.

Does Bed and ISA eliminate CGT on the original sale?

The sale outside the ISA still realises a gain or loss. A qualifying purchase inside the ISA is outside the seller’s taxable matching calculation. The available annual exemption may shelter part or all of the gain, and the repurchase needs ISA eligibility and subscription room.

How does Bed and Spouse differ from a direct transfer?

For a market sale followed by an independent market purchase by a spouse or civil partner as beneficial owner, the spouse’s purchase is separate from the seller’s matching. A qualifying direct transfer generally takes place on a no-gain/no-loss basis and passes the existing tax basis to the recipient.

2026 United Kingdom Tax & Financial Calculators

Explore official 2026 statutory planning tools for United Kingdom:

HMRC 2026/27 Statutory UK £100k Childcare & Pension Sacrifice Calculator 2026/27 Estimate the £100,000 childcare cliff, the 60% income tax taper and how much pension salary ... HMRC 2026/27 Statutory UK CIS Tax Deduction & Refund Calculator 2026/27 Estimate UK CIS deductions at 20%, 30% or 0%, then compare them with your 2026/27 Income Tax... HMRC 2026/27 Statutory 2026/27 UK Commercial Lease SDLT Calculator | Net Present Value (NPV 3.5%) & Premium Calculate UK Commercial Lease Stamp Duty Land Tax (SDLT) using HMRC Finance Act 2003 Schedul... HMRC 2026/27 Statutory 2026/27 UK Business Insurance & 12% IPT Calculator | Employers' & Public Liability Calculate 2026/27 UK business insurance premiums including mandatory Employers
Explore All 2026 Global Tax & Finance Calculators →