The Consumer Price Index (CPI) is an indicator of changes in consumer prices. It is obtained by comparing the cost of a fixed basket of goods and services purchased by consumers over time.