SA108 boxes 23 to 27: listed shares

3 minute readChecked on 11 Nov 2026

The short answer

Share sales go in the "Listed shares and securities" section of the SA108 Capital Gains Tax summary pages. Boxes 23 to 27 are the ones most people fill in: how many disposals, what you got, what they cost, your gains and your losses, in pounds, for the tax year. Box 28 is only for a claim code (for example a negligible value claim), and boxes 29 and 30 only for gains already reported through HMRC's real-time Capital Gains Tax service. The numbers of the boxes above are the same on every form from 2018-19 to 2025-26.

The boxes (SA108 for 2025-26)

Box On the form In plain English
23 Number of disposals How many sales. HMRC's notes say sales of the same shares in the same company on the same day count as one.
24 Disposal proceeds The total you got for them.
25 Allowable costs (including purchase price) What they cost under HMRC's matching rules, plus allowable costs such as dealing fees.
26 Gains in the year, before losses The total of the sales that made a gain.
26.1 Amount claimed under the foreign income and gains (FIG) regime Only for that regime.
27 Losses in the year The total of the sales that made a loss.
28 Claim or election code Only if you're making a special claim.
29 Gains or losses reported on Real Time Transaction returns Only if you already reported some through HMRC's real-time Capital Gains Tax service.
30 Tax on gains in box 29 already paid The tax you already paid that way.

What counts as "listed"

HMRC's SA108 notes say this section is for shares or securities in a company listed on a recognised stock exchange, shares in a UK open-ended investment company (OEIC) and units in an authorised unit trust. Some special schemes (such as EIS and SEIS shares) go in the "Unlisted" boxes instead.

If you also sold crypto

2024-25 only

The rates changed on 30 Oct 2024. For 2024-25, extra tax on gains from that date goes in box 51, for shares as well as crypto. Nothing like that applies for 2025-26.

Working it out with Get My Gains

Get My Gains works out Capital Gains Tax on your shares in your browser, with nothing uploaded, using these same HMRC rules. It reads Trading 212, Freetrade, Interactive Brokers and Hargreaves Lansdown files (other brokers' files can be matched column by column), and leaves out ISA and pension accounts. It's free to check your gains and estimated tax.

Work out your shares tax See an example report

Official guidance

This guide is general information, not tax advice or investment advice. It covers individuals who are UK residents. It is not connected to or endorsed by HMRC. Check HMRC's guidance or ask an accountant before you file.

Box numbers checked against the 2026 SA108 form and notes (for 2025-26) on 11 Nov 2026, and the 2019 to 2025 forms on 12 Nov 2026. The 2026-27 form isn't published yet.

More guides: shares guides · all guides · CGT on shares, explained · Section 104 pool example