How CPI Is Calculated
The Consumer Price Index is the most widely cited measure of inflation in the United States. It sets Social Security cost-of-living adjustments, shapes interest rate expectations and appears in labor contracts. This guide explains what CPI measures, how the Bureau of Labor Statistics collects prices and builds the index, how to calculate inflation from index values and why your personal inflation rate may differ.
- The CPI measures the average change over time in prices paid by urban consumers for a market basket of goods and services. It is published monthly by the Bureau of Labor Statistics (BLS).
- The index is set to equal 100 for the 1982-84 base period. To find inflation between two months, divide the later index by the earlier one and subtract 1.
- In September 2026, CPI-U was 336.94, up 3.7% from a year earlier. Core CPI, which excludes food and energy, was up 2.6%.
- Different versions of the CPI exist. CPI-W is used to set Social Security cost-of-living adjustments, and CPI-U is the most commonly quoted.
In this article
- What CPI measures
- Step 1: Choose the basket and the weights
- Step 2: Collect the prices
- Step 3: Adjust for quality and substitution
- Step 4: Shelter and owners' equivalent rent
- Step 5: Combine into the index
- Calculating inflation from index values
- Headline vs core CPI
- What CPI is used for
- Why your inflation may differ
- Limitations and criticisms
- Common mistakes
- Frequently asked questions
- Sources
What CPI measures
The CPI tracks the price of a fixed type of basket of consumer goods and services over time, such as food, housing, apparel, transportation, medical care, recreation, education and communication. It measures price changes, not the total amount spent, and it applies to out-of-pocket spending by households. It does not include investments, income taxes or the cost of a home purchase itself.
Two main indexes:
| Index | Population covered | Used for |
|---|---|---|
| CPI-U (all urban consumers) | About 93% of the U.S. population | The headline measure most news reports use |
| CPI-W (urban wage earners and clerical workers) | About 30% of the population | Social Security COLAs and some union contracts. See Social Security COLA |
BLS also publishes a chained CPI (C-CPI-U) that accounts for how consumers shift purchases when prices change, regional indexes and indexes for specific groups, such as the elderly (R-CPI-E).
Step 1: Choose the basket and the weights
The basket is based on the Consumer Expenditure Surveys, which ask households what they spend on. Spending shares become weights. Categories where households spend more count more. Shelter (rent and owners' equivalent rent) is the largest component, at roughly a third of the index, followed by transportation and food. Weights are updated annually using recent spending data. The BLS Handbook of Methods documents the process in detail.
Because weights reflect average spending, the CPI does not match any single household. A renter in a city who does not drive may experience different inflation from a suburban homeowner who commutes. See the BLS household spending data in the BLS consumer expenditure release.
Step 2: Collect the prices
BLS data collectors and economists gather about 80,000 prices each month from roughly 23,000 retail and service establishments, and about 50,000 housing units for rent and owners' equivalent rent data. They sample 75 urban areas. Prices come from store visits, phone calls, websites and, increasingly, scanner data and company-provided data.
Items are sampled so that each price quote tracks the same item over time. When a product disappears or changes, BLS uses a replacement and adjusts for quality changes.
Step 3: Adjust for quality and substitution
Two issues complicate price measurement:
- Quality change. If a new phone model costs the same as the old one but has a better camera, the quality-adjusted price fell. BLS uses methods, including hedonic modeling for some goods, to separate pure price changes from quality changes.
- Substitution. If beef becomes expensive and shoppers buy more chicken, a fixed basket overstates the cost of living. The CPI-U adjusts within categories at the lowest level (such as one type of beef for another) using a geometric mean formula, and the chained CPI adjusts across categories as well.
Seasonal factors are also adjusted for the seasonally adjusted series, which many analysts use for monthly changes.
Step 4: Shelter and owners' equivalent rent
Housing is the trickiest category. For homeowners, the CPI does not use house prices, since buying a home is partly an investment. It uses owners' equivalent rent (OER), which estimates what it would cost to rent a similar home. BLS surveys rents in the housing sample and applies the changes to both renters and owners. Since rents on existing leases update slowly, shelter inflation can lag changes in market rents, which is a frequent source of debate when housing markets turn. See rent vs buy.
Step 5: Combine into the index
BLS computes price changes for each item group in each area, weights them and aggregates into a national index. The index is expressed relative to the base period of 1982 to 1984, which equals 100. A CPI-U of 336.94 means the basket that cost $100 in 1982-84 costs about $336.94 in September 2026.
Calculating inflation from index values
Use this formula:
Inflation rate = (later index ÷ earlier index − 1) × 100
| Index | |
|---|---|
| CPI-U, September 2026 | 336.94 |
| CPI-U, September 2025 | 324.8 |
| Inflation over 12 months | (336.94 ÷ 324.8 − 1) × 100 = 3.7% |
This matches the reported 12-month increase of 3.7%. Something that cost $100 in September 2025 would cost about $103.74 a year later, on average. Try the inflation calculator with your own dates.
You can also convert prices across years. A salary of $50,000 a year ago would need to be $51,869 today to keep the same buying power, if the average inflation applied to you.
Headline vs core CPI
| Measure | What it includes | Why it is used |
|---|---|---|
| Headline CPI | All items | The cost of living across all categories |
| Core CPI | All items less food and energy | Removes volatile categories to show underlying trends |
In September 2026, headline CPI was up 3.7% over 12 months and core CPI was up 2.6%. When energy prices swing, the two can diverge significantly. The Federal Reserve targets 2% inflation using a different measure, the PCE price index, which has different weights and methods. See what is the Federal Reserve and federal funds rate explained.
What CPI is used for
- Social Security COLAs. The annual adjustment is based on the change in CPI-W from the third quarter of one year to the third quarter of the next. See Social Security COLA.
- Tax brackets and deductions. The IRS indexes many amounts, using the chained CPI. See 2026 federal tax brackets.
- Inflation-protected securities. TIPS principal adjusts with CPI-U, and I bond inflation rates are based on CPI-U changes. See I bonds explained.
- Wage and contract adjustments, including some leases, child support and union contracts.
- Economic analysis. Real (inflation-adjusted) wages and returns. See what is inflation.
Why your inflation may differ
CPI is an average. Your own experience can differ because:
- Your spending mix differs. Large shares in rent, health care, tuition or gasoline will move your personal rate.
- Your location matters. Regional price changes vary.
- Your purchases are not average. Buying a car or a home in a particular year can dominate.
- Quality and brand choices differ.
- Retirees often spend more on health care. The experimental R-CPI-E measures this.
To estimate your own rate, list your major expenses, find the price change for each from the BLS category indexes and weight them by your budget share. See how to track spending.
Limitations and criticisms
- Quality adjustments and substitution assumptions are debated.
- Owners' equivalent rent may lag market rent.
- The index covers urban consumers, not rural households.
- Sampling error means monthly changes are approximate, and BLS publishes revisions for seasonal factors but not usually for the index itself.
- Response rates for surveys have declined, and BLS has relied more on alternative data.
Common mistakes
- Confusing the index level with the inflation rate. A rise from 300 to 310 is 3.3%, not 10%.
- Using headline CPI for the Fed's target. The Fed uses PCE.
- Assuming CPI-U equals CPI-W.
- Comparing a monthly change to an annual rate.
- Treating CPI as your personal inflation.
Frequently asked questions
How often is CPI released?
Monthly, usually around the middle of the following month. See the BLS release schedule.
What is the difference between CPI and PCE?
PCE (personal consumption expenditures) is the Fed's preferred measure. It has a broader scope and different weights, and tends to run slightly lower than CPI.
Does CPI include housing prices?
No, not home purchase prices. It includes rent and owners' equivalent rent.
What is core CPI?
CPI excluding food and energy prices, used to see underlying inflation trends.
How is CPI used for Social Security?
CPI-W's third-quarter average, compared with the previous year's, sets the cost-of-living adjustment applied the following January.
Sources
Disclaimer: This page is for educational purposes only and is not financial, tax or legal advice. Figures are estimates based on the assumptions shown. See our full disclaimer and editorial policy.