Skip to content

Consumer price index

Read a consumer price index, calculate inflation from a fictional weighted basket, and distinguish rebasing from official CPI construction.

A consumer price index (CPI) measures how prices change over time for consumer goods and services covered by a specified household population. Its percentage change measures consumer inflation. For quant work, choosing the right series and comparison interval matters as much as calculating the ratio: an index level, a monthly rate and a twelve-month rate are different inputs.
The OECD's CPI definition describes an aggregate built from sampled prices and weighted component indexes. CPI is an index number, not the dollar price of a universal shopping basket, and it need not match your own spending experience.

A small basket makes the weights visible

Consider a fictional fixed-quantity teaching basket, observed at two dates exactly one year apart. Prices are in USD per unit. Both items retain the same quality, quantities stay fixed, and no seasonal adjustment is applied. This illustrates index arithmetic; it does not reproduce an official CPI production method.
ItemFixed quantityYear 0 unit priceYear 1 unit priceYear 0 spendingYear 1 spending
A23 USD4 USD6 USD8 USD
B14 USD4 USD4 USD4 USD
Basket total10 USD12 USD

Let qiq_i be fixed quantities and pi,tp_{i,t} unit prices. Define basket cost CtC_t and a Year 0 = 100 index ItI_t:

Ct=∑iqipi,t,It=100CtC0.C_t=\sum_i q_i p_{i,t},\qquad I_t=100\frac{C_t}{C_0}.

Here C0=2(3)+1(4)=10C_0=2(3)+1(4)=10, C1=2(4)+1(4)=12C_1=2(4)+1(4)=12, and I1=120I_1=120. The annual change is

I1I0−1=120100−1=0.20=20%.\frac{I_1}{I_0}-1=\frac{120}{100}-1=0.20=20\%.
Fictional fixed basket: item A spending rises from 6 to 8 USD while B stays at 4 USD, increasing total cost from 10 to 12 USD. The base-100 index rises from 100 to 120, a 20% annual increase.
Fictional fixed basket: item A spending rises from 6 to 8 USD while B stays at 4 USD, increasing total cost from 10 to 12 USD. The base-100 index rises from 100 to 120, a 20% annual increase.
Original teaching example with unchanged quantities and quality. Stacked spending bars use a zero baseline; the index is dimensionless. These are fictional annual observations, not official CPI data.
The starting expenditure weights are 6/10=60%6/10=60\% for A and 4/10=40%4/10=40\% for B. A's price rises by one third, while B's is unchanged. Thus this basket's inflation is 0.6(1/3)+0.4(0)=0.20=20%0.6(1/3)+0.4(0)=0.20=20\%. An equally weighted average of the two item price changes would be about 16.67%, which answers a different question. Two units versus one unit are quantities; they are not the spending weights.

The reference period is a scale choice

The index reference period sets the displayed level to 100. The weight reference period supplies expenditure information for the weights. A price reference period supplies the comparison prices in price relatives. These periods need not coincide; the ABS methodology distinguishes all three.

Changing the reference scale alone does not change inflation. If the toy index were rescaled from 100 and 120 to 200 and 240, the ratio would still give 240/200−1=0.20=20%240/200-1=0.20=20\%. Reweighting changes the basket's economic representation; rebasing merely changes its numerical scale. Also, two countries' index levels cannot by themselves reveal which country has higher living costs.

Why the official calculation is more involved

An official CPI must choose a population, geography and consumption coverage, then sample prices and combine components. For example, U.S. CPI-U represents urban consumers; its coverage differs from that of CPI-W. BLS explains these population and coverage choices. Neither index measures a stock portfolio's price changes.
Goods disappear, package sizes change and replacement models differ in quality. Statistical agencies need replacement, imputation and quality-adjustment procedures so that a better product is not automatically treated as pure inflation. BLS uses geometric-mean formulas for most basic commodity-and-service strata and other formulas for specified cases; higher-level aggregation is another step. The BLS calculation handbook documents these distinctions.
Consumers also substitute between products as relative prices change. Holding this toy basket unchanged deliberately suppresses that behaviour. Actual methods differ in how they accommodate substitution, and weights are updated rather than frozen forever. The ABS discussion of substitution and linking explains why a permanent fixed basket has limits. A CPI should not be treated as an exact measure of every household's cost of maintaining its living standard.

Read the series label before using the number

For a monthly series, a month-on-month change compares adjacent months; a year-on-year change compares the same month in consecutive years. An annual-average change compares annual averages, which is different again. BLS explains the comparison periods and seasonal basis: seasonal adjustment helps interpret short-term movements, and adjusted observations can be revised.
Record the publisher, series identifier, population, geography, all-items or exclusion coverage, frequency, seasonal basis, index reference and comparison horizon. In historical research, retain the release date and vintage available at the decision time. Using a later revision in an earlier trading signal introduces look-ahead bias.
A rising CPI means positive consumer inflation over the chosen interval. Slower positive growth is disinflation; a falling index indicates deflation. Neither the level 120 nor its increase of 20 index points is, by itself, a general formula for a 20% inflation rate: the denominator determines the percentage.

Practice: does rebasing change inflation?

Question. A fictional index rises from 150 to 156 over one year. An analyst rescales the first observation to 100 without changing the underlying series. What is the new second observation, and what is annual inflation?
Answer. The new second observation is 100(156/150)=104100(156/150)=104. Inflation is 156/150−1=0.04=4%156/150-1=0.04=4\%, equivalently 104/100−1=0.04=4%104/100-1=0.04=4\%. The original increase of six index points was not a 6% increase. Rescaling changes the points, not the percentage change.

Sources

Last updated
  • consumer prices
  • inflation
  • price index
  • expenditure weights
  • macroeconomic data
← Back to the glossaryBack to top ↑