CPI (Consumer Price Index) is a measure of retail inflation. It is calculated by collecting and comparing the prices of a set basket of goods and services, as bought by a typical consumer, at regular intervals over time.