How Inflation Is Measured: The Consumer Price Index Explained
Inflation is not guessed. It is measured by pricing a fixed basket of goods and services and tracking how its cost changes over time.
Inflation is the rate at which the general level of prices rises over time, which means the same money buys a little less than it did before. To turn that idea into a number people can act on, statisticians do something deliberately concrete: they pick a basket of goods and services that ordinary households buy and track what it costs, month after month.
That measurement is the Consumer Price Index, or CPI. It is among the most-watched economic statistics in the world, and understanding how it is built explains both what it captures and where it falls short.
What the Consumer Price Index measures
The CPI tracks the average change over time in the prices paid by consumers for a representative basket of goods and services. In the United States it is published by the Bureau of Labor Statistics. Many other countries run equivalent measures, and across the European Union a harmonised version, the HICP, allows comparison between member states.
The basket is meant to mirror everyday spending. It spans broad categories — food, housing, transportation, medical care, recreation, clothing and more — so that the index reflects the cost of living rather than the price of any single item. Each category is weighted by how much households actually spend on it, so a change in the price of housing moves the index far more than a change in the price of, say, postage.
Statistical agencies collect a large number of price quotes for specific items across many locations and retailers, then combine them into the overall index. The headline figure most people see is the percentage change in that index over the past year — the inflation rate.
Why the basket and its weights matter
The choice of basket is the heart of the method, and it carries real consequences.
- Weights drive the result. Because each category counts in proportion to typical spending, the items households spend the most on — particularly housing — have an outsized influence on the headline number.
- The basket is updated. Spending habits shift, products change and new goods appear, so statistical agencies revise the basket and its weights over time to keep it representative.
- Quality changes are adjusted for. When a product genuinely improves, agencies attempt to separate the part of a price change that reflects better quality from the part that reflects pure inflation, so the index measures price, not progress.
This is also why a published inflation rate can feel different from a household’s own experience. The index describes an average across the whole population. Anyone whose spending is skewed toward fast-rising categories — a renter in a tight housing market, for instance — may face a personal inflation rate well above or below the national figure.
Headline versus core inflation
Analysts often distinguish between two versions of the number, and the difference is worth knowing.
Headline inflation includes everything in the basket, including food and energy. Those two categories can swing sharply from month to month for reasons unrelated to the broader economy, such as weather or global oil markets.
Core inflation strips out food and energy to reveal the steadier, underlying trend. It is not that food and energy do not matter — they plainly do for household budgets — but their volatility can obscure where prices are heading overall.
Headline inflation tells you what households are paying now. Core inflation tells you where the underlying trend is going. Policymakers watch both.
Central banks tend to weigh core measures heavily when judging the durability of inflation, while households feel the headline number most directly at the store and the pump.
What the CPI is used for, and what it cannot do
The CPI is not merely a statistic for economists. It is wired into the machinery of the economy. It is used to adjust wages, pensions and benefits for the cost of living, to set the terms of inflation-linked contracts, and to convert past dollar figures into today’s money so that comparisons across years are meaningful. A central bank’s inflation target is typically defined against a consumer price measure.
But the index has boundaries that responsible readers should keep in mind. It measures consumer prices, not the price of assets such as houses or shares as investments, and not the cost of living for any one individual. It relies on a basket that, however carefully maintained, can lag rapid changes in how people spend. And because it is built from sampled prices and statistical adjustments, it is an estimate — a very rigorous one, but an estimate nonetheless, subject to revision and refinement.
None of that undermines its value. The point of the CPI is to replace anecdote and impression with a consistent, transparent method that anyone can scrutinise. Prices are always changing somewhere; the index is how a society agrees to measure that change in a way it can act on.

