Foundations4 min read

CPI: The Consumer Price Index

The best-known inflation measure and one of the highest-impact scheduled releases. What moves markets is the surprise against expectations, not the level.

MadStockAlerts Research · Updated August 28, 2026

What to take away

  • The Consumer Price Index measures the price change of a fixed basket.
  • Core CPI excludes food and energy because they are volatile, not because they do not matter.
  • Shelter is the largest component and it responds with a long lag.
  • The market trades the difference from expectations, not the headline itself.
  • The Fed targets PCE, not CPI, and the two routinely differ.

MAD Academy Training Video · 0:46

The Number Behind the Headline

CPI is a basket, a set of weights and a series of judgements — and the core measure exists because the headline is too noisy to steer by.

This lesson is part of a Stock Alerts + Tools plan.

See the library

What it measures

A basket of goods and services is priced each month and weighted by household spending patterns. The month-over-month change is the current rate of inflation; the year-over-year change is the headline usually quoted.

Core CPI strips out food and energy. Both are volatile enough to obscure the underlying trend, and both are largely outside the influence of monetary policy in the short run. Excluding them is not a claim that they do not matter to households; it is a claim about what the number is for.

Shelter dominates, and it lags

Shelter is roughly a third of the index and is measured largely through rents, including an imputed rent for owner-occupied homes. Because leases reset annually, the measure reflects market rents from six to twelve months earlier. CPI can therefore keep reporting shelter inflation long after current market rents have stopped rising.

This single mechanical feature explains a large part of the gap between what the index reports and what people observe, and it is entirely predictable in advance from published market rent data.

What the index is mostly measuring
What the index is mostly measuring0%10%20%30%40%The largest component, and the slowestto updateShelterFoodEnergyTransportMedicalEverything elseWeight in headline CPI

Scroll the chart sideways to see all of it.

A third of the index is housing, measured through a rent series that reflects leases signed months ago. It is why the published figure keeps describing a world that has already moved on. Approximate weights.

Why the surprise is what matters

Expectations are formed and priced before the release. A reading of 3.2 percent against an expected 3.2 percent is close to a non-event; the same reading against an expected 2.9 percent is a substantial upside surprise and can move rates, the dollar index and equities within a second.

ComponentApproximate weightBehaviour
ShelterAbout a thirdLarge, slow, heavily lagging
FoodAround a seventhVolatile; excluded from core
EnergyUnder a tenthVery volatile; excluded from core
Services excluding shelterSubstantialWatched closely as the stickiest component
Core goodsModerateSensitive to supply chains and to the dollar

Services excluding shelter is the component policymakers discuss most, because it is closely tied to wages and is the least responsive to anything other than demand.

CPI is not the Fed's target

The Federal Reserve targets PCE inflation, not CPI. The two differ in weighting and in method, and they routinely disagree by several tenths.

CPI is released first and moves markets more; PCE is what policy is actually set against. Both facts are true simultaneously, which is why the release with the larger market impact is not the release that determines the decision.

How the index is built

The index is a weighted average of price changes for a basket of goods and services, with the weights drawn from a survey of what households actually spend. Prices are collected monthly from thousands of outlets, and the result is published in the second week of the following month.

Two adjustments in the construction account for most of the criticism it attracts. Seasonal adjustment removes the regular annual pattern, so that a January rise in some categories is not read as inflation. Hedonic adjustment attempts to separate a price change from a quality change: if a laptop costs the same as last year but is materially faster, part of that is recorded as a price decline.

Hedonic adjustment is where most claims of understated inflation are aimed. The adjustment is real, documented and applied to a minority of categories, and both the claim that it is a fabrication and the claim that it is beyond question are stronger than the evidence supports.

VariantWhat it isWhy it exists
Headline CPIThe whole basketWhat households experience
Core CPIExcluding food and energyThose two are volatile and largely supply-driven
SupercoreServices excluding shelterAn attempt to isolate the part driven by wages
CPI-U vs CPI-WDifferent reference populationsCPI-W drives Social Security adjustments

Why the market reaction is often the opposite of the news

A release moves prices to the extent that it differs from what was already expected. A reading of three point four percent when three point one was expected is a lower number than last month and a higher one than the market had priced, and the market trades the second comparison.

This is why coverage describing the direction of the data frequently fails to explain the direction of the move, and why the phrase inflation fell and stocks sold off is not a contradiction. The published figure is a fact about the past; the priced expectation is what had already been paid for.

  • The consensus estimate is the median of surveyed economists and is available before the release.
  • The whisper number, where one exists, is an informal expectation that can differ from the published consensus.
  • Rounding matters at the margin: a tenth of a percent decides the headline, and the unrounded figure often tells a different story.
  • The composition can dominate the headline, particularly when a single volatile component moves the aggregate.
Educational content only. MadStockAlerts provides market commentary, research, and educational content. It is not personalized investment advice, and nothing here is a recommendation to buy or sell any security. Trading and investing involve substantial risk, including loss of capital. See the Risk Disclosure and Customer Agreement.