How to Calculate Capital Gains Tax UK 2026/27
A step-by-step guide to calculating UK capital gains tax in 2026/27, with worked examples for property and shares. Covers S104 pooling, the annual exempt amount, income band split and how losses reduce your bill.
Last updated for the 2026/27 tax year.
The five steps to calculate UK CGT
- Calculate the gross gain, proceeds minus allowable costs
- Deduct current-year losses, losses from other disposals this year reduce the gain first
- Apply the annual exempt amount, £3,000 for 2026/27 (brought-forward losses applied here too, but only to the extent needed)
- Work out remaining basic-rate band, how much of the £37,700 basic-rate band is unused after your income
- Apply the rates, 18% up to the remaining band, 24% above it
Step 1: Calculate the gross gain
The gross gain is disposal proceeds minus all allowable costs. What counts as allowable depends on the asset type:
- Property: purchase price + buying costs (stamp duty, solicitor fees, survey) + capital improvements (extensions, not repairs) + selling costs (estate agent, solicitor)
- Shares: average pool cost (Section 104) × number of shares sold + broker commission
- Crypto: average pool cost × units disposed
- Gifted or sold below market value to a connected person: use market value at date of disposal as proceeds
If disposal proceeds are less than your allowable costs, you have a capital loss, not a gain. Losses are still useful — they can offset other gains.
Step 2: Deduct current-year losses
Other disposals in the same tax year that made a loss must be deducted from your gains before anything else. You cannot defer a current-year loss — it is compulsory. If total losses exceed total gains, the net loss is carried forward.
Example: gain of £15,000 from selling shares, loss of £4,000 from a different sale. Net position: £11,000.
Step 3: Apply the annual exempt amount (and brought-forward losses)
The annual exempt amount for 2026/27 is £3,000. Deduct it from the net gain after current-year losses. If you have brought-forward losses from previous years, apply them here — but only enough to bring the gain down to £3,000, not below it. Excess brought-forward losses are preserved for future years.
Step 4: Work out your remaining basic-rate band
Your CGT rate depends on how much basic-rate band remains after your income. Here is the calculation:
Remaining band = £37,700 − (gross income − £12,570)
Examples:
- Salary £25,000: taxable income = £12,430. Remaining band = £37,700 − £12,430 = £25,270
- Salary £45,000: taxable income = £32,430. Remaining band = £37,700 − £32,430 = £5,270
- Salary £60,000: taxable income = £47,430. Remaining band = £37,700 − £47,430 = £0 (all at 24%)
Income includes salary, self-employment profit, pension, rental income, savings interest above the personal savings allowance, and dividends above the £500 allowance. Capital gains are not counted as income.
Step 5: Apply the rates
Apply 18% to the portion of taxable gain within the remaining basic-rate band and 24% to the portion above it.
Continuing the example (£8,000 taxable gain, salary £45,000, remaining band £5,270):
Full worked example: property sale
Mark earns £52,000 and sells a buy-to-let. Purchase price: £180,000. Buying costs: £4,500. Improvements: £12,000. Sold for £275,000. Selling costs: £6,500. No losses.
Mark must report and pay within 60 days of completion via HMRC's online property service.
Section 104 pool: calculating gains on shares
For shares, you cannot pick which lot you're selling. HMRC's Section 104 rule averages all your acquisitions:
- Add up all acquisitions: total shares and total cost
- Divide total cost by total shares = average cost per share
- Gain per share = sale price − average cost
Example: bought 500 shares at £2 (£1,000) and 500 more at £4 (£2,000). Pool: 1,000 shares, total cost £3,000, average £3/share. Sell all 1,000 at £6 — proceeds £6,000. Gain = £6,000 − £3,000 = £3,000. After AEA: taxable gain = £0. No CGT.
Use our free CGT calculator
Enter your figures and get an instant CGT breakdown for 2026/27, all five steps calculated automatically.
Open the CGT calculatorFrequently asked questions
How do I calculate capital gains tax on a property sale?
Subtract all allowable costs (purchase price, stamp duty, improvements, selling costs) from the sale proceeds. Deduct the £3,000 AEA. Apply 18% to the gain within your remaining basic-rate band and 24% to the gain above it.
How do I calculate CGT on shares bought at different prices?
Use the Section 104 pool: average all your acquisition costs for that share. Multiply the average cost per share by the number sold to get the cost. Subtract from the sale proceeds to get the gain.
Do losses reduce capital gains tax?
Yes. Current-year losses must be applied against current-year gains first. Brought-forward losses from earlier years are then applied, but only enough to bring the net gain to the AEA (£3,000), so they don't waste the exemption.
What is the CGT rate in 2026/27?
18% for gains within the basic-rate band and 24% for gains above it. These rates apply to all assets. The threshold is £50,270 of total income (personal allowance plus basic-rate band).
This guide is for general information. Your actual CGT will depend on your full tax position. Consult a tax adviser for complex situations.