Gainsheet · UK crypto tax, worked out

A UK crypto tax spreadsheet for 2025/26

Plenty of people try to work out their crypto tax in a spreadsheet, and plenty of those spreadsheets give the wrong answer. Not because the maths is hard, but because HMRC's rules aren't the ones most people assume. Here's what a spreadsheet has to do to get it right, and a ready-made one if you'd rather not build it.

Do you even need to report?

For the 2025/26 tax year (6 April 2025 to 5 April 2026), you generally need to report crypto on your Self Assessment return if:

Capital gains tax on crypto is 18% within the basic-rate band and 24% above it. The deadline for the online return is 31 January 2027.

What counts as a disposal

Not just selling for pounds. Each of these is a disposal that needs a pound value (CRYPTO22100):

Moving coins between your own wallets or exchanges isn't a disposal.

The five things your spreadsheet must do

#RequirementWhy a simple sheet gets it wrong
1Value every trade in pounds on the dayExchange exports are often in USD, EUR or another coin. You need a daily FX rate (Gainsheet uses Bank of England rates).
2Match same-day buys firstMost sheets skip this step entirely.
3Then match buys in the next 30 daysThe "bed and breakfasting" rule. See the worked example.
4Then use the Section 104 pool at average costFIFO, LIFO or "the price I paid for that lot" are not allowed. See the pool explained.
5Total it into the SA108 boxesThe return wants number of disposals, proceeds, allowable costs, gains and losses, not just "profit".

Building your own vs using a ready-made one

If you have a handful of trades on one exchange, a careful DIY sheet is fine: the Section 104 formulas are only a few columns. It gets painful when you have:

Gainsheet: the ready-made spreadsheet

Gainsheet is an Excel workbook that does all five steps. Paste in your Coinbase, Kraken or Binance export (or type trades in, including DeFi), and it gives you a disposal-by-disposal schedule and the SA108 figures.

Try before you buy.
Free Lite workbook (20 trades) Free one-page cheat sheet Full version, £39

FAQ

Does it work in Google Sheets?

No. It's built for desktop Microsoft Excel (2010 or later) and uses no macros.

Does it handle DeFi?

There's a DeFi tab for entering on-chain transactions by hand, with a short guide. Whether a particular DeFi action is a disposal is your judgement; HMRC's position is in CRYPTO61000 onwards. If you have thousands of on-chain transactions, wallet-syncing software is a better fit.

Is this tax advice?

No. It's a calculation tool that applies HMRC's published rules to the data you give it. For your own position, check HMRC's guidance or ask an accountant.