Gainly

Track capital gains on UK shares and crypto

Import share and crypto trades, review each disposal’s matches, and save gains working papers for your records or accountant.

Free to use. Trades stay in this browser until you create an account.

Gainly Overview with sample trades: the 2026–27 CGT position alongside current Section 104 holdings

From trade records to working papers

  1. 1 · Import

    Bring in your full history

    Upload a CSV with quantities, dates, prices and fees in GBP, or add trades by hand. Include earlier acquisitions and purchases within 30 days of a sale.

    Import a CSV
  2. 2 · Review

    Follow each disposal’s matches

    Choose a year on Gains to review each disposal’s matches, allowable cost and gain. Check any missing history and open 30-day windows.

    Review gains
  3. 3 · Keep

    Save your working papers

    Preview the year’s summary on Gains, then print or save a PDF with disposal evidence. Export your trades as CSV and check the figures against your statements.

    See a worked example

How a sale becomes a gain

For shares and crypto, Gainly matches a sale to purchases in this order.

  1. 1 · Same-day

    Buys on the same day as the sale are matched first.

  2. 2 · 30-day

    Then buys in the 30 days after the sale.

  3. 3 · Section 104

    Then the average-cost pool for what remains.

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.

Sale proceeds
£1,250
50 × £25
Allowable cost
£750
50 × £15
Capital gain
£500
£1,250 − £750

This gain is before losses and the annual exemption. It is not tax due.

Explore the matching rules and worked examples

Questions about tracking UK capital gains

Does Gainly calculate the tax I owe?
No. It matches disposals and shows taxable gain after that year’s annual exemption. It does not apply CGT rates or say what you owe. See how HMRC matching rules are applied.
Will it file my Self Assessment?
No. You, or your accountant, file the return. The figures are a working paper to check first.
Does it cover crypto and shares?
Yes. HMRC’s share identification rules apply to both: same-day, then 30-day, then the Section 104 pool.
What is Section 104 pooling?
A Section 104 pool keeps the units and total allowable cost of the same asset together. Gainly uses the pool’s average cost for the part of a disposal left after same-day and 30-day matching.
How does the 30-day rule affect capital gains?
After same-day matching, a sale is matched to purchases of the same asset in the following 30 days before using the Section 104 pool. Those later purchases can change the sale’s allowable cost and gain, so keep your records up to date through that window.
What trade history do I need to import?
Include the full history that establishes each asset’s pool cost, including earlier tax years, and purchases in the 30 days after a disposal. Import buys, sells, spouse transfers and relevant fund adjustments. CSV imports use pounds sterling, with columns for action, date, asset, units and unit price; fees are optional.
Can I track gains across different UK tax years?
Yes. Import your history once, then choose a tax year to review its disposals, gains and annual exemption. The exemption follows the disposal’s tax year. Holdings show your current Section 104 pools across all years.
How do I export my trades?
Choose Export all trades in the sidebar for a CSV of this person's complete trade history. Accounts with several people can export all people together, labelled by person name and ID. For re-import, export one person at a time. On Trades, Export filtered downloads only the search results. Trade CSVs exclude loss balances, reporting confirmations and supporting import evidence; they are not completed returns.
What happens to trades before I create an account?
Try up to 500 trades without signing up. They stay in this browser and are not sent to Gainly. Clearing site data or losing access to the browser can lose them, so export a CSV to keep a copy. A free account keeps your records across devices and supports separate people, each with independent matching and pools. Creating an account copies device trades into the account and clears them from the device. Read about storage and privacy.
What is Simulate?
A hypothetical sale at a price you type, using units × the Section 104 average, for this tax year only. It does not rematch same-day or 30-day buys.
Do I still need an accountant?
Gainly helps you review trade matching and gains. Whether you need an accountant depends on your circumstances. A tax professional can check your records, advise on transactions outside Gainly’s scope, and help with tax due and filing.

Start tracking your capital gains for free

Try it on this device. Create a free account when you want the trades on every browser.