Guide

How to Calculate Capital Gains Tax UK 2026/27

Quick answer

To calculate UK Capital Gains Tax for 2026/27: take your proceeds minus allowable costs to get the gain, deduct any losses, then subtract the £3,000 annual exempt amount. Tax the remaining gain at 18% up to your remaining basic-rate band (£50,270 less your income) and 24% above it. This guide walks through all five steps with worked examples for property and shares, including S104 share pooling.

Key takeaways
  • Gain = proceeds − allowable costs; then take off losses, then the £3,000 allowance.4
  • Your income is measured first: whatever basic-rate band is left takes the gain at 18%, the rest at 24%.3
  • Remaining band = £37,700 − (income − £12,570). Above £50,270 of income, it's £0 and the whole gain is 24%.
  • Shares use the Section 104 pool - you average all purchases, you can't cherry-pick a cheap lot.2
  • Property has allowable buying costs, selling costs and capital improvements - but never repairs or mortgage interest.1

Last updated for the 2026/27 tax year.

The five steps to calculate UK CGT

  1. Calculate the gross gain, proceeds minus allowable costs
  2. Deduct current-year losses, losses from other disposals this year reduce the gain first
  3. Apply the annual exempt amount, £3,000 for 2026/27 (brought-forward losses applied here too, but only to the extent needed)
  4. Work out remaining basic-rate band, how much of the £37,700 basic-rate band is unused after your income
  5. 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.

Net gain after current-year losses£11,000 Annual exempt amount−£3,000 Taxable gain£8,000

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):

First £5,270 at 18%£949 Remaining £2,730 at 24%£655 Total CGT£1,604

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.

Worked example — buy-to-let sale, higher-rate taxpayer
Proceeds£275,000
Less costs (£180,000 + £4,500 + £12,000 + £6,500)−£203,000
Gross gain£72,000
Less annual exempt amount−£3,000
Taxable gain£69,000
Income £39,430 fills the band, so £0 left at 18%£0 at 18%
All £69,000 at 24%£16,560

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:

  1. Add up all acquisitions: total shares and total cost
  2. Divide total cost by total shares = average cost per share
  3. 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 calculator

Frequently 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).

Which costs can I deduct from a property gain?

You can deduct the purchase price, the buying costs (Stamp Duty or LBTT, solicitor and survey fees), the selling costs (estate agent and solicitor fees), and the cost of capital improvements such as an extension or a new kitchen where none existed. What you cannot deduct is routine maintenance and repairs (repainting, replacing a broken boiler like-for-like), mortgage interest, or the running costs of the property. Keep the invoices - HMRC can ask you to prove every figure.

This guide is for general information. Your actual CGT will depend on your full tax position. Consult a tax adviser for complex situations.

Sources & references

The rates, allowances and rules in this guide are drawn from the official HMRC and GOV.UK sources below, checked for the 2026/27 tax year. Each link opens the relevant government page in a new tab.

  1. Tax when you sell property: work out your gain www.gov.uk/tax-sell-property/work-out-your-gain
  2. Tax when you sell shares: work out your gain www.gov.uk/tax-sell-shares/work-out-your-gain
  3. Capital Gains Tax: rates www.gov.uk/capital-gains-tax/rates
  4. Capital Gains Tax: allowances (annual exempt amount) www.gov.uk/capital-gains-tax/allowances
Verified against published HMRC and GOV.UK guidance.

Written and reviewed by James Whitfield and the UKCapitalGainsTaxCalculator editorial team.

Every figure is checked against current HMRC and GOV.UK guidance and reviewed for the 2026/27 tax year. We explain how the tax works in plain English with worked examples, not just numbers. Editorial standards · Sources · About us