Which purchase counts?

Calculate UK capital gains on shares from your broker CSV. See which purchases and fees count towards each sale.

Calculate my gains

Free to calculate and export a CSV.

Sample dealing account

AJ Bell 2025–26

Tesla · loss on sale

30-day rule

−£500.00

The 20 shares bought back 10 days later set the cost of this sale. The earlier purchase stays in the pool.

  1. Bought£4,000.00
  2. Sold£4,100.00
  3. Bought back£4,600.00
Inspect source records

Tesla, loss on sale −£500.00. 30-day rule.

All three sales, one tax year.

The annual statement brings the trades together and includes the records behind each match. Printable reports are included in the £49 annual plan.

2025–26 · Illustrative account

£1,850.00Net capital gain before allowances
Capital gains
£2,350.00
Capital losses
£500.00

Broker imports

Choose your broker for export instructions and details of any records you’ll need.

Check my broker
What the calculation covers

Include ordinary shares from all your taxable broker accounts. Funds, ETFs, bonds, derivatives, crypto and corporate actions are outside the supported scope.

Check your dates, quantities and costs against the original records. A qualified tax adviser can help with reliefs, special valuations and your wider tax position.