Learn / Inflation basics
What is the Consumer Price Index? A grocery basket puts it in perspective
Learn what the Consumer Price Index measures, how to calculate inflation, and why the same grocery basket cost about $128 more in one tracked city.
The Consumer Price Index, or CPI, tracks how prices change over time for a broad basket of goods and services. It can tell you whether grocery prices rose nationally. To see how much the same groceries cost in two places, you need prices for a basket with the same items and quantities in both.
CostInflation priced a 34-item weekly grocery basket in 12 U.S. cities. In the week of November 6–12, 2026, it averaged $281 in Chicago and $408 in Los Angeles. Their gap widened by $29 in four weeks. Both cities’ baskets cost more, but the Los Angeles basket rose by about $38 while the Chicago basket rose by about $9.
A price change and a price level answer different questions. If you adjust a payment for inflation, start with the CPI series specified in the agreement. If you are comparing a budget across cities, start with the dollar cost of the same basket.
In this article: What CPI measures · CPI and inflation rate formulas · The 12-city comparison · Types of inflation · The inflationary gap
What the Consumer Price Index measures
The U.S. Bureau of Labor Statistics measures the average change in prices paid by consumers for goods and services. It gives categories weights based on consumer spending. The index includes shelter, transportation, groceries, medical care and other household costs. The food-at-home CPI is the part that covers groceries.
A CPI value is expressed in index points. The reference period for many U.S. CPI series is 1982–84, set to 100. To measure inflation, compare two values from the same series. In the October 2026 release, the U.S. food-at-home index before seasonal adjustment rose from 321.758 in September to 322.876 in October. That is an increase of 1.118 index points, equivalent to 0.35% before rounding.
CPI and inflation rate formulas
A simple fixed-basket index divides the current cost of the basket by its base-period cost and multiplies by 100. A basket that goes from $200 to $207 has an index of 103.5 when the $200 period is set to 100. The official CPI combines many detailed indexes using spending weights and can account for changes in product quality. The BLS calculation guide explains those steps.
How to calculate the inflation rate
Inflation rate (%) = ((later index − earlier index) ÷ earlier index) × 100. Use the earlier value as the denominator. For monthly inflation, compare consecutive months. For annual inflation, compare the same month in consecutive years. Keep the series and seasonal adjustment consistent.
The same calculation works for a basket priced in dollars. From $200 to $207, the rate is 3.5%. If the basket then rises to $211.14, the next rate is 2.0%. Prices are still rising, at a slower pace. That slowdown is called disinflation. A decline in the overall price level is deflation.
What the same grocery basket cost in 12 cities
Los Angeles had the highest weekly average and Chicago the lowest in both weeks we compared. The difference grew from $98.38 in October 9–15 to $127.50 in November 6–12. Ten of the 12 tracked cities became more expensive, while the changes ranged from an $8.84 decline in Jacksonville to a $60.60 increase in Seattle.
| Tracked city | Oct. 9–15 | Nov. 6–12 | Change |
|---|---|---|---|
| Chicago, IL | $271.77 | $280.53 | +$8.76 |
| Houston, TX | $279.60 | $303.82 | +$24.22 |
| San Antonio, TX | $304.19 | $311.28 | +$7.09 |
| New York, NY | $308.12 | $312.75 | +$4.63 |
| San Jose, CA | $325.39 | $326.44 | +$1.06 |
| Philadelphia, PA | $326.34 | $329.06 | +$2.72 |
| Jacksonville, FL | $354.15 | $345.31 | −$8.84 |
| East St. Louis, IL | $350.91 | $349.30 | −$1.61 |
| Clayton, MO | $349.47 | $351.09 | +$1.61 |
| Jackson, MS | $313.54 | $354.64 | +$41.11 |
| Seattle, WA | $332.37 | $392.97 | +$60.60 |
| Los Angeles, CA | $370.14 | $408.03 | +$37.89 |
Changes use unrounded prices. A difference calculated from two rounded values may differ by a cent.
Which ingredients widened the gap?
In the November week, the same three pounds of chicken breast cost $18.05 more in the Los Angeles basket than in Chicago’s, up from a gap of $11.57 four weeks earlier. Pork chops and cheddar also widened the difference. The three ingredients account for about $12.17 of the total $29.12 widening. Lettuce partly offset those increases because its contribution shifted in Chicago’s direction.
| Ingredient | Oct. gap | Nov. gap | Effect on gap |
|---|---|---|---|
| Chicken breast | $11.57 | $18.05 | +$6.48 |
| Pork chops | $6.13 | $9.92 | +$3.80 |
| Cheddar cheese | $4.32 | $6.21 | +$1.89 |
| Lettuce | $0.04 | −$1.51 | −$1.55 |
How much does the choice of cities matter?
The 12-city mean rose $14.94. The median city change was $5.86. The larger increases in Seattle, Jackson and Los Angeles pulled up the mean. A sensitivity check held the analysis to seven cities that had data on every date from October 9 to November 12. Five of those seven still rose, but their mean increase was $6.60. When budgeting, the city detail is more useful than treating the mean increase as a typical bill.
How we compared the groceries
We multiplied the local price index for each of the 34 ingredients by its fixed basket quantity and added the contributions. The weekly averages use seven consecutive daily basket values, with the same 12 tracked ZIP locations in both comparison weeks. Across the 35 days between and including those weeks, 406 of 420 possible city-day values were available. The sensitivity check retains only locations with all 35 daily values. The ingredients and quantities model one week for a family of four. They measure a fixed basket of listed retail prices. Actual spending depends on what a family buys, and changes in the products observed can also move an ingredient index.
The U.S. food-at-home CPI uses a broader set of groceries and consumer spending weights for its covered population. The October CPI change uses calendar months, while our city comparison uses two seven-day windows. Each answers a different question. Use the weekly grocery price chart for current dollar costs or use the basket builder to check the items you buy.
CPI-U, CPI-W and core CPI
CPI-U covers all urban consumers and is the measure usually used in U.S. headline CPI reporting. CPI-W covers urban wage earners and clerical workers, a subset of that population. Social Security uses CPI-W in its cost-of-living adjustment formula. For a contract or payment, check the exact series, geography and reference dates it specifies.
What is core CPI?
Core CPI usually means the index for all items less food and energy. Economists use it to see how prices are moving outside those often volatile categories. Headline CPI includes both. The food-at-home index is the closer benchmark for tracking groceries nationally.
What causes different types of inflation?
Demand-pull inflation can occur when people and businesses want to buy more than the economy can supply at current prices. Cost-push inflation can occur when higher costs, such as energy or materials, reach consumer prices. Built-in inflation describes a feedback loop in which wages and prices rise partly because people expect further increases. Monetary explanations examine how growth in spending power relative to output can support sustained inflation. Several mechanisms can operate together. Hyperinflation describes an extreme pace of price increases.
A CPI reading measures the change in prices. To identify a cause, compare spending, production, costs and other evidence over the same period. A change in one local grocery basket offers evidence about that basket.
What is an inflationary gap?
An inflationary gap, also called a positive output gap, occurs when an economy produces above its estimated sustainable capacity. Economists compare actual real GDP with estimated potential GDP. If actual real GDP is 102 and estimated potential GDP is 100, the gap is +2% of potential output. If actual GDP is 98, the gap is −2%, sometimes called a recessionary gap.
A positive gap can put upward pressure on prices when demand strains capacity. The gap is an estimate and can change when GDP data or the estimate of potential output is revised. The inflation rate measures what prices did over a stated period. The output gap estimates how far production is from sustainable capacity.
Common questions about CPI
Can I compare two cities using their CPI levels? Compare each city’s percentage change over matching periods. Each index level measures how prices have moved since that series’ reference period. For a dollar comparison between places, price the same basket in both.
How do I use CPI to adjust a payment? If an agreement calls for a straight CPI adjustment, divide the later index by the earlier index and multiply the original payment by that ratio. Follow the agreement’s prescribed series, dates and rounding rules. Other adjustments can use a different formula.
Sources and citation
- Bureau of Labor Statistics, Consumer Price Index questions and answers
- Bureau of Labor Statistics, October 2026 Consumer Price Index release
- Bureau of Labor Statistics, calculating percent changes
- International Monetary Fund, What Is the Output Gap?
- CostInflation, Weekly Grocery Cost for a Family of Four, November 15, 2026 edition. Grocery basket comparisons use observations through November 12.