The Consumer Price Index (CPI) measures the average change over time in the prices paid by households for a fixed basket of consumer goods and services, serving as a primary gauge of inflation.