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.
Selected scenario
- Sale gain or loss
- CGT change from this sale
- Net chargeable gain for the year
- Estimated total 2026/27 CGT
- Year’s CGT at 18%
- Year’s CGT at 24%
- Annual exemption used
- Brought-forward losses used
- Net sale proceeds
- Total allowable share cost
| Matching order | Shares | Allowable cost |
|---|---|---|
| Same day | ||
| 30-day rule | ||
| Section 104 pool |
Remaining Section 104 pool
After this sale and any unmatched taxable purchases entered above.
- Shares remaining
- Total cost remaining
- Average cost per share
Compare the 30-day repurchase options
Each option changes only the later repurchase. CGT change compares your estimated annual bill with and without this sale. A negative amount means the sale offsets some of your other gains.
| Repurchase option | Sale gain or loss | CGT change |
|---|---|---|
| Taxable account (GIA) | ||
| Bed and ISA | ||
| Bed and Spouse |
- Bed and ISA CGT saved by the £3,000 annual exemption
- Bed and ISA CGT difference versus GIA
The exemption saving compares the sale’s CGT impact with and without the annual exemption. The difference versus GIA is ISA minus GIA. Bed and Spouse assumes the spouse or civil partner buys independently in the market as beneficial owner. Only the original seller’s CGT is shown.
Official UK CGT parameters for 2026/27
| Parameter | 2026/27 value |
|---|---|
| Tax year | 6 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 rates | 18% in the unused basic-rate band and 24% above it |
| 30-day matching window | Calendar 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.
HMRC CGT rates and exemptionGOV.UK rate-band exampleHMRC identification orderHMRC Bed and ISA guidanceHMRC spouse transfer rulesGOV.UK capital losses
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.
Related calculators
2026 United Kingdom Tax & Financial Calculators
Explore official 2026 statutory planning tools for United Kingdom: