Pensions, investments and tax can be complicated enough without having to work out exactly what happens when you sell an investment at a profit.
For UK investors holding shares, funds or investment trusts outside an ISA or pension, understanding Capital Gains Tax (CGT) has become more important. The annual exempt amount has fallen from £12,300 in 2022/23 to £3,000 in 2026/27, while the main CGT rates increased to 18% and 24% in October 2024.
So, if you are wondering how much is capital gains tax on shares, the answer depends on the size of your gain, your income and the other gains and losses you have made during the tax year.
This article explains capital gains tax on shares, including how the calculation works, HMRC’s share matching rules, the 30-day rule and some of the ways you may be able to reduce your liability. We also look at employee share schemes, where the rules can be rather different.
This article is about CGT on shares and investments. Capital Gains Tax on property has additional rules, so it is worth treating that as a separate area of planning.
CGT on shares generally applies when you dispose of shares, funds or investment trusts held outside a tax-efficient wrapper and make a capital gain.
A disposal does not necessarily mean selling for cash. Giving an asset away, for example, can also count as a disposal, although transfers between spouses or civil partners generally have special treatment. Swapping shares for something else can also create a disposal in some circumstances.
The good news is that CGT is not a tax on everything you receive from selling your shares. It is a tax on the gain.
So, if you bought shares for £10,000 and sold them for £20,000, the starting point is a £10,000 gain, before allowable costs, losses and your annual exempt amount are taken into account.
Some investments are outside CGT altogether. These include shares held in an ISA or pension, UK government gilts and Premium Bonds.
Could you be holding investments outside a tax wrapper without realising the potential CGT implications?
For 2026/27, individuals generally pay CGT at:
| Rate | |
| Gains falling within the basic rate band | 18% |
| Gains falling above the basic rate band | 24% |
The rate depends on your taxable income and the size of your gain. You add your taxable gain to your taxable income to establish how much falls within the basic rate band. This means that some investors will pay a blended rate of 18% and 24%, rather than one rate on the whole gain.
The annual exempt amount is £3,000 for individuals in 2026/27. It cannot be carried forward if you do not use it.
Working out shares and capital gains tax involves several steps.
First, establish the disposal proceeds. Then deduct the original acquisition cost and any allowable costs associated with buying or selling the shares.
You also need to consider HMRC’s share matching rules before calculating the gain, as the shares you are treated as selling may not simply be the shares you bought first.
Finally, deduct any available capital losses and your £3,000 annual exempt amount before applying the appropriate CGT rate.
For example, James buys shares for £4,000 and pays £20 in dealing fees. He later sells them for £11,000 and pays £30 in dealing fees.
His gain is:
£11,000 sale proceeds
Less £4,020 acquisition cost
Less £30 disposal costs
= £6,950 gain
After his £3,000 annual exempt amount, £3,950 is taxable.
If all of the gain falls within the 24% rate, James would pay £948 in CGT.
This is where shares and capital gains tax can become particularly complicated.
If you have bought shares in the same company on different dates, HMRC does not simply use the oldest shares first. There is a specific matching order.
First, shares bought on the same day as the disposal are matched.
Second, shares bought within the following 30 days are matched. This is commonly known as the 30-day or bed and breakfasting rule.
Finally, the remaining shares are generally matched against your Section 104 holding, which pools shares of the same class in the same company and uses an average cost.
Why does this matter? Because selling shares to crystallise a loss and then buying them straight back can produce a very different CGT result from the one you intended.
The 30-day rule is particularly important when considering loss harvesting. By contrast, a Bed and ISA transaction involves selling shares outside an ISA and buying them inside an ISA, which is treated differently.
There is sometimes confusion between CGT on shares and CGT on residential property.
The 60-day reporting and payment deadline applies to certain residential property disposals. It does not apply to ordinary disposals of shares, funds or investment trusts.
For shares, you can report a taxable gain through Self Assessment in the tax year after the disposal. Alternatively, eligible UK residents can use HMRC’s real-time CGT service.
For example, a disposal during 2026/27 would normally be reported through Self Assessment by 31 January 2028.
If you receive shares or options through your employer, the CGT calculation can be different.
The key point is that the amount you originally paid is not always the figure you should use as your CGT acquisition cost. The treatment depends on the particular scheme and what happened when the shares were acquired or left the scheme.
SIP shares receive particularly favourable treatment. If you keep the shares in the plan until they are sold, there is generally no CGT on the gain.
If you take them out of the plan and sell them later, the market value when they leave the plan generally becomes the CGT acquisition cost. This means you are generally only exposed to CGT on growth after that point.
With SAYE, CGT can arise when you eventually sell the shares.
There is, however, a valuable planning opportunity. SAYE shares can generally be transferred into a Stocks and Shares ISA within 90 days of taking them out of the scheme, subject to the ISA rules and available allowance. This can shelter future growth from CGT.
EMI shares have their own rules. The CGT acquisition cost will generally reflect the exercise price and, where relevant, any amount subject to Income Tax on exercise.
Qualifying EMI shares can also potentially benefit from Business Asset Disposal Relief, provided the relevant conditions are met. From 6 April 2026, qualifying gains benefiting from the relief are taxed at 18%, subject to the £1 million lifetime limit and detailed qualifying conditions (including minimum holding period and shareholding tests), which are easy to miss and should be checked with a tax adviser before relying on this relief.
If you have employee shares, getting the acquisition cost and timing right can make a significant difference.
If you invest through an OEIC, unit trust or ETF, the fund manager can buy and sell investments within the fund without creating a personal CGT liability for you each time.
Your CGT liability generally arises when you dispose of your own units or shares in the fund. HMRC confirms that gains made within authorised investment funds are not themselves chargeable to CGT on the fund.
This can be useful for investors who want a portfolio to be regularly rebalanced without personally selling individual holdings every time.
So, how much is capital gains tax on shares, and what can you do about it?
Below are several legitimate planning strategies worth considering. These are general strategies, not personal recommendations. Which (if any) are appropriate for you depends on your full circumstances, and the value of any tax saving needs to be weighed against dealing costs, market risk and your wider investment objectives.
The £3,000 allowance is use it or lose it. If appropriate, realising gains over several tax years can prevent a much larger gain building up outside the allowance.
Transfers between spouses and civil partners generally take place on a no gain, no loss basis. This can allow both partners to use their £3,000 allowances and, depending on their income, potentially make use of the lower 18% CGT rate.
If you have shares held outside an ISA, you could consider selling them and repurchasing them within an ISA. Doing so means you move future growth into a tax-efficient wrapper. Using this strategy means that any gain you make on the sale needs to be considered, plus you need a sufficient ISA allowance.
If you have SAYE or SIP shares, check whether you can transfer them into an ISA – crucially, within the relevant 90-day window. If you miss that window, you may lose an important tax planning opportunity.
Your capital losses can generally be offset against any gains you make. When you do so, you can reduce the amount subject to CGT. Unused losses can be carried forward, provided they are claimed within the relevant time limit.
If you do not need to sell everything at once, spreading disposals across tax years can allow you to use more than one annual exempt amount.
Pension contributions can extend the amount of income falling within the basic rate band. Depending on your circumstances, this can mean more of your capital gain is taxed at 18% rather than 24%.
If regular portfolio rebalancing is important to you, using funds can mean the fund manager carries out transactions internally without you personally crystallising CGT each time.
There is another consideration for investors with large, long-standing portfolios.
When someone dies, assets are generally treated as being acquired by the beneficiaries at their market value at the date of death for CGT purposes. The deceased’s unrealised gains are therefore not simply carried forward as they were.
This means that deliberately selling investments during later life can sometimes create a CGT liability that might otherwise not have arisen. However, CGT planning should never be considered in isolation. The interaction between CGT, Inheritance Tax, investment objectives and estate planning can be complex.
Capital gains tax on shares can look complicated, particularly when you have built up investments over many years or have bought the same shares at different times.
But there are legitimate ways to manage your exposure. Using your annual exempt amount, making use of ISAs, considering transfers between spouses, offsetting losses and planning the timing of disposals can all play a part.
If you have employee shares, the rules can be even more valuable, but also more complicated. In particular, ISA transfer windows and the different treatment of SIP, SAYE and EMI shares are worth understanding before you take action.
The important thing is to plan before you sell. Once a disposal has taken place, many of your options have already disappeared.
If you would like help understanding CGT on shares or reviewing how your investments are structured, our financial advisers can help you consider the available options as part of your wider financial plan. Get in touch to discuss your circumstances and how we can help.
This article does not constitute tax, legal or financial advice and should not be relied upon as such. Tax treatment depends on the individual circumstances of each client and may be subject to change in the future. For guidance, seek professional advice.
Past performance is not a guide to future performance and may not be repeated. The value of investments and the income from them may go down as well as up and investors may not get back the amount originally invested.
The Financial Conduct Authority does not regulate tax planning.
This document is marketing material for a retail audience and does not constitute advice or recommendations. Past performance is not a guide to future performance and may not be repeated. The value of investments and the income from them may go down as well as up and investors may not get back the amount originally invested.
Book a FREE 30-minute Teams call and we’ll answer your questions. No strings attached.
Check AvailabilityFirst Wealth (London) Limited does not endorse the linked website or any of its contents, and is not responsible for the accuracy of the information contained within it.