How to Calculate CPI Between Two Years
Use this premium CPI calculator to measure inflation, compare purchasing power, and convert dollar values from one year to another using U.S. CPI-U annual averages.
Results
Select two years and click Calculate CPI Change to see inflation metrics.
Expert Guide: How to Calculate CPI Between Two Years
If you have ever asked, “How much would this price be in today’s dollars?” or “How much inflation happened between two years?”, you are really asking how to calculate CPI between two years. CPI, short for Consumer Price Index, is one of the most widely used tools for measuring inflation and changes in purchasing power. Learning this calculation gives you a practical edge for budgeting, salary analysis, retirement planning, legal settlements, business forecasting, and historical comparisons.
At its core, CPI compares the average change in prices paid by urban consumers for a market basket of goods and services over time. In the United States, this index is published by the U.S. Bureau of Labor Statistics (BLS). You can explore official CPI data at bls.gov/cpi. For fast conversions, BLS also provides an official calculator at bls.gov/data/inflation_calculator.htm.
What CPI Measures and Why It Matters
CPI is not just one number in the news. It is an index built from thousands of observed prices across categories like housing, food, transportation, medical care, education, and recreation. When CPI rises, it indicates that average prices are rising over time. That means each dollar buys less than before. When CPI growth slows, inflation is cooling. If CPI falls for a sustained period, that can suggest deflation.
Here is why calculating CPI between two years is so useful:
- Purchasing power comparisons: Translate old prices into current dollars.
- Salary fairness checks: Determine whether your pay kept up with inflation.
- Contract indexing: Adjust rents, pensions, or payments tied to inflation clauses.
- Business planning: Compare historical costs in inflation-adjusted terms.
- Investment context: Separate nominal gains from real gains.
The Core CPI Formula Between Two Years
The standard calculation is straightforward:
- Find CPI for the start year.
- Find CPI for the end year.
- Divide end-year CPI by start-year CPI.
- Use that ratio to compute inflation rate or adjusted dollar value.
Inflation Rate (%)
Inflation Rate = ((CPI End / CPI Start) – 1) × 100
Adjusted Value
Adjusted Value = Amount in Start Year × (CPI End / CPI Start)
Example: Suppose CPI in 2010 is 218.056 and CPI in 2023 is 305.349. If you want to convert $100 from 2010 dollars into 2023 dollars:
$100 × (305.349 / 218.056) = about $140.03
So, what cost $100 in 2010 would cost roughly $140 in 2023, based on average CPI-U movement.
Step-by-Step Method You Can Use Every Time
- Select your years carefully. Use annual averages if comparing full years. Use monthly values if precision by month matters.
- Pull CPI values from a reliable source. The BLS is the primary U.S. source.
- Run the CPI ratio. End CPI divided by start CPI gives your inflation factor.
- Apply the factor. Multiply any historical dollar amount by that factor.
- Interpret the output. The result tells you equivalent purchasing power, not exact market price of every item.
Real Statistics: CPI-U Annual Averages (1982-84 = 100)
The following table uses widely cited BLS annual average CPI-U values for recent years, useful for inflation comparisons and quick calculations.
| Year | Annual Average CPI-U | Approx. Year-over-Year Inflation |
|---|---|---|
| 2018 | 251.107 | 2.44% |
| 2019 | 255.657 | 1.81% |
| 2020 | 258.811 | 1.23% |
| 2021 | 270.970 | 4.70% |
| 2022 | 292.655 | 8.00% |
| 2023 | 305.349 | 4.34% |
Notice how inflation accelerated sharply from 2021 to 2022 and then eased in 2023. This table also shows why comparing only one year can be misleading. Inflation is cumulative, and even moderate annual increases stack over time.
Comparison Table: How $100 Changes Across Time
Using CPI-U annual averages and 2023 as the target year, here is what $100 from selected start years converts to:
| Start Year | Start CPI | 2023 CPI | $100 in Start Year Equals in 2023 | Cumulative Increase |
|---|---|---|---|---|
| 2000 | 172.200 | 305.349 | $177.32 | 77.32% |
| 2010 | 218.056 | 305.349 | $140.03 | 40.03% |
| 2015 | 237.017 | 305.349 | $128.83 | 28.83% |
| 2020 | 258.811 | 305.349 | $117.98 | 17.98% |
Important CPI Variants You Should Know
When people say “CPI,” they often mean CPI-U (All Urban Consumers), but there are multiple index series. Choosing the right one matters.
- CPI-U: Most commonly referenced broad measure in U.S. headlines.
- CPI-W: Focuses on urban wage earners and clerical workers; used in some benefit adjustments.
- Core CPI: Excludes food and energy to reduce short-term volatility.
- Chained CPI: Attempts to account for substitution behavior as relative prices shift.
If your contract, legal case, or policy document specifies a CPI series, use that exact series. You can verify definitions and methodology in the BLS CPI Handbook at bls.gov/opub/hom/cpi.
Annual Data vs Monthly Data
Annual averages are best for broad, long-range comparisons. Monthly CPI is better when timing matters, such as lease indexation dates, legal damages tied to a specific month, or compensation adjustments effective in a specific pay period. If your calculation asks “from June 2019 to June 2024,” do not use annual averages. Use monthly data points from those exact months.
Common Mistakes When Calculating CPI Between Two Years
- Mixing index series: Using CPI-U for one year and CPI-W for another invalidates the result.
- Using percentage points incorrectly: Inflation is multiplicative over time, not additive.
- Ignoring monthly timing: Averages can hide short-term swings.
- Assuming CPI equals your personal inflation: Your household spending pattern can differ significantly.
- Reversing the ratio unintentionally: End divided by start is the standard conversion factor.
How to Interpret Results Like a Professional
Suppose your calculator shows cumulative inflation of 25% between two years. That does not mean every item rose 25%. Housing might have risen more in some areas, while electronics may have become cheaper relative to quality. CPI is a weighted average across categories and locations. It is excellent for macro comparisons, but individual budgets can diverge from headline CPI.
When evaluating salary or investment performance, adjust nominal numbers into real terms:
- Convert past dollars to current dollars with CPI ratio.
- Compare inflation-adjusted values instead of raw amounts.
- Use annualized inflation when comparing periods of different lengths.
This calculator also reports annualized inflation, which smooths total inflation across years and helps with apples-to-apples comparisons.
Advanced Use Cases
- Compensation benchmarking: Compare historic salary offers to today’s equivalent compensation.
- Business pricing strategy: Measure whether your price increases kept pace with aggregate inflation.
- Policy and grants: Deflate historical program budgets into constant dollars.
- Education and research: Build inflation-adjusted trend charts for tuition, health care, housing, and wages.
Practical Example With Full Workflow
Imagine you earned $52,000 in 2016 and want to understand its 2023 equivalent purchasing power. Using CPI-U annual averages: 2016 CPI is 240.007 and 2023 CPI is 305.349.
- Compute ratio: 305.349 / 240.007 = 1.2722 (approx.)
- Adjust salary: $52,000 × 1.2722 = about $66,154
- Interpretation: You would need roughly $66,154 in 2023 to match 2016 purchasing power.
If your actual 2023 salary is lower than that adjusted value, your real purchasing power likely declined, even if your nominal salary increased.
Bottom Line
Learning how to calculate CPI between two years is one of the most practical financial skills you can use. The method is consistent: choose the correct CPI series, get reliable values, compute the CPI ratio, and apply it to your dollar amount. Whether you are analyzing wages, setting contract terms, valuing historical costs, or planning long-term goals, CPI-based adjustments let you make decisions in real, inflation-adjusted terms rather than nominal numbers that can be misleading.
Note: This page uses annual average CPI-U values for convenient educational calculations. For legal, contractual, or highly time-sensitive decisions, verify exact CPI series and monthly values directly from the BLS database.