Calculate UK capital gains tax on asset sales.
Capital gains tax (CGT) is charged on the profit when you dispose of an asset, not on the sale price itself. Selling, giving away, or swapping an asset can all be disposals. Your main home is usually exempt. ISAs and pensions are outside CGT. Shares, funds, second homes and many valuables are not.
Rates and the annual exempt amount change. This page shows the arithmetic and leaves the rate as something you confirm on GOV.UK for the tax year of the disposal. It is not a return and not legal advice. Residential property has extra reporting rules and often a different rate from shares.
Gain = disposal proceeds − allowable costs.
Allowable costs normally include the purchase price, stamp duty and professional fees on the purchase, and selling costs. For shares of the same class in the same company, HMRC uses share-pooling rules rather than letting you pick the certificate that suits you.
Taxable gain = gain − losses you are allowed to set off − the annual exempt amount, if the result is still positive.
CGT = taxable gain × the rate that applies to you. The rate depends on your income and on the asset. Do not assume an old 10% or 20% rate still applies; check the year.
You bought shares for £8,000 and sold them for £26,000, with no extra costs and no losses. Gain = 26,000 − 8,000 = £18,000.
If the annual exempt amount for that year is £3,000, the taxable gain is £15,000. At 18% the tax is £2,700. At 24% it is £3,600. From 6 April 2026, individuals pay 18% on gains that sit in the unused basic-rate band and 24% above that. The annual exempt amount is £3,000. These boxes default to proceeds of £26,000, costs of £8,000, an exempt amount of £3,000 and 18%, so the result is a gain of £18,000, taxable £15,000 and tax of £2,700. At 24% the same taxable gain is £3,600. Business Asset Disposal Relief is a separate rate and is not applied here. Rates and the exempt amount: https://www.gov.uk/capital-gains-tax/rates and https://www.gov.uk/capital-gains-tax/allowances.
A loss in the same year reduces the £18,000 before the exempt amount is used. Report the disposal if the rules say you must, even when the taxable gain is zero.
Usually no, if it has been your only or main residence throughout the time you owned it and you have not used it exclusively for business. Lettings, long absences and a second home complicate the relief. HMRC’s private residence relief guidance is the reference, not a rule of thumb.
Gains and income inside an ISA are free of UK tax. You do not put ISA disposals on a CGT calculation. The annual ISA subscription limit is separate from the CGT exempt amount.
You deduct the portion of the pooled cost that belongs to the shares you sold, not the whole purchase if you still hold some. That is the share-identification rule. Getting the pool wrong is a common reason a calculator and a tax return disagree.
It depends on the asset and the year. UK residential property disposals have a shorter online reporting window than a typical share sale, which often waits for Self Assessment. Check the deadline for that disposal on GOV.UK as soon as you exchange, not after completion if the dates differ.