Capital gains tax on shares in 2026/27: rates, allowance and worked examples

How much CGT you pay when you sell shares in the UK: the £3,000 allowance, the 18% and 24% rates, how your income decides the rate, average-cost pooling, using losses, and how and when to report.

Written by
Arnold Gold, Product Manager
Published
12 October 2026
Figures checked
12 October 2026

Work out your own figure

Capital Gains Tax Calculator

When selling shares triggers capital gains tax

Capital gains tax is charged on the profit when you sell — or give away — shares and other investments, not on the whole sale price. You only pay when your total gains for the tax year are above your allowance (GOV.UK). Shares in a unit trust and certain bonds count too.

Some holdings are outside CGT entirely:

  • shares held in an ISA or PEP;
  • UK government gilts, including Premium Bonds, and qualifying corporate bonds;
  • shares in an employer's Share Incentive Plan;
  • gifts to your husband, wife, civil partner or a charity, which usually aren't taxed.

The rules below apply to shares in an ordinary dealing account or held as certificates.

The 2026/27 allowance and rates

2026/27Shares and other assets
Annual exempt amount£3,000
Gains within your unused basic-rate band18%
Gains above it24%

The same two rates apply to residential property since 6 April 2025 (GOV.UK CGT rates, allowances). The £3,000 allowance is for all your gains in the year together, not per sale.

How the rate is decided. Your taxable gains are added on top of your taxable income. Whatever is left of the £37,700 basic-rate band after your income is where gains are taxed at 18%; anything beyond it is 24%. A higher-rate taxpayer has no basic band left, so all their taxable gains are at 24%. Scottish taxpayers use these same UK bands for CGT, not the Scottish income tax bands.

Working out the gain on a share sale

The gain is what you sold for minus what you paid. You can deduct the costs of buying and selling — such as stockbrokers' fees, and the Stamp Duty Reserve Tax you paid when you bought (GOV.UK).

If you were given the shares (by someone other than your spouse, civil partner or a charity), or inherited them and don't know their Inheritance Tax value, you use their market value at that time as your cost.

Bought at different times? Use the average

When you sell shares of the same type in a company you bought in several lots, you usually work out the average cost of all of them. GOV.UK's own example: 100 shares at 80p (£80) and 300 at £1.20 (£360) make 400 shares costing £440 — an average of £1.10. Sell 150 and their cost is £165 (GOV.UK).

The 30-day rule. If you buy shares of the same type in the same company within 30 days of selling, special rules decide which purchase is matched with the sale, so the average doesn't apply in the usual way. HMRC's helpsheet HS284 sets them out. In short: selling to use your allowance and buying straight back doesn't reset your cost the way you might expect.

Worked examples

A basic-rate taxpayer on £30,000 with a £10,000 gain

After the £3,000 allowance, £7,000 is taxable. It all fits in the unused basic-rate band, so it's taxed at 18%: £1,260.

A higher-rate taxpayer on £60,000 with the same gain

No basic band is left, so all £7,000 is at 24%: £1,680.

On £45,000 with a £20,000 gain — split across the bands

£17,000 is taxable. £5,270 fits in what's left of the basic band at 18%, and £11,730 is at 24% — £3,764 in total, an effective 19% of the whole gain.

Using losses

An £8,000 gain and a £5,000 loss in the same year net to £3,000, which the allowance covers: £0 to pay. Losses from earlier years only need to bring gains down to the allowance — on a £12,000 gain, £9,000 of a £20,000 brought-forward loss is used and the rest carries forward.

Try your own sale in the capital gains tax calculator — it uses the same engine.

A full example: several purchases, fees and a partial sale

Say you built up a holding in one company over three years, then sold part of it. These figures are illustrative; the method is the average-cost approach GOV.UK describes.

StepSharesCost incl. fees
Year 1 purchase1,000£4,010
Year 2 purchase500£2,510
Year 3 purchase1,500£9,010
Pool3,000£15,530

The average cost is £15,530 ÷ 3,000 = £5.18 a share. You sell 2,000 shares for £21,000 and pay £10 in dealing fees. Their cost from the pool is £10,353, so the gain is £21,000 − £10,353 − £10 = £10,637.

On a £50,000 salary, after the £3,000 allowance £7,637 is taxable: £270 at 18% and £7,367 at 24% — £1,817. The 1,000 shares you kept stay in the pool at the same average cost for the next sale.

Keep the contract notes for every purchase and sale. Without them, rebuilding the average years later is guesswork — and the fees you can deduct are easy to lose.

CGT on a share gain at different salaries

Tax on a single share gain in 2026/27, assuming no other gains or losses, the full Personal Allowance, and income from salary only:

GainSalary £30,000Salary £50,000Salary £80,000
£5,000£360£464£480
£10,000£1,260£1,664£1,680
£25,000£4,064£5,264£5,280
£50,000£10,064£11,264£11,280

Legitimate ways to pay less

  • Use your ISA allowance. Gains inside an ISA aren't taxed, so new money invested there never creates a CGT bill.
  • Use the £3,000 allowance each year. Spreading sales across tax years can keep each year's gains under the allowance — mind the 30-day rule if you buy back.
  • Claim your losses. Losses can be set against gains, and unused ones carried forward.
  • Gifts between spouses and civil partners usually aren't taxed — worth knowing before you decide who in a household sells.

Reporting and paying

If your total taxable gains are above your allowance, you need to report and pay (GOV.UK):

  • On a Self Assessment return for the tax year after the sale, or
  • Through the real-time CGT service (UK residents), reporting by 31 December after the end of the tax year and paying by 31 January — so a gain in 2026/27 is reported by 31 December 2027 (GOV.UK). If you're already in Self Assessment, include the sale on your return too.

Selling UK residential property is different: it has its own 60-day reporting deadline.

Common mistakes

  • Taxing the sale price instead of the gain. Only the profit is taxed, after costs.
  • Treating the allowance as per sale. £3,000 covers all your gains in the year combined.
  • Ignoring income. A big salary or bonus uses up the basic band and pushes gains to 24%.
  • Selling and buying straight back. The 30-day rule means this doesn't reset your cost.
  • Forgetting old losses. Unclaimed losses from previous years can reduce this year's bill.

Frequently asked questions

Frequently asked questions

What is the capital gains tax allowance for 2026/27?

£3,000 — the annual exempt amount. It covers all your gains in the tax year together, not each sale separately.

What rate of CGT do I pay on shares?

18% on gains that fit within your unused basic-rate income tax band, and 24% on the rest. Your taxable income decides how much of the band is left.

Do I pay CGT on shares in an ISA?

No. Shares held in an ISA or a PEP are outside capital gains tax.

How do I work out the cost if I bought shares at different times?

Usually by averaging: add up what you paid for all your shares of that type in the company and divide by the number of shares. If you buy more of the same shares within 30 days of selling, special matching rules apply instead (HMRC helpsheet HS284).

Do I have to report a gain under the allowance?

GOV.UK ties the duty to report to your taxable gains being above your allowance. If you're unsure — for example with large disposals — check HMRC's guidance for your situation.

Can I deduct fees from my gain?

Yes. Costs of buying and selling, such as stockbrokers' fees and the Stamp Duty Reserve Tax you paid on purchase, can be deducted.

Do Scottish taxpayers pay different CGT rates?

No. CGT uses the UK basic-rate band, not the Scottish income tax bands, so the same 18% and 24% rates and the same band apply.

Ready to run your own numbers?

Capital Gains Tax Calculator

Sources

Not financial advice

This guide explains the general rules for information only. It is not financial, tax or legal advice — check the sources above, or ask a qualified adviser, before acting on it.