How CPI Is Calculated
- Source: BLS CPI-U
- Data through October 2026
- Last updated November 12, 2026
The Consumer Price Index tracks what a fixed basket of goods and services costs consumers, and BLS publishes it as an index. The 1982 to 1984 average is set to 100. Inflation is the percent change between two index values: later minus earlier, divided by earlier. To adjust a dollar amount, multiply it by the later index and divide by the earlier one.
Formula: Inflation rate = (CPI later ÷ CPI earlier − 1) × 100
The rates on the inflation rate by year page and the results in the calculators all come from the method below.
On this page
What CPI stands for
The Consumer Price Index (CPI) is a monthly index number that the U.S. Bureau of Labor Statistics (BLS) publishes to track price changes. On this site, CPI always means CPI-U, U.S. city average, all items, not seasonally adjusted. It has nothing to do with the Cost Performance Index, which is a project management measure of cost efficiency. If you came here for that one, this is the wrong page.
The Consumer Price Index measures how much the prices consumers pay change over time. BLS says it covers a representative basket across eight major spending groups, and that it includes sales and excise taxes but leaves out income taxes, Social Security taxes and investments. The detail is in the BLS questions and answers.
How to calculate the inflation rate from CPI values
Once you have two published index values, the math is short. Three formulas cover almost everything on this site.
Percent change = (later CPI − earlier CPI) ÷ earlier CPI × 100
Adjusted amount = amount × (later CPI ÷ earlier CPI)
Average yearly rate = (later CPI ÷ earlier CPI) ^ (12 ÷ months between) − 1
The first is the method BLS gives in its guide to using the CPI for escalation. As a check, that guide's own example uses 232.945 and 229.815, which gives a change of 1.4%. The second formula is the same ratio applied to money. The third spreads a multi-year change over time as a compound rate, which is why it only appears for spans of a year or more.
| Step | What you do | Result |
|---|---|---|
| 1 | Look up the earlier index (April 2000) | 171.300 |
| 2 | Look up the later index (May 2022) | 292.296 |
| 3 | Divide later by earlier | 1.7063 |
| 4 | Subtract 1 and multiply by 100 for the percent change | 70.63% |
| 5 | Multiply the $100 amount by the ratio | $170.63 |
| 6 | Spread the change over 265 months as a yearly rate | 2.45% |
Try the same numbers
Open this exact example in the calculator and compare each figure with the table above.
Open the exampleRun the ratio the other way, earlier divided by later, and you get purchasing power: how much of the earlier dollar is left. That is what the purchasing power calculator reports, and the purchasing power definition page walks through it.
What the index measures
The index is a number, not a price. BLS sets the average price level of 1982 to 1984 to 100 and measures every other month against it. An index of 110 means prices are 10 percent higher than in that base period, and an index of 337.511, the value for October 2026, means they are about 3.38 times as high.
A single index value tells you very little by itself. What matters is the ratio between two of them. That ratio is the whole idea behind every calculator on this site.
How BLS builds the index
BLS builds the number in two stages. First it computes a basic index for each combination of an item category and a geographic area, using price changes from the sampled stores and services. BLS lists 243 basic items across 32 index areas. Then it combines those basic indexes into published ones, such as the U.S. city average for all items, using expenditure weights.
- Weights. They come from the Consumer Expenditure Surveys, which record what households spend. BLS updates the weights each January, and they stay fixed for the year.
- Prices. BLS says it records prices for about 80,000 items each month, collected in person, online and by phone.
- Averaging. Within most item categories BLS averages price changes with a geometric mean. At the upper level the CPI-U uses a modified Laspeyres formula, which is a fixed-weight average.
BLS explains the full procedure in its Handbook of Methods. You do not need any of it to use the index, only the published values.
Which CPI series this site uses
BLS publishes several CPI series, and mixing them is the most common reason two sites disagree.
- CPI-U covers all urban consumers, which BLS says is over 90 percent of the U.S. population. This is the series behind most inflation headlines and the one used here.
- CPI-W covers urban wage earners and clerical workers, about 30 percent of the population by BLS's count. The Social Security Administration bases cost-of-living adjustments on CPI-W, so it is not used on this site. The Social Security COLA by year page compares the two.
- Seasonally adjusted versus not. BLS says seasonally adjusted data is inappropriate for escalation, because the adjustment is meant for current analysis and the figures are revised. This site uses the not seasonally adjusted series (CUUR0000SA0) on every page.
Where the data on this site comes from
The index values stored in the calculators are BLS data. Monthly values and annual averages from 1913 through 2024 come from the BLS historical CPI-U tables, and later months from the BLS CPI-U table. The latest month in the data is October 2026.
BLS says the CPI-U and CPI-W are final when first published and are not routinely revised, so a number stored today should not change later. Monthly values before 2007 carry one decimal and later ones carry three, which is how BLS prints them.
ConsumerInflation.com is not affiliated with or endorsed by BLS. The name appears here only to credit the source, and the site does not use the BLS logo.
The missing month: October 2025
BLS could not collect October 2025 price survey data during the lapse in appropriations. It carried forward September prices, did not issue an October 2025 news release, and did not publish October indexes for most CPI series, according to its own explanation.
This site treats October 2025 as missing. It does not estimate or interpolate the month. If you pick it, the calculators say so and offer the nearest published months, September 2025 and November 2025. For the same reason, the table of yearly rates leaves the 2025 annual average empty, and the 12-month rate for that month is blank.
Related calculators and guides
- Inflation rate by yearEvery yearly rate this method produces, back to 1914.
- Inflation calculatorRun the formula on any two dates.
- Purchasing power calculatorThe same ratio, turned around.
- Salary inflation calculatorThe same ratio applied to pay.
- What is CPIWhat the index counts and leaves out, without the formulas.
- Social Security COLA by yearThe CPI-W in use, beside the CPI-U.
Sources
- BLS: Consumer Price Index questions and answers. What the CPI measures, CPI-U and CPI-W coverage, price collection, revisions.
- BLS Handbook of Methods: CPI calculation. How basic indexes and published indexes are built.
- BLS: How to Use the CPI for Escalation. The percent change method and the case against seasonally adjusted data.
- BLS historical CPI-U tables. Index values through 2024.
- BLS CPI-U table for 2025 and 2026. Index values after 2024.
- BLS: 2025 federal government shutdown impact on the CPI. Why October 2025 has no value.
- Social Security Administration: latest COLA. COLAs are based on CPI-W.
Who built this page and how it is checked
I wrote this explainer with the help of AI from BLS's own documentation, mainly its CPI questions and answers, the Handbook of Methods and the escalation guide, and each fact was checked against those pages before use. The formulas were tested by reproducing the example in the BLS escalation guide and by running the April 2000 to May 2022 case through the same stored index values the calculators use. The stored values carry the month of the latest BLS release, which the bar at the top of every page shows. Where no current BLS source turned up for a detail, it was left out.
Last updated November 12, 2026. Data through October 2026.
Frequently asked questions
Is CPI the same as the Cost Performance Index?
No. This site is about the Consumer Price Index from the Bureau of Labor Statistics. The Cost Performance Index is a project management measure and is not covered here.
What does 1982 to 1984 = 100 mean?
BLS sets the average price level of those three years to 100 and measures every other index value against it. An index of 200 would mean prices are double that base period.
Why is the index not the same thing as the inflation rate?
The index is a level. The inflation rate is the percent change between two levels. An index of 337.511 does not mean 337.5 percent inflation, it means prices are about 3.4 times the 1982 to 1984 level.
Does BLS revise the CPI-U?
Not routinely. BLS says the CPI-U is final when first published and is corrected only in rare cases of error.
Is the CPI the same as my cost of living?
No. It is an average across a broad basket and many households. Your own costs, such as rent or fuel, can move faster or slower. See the salary inflation calculator for how to read the gap.
How do you calculate the inflation rate between two dates?
Subtract the earlier CPI from the later CPI, divide by the earlier CPI, and multiply by 100. For September 2025 to September 2026, that is (336.940 minus 324.800) divided by 324.800, which is 3.7%. The inflation calculator runs the same steps for any two months.
What happens to the missing October 2025 month?
This site leaves it missing. The calculators offer the nearest published months and never estimate a value. See the section above for BLS's own explanation.
General information only, not financial, tax, legal or investment advice. CPI measures the average price change for a broad basket, and your own costs can rise faster or slower.