[Learn](https://saigo.io/learn.html)

# How a gain or loss is worked out

For each disposal, the gain or loss is what you received, less the cost of the tokens you gave up and the fees you can deduct.

## The sum

Gain or loss = proceeds − allowable costs.

- Proceeds are what the disposal brings in, in pounds. For a gift to anyone other than your spouse, civil partner or a charity, or a disposal to a connected person, the market value is used instead (see [Gifts of crypto](https://saigo.io/rules-gifts.html) and [Family and other connected people](https://saigo.io/rules-family.html)).
- Allowable costs are the cost of the tokens disposed of, plus fees you can deduct (see [Costs and fees you can deduct](https://saigo.io/rules-costs.html)).

A positive result is a gain. A negative result is a loss.

## Which tokens did you dispose of?

If you bought the same token at different times and prices, HMRC's rules decide which ones you disposed of. They are applied in this order, separately for each token:

1. The same-day rule: buys of the same token on the same day as the sale.
2. The 30-day rule: buys in the 30 days after the sale.
3. The section 104 pool: everything else, at the average cost of the tokens you hold.

## Which tax year?

A disposal belongs to the tax year that contains the date of the disposal. When you bought the tokens does not matter. A tax year runs from 6 April to 5 April.

## Worked example

On 1 July you sell 10 tokens for £500. Earlier that day you bought 4 of the same token for £120. On 20 July you buy 6 more for £240.

- **Same-day rule: 4 tokens bought on 1 July**: £120
- **30-day rule: 6 tokens bought on 20 July (19 days later)**: £240
- **Total cost of the 10 tokens**: £360
- **Proceeds**: £500
- **Gain: £500 − £360**: £140

The pool is not used, because the two rules cover all 10 tokens.

## A loss (HMRC's example)

In one of HMRC's examples, a sale brings in £150,000 and the tokens taken from the pool cost £313,636.36. The result is a loss of £163,636.36.

## HMRC guidance

- [Work out your total taxable gains](https://www.gov.uk/capital-gains-tax/work-out-need-to-pay)
- [CRYPTO22200: pooling and the matching rules](https://www.gov.uk/hmrc-internal-manuals/cryptoassets-manual/crypto22200)
- [CRYPTO22256: HMRC's example using all three rules](https://www.gov.uk/hmrc-internal-manuals/cryptoassets-manual/crypto22256)

## Related guides

- [The same-day rule](https://saigo.io/rules-same-day.html)
- [The 30-day rule](https://saigo.io/rules-30-day.html)
- [The section 104 pool](https://saigo.io/rules-pool.html)

This page sums up HMRC's published guidance in plain words. It is not tax advice. Saigo is not affiliated with HMRC.

---

Saigo is not affiliated with HMRC.

Saigo is not tax advice. If you are unsure about your tax position, check with an accountant or tax adviser.

Email: [hello@saigo.io](mailto:hello@saigo.io)

This is a Markdown copy of https://saigo.io/rules-gain.html.
