Hi,
You use the disposal value, which is the sum you sold the property for. You deduct from this, the purchase price, which is the price you paid for the property. You can also deduct the costs of buying, selling or improving your property from your gain. These include estate agents and solicitors fees.
Costs of improvement works, for example for an extension and normal maintenance costs such as decorating do not count. You can use a calculator to help you do this here:
Tax when you sell your home
Thank you.