PrompTax PrompTax
Statements and tables are easier to check with the phone turned sideways, or on a computer.

Understanding UK Capital Gains Tax

A plain-English guide to the rules that affect your trading profits and losses

1 The Basics: What is Capital Gains Tax?

When you sell an investment for more than you paid for it, the profit is called a capital gain. In the UK, you may need to pay tax on this gain — that's Capital Gains Tax (CGT).

The Good News: Tax-Free Allowance

Everyone gets an annual tax-free allowance (called the "Annual Exempt Amount"). For 2025/26, this is £3,000. You only pay CGT on gains that exceed this amount.

Key Point: It's About the Profit, Not the Sale Price

If you sell shares for £10,000 but originally paid £8,000, your gain is £2,000 — not £10,000. You only pay tax on the £2,000 profit (and only if it exceeds your annual allowance).

2 The Three Matching Rules

The tricky part of CGT is figuring out which purchase price to use when you sell shares. If you've bought the same shares multiple times at different prices, which cost do you use?

You don't get to choose. HMRC has three rules that are applied in a specific order:

1

Same Day Rule

What it means: If you buy and sell the same shares on the same day, match them up first.

Why it exists: Keeps day trading calculations simple and prevents gaming.

2

The 30-Day "Bed and Breakfast" Rule

What it means: If you sell shares and buy the same shares again within 30 days, those new shares are matched with your sale — even though you bought them after you sold!

Why it exists: To stop people selling shares to use their CGT allowance (or crystallize a loss), then immediately buying them back. This was called "bed and breakfasting" and HMRC closed this loophole.

⚠️ Advanced: This rule can apply across tax years — and almost no tax software handles it correctly. Learn about the cross-year 30-day rule →

3

The Section 104 Pool

What it means: If the first two rules don't apply, your sale is matched against your "pool" of shares — all your previous purchases averaged together.

Why it exists: Simplifies record-keeping for long-term investors. You just track one average cost per share.

3 The Section 104 Pool Explained

Think of the Section 104 pool as a bucket that holds all your shares of the same company. Every time you buy more, you add to the bucket. Every time you sell, you take from the bucket at the average cost.

How the Average Cost Works

1. Buy 100 shares for £1,000 → Pool: 100 shares, £1,000 total cost, £10 average
2. Buy 50 more shares for £750 → Pool: 150 shares, £1,750 total cost, £11.67 average
3. Sell 75 shares → Cost = 75 × £11.67 = £875
4. Pool remaining: 75 shares, £875 total cost, £11.67 average

4 Options: Section 144 (Exercised/Assigned)

When you exercise an option (or are assigned on one), something special happens: the option premium gets merged into the stock transaction. They're treated as one combined trade.

📈 Bought Call → Exercised

You paid a premium to buy the call. When you exercise, that premium gets added to your stock cost.

Stock cost: £5,000

Call premium paid: + £200

Adjusted cost: £5,200

📉 Written Put → Assigned

You received a premium for writing the put. When assigned, that premium reduces your stock cost.

Stock cost: £5,000

Put premium received: − £300

Adjusted cost: £4,700

Why Does This Matter?

The option premium doesn't create a separate gain or loss. It's absorbed into the stock trade. This prevents the Section 104 pool from being "polluted" with inflated costs and ensures accurate CGT calculation.

5 Written Options: Section 148 (Disposal Date Rule)

When you write (sell to open) an option, something unintuitive happens: the tax disposal date is the date you wrote it, not the date it closes.

⚠️ Critical for Tax Year Planning

📝
You write a call option on March 31st (2024/25 tax year)

Premium received: £500

⏰
The option expires worthless on April 15th (2025/26 tax year)

You keep the full premium — great!

💡
The gain is taxed in 2024/25, NOT 2025/26

Because the disposal date = write date (March 31st)

Written Option → Bought Back

Disposal date: Write date
Gain/Loss: Premium received − buyback cost

Written Option → Expired

Disposal date: Write date
Gain: Full premium (kept everything!)

6 Dividends: Different Tax, Different Form

⚠️ Dividends are NOT Capital Gains

Dividends are taxed as income, not capital gains. They go on your main tax return (SA100), NOT on the SA108 capital gains form.

  • • Dividends have their own tax-free allowance (£500 for 2024/25)
  • • Dividend tax rates are different (8.75%, 33.75%, 39.35% up to 2025/26; 10.75%, 35.75%, 39.35% from 2026/27)
  • • Foreign dividends may have withholding tax you can claim credit for

Foreign Dividend Withholding Tax

If you receive dividends from US stocks, 15% is typically withheld at source (30% without W-8BEN form). You can claim Foreign Tax Credit Relief on your UK tax return.

Gross US dividend: $100

US withholding (15%): − $15

Net received: $85

UK tax credit: $15 (reduces your UK tax bill)

7 Worked Examples

Example 1: Simple Section 104 Pool

Sarah's Purchases:

  • • January: Buys 100 AAPL shares for £1,000 (£10 each)
  • • February: Buys 50 more AAPL shares for £600 (£12 each)

Her Section 104 Pool:

  • • Total shares: 150
  • • Total cost: £1,600
  • • Average cost: £10.67 per share

March: Sarah sells 75 shares for £1,500

  • • Cost of shares sold: 75 × £10.67 = £800
  • • Sale proceeds: £1,500
  • • Capital gain: £700

Example 2: The 30-Day Trap

Tom's Situation:

  • • Has owned TSLA shares for years (cost: £50/share in his pool)
  • • March 1st: Sells 100 shares for £200 each = £20,000
  • • March 15th: Buys 100 TSLA back for £180 each = £18,000

What Tom Expected:

"I'll use my old £50/share cost, so my gain is £20,000 − £5,000 = £15,000!"

What Actually Happens (30-Day Rule):

  • • Sale is matched with March 15th purchase
  • • Gain: £20,000 − £18,000 = £2,000
  • • The March 15th shares are "used up" — they never enter his pool

Example 3: Written Option Tax Year

Emma Writes a Put:

  • • March 31, 2025: Writes (sells to open) MSTR put
  • • Premium received: £500
  • • Expiry: April 25, 2025

April 25: Option Expires Worthless

Emma keeps the full £500 premium — no buyback needed.

Tax Consequence (Section 148):

  • • Disposal date: March 31, 2025 (write date)
  • • Tax year: 2024/25 (ends April 5th)
  • • Gain: £500 (taxed in 2024/25, not 2025/26)

Common Misconceptions

✗ "I can choose which shares I'm selling" — No, the matching rules decide for you.

✗ "I sold my oldest shares first (FIFO)" — Not necessarily. The UK doesn't use FIFO.

✗ "I can sell and buy back tomorrow to use my CGT allowance" — The 30-day rule prevents this.

✗ "Options gains are taxed when they close" — For written options, the write date is the disposal date.

Ready to Calculate Your CGT?

Promptax automatically applies all these rules to your broker statements, ensuring accurate tax calculations.