The Consumer Price Index (CPI) measures how prices change for everyday goods and services. Here's how it's calculated, what it measures, and why it matters.