How to work out Capital Gains Tax when selling property
The basic calculation is:
- Start with the sale proceeds.
- Deduct the original purchase price or relevant market value.
- Deduct allowable buying, selling and improvement costs.
- Deduct any available reliefs or losses.
- Deduct the annual exempt amount.
- The remaining figure is the taxable gain.
You can usually deduct costs directly linked to buying, selling or improving the property. These may include estate agent fees, solicitor fees, valuation fees, advertising fees, Stamp Duty Land Tax and capital improvement costs, such as an extension or major upgrade. Normal maintenance, repairs and decorating usually do not count as capital improvement costs.
HMRC provides more detail on allowable costs in its guide to working out your gain when selling property.
Example Capital Gains Tax calculation
Imagine you bought a second home for £350,000 and sold it for £500,000. Your starting gain is £150,000.
You then deduct allowable costs, for example:
- Purchase legal fees: £2,000
- Stamp Duty Land Tax: £10,000
- Estate agent and sale legal fees: £8,000
- Qualifying improvement works: £20,000
Total allowable costs: £40,000. Your gain is reduced to £110,000. If you are an individual and have your full £3,000 annual exempt amount available for the 2026/27 tax year, your taxable gain becomes £107,000. The tax is then calculated at 18% and/or 24%, depending on your taxable income and how much of your basic rate band remains.
Private Residence Relief when selling your main home
In many cases, you do not pay Capital Gains Tax when selling your main home because Private Residence Relief applies. Full relief usually applies if you have one home, have lived in it as your main home for the whole period of ownership, have not let part of it out, have not used part of it exclusively for business, the grounds are less than 5,000 square metres, and you did not buy it purely to make a gain.
If the property has not always been your main home, has been let out, includes substantial land, or has been used partly for business, only part of the gain may be covered. This is where advice is important, especially for rural homes, large gardens, country houses, estates and properties with land attached.
HMRC explains the conditions in its guide to tax when you sell your home and its Private Residence Relief helpsheet.
Selling land separately from your home
Selling land separately can create a Capital Gains Tax issue, even where the land is connected to your home. For example, if you sell a paddock, a field, a building plot, woodland or part of your garden, HMRC may look at whether the land forms part of the permitted area for Private Residence Relief and whether it was enjoyed as part of the main residence.
The standard Private Residence Relief conditions refer to grounds of less than 5,000 square metres, just over one acre, although larger grounds can sometimes qualify if they are required for the reasonable enjoyment of the property. This can be a key point for country homes, period properties, farms and rural estates.
Land and lease disposals can also involve special valuation rules, especially where only part of the land is sold, the land has development potential, or the disposal is linked to a lease, compulsory purchase or business asset. HMRC provides a dedicated helpsheet on Capital Gains Tax for land and leases.