Calculator

Shares CGT Calculator 2026/27

Estimate CGT on shares or funds sold outside an ISA or pension. Enter your figures below - results update instantly. Bought or sold more than once? Keep the whole holding in the share pool tracker further down. Last updated 3 November 2026.

Calculator checked against GOV.UK and HMRC rules on (how we check).

Shares Capital Gains Tax

2026/27
£
£
£
£
£
£
Gross gain£0
Losses deducted£0
Annual exempt amount£0
Taxable gain£0
CGT at 18% (basic-rate band)£0
CGT at 24% (higher-rate band)£0
Total CGT estimate£0

Simplified single-purchase estimate. Bought the same shares at different times? Use the share pool tracker below, which applies HMRC's matching rules and saves your record in this browser.

Want your own figures checked line by line? Preview Your Full CGT Report  (£4.99)

Section 104 share pool tracker

Enter every buy and sell of one holding. The tracker matches each sale in HMRC's order: shares bought the same day, then shares bought in the next 30 days, then the Section 104 pool at average cost. It shows the pool after each trade and the gain or loss on each sale, by tax year. It is an estimate and a record for you to check, not tax advice.

How the tracker works

  • Costs include fees and stamp duty. Fees on a sale reduce the proceeds, shared across the sale when parts of it match different purchases.
  • All purchases on one day count as one purchase, and all sales on one day as one sale. Same-day matching comes first for every sale, even over an earlier sale's 30-day match.
  • Shares matched by the same-day or 30-day rule never enter the pool.
  • A split or bonus issue changes the number of shares in the pool, not its cost. It is not a purchase, so it is never matched with an earlier sale.
  • Each sale counts in the tax year of its trade date.

What it does not handle

  • A repurchase within 30 days where a split or bonus issue falls between the sale and the repurchase. The tracker stops at that sale and says so, because we could not confirm how the shares are counted.
  • Rights issues, takeovers, demergers, capital repayments and cash for fractions. Do not enter a rights issue as a buy: it is not treated as a purchase.
  • Accumulation fund income added to cost, employee share schemes, EIS and VCT shares, and gifts or sales to connected people at market value.
  • Repurchases made while you were not UK resident: the 30-day rule does not apply to them, and the tracker assumes it does.
  • Sales before 6 April 2008, and shares held on 31 March 1982 unless you enter their value on that date as the cost. Foreign-currency trades need converting to pounds first.

Worked example: HMRC's Lobster plc (HS284 Example 3)

TradeGainPool after
April 2017: buy 1,000 for £4,000 + £1501,000 / £4,150
September 2020: buy 500 for £2,050 + £801,500 / £6,280
May 2025: sell 700 for £3,360, less £100£329800 / £3,349
February 2026: sell 400 for £2,080, less £105£300400 / £1,675

HMRC rounds each step to the pound, so its helpsheet ends on £1,674 and the tracker's unrounded £1,674.67 shows £1,675 here. HMRC's example gives months only; Load HMRC's example uses the 15th of each month. For more on why the pool works this way, see the Section 104 pool explained.

Estimates and a personal record only, not tax advice. Check figures against your contract notes before using them on a return.

How it works

This calculator uses 2026/27 CGT rates for shares and funds:

  1. Gross gain = sale proceeds minus original purchase cost minus dealing costs.
  2. Deduct capital losses, then the annual exempt amount (£3,000).
  3. The taxable gain is split across the basic-rate and higher-rate bands using your income.
  4. 18% applies to gains within the basic-rate band; 24% to the remainder.

Share matching rules: HMRC uses a "same-day rule", "30-day rule" and "section 104 pool" to determine the cost base when shares are bought and sold at different times. The calculator at the top assumes a single pool with the cost you enter, so it is most accurate for a single purchase and single sale; the share pool tracker applies the rules to every trade. Use a qualified tax adviser or HMRC's own tools for complex share portfolios.

Worked example

Sale proceeds £25,000 minus purchase cost £10,000 minus dealing costs £50 = gross gain of £14,950. After the £3,000 annual exempt amount, £11,950 is taxable. With income of £40,000, £10,270 of basic-rate band remains, so CGT is £1,849 at 18% and £403 at 24% (on the other £1,680), a total of approximately £2,252.

Note about ISAs

Shares, funds and investment trusts held inside a Stocks and Shares ISA are entirely free of CGT - dividends and capital gains are both sheltered. The ISA allowance is £20,000 per tax year. This calculator is for assets held outside an ISA or pension.

Frequently asked questions

  • Are shares inside an ISA subject to CGT?

    No. Gains and income inside a Stocks and Shares ISA are completely free of CGT and income tax.

  • What are dealing costs?

    Broker commissions and stamp duty reserve tax (SDRT) paid on purchase are allowable costs. Platform fees and subscription costs are generally not deductible against CGT.

  • What if I bought shares at different times?

    HMRC uses share identification rules - same-day, 30-day and a section 104 pool - to calculate the allowable cost. The calculator at the top does not model those rules, but the share pool tracker on this page does: enter each trade and it works out the cost of every sale.

This calculator provides estimates for guidance only and does not constitute tax or financial advice. Tax rules can change and individual circumstances vary. Consult a qualified tax adviser before making decisions based on these figures.

Reviewed by the UKCapitalGainsTaxCalculator team.

Every figure is checked against current HMRC and GOV.UK guidance and reviewed for the 2026/27 tax year. We explain how the tax works in plain English with worked examples, not just numbers. Editorial standards · Sources · About us

Read next