Guia · última atualização 2026-10-30

Capital gains tax on shares in the UK 2026/27: allowance, rates and how to calculate it

The UK capital gains tax allowance is £3,000 in 2026/27, with shares taxed at 18% or 24%. Worked examples, the same-day, 30-day and section 104 pooling rules, HMRC reporting and why an ISA avoids it.

Esta análise ainda não foi traduzida — exibindo o original em inglês.

The short answer

In the 2026/27 tax year the first £3,000 of your total capital gains is tax-free, according to GOV.UK. Gains above that are taxed at 18% where they fall within your basic rate band (£37,700) and 24% above it; higher and additional rate taxpayers pay 24% on everything over the allowance. Shares held in a stocks and shares ISA are outside capital gains tax altogether. You only pay on a gain when you sell (or otherwise dispose of) shares, not while you hold them. All figures as of October 2026.

When do you pay capital gains tax on shares?

GOV.UK says you may have to pay capital gains tax when you sell shares, or other investments such as unit trust units, at a profit and they are not held in an ISA or a PEP. The tax is on the gain, not on the money you receive: proceeds minus what the shares cost you. If your total gains for the tax year are below the allowance you pay nothing, and losses can reduce what is taxable.

“Disposing” includes selling, giving away, swapping or receiving compensation for an asset. Gifts to a spouse or civil partner, and to charity, are generally not taxed, according to GOV.UK. The tax year runs from 6 April to 5 April.

What are the capital gains tax rates and allowance for 2026/27?

2026/27 (from 6 April 2026)
Annual tax-free allowance (individuals) £3,000
Basic rate taxpayers 18% on gains within the basic rate band, 24% above it
Higher and additional rate taxpayers 24%
Basic rate band £37,700

Source: GOV.UK, “Capital Gains Tax rates” and “Capital Gains Tax allowances”, checked October 2026. The 2025/26 allowance was also £3,000 and the rates were also 18% and 24%, so nothing changed on 6 April 2026. The band that matters is the part of your £37,700 basic rate band left unused after your taxable income, which is why the same gain can cost a basic rate taxpayer 18% or 24%.

How much capital gains tax will I pay? Worked examples

Each example uses a 2026/27 Personal Allowance of £12,570, the £3,000 allowance and the rates above. The figures were computed with a script. They illustrate the rules; they are not tax advice.

Your situation Taxable income Gain on shares Tax
Small gain, within the allowance £20,000 salary £2,500 £0
Basic rate taxpayer £20,000 salary £10,000 £1,260.00
Higher rate taxpayer £50,000 salary £10,000 £1,663.80
Higher rate, large gain £60,000 salary £25,000 £5,280.00

Basic rate taxpayer. The £10,000 gain less the £3,000 allowance leaves £7,000. Taxable income is £7,430 (£20,000 minus £12,570), so plenty of the basic rate band is unused and all £7,000 is taxed at 18%, giving £1,260.

Higher rate taxpayer. Taxable income is £37,430, which leaves only £270 of the basic rate band. Of the £7,000 taxable gain, £270 is taxed at 18% (£48.60) and £6,730 at 24% (£1,615.20), a total of £1,663.80.

Large gain. With £60,000 of salary the band is already used up, so the £22,000 above the allowance is taxed at 24%: £5,280.

How do you work out the gain if you bought at different times?

You cannot simply pick which shares you sold. HMRC’s share-matching rules, set out in its shares and capital gains tax helpsheet, apply in a fixed order.

  1. Same-day rule. Shares bought on the same day as the sale are matched first.
  2. 30-day rule. Shares bought within 30 days after the sale are matched next, as long as you were UK resident when you bought them.
  3. Section 104 pool. Everything else of the same class in the same company is pooled, and each share is given the average cost of the pool.

Pooling example. You buy 100 shares at £10 and later another 100 at £14. The pool is 200 shares costing £2,400, or £12 each. You sell 150 shares at £18, receiving £2,700. The allowable cost is £2,400 × 150 / 200 = £1,800, so the gain is £900. The remaining 50 shares carry £600 of cost forward in the pool.

30-day example. You sell 100 shares for £2,000 and buy 100 of the same shares back for £1,900 a fortnight later. The sale is matched with the repurchase, so the gain is £100, not the £800 you would see against the £12 pool average. Selling and rebuying does not reset your cost in the way many people expect.

Your platform’s statement shows proceeds and purchase prices, but it does not necessarily apply these rules for you, so you may need to keep your own running record.

Does an ISA avoid capital gains tax?

Yes. GOV.UK says shares held in an ISA are not subject to capital gains tax when you dispose of them. The trade-off is the £20,000 annual limit across all your ISAs for 2026/27, covered in our guide to the best stocks and shares ISA platforms.

Moving existing holdings in is not automatic. If you sell shares outside an ISA and rebuy them inside one, the sale can create a taxable gain, though it can also use your £3,000 allowance. Spreading that over several tax years is a common way to make use of the allowance, and the 30-day rule is why the rebuy is done inside the ISA rather than in a normal account.

The ISA also removes the dividend side. Our dividend tax guide covers the separate £500 dividend allowance, and the dividend calculator shows the dividend cost for your own income.

What about shares in other currencies and CFDs?

For US and other foreign shares, the gain is worked out in pounds, using the sterling cost at purchase and the sterling proceeds at sale, so currency moves are part of the gain or loss. Platform FX charges form part of your costs; see our guide to the cost of buying US shares from the UK. We have not verified specific HMRC wording for every foreign-share case here, so check GOV.UK or an adviser for unusual holdings.

CFDs and spread bets are taxed on different rules from shares, and we do not cover that here. Our guide to spread betting vs CFDs explains the products.

How do you report share gains to HMRC?

According to GOV.UK, if you are registered for Self Assessment you must report your gains when the total amount you sold assets for in the tax year is more than £50,000 (the figure applies for 2023/24 onwards), even if your gain is below the allowance. You also report if your gains exceed the allowance. GOV.UK says that for shares you report and pay in the tax year after the sale if you use Self Assessment, and that you may be able to use the “real time” capital gains tax service to report earlier, by 31 December of the tax year after the sale. GOV.UK describes different rules for reporting a loss, so check them before relying on a loss.

Keep records of every purchase and sale: dates, quantities, prices, fees and currency rates. The pool calculation cannot be done without them, and platform history can be harder to retrieve after you close an account.

Buying shares in UK companies also carries a separate 0.5% tax; see stamp duty on shares.

To see how much an ISA is worth on regular contributions once fees and tax are counted, try our ISA calculator.

Sources

Perguntas frequentes

How much capital gains tax do I pay on shares in the UK?

According to GOV.UK, for 2026/27 the first £3,000 of your total gains is tax-free. Gains above that are taxed at 18% to the extent they fit inside your basic rate band (£37,700) and 24% above it. Higher and additional rate taxpayers pay 24% throughout. The rates are the same for shares as for most other assets.

Do I pay capital gains tax on shares in a stocks and shares ISA?

No. GOV.UK says shares held in an ISA are not subject to capital gains tax when you sell them, and you do not report them to HMRC. The ISA limit for 2026/27 is £20,000 a year across all your ISAs, so it shelters new money rather than existing holdings.

What is the 30-day rule for shares?

If you sell shares and buy the same shares back within 30 days, HMRC matches the sale with that repurchase rather than with your older shares. The gain or loss is the sale proceeds minus the repurchase cost. It stops people crystallising a loss or using the allowance simply by selling and rebuying straight away outside an ISA.

When do I have to report share gains to HMRC?

GOV.UK says that if you are registered for Self Assessment you must report gains when the total you sold assets for is more than £50,000 in a tax year, even if the gain is below the allowance. Gains above the £3,000 allowance also need reporting. You report in the tax year after the sale, or via the real-time service if eligible.

How is the cost of my shares worked out if I bought at different prices?

Shares of the same class in the same company are pooled in a 'section 104 pool', and each share is treated as having the average cost of the whole pool. When you sell part of a holding, the allowable cost is the pool cost multiplied by shares sold divided by shares held. Same-day and 30-day purchases are matched first.