Import your trades to calculate gains and losses using HMRC’s same-day, 30-day and Section 104 matching rules. Track your annual exemption and prepare working papers for your tax return.
Free to use. Trades stay in this browser until you create an account.
Gainly does not calculate tax due or submit returns to HMRC.

Import a CSV or add them by hand. Categories, notes, and spouse transfers.
Same-day, 30-day bed and breakfast, then Section 104 pooling. The same identification rules for shares and cryptoassets.
See how much of the annual exemption is used and your taxable gain for each disposal’s tax year.
Explore a sale at a price you type, using your Section 104 average cost against this tax year’s gains and exemption.
HMRC’s share identification rules also apply to cryptoassets. Gainly applies them in order.
Same-day
Buys on the same day as the sale are matched first.
30-day
Then buys in the 30 days after the sale.
Section 104
Then the average-cost pool for what remains.
After matching, Gainly applies the annual exemption for the disposal’s tax year to show taxable gain.
Spouse transfers are recorded separately as no gain / no loss, with the transferred units and their cost leaving the pool.
You hold 200 shares with a total pool cost of £3,000: an average cost of £15 per share. You sell 50 shares for £25 each, with no fees and no purchases of the same shares on the sale date or in the next 30 days.
This gain is before losses and the annual exemption. It is not tax due.
Compare keeping your own spreadsheet, using Gainly and working with an accountant. You or your accountant file the return.
| Compared on | Do it yourself | Gainly | Hire an accountant |
|---|---|---|---|
| Cost | No fee. It takes your time. | Free | You pay their fee |
| What you produce | Your own spreadsheet | A working paper: proceeds, allowable cost, gain, and taxable gain after the annual exemption | Advice, a return, and the tax due |
| Matching | You apply same-day, 30-day, and Section 104 yourself | Applied in that order, for shares and cryptoassets | Applied, plus judgment on cases the rules do not settle cleanly |
| Annual exemption | You apply the year’s exemption | Applied to the tax year of the sell date | Applied, with the rest of the return |
| Tax due | You work it out if you need it | Not computed | Computed and explained |
| Spouse transfers | You take units out with no gain | No gain / no loss. Units leave the Section 104 pool | Handled with the rest of the return |
| A hypothetical sale | You model it | Units × Section 104 average, this tax year only | A conversation about what to sell |
| Where the trades live | Your file | This browser until you create a free account | Their records |
| Filing the return | You file | You file. Gainly does not submit to HMRC | They can file for you |
Practical guides to the rules, with worked examples and HMRC sources.
Bought the same investment at several prices? A Section 104 pool keeps its units and allowable cost together, so you can work out the cost of a later disposal.
Buying an asset back soon after selling it can change the gain on the sale. The later purchase may supply the allowable cost before your existing Section 104 pool is used.
Reliable gains start with a complete history. Gather the transactions that establish your costs, then check them before importing or sharing records with an accountant.
The amount you receive from a sale is not the same as your gain. Follow the figures from a matched disposal through to a tax-year summary.
Try it on this device. Create a free account when you want the trades on every browser.