Skip to content

Inflation and CPI: how the most-watched number in macro is actually made

Intermediate8 min readLesson 2 of 13

95 XP

In short

CPI turns a weighted basket of household prices into one index. Reported inflation is its change: year-over-year for the trend, and month-over-month for the latest push. Markets read specific cuts: core versus headline, which index (CPI, PCE, HICP), and above all the result versus expectations. Reactions follow the surprise, not the level. Effects on assets are structural, not predictions. Fixed payments are most exposed. Each holding's exposure depends on whether its payments are fixed or can adjust.

Inflation and Purchasing Power covers the idea: rising prices, shrinking purchasing power. This article covers how it is measured. The tool is the Consumer Price Index, or CPI. It turns millions of single prices into the one number that moves markets on release morning. How it is measured matters, because the index is not the thing itself. Two people can face different inflation from the official rate, and both can be right about their own shopping baskets. And markets react to specific cuts of the data that headlines flatten. Examples are core, month-over-month, and the result versus expectations. Knowing how the number is made turns CPI day from noise into information.

How a price index is built

A statistics agency defines a basket. In the US this is the BLS. For the EU's HICP it is Eurostat and national offices. The basket is the goods and services an average household buys. Each item is weighted by its share of spending, such as housing, food, transport and services. Staff and digital tools then track the prices of those items month after month. The index is the weighted average of their changes. Everything reported follows from that. Year-over-year inflation compares this month's index with the same month last year. It is smooth, but slow to show turning points. When a big month from a year ago drops out of the window, the yearly rate moves with no new inflation at all. This "base effect" is behind many confusing headlines. Month-over-month shows the latest push. It is noisy but current, and markets now often read it first. How the index is built also explains its honest limits, which the agencies document themselves. One is substitution: households switch away from what got expensive, and methods catch up with a delay. Another is quality change. This year's phone is not last year's phone. Hedonic adjustments try to price the difference, a method choice with critics on both sides. A third is housing. US CPI includes an imputed cost of owning a home (owners' equivalent rent), while the euro-area HICP leaves out owner-occupied housing. That is a major reason US and EU inflation are not fully comparable. These are documented trade-offs in a truly hard measuring problem, not evidence of manipulation, which is the framing they sometimes attract.

The cuts that markets actually watch

Headline vs core: headline is the whole basket. Core strips out food and energy. That is not because they do not matter to households. They do. It is because they swing a lot and are often driven by global supply that interest rates cannot touch. So core is read as the better signal of steady, lasting inflation. Central banks say so openly. That is why a hot headline with a cool core can get a surprising market reaction. Which index: the US has two families. CPI is published first and is built into inflation-linked bonds and many contracts. PCE has broader weights and different methods, and it is the Federal Reserve's stated preferred gauge. So "inflation" in a US headline can mean two numbers that disagree. The euro area's HICP is the ECB's target measure, with national versions beneath it. Versus expectations: as elsewhere in macro, markets price forecasts in advance and move on the surprise. A 3.4% result against 3.6% expected can lift markets. A 2.9% result against 2.7% expected can sink them. Release-day mechanics are covered in How Macro Releases Move Markets. The point here is simple: "CPI came in high" means nothing without the expected number beside it.

What inflation does to asset classes — structurally

This describes; it does not predict. Cash and fixed-payment bonds are hit most directly by inflation. Fixed payments buy less. The real-vs-nominal math can turn positive yields into negative real returns. That is the historical reason inflation-linked bonds exist. Shares are mixed. Companies that can raise prices may pass costs on, so their revenue grows along with their expenses. But inflation often brings the rate rises described in Interest Rates and Central Banks, and those squeeze valuations. So the record for shares across past inflation periods is truly uneven. Moderate inflation has often come with fine returns, and high inflation with hard ones. Real assets like property and commodities carry the popular inflation-hedge story. Their actual record is messier than the story suggests. The lesson is the pattern. Each asset's inflation exposure depends on whether its payments are fixed or can adjust with prices. That question applies to any holding.

Worked example

Worked example (fictional). It is release morning. The consensus expects 3.6% year-over-year, and 0.3% month-over-month for core. The result: 3.7% headline, but 0.2% core month-over-month. Headlines say "inflation rises". Markets rally. Nothing is broken. The headline beat came from a jumpy energy component and a base effect. The core monthly push, the cut read as the lasting signal, came in below expectations. Two numbers, two audiences. The headline described the household's month. The core surprise described the trend markets price. Reading both is the whole skill this article teaches. All figures are illustrative.

Check understanding

1 of 5

How is CPI actually calculated?

Frequently askedCommon questions

5 questions

How is CPI actually calculated?

A statistics agency tracks the prices of a weighted basket that stands for average household spending. The index is the weighted average of those price changes. Reported inflation is the index's change: year-over-year for the trend, and month-over-month for the latest push.

What is core inflation and why exclude food and energy?

Core strips out the basket's jumpiest parts, which global forces often drive. What is left shows steady, lasting inflation: the signal central banks say they steer by. It is not a claim that food and energy do not matter. It is a filter for trend versus noise. Markets often react more to core than to headline.

Why do CPI and PCE disagree?

They use different baskets, weights and formulas. US CPI is published first and is built into contracts and inflation-linked bonds. PCE, the Federal Reserve's preferred gauge, weights spending differently and usually runs slightly lower. Both are legitimate. "US inflation" simply has two official answers.

Why did markets rally when inflation came in high?

Usually because of expectations, or the core cut. Markets price in the consensus forecast ahead of time, so reactions follow the surprise, not the level. And a hot headline with a soft core reads as noise over signal. A release reaction is hard to read without the expected number next to the result.

Is official CPI understating my inflation?

It can, for some households. The index measures an average basket. A household that spends more on fast-rising categories faces more than the official rate. The documented method debates (substitution, hedonics, housing) are real trade-offs that statisticians publish openly. That is a different thing from the index being rigged.

ReferencesWhere this comes from

Finished reading?

Mark it complete once the answer holds without scrolling back up.

Ask MarketClue AI about this lesson

The question carries this lesson as its context. MarketClue AI needs an account.

MarketClue does not provide financial advice.

Next on your list

Topic 8 · Macroeconomics for investorsGDP and the business cycle: measuring the economy, and why the market isn't itLesson 3 of 13
Next lesson

After that

Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.