The CPI measures the average change over time in prices paid by consumers for goods and services. It's calculated using a basket of goods and services and is a key indicator of inflation.