Lixxi

How do I calculate the gain on a disposal of shares?

Answered 11 March 2026

Calculating the Gain on a Disposal of Shares


What the law says

The fundamental rule for computing a chargeable gain on any asset disposal (including shares) is set out in TCGA 1992 s.15: "The amount of the gains accruing on the disposal of assets shall be computed in accordance with this Part… Every gain shall, except as otherwise expressly provided, be a chargeable gain."

The basic computation is: Disposal proceeds minus allowable deductions = Gain. Under TCGA 1992 s.38, the sums allowable as deductions are restricted to:

  • (a) The amount or value of the consideration given wholly and exclusively for the acquisition of the shares, together with incidental costs of acquisition (e.g. fees, commission, stamp duty);
  • (b) Expenditure wholly and exclusively incurred for the purpose of enhancing the value of the asset, being expenditure reflected in the state or nature of the asset at the time of disposal, and any expenditure in establishing, preserving or defending title;
  • (c) The incidental costs of making the disposal (e.g. professional fees, costs of advertising to find a buyer, valuation costs).

Interest payments are not allowable under s.38 (except as provided by s.40).

Capital gains tax is then charged on the total chargeable gains accruing in a tax year after deducting allowable losses accruing in the same or earlier tax years.


HMRC guidance / practice

Step 1 – Identify the shares disposed of (Share Identification / Matching Rules)

Shares of the same class in the same company are typically pooled into a Section 104 holding, which is treated as a single asset. Each acquisition adds to the pool's quantity and allowable cost; each disposal reduces it proportionately.

Step 2 – Apportion the pool cost to the shares sold

Where only some shares in the Section 104 holding are disposed of, the allowable cost is apportioned. In practice, this apportionment may be made by reference to the number of shares sold. The formula used is:

Cost attributable = Pool cost × (shares disposed of / total shares in pool)

Step 3 – Compute the gain

The gain is then:

£
Disposal proceeds X
Less: Allowable cost (apportioned from pool) (X)
Less: Incidental costs of disposal (X)
Chargeable Gain X

A worked example from HMRC guidance illustrates this:

  • Disposal of 2,000 shares at £0.875 each = £1,750 proceeds
  • Pool cost apportioned: 39.33% × £3,750 = £1,475
  • Gain = £275

Priority of Income Tax over CGT

Before computing a capital gain, you must consider whether any part of the proceeds has already been charged to income tax — such amounts must be excluded from the CGT computation under s.37 TCGA 1992. Similarly, costs already deducted for income tax purposes cannot also be deducted as CGT allowable expenditure under s.39.

Special cases

  • Companies disposing of shares held in a Section 104 pool may also be entitled to an indexation allowance (frozen at December 2017), which reduces the gain but cannot create a loss.
  • Where only some shares qualify for Investors' Relief, only the appropriate fraction of the gain qualifies for the reduced 14% CGT rate, calculated as: Gain × Q/T (where Q = qualifying shares in the holding, T = total shares disposed of).

Citation sources

1 MANUAL
Trade profits: relationship to capital gains tax

S37 TCGA 1992 requires that any part of the consideration for the disposal of an asset which has been either: charged to tax as income, or taken into account in computing income or profits or gains or losses of the disposer, should be excluded from a computation of a chargeable gain. Similarly, S39 TCGA 1992 requires the exclusion from allowable capital gains deductions of amounts which are: allowable in computing profits or losses of a trade etc for the purposes of Income Tax, or allowable in c

HMRC guidance
2 MANUAL
Reorganisations of share capital: apportioning costs after a bonus issue

This is a part-disposal of the section 104 pool, a single asset consisting of 5,000 ‘A’ Ordinary shares with an allowable cost of £3,750 (see above). Section 129 does not apply further, and so the cost attributable to the shares sold is determined by section 42. The proportion of the cost of the pool is given by (consideration for the disposal divided by [consideration for the disposal + market value of property undisposed of]), ie (2,000 x £0.875) / [(2,000 x £0.875) + (3,000 x £0.90)] = 1,750

HMRC guidance
3 LEGISLATION
Taxation of Chargeable Gains Act 1992

he case of the acquisition of an asset, with costs of advertising to find a seller, and b in the case of a disposal, with costs of advertising to find a buyer and costs reasonably incurred in making any valuation or apportionment required for the purposes of the computation of the gain, including in particular expenses reasonably incurred in ascertaining market value where required by this Act. 3 Except as provided by section 40, no payment of interest shall be allowable under this section. 4 An

Primary legislation
4 LEGISLATION
Taxation of Chargeable Gains Act 1992

Part 1 Capital gains tax and corporation tax on chargeable gains Chapter 1 Capital gains tax Charge to capital gains tax Capital gains tax 1 1 Capital gains tax is charged for a tax year on chargeable gains accruing in the year to a person on the disposal of assets. 2 As a result of section 4 of CTA 2009, capital gains tax is not charged on gains accruing to a company, but corporation tax is chargeable instead in accordance with— a section 2 of CTA 2009, b Chapter 2 of this Part, and c other rel

Primary legislation
5 MANUAL
Share identification rules for corporation tax: section 104 holding: disposals from the holding

Where a company disposes of all the shares in the Section 104 holding the indexation allowance due is simply the difference between the pool of qualifying expenditure and the indexed pool of expenditure, TCGA92/S110 (3). Where a company only disposes of some of the shares in the Section 104 holding it is necessary to apportion the allowable cost and the indexation allowance due. Both the pool of qualifying expenditure and the indexed pool of expenditure are apportioned using the same formula. Th

HMRC guidance
6 MANUAL
Share identification rules for corporation tax: section 104 holding: disposals 30/11/93+: example

- Amount - - Amount Pool of indexed expenditure £131,300 x 5,000/10,000 £65,050 Pool of qualifying expenditure £100,000 x 5,000/10,000 £50,000 Indexation - - - £15,050 - - £ Disposal proceeds - 60,000 less Cost 50,000 - Cost of disposal 4,000 54,000 Unindexed gain - 6,000 less Indexation - 6,000 Chargeable Gain - NIL Only £6,000 of the £15,050 indexation attributable to the disposal has been used in the computation. But the indexed pool of expenditure is reduced by the full amount of the £15,050

HMRC guidance
7 MANUAL
Investors’ Relief: Calculating relief: Disposal where not all shares are qualifying shares

TCGA92/S169VD There are no special rules for calculating the gain on a disposal of shares that may qualify for Investors’ Relief. However, where the disposal involves a holding of shares and only some are qualifying shares, then only part of the gain will be subject to Investors’ Relief. To calculate the appropriate part of the gain which is subject to relief the following fraction must be applied– Gain x Q/T Q = number of qualifying shares in the holding T = total number of shares disposed of W

HMRC guidance
8 FTT_DECISION
[2022] UKFTT 312 (TC)

eated as made in the UK. 141. For these reasons we have concluded that the release of the obligations of both the Appellants and IR does entail providing a service in the UK under Condition B. Does the property or service derive from the gain s 809L(3) Condition B 142. In order to give rise to a tax charge under s 809L the property or service must “derive from the income or chargeable gains”. HMRC’s position is that the property or services are derived from the chargeable gains generated from th

Other (FTT_DECISION)
9 LEGISLATION
Taxation of Chargeable Gains Act 1992

Part II General Provisions relating to computation of gains and acquisitions and disposals of assets Chapter III Computation of gains: General provisions Allowable deductions Acquisition and disposal costs etc. 38 1 Except as otherwise expressly provided, the sums allowable as a deduction from the consideration in the computation of the gain accruing to a person on the disposal of an asset shall be restricted to— a the amount or value of the consideration, in money or money’s worth, given by him

Primary legislation
10 MANUAL
Share Loss Relief: individual and corporate claimants: individual claimants: more complex cases: mixed holdings and part disposals: introduction

The availability and amount of Share Loss Relief is closely linked to the existence and amount of an allowable loss computed under the rules in TCGA 1992. But there are some situations in which the TCGA rules result in a figure which does not properly reflect the actual loss on shares which qualify for Share Loss Relief. This part of the guidance explains those situations and how special rules in the ITA deals with them. The problems stem from the fact that the TCGA often treats holdings of asse

HMRC guidance