Capital gains income is calculated as follows: -

Value of consideration received or accruing as a result of the realization of the interest in land or buildings 

less 

cost of acquisition 

less 

expenditure incurred on any improvement to the asset

 less 

expenditure incurred wholly and exclusively in connection with the realization