Skip to content
Glossary

Consumer Price Index (CPI)

Updated 27 November 2026 · 3 min read · Reviewed against our editorial policy

In brief

The Consumer Price Index (CPI) measures how the average price of a representative basket of household goods and services changes over time. It is the most widely used gauge of consumer inflation, and investors use it to judge whether their returns are keeping pace with rising prices.

  • CPI tracks the cost of a fixed, weighted basket of consumer goods and services against a base period.
  • The year-on-year change in CPI is the headline inflation rate, but it reflects an average household, not yours.
  • Investors compare returns with CPI to see real growth, and CPI data also shapes interest-rate expectations.

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.

Frequently asked questions

What is the difference between CPI and inflation?

CPI is an index level that tracks the cost of a basket of goods and services. Inflation is the percentage change in that index over a period, usually a year. So CPI is the measuring tool, and inflation is the rate it reveals.

What is core CPI?

Core CPI excludes categories that tend to swing sharply, usually food and energy. It is meant to show the underlying trend in prices. Definitions vary by country, so check how your national agency defines it.

Why does my cost of living feel different from reported CPI?

CPI reflects the average spending pattern of many households. If your budget is weighted more toward items that have risen faster, such as rent, tuition or healthcare, your personal inflation can run above the headline figure. The reverse is also possible.

Continue learning

Educational content only — not investment, tax or legal advice. See our disclaimer.