Yes. To neutralize the erosion of value of money over the years the cost index for the year of sale is factored in while calculating the cost of investment so that the impact of inflation is neutralized and only the actual gain to the seller is brought to tax.