Capital gains tax on shares: how to work it out and report

In short: Selling shares outside an ISA or pension can create a capital gain. Here is how to work out the gain, what rate applies and how to report it.

Selling shares held outside an ISA or pension for more than they cost gives a capital gain. The first £3,000 of your total gains in a tax year is tax-free. Above that, gains are taxed at 18% where they fit in your unused basic rate band and 24% above it. Report it on a Self Assessment return or through HMRC’s real time Capital Gains Tax service.

How do I work out the gain on shares?

Gain = sale proceeds − what you paid − allowable costs such as dealing fees and stamp duty on purchase. For shares of the same company bought at different times, the cost is usually an average of the shares you hold (the “section 104 pool”). Shares bought on the same day as a sale, or within 30 days after it, are matched first instead. HMRC’s helpsheet HS284 explains the matching rules.

What are the capital gains tax rates in 2026 to 2027?

GOV.UK sets the rates for gains from 06/04/2026:

  • 18% on gains that fall within your unused basic rate band (£37,700 for 2026 to 2027, after your taxable income);
  • 24% on gains above that, and on all gains for higher and additional rate taxpayers.

The annual exempt amount is £3,000. It cannot be carried forward if you do not use it.

Want your tax return done for you?

One price for your personal tax return: £69 one-off per tax year, whether you are employed, self-employed or a landlord, whatever your sales. Bookkeeping from your bank statements included. A CIS tax refund is £69 one-off per tax year. Pay when you order.

Get started

A worked example

Chris bought 1,000 shares for £8,000 including fees and sold them in 2026 to 2027 for £20,000, paying £50 in fees. The gain is £20,000 − £50 − £8,000 = £11,950. After the £3,000 allowance, £8,950 is taxable. Chris is a higher rate taxpayer, so the tax is £8,950 × 24% = £2,148. If Chris had £5,000 of basic rate band left, the first £5,000 would be at 18% (£900) and £3,950 at 24% (£948), a total of £1,848.

How do I report a gain on shares?

GOV.UK gives two routes:

  • Self Assessment: fill in the capital gains pages (SA108) on the return for the tax year after the sale. The tax is due by 31 January.
  • Real time service: if you are not in Self Assessment, report by 31 December after the tax year. HMRC then tells you how much to pay.

If you already file a return, read HMRC’s SA108 notes: some disposals need listing even where no tax is due. Losses also need reporting to be used: see claiming capital losses.

Common mistakes

  • Using the price of the latest purchase instead of the pooled average cost.
  • Forgetting reinvested dividends in a fund, which add to your cost.
  • Ignoring the 30-day rule when selling and buying back the same shares.
  • Treating a transfer to a spouse or civil partner as a sale. It is normally at no gain, no loss.
  • Assuming shares from an employee scheme have nil cost. Any amount already taxed as income usually counts as cost.

How Wenzo can help

Our accountants prepare personal tax returns for £69 one-off. We work out what goes where, show you the tax figure first and file with HMRC once you approve. See our personal tax return service. Nothing is filed until you have seen the figures and approved them.

Frequently asked questions

Is the capital gains allowance still £3,000?

Yes. The annual exempt amount for individuals is £3,000.

Do I pay capital gains tax on shares in an ISA?

No. Gains on shares held in an ISA or a pension are not taxed.

When do I pay capital gains tax on shares?

Through Self Assessment, by 31 January after the end of the tax year of the sale. With the real time service HMRC tells you when to pay.

Can I use losses to reduce the gain?

Yes. Losses in the same year are set against gains first. Earlier reported losses can bring your gains down to the £3,000 allowance.

Article reviewed

NextClaiming capital losses: the 4-year time limit

Need help with your Self Assessment?

Call or WhatsApp us for a free, no-obligation chat about your tax return and exactly what it costs.

Call 020 7123 9335
WhatsApp us

Mon to Sat, 9am to 9pm