What is a Section 104 Pool? UK CGT Explained with Examples

Share matching · Article edition November 2026

Check current broker support. Check the share matching rules for your tax year with HMRC HS284.
On this page

When you invest in shares through a UK broker, you rarely buy everything in a single transaction. Most investors build positions over time — buying 200 shares of Tesco in January, another 100 in March, and perhaps 50 more in June. When it comes time to sell, HMRC needs a consistent way to determine what you paid for the shares you're disposing of. That is where the Section 104 pool comes in.

How the Section 104 Pool Works

The Section 104 pool (named after Section 104 of the Taxation of Chargeable Gains Act 1992) is essentially a running average. For shares of the same class in the same company, held in the same personal capacity across your taxable accounts, the pool tracks two numbers:

  • Total number of shares — the quantity currently in the pool
  • Total allowable cost — the cumulative cost of acquiring those shares, including broker fees and Stamp Duty Reserve Tax (SDRT)

An acquisition adds shares and cost to the pool to the extent it remains after higher-priority matches. A disposal matched to the pool removes the corresponding proportion of its cost. The average cost per share is simply the total cost divided by the total shares. This average cost is then used to calculate your capital gain or loss when you sell.

Important: The Section 104 pool is the third matching rule HMRC applies. Before using the pool, HMRC first checks for same-day matches and 30-day bed & breakfast matches. Only shares that don't match under those two rules flow through to the Section 104 pool.

Example 1: Building a Pool

Sarah buys ordinary shares of the same class in one company through a taxable account. In this example her broker charges £1.50 on each purchase. Assume there is no stamp duty, selling fee or other cost. For your own trades, use the charges on each contract note.

DateActionSharesPriceFeesPool SharesPool CostAvg Cost
10 Jan 2025Buy500£0.52£1.50500£261.50£0.5230
14 Mar 2025Buy300£0.58£1.50800£437.00£0.5463
23 Jun 2025Buy200£0.55£1.501,000£548.50£0.5485

After three purchases, Sarah has a Section 104 pool of 1,000 shares with a total cost of £548.50. That includes £544.00 for the shares and £4.50 in purchase fees. Her average cost per share is £0.5485.

Example 2: Selling from the Pool

In September 2025, Sarah sells 400 of these shares at £0.65 each. No same-day or 30-day match applies, so the disposal is matched against the Section 104 pool.

  • • Proceeds: 400 × £0.65 = £260.00
  • • Allowable cost: 400 ÷ 1,000 × £548.50 = £219.40
  • • Gain: £260.00 − £219.40 = £40.60
  • • Pool after sale: 600 shares, cost £329.10, avg £0.5485/share

Notice that the average cost per share remains the same after a sale — only the total shares and total cost decrease proportionally. This is a key feature of the Section 104 pool.

Example 3: Pool After Adding More Shares

In November 2025, Sarah buys another 400 shares at £0.70 with £1.50 fees:

  • • Existing pool: 600 shares, £329.10 cost
  • • New purchase: 400 × £0.70 + £1.50 = £281.50
  • • New pool: 1,000 shares, cost £610.60, avg £0.6106/share

The new average cost (£0.6106) is higher than before because Sarah bought at a higher price. If she sells now, her gain will be smaller (or she could have a loss) compared to buying at the earlier, lower prices.

What Costs Can Be Included?

HMRC allows the following costs to be included in your Section 104 pool:

  • Purchase price — the amount you paid for the shares
  • Broker commission/fees — dealing charges levied by your broker
  • Stamp Duty Reserve Tax (SDRT) — the 0.5% charge on UK share purchases
  • PTM levy. For qualifying trades over £10,000, the levy rose from £1 to £1.50 per contract on 2 December 2024. Use the amount on the contract note. Read the Takeover Panel’s levy notice.

You can also include selling costs (broker fees on disposal) as a deduction from the proceeds, which has the same net effect on the gain calculation.

When the Section 104 Pool Does NOT Apply

The pool is only used after HMRC's higher-priority matching rules have been applied:

  1. Same-day rule — if you buy and sell the same shares on the same day, those transactions are matched first.
  2. 30-day (B&B) rule — if you sell shares and repurchase the same shares within 30 days, the sale is matched to the repurchase. Read the full 30-day bed and breakfast rule guide.
  3. Section 104 pool — everything else comes from the pool.

Frequently Asked Questions

What if I sell all my shares?

Selling your entire holding empties the tax pool only if all the shares sold are matched to it. A same-day purchase or eligible repurchase within 30 days can match part or all of the sale, leaving shares and cost in the pool. For example, if you sell all 100 shares then buy back 40 of the same class ten days later, 40 can match that purchase and only 60 come from the pool. This assumes no other matching trades. See HMRC’s share identification examples.

Do dividends affect my pool?

An ordinary cash dividend does not change the pool. If you use the payment to buy shares, record that purchase separately. Same-day and 30-day matching still apply. Get stock dividends and capital distributions reviewed because they can affect the tax calculation.

Does stamp duty count?

Yes. Stamp Duty Reserve Tax (SDRT), typically 0.5% on UK share purchases, is treated by HMRC as an allowable cost of acquisition. It should be added to the pool cost along with the purchase price and broker fees. This marginally increases your allowable cost and therefore marginally reduces your gain on disposal.

Try it yourself: Use our free Section 104 pool calculator to build a pool from your own purchase history and see exactly how the average cost changes over time.

Put this guide into practice

Try the Section 104 pool example