Definition: The Consumer Price Index (CPI) is a statistical measure of the average change over time in the prices households pay for a fixed basket of goods and services, expressed relative to a base period.
How CPI works
A national statistics agency first defines a basket: the goods and services a typical household buys. Typical categories are food, housing, transport, healthcare, education, clothing, communication and recreation. Surveys of household spending decide how much each category matters.
Each category receives a weight equal to its share of spending. If households spend 30% of their budget on housing, housing carries a weight of 0.30. Agencies then collect prices for specific items at regular intervals and compare the basket's cost with its cost in a base period, which is set to 100.
The core idea:
CPI = (cost of the basket today ÷ cost of the basket in the base period) × 100
The inflation rate is the percentage change in CPI between two dates, most often year on year.
A worked example with a hypothetical basket
Imagine a simple economy with a basket of three items. All numbers are round and hypothetical.
| Item | Base-year cost | Current cost | Weight |
|---|---|---|---|
| Food | 100 | 106 | 40% |
| Housing | 100 | 104 | 40% |
| Transport | 100 | 110 | 20% |
Each item is indexed at 100 in the base year. Multiply each current index by its weight:
- Food: 106 × 0.40 = 42.4
- Housing: 104 × 0.40 = 41.6
- Transport: 110 × 0.20 = 22.0
CPI = 42.4 + 41.6 + 22.0 = 106.0
The basket costs 6% more than in the base year. If CPI had been 101.0 a year earlier, inflation over that year would be (106.0 − 101.0) ÷ 101.0 ≈ 4.95%.
Notice the effect of weights. Transport rose the most (10%), but because it carries only 20% of the basket, it moves the index less than food would if food rose by the same amount.
Why it matters to investors
- Real returns. A deposit earning 5% a year when inflation is 4% grows purchasing power by roughly 1%, not 5%. CPI is the usual yardstick for converting nominal returns to real returns.
- Planning goals. Retirement or education targets should be stated in future money. A cost of 1,000,000 today (₹ or $) at an illustrative 4% annual inflation would be about 1,480,000 in ten years.
- Interest-rate expectations. Central banks often target an inflation rate, so CPI releases can shift expectations about policy rates, bond yields and equity valuations.
- Inflation-linked instruments. Some government bonds and pensions adjust payments using a CPI measure, so the index directly affects their cash flows.
Limitations of CPI
- Average household, not yours. If you spend more on rent or school fees than the basket assumes, your personal inflation differs from the headline figure.
- Substitution. People switch to cheaper alternatives when prices rise. A fixed basket may overstate the cost of living unless the agency adjusts for this.
- Quality changes. A phone that costs the same but performs better is hard to price consistently.
- Asset prices. Most CPI measures exclude investments such as shares and, in many countries, treat home purchase differently from rent.
- Different methods. Agencies differ in baskets, weights and formulas, so inflation figures are not perfectly comparable between countries.
An India-specific aside
In India, the headline CPI (often called CPI-Combined) is compiled by the government's statistics ministry and covers rural and urban households. Food and beverages historically carry a larger weight than in many advanced economies, which makes headline inflation sensitive to food-price swings. The Reserve Bank of India uses CPI inflation as the reference for its inflation-targeting framework. Check the current official source for the latest base year, weights and target band.
What to watch out for
- Treating headline CPI as your own inflation rate.
- Confusing the level of the index with the rate of change. A CPI of 106 is not 106% inflation.
- Ignoring that falling inflation (disinflation) still means prices are rising, only more slowly.
- Comparing a nominal return with CPI without allowing for tax and fees.
Related concepts
CPI is the main input to measuring inflation and real interest rates, and it underlies purchasing power. Other gauges, such as wholesale prices and the GDP deflator, measure price changes at different points in the economy.