The consumer price index (CPI) is simply an indicator of changes in prices of goods and services experienced by consumers in a given country over time.