# Matching the cost of your tokens: same day, 30 days, then the pool

URL: https://cryptodeclaration.co.uk/crypto-pooling-rules/
Updated: 2026-11-25

For each type of token, HMRC matches a disposal first with tokens of the same type bought on the same day, then with tokens bought in the following 30 days, earliest first. Anything left comes from the section 104 pool at its average cost. Every token type has its own pool, and NFTs are not pooled.

When you dispose of tokens, the cost you deduct is not the price of one particular coin. Tokens bought the same day are matched first, then tokens bought in the next 30 days, and only then the average cost of your section 104 pool for that token.

Tokens of one type are interchangeable, so you cannot point to the exact coin you sold. The cost
of a disposal is found by matching it, in a fixed order, against your acquisitions of the same
type of token.

Each type of token has its own pool. Bitcoin, ether and litecoin held together mean 3 separate
pools, and each pool carries its own cost. Non-fungible tokens (NFTs) can be identified one by one, so they
are not pooled and the matching rules do not apply to them.

## The order of matching

1. Same day: all the tokens of one type that you buy on a day are treated as one acquisition, and all those you dispose of as one disposal. The two are matched first.
2. Next 30 days: if you buy tokens of the same type in the 30 days after a disposal, those tokens are matched to that disposal, earliest disposal first.
3. Section 104 pool: whatever is left of the disposal comes out of the pool, at the pool's average cost.

Tokens matched under the first two rules never enter the pool. Tokens bought that are not needed
for a match go into the pool.

## How the pool changes

- when you buy or receive tokens, the number of tokens and their cost are added to the pool
- when you dispose of tokens from the pool, the cost taken out is the same fraction of the pooled cost as the fraction of tokens you dispose of

You need to keep a record of what you spent on each type of token and of each pool's cost before
and after every disposal.

## Worked example

The figures are illustrative and leave out fees. Sam deals in one token, called ABC here.

| Date | Transaction |
|---|---|
| 10 January 2025 | buys 4 ABC for £8,000 |
| 3 March 2025 | buys 2 ABC for £6,000 |
| 12 June 2025 | sells 3 ABC for £12,000, and buys 1 ABC for £4,100 later that day |
| 2 July 2025 | buys 1 ABC for £3,500 |

Before 12 June, Sam's pool holds 6 ABC with a pooled cost of £14,000.

The sale of 3 ABC on 12 June is matched like this:

| Match | Tokens | Cost |
|---|---|---|
| same day: the buy on 12 June | 1 | £4,100 |
| 30 days: the buy on 2 July | 1 | £3,500 |
| section 104 pool: £14,000 × 1/6 | 1 | £2,333 |
| Total cost | 3 | £9,933 |

The gain is £12,000 minus £9,933, which is £2,067.

The pool after the sale:

| | Tokens | Pooled cost |
|---|---|---|
| Before 12 June | 6 | £14,000 |
| Taken out on 12 June | 1 | £2,333 |
| After | 5 | £11,667 |

The tokens bought on 12 June and 2 July do not enter the pool, because they were used to match
the sale. Using the pool's average cost for all 3 tokens would have given a cost of £7,000 and a
gain of £5,000, so the matching order changes the result.

## When one buy covers two sales

The 30 day rule always looks forward from a disposal. If you sell twice and then buy, the buy is
matched to the earlier sale first. In HMRC's own example, tokens bought on 21 and 28 April are
matched to a sale on 31 March, and what remains of the 28 April buy goes to a sale on 20 April.
Any tokens left over after matching go into the pool.

## Swaps use the same rules

A swap of one token for another is a disposal of the first token and an acquisition of the
second, so it can touch two pools at once. The [crypto-to-crypto swaps](https://cryptodeclaration.co.uk/crypto-to-crypto-swaps/)
page goes through it.

## Sources

- [HMRC Cryptoassets Manual CRYPTO22200: pooling](https://www.gov.uk/hmrc-internal-manuals/cryptoassets-manual/crypto22200)
- [HMRC Cryptoassets Manual CRYPTO22253: example 3, application of the 30 day rule](https://www.gov.uk/hmrc-internal-manuals/cryptoassets-manual/crypto22253)
- [HMRC: Check if you need to pay tax when you sell cryptoassets](https://www.gov.uk/guidance/check-if-you-need-to-pay-tax-when-you-sell-cryptoassets)
- [Taxation of Chargeable Gains Act 1992, section 105](https://www.legislation.gov.uk/ukpga/1992/12/section/105)
- [Taxation of Chargeable Gains Act 1992, section 106A](https://www.legislation.gov.uk/ukpga/1992/12/section/106A)
