The consumer price index (CPI) is a central economic indicator measuring inflation and deflation. Over time, it gauges the change in consumer prices based on a representative basket of goods and services. The charts below reflect rates for Ontario and Canada as calculated from Statistics Canada tables.