By clicking a retailer link you consent to third-party cookies that track your onward journey. If you make a purchase, Which? will receive an affiliate commission, which supports our mission to be the UK's consumer champion.

Capital gains tax on shares

Capital gains tax on shares is charged at 18% or 24%, depending on your income tax band. This guide shows you how to calculate your bill.
Josh WilsonSenior researcher & writer

Capital gains tax rates on shares

You may need to pay capital gains tax (CGT) on shares you own if you sell them for a profit.

The amount of tax you're charged depends on which income tax band you fall into. Broadly speaking, basic-rate taxpayers are charged 18%, while higher-rate taxpayers must pay 24% in CGT.

This was increased on 30 October 2024, as part of the Autumn Budget, from the previous rates of 10% and 18% respectively.

However, if you're a basic-rate taxpayer the gain you make, when added to your income, could push you into the higher-rate bracket. In this case, you'd pay 24% on however much of the gain falls into the higher income tax band.

You'll only need to pay tax if your profit, or gain, is more than the capital gains tax allowance. In the 2024-25 tax year, this is £3,000, down from £6,000 in 2023-24.

If you're part of a couple, you can use both of your CGT allowances to your advantage. It's possible to hold assets in joint names, and transfer assets to your spouse or civil partner so that they can use their CGT allowance on disposal.

Unless they're held in a pension or Isa, you'll usually need to consider capital gains tax when selling shares, funds, investment trusts, cryptocurrencies such as Bitcoin, or other financial products for a profit.

  • Tackle your 2023-24 tax return with the tax calculator service from GoSimpleTax. It can help you to tot up your tax bill, get tips on where to save and submit your return directly to HMRC.

Need help with your tax return?

Send your tax return to HMRC using the service provided by GoSimpleTax.

Calculate your tax bill

How do I calculate my CGT bill?

Firstly, it's worth knowing that there's no capital gains tax payable on shares or units held in an Isa or pension.

But for all other shares, capital gains tax might be charged on the profits you make from a sale.

If you sell shares of the same class in the same company, these are considered to be identical - regardless of whether they were acquired at different times, for different prices.

This is called a 'Section 104 holding', and you add together the costs of the shares in this holding by applying an average cost to all of them.

When you dispose of the shares, you need to match the shares being sold with shares you bought in order to work out the capital gain or loss.

To do this, the tax rules say you must match the shares or units you're selling to the ones you bought in this order:

  • shares or units you buy on the same day
  • shares or units you buy within 30 days following the day of disposal - this is known as the 'bed and breakfasting rule'
  • the rest of your shares or units - these are treated as being held in a pool and acquired at their average price as part of the Section 104 holding.

The bed and breakfasting rule can apply if the sale of shares can be matched to shares acquired within the following 30 days. It means the capital gains or loss on disposal can be calculated as the difference between the total proceeds from the sale, and the acquiring cost.

Example

Say someone held 5,000 shares in one company.

They bought 200 shares on 11 June, and the remaining 4,800 are in a Section 104 holding. The shareholder sold 2,000 shares on 30 May.

Using the order outlined above, the disposals would work like this:

  • no shares or units were bought on the same day
  • 200 of the sold shares can be matched against the 200 shares bought on 11 June under the bed and breakfasting rule
  • 1,800 sold shares to be matched against the shares in the section 104 holding.

Calculating the tax due for sales for shares can be tricky - HMRC has a help sheet called 'HS284 Shares and capital gains tax'.

Be more money savvy

free newsletter

Get a firmer grip on your finances with the expert tips in our Money newsletter – it's free weekly.

This newsletter delivers free money-related content, along with other information about Which? Group products and services. Unsubscribe whenever you want. Your data will be processed in accordance with our Privacy policy

Save tax with a Bed and Isa

The easiest way to sidestep paying capital gains tax on your investments is to make sure they're in a stocks and shares Isa, where any investment growth will be free from CGT, and any income such as interest or dividends will also be free from tax.

You're allowed to save or invest up to £20,000 in an Isa each year.

If you already hold investments, you can't transfer them into your Isa. Instead you can opt to sell them, transfer the money to your Isa, and use that cash to buy the investments back - a pair of deals known as a Bed and Isa.

Bear in mind that there can be charges involved with buying and selling, and you'll generally have to pay slightly more to buy an asset than you'll receive when you sell it.

There's also a chance that the price will go up between your selling and buying it back, which could cost you. But if the price falls, that could work to your advantage.

What's more, if you make a gain from selling the shares that exceeds your allowance, it could also a CGT charge.

Many investment platforms have processes that can simplify, speed up or reduce the cost of a Bed and Isa, so speak to your provider before you begin the process.

CGT on employee shares

You might get shares in the company you work for through an employee scheme at work.

Depending on the scheme, there could be a capital gains tax bill if you sell your shares immediately and, with all schemes, there could be a future bill if you keep the shares and sell later.

These are the main employee share plans your workplace could offer:

When you get employee shares from a SIP or SAYE plan, any increase in value is ignored if you transfer them within 90 days to an Isa or a personal pension.

Because Isas and personal pensions are CGT-free, this means there's no capital gains tax when you eventually sell the shares. Note that this also means you won't get any relief for losses, either.

For more information about employee shares schemes, see HMRC's helpsheet on Employment-related shares and securities.

Do your tax return online with Which?

Use our jargon-free calculator to complete and securely submit your tax return direct to HMRC.

Which? tax calculator