A consumer price index (CPI) is a measure estimating the average price of consumer goods and services purchased by households.