It is determined by dividing the sales cost of the property by the cost inflation index of the year the property was sold. After that, multiply the result by the cost inflation index of the year the property was bought.