English
/

How Does Inflation Work? CPI and a Grocery Cart Example

Last edited Nov 6, 2026 · 2 min read

Inflation is a rise in prices over time, so the same cart of groceries costs more than it did before. The U.S. Bureau of Labor Statistics tracks it with the Consumer Price Index.

On this page▾
  1. What the Consumer Price Index actually measures
  2. A grocery cart example, with the math shown
  3. Why "3%" is an example, not a forecast
  4. Why this matters beyond the grocery store

What the Consumer Price Index actually measures

The CPI is not a single grocery bill. The BLS describes it as a measure of the average change over time in the prices paid by urban consumers for a market basket of consumer goods and services. The index is released monthly. The CPI for all items rose 3.7 percent over the year ended September 2026 (not seasonally adjusted). The BLS CPI Inflation Calculator uses the CPI-U U.S. city average for all items, not seasonally adjusted, to compare dollar purchasing power.

Food is one category within the broader index, and the BLS release reports "food at home" (groceries) separately from "food away from home" (restaurant meals). Categories can move differently in the same month: in September 2026 the food-at-home index fell 0.1 percent while food away from home rose 0.2 percent.

A grocery cart example, with the math shown

Say a cart of groceries costs $150 today. To see what buying power that $150 would have needed a decade ago, you divide by the compounded inflation rate over those years. Using an illustrative inflation rate of 3% per year (a round example rate, not a BLS figure for any specific period), the math looks like this:

$150 ÷ (1.03)^10 = $111.61

In other words, under a steady 3%-a-year assumption, a cart that costs $150 today would have cost about $111.61 ten years earlier for the same goods. The same groceries simply cost more now.

The same formula works in reverse to show how a fixed dollar amount loses purchasing power over time:

Years from now Value of today's $100 in future buying power (at 3%/year)
5 years $86.26
10 years $74.41
20 years $55.37
30 years $41.20

After 30 years at a steady 3% inflation rate, $100 held in cash (earning no interest) would only buy what $41.20 buys today. The bill still says $100. It simply does not stretch as far.

Why "3%" is an example, not a forecast

Actual inflation varies year to year and is not a constant number you can rely on for planning decades ahead. Food prices can diverge from the broader CPI. The BLS CPI Inflation Calculator uses actual historical CPI-U data, so for a real historical comparison rather than an illustrative one, use that calculator. The 3% figure above is a round assumption chosen for the arithmetic, not a forecast or a BLS-reported rate.

Why this matters beyond the grocery store

The same arithmetic applies to cash that earns less than the rate of inflation. In a non-interest checking account, the balance on the statement does not go down, but what it can buy does.

This is also why a raise that sounds good on paper can still be a pay cut in real terms. A 3% raise during a year when prices rose 4% means your paycheck grew, but it did not keep pace with prices, so your real, inflation-adjusted buying power actually fell slightly.

Subtracting inflation from an investment return is covered in Real vs Nominal Return, How to Subtract Inflation Correctly.

Sources

  1. U.S. Bureau of Labor Statistics, Consumer Price Index
  2. U.S. Bureau of Labor Statistics, CPI Inflation Calculator
  3. U.S. Bureau of Labor Statistics, Consumer Price Index Summary, September 2026

About this guide

Howlane operator · Checked against the official sources listed above. It is general information, not financial, tax or legal advice; rules and rates change, so confirm with the source or a qualified professional.

AboutEditorial standardsCorrectionsReport an error

Edit history

  • Updated
  • Updated
  • Updated
  • Updated
  • Published