How to Calculate the Rate of Inflation Between Two Years
Use CPI values to find cumulative inflation, annualized inflation, and purchasing power changes.
Formula used: Inflation Rate = ((End CPI – Start CPI) / Start CPI) × 100
Expert Guide: How to Calculate the Rate of Inflation Between Two Years
Inflation is one of the most important concepts in personal finance, business planning, and economic analysis. At a practical level, inflation tells you how much prices have changed over time. If you want to compare the cost of living in one year versus another, evaluate a salary offer, adjust long term contracts, or understand purchasing power, you need to calculate inflation correctly. This guide explains exactly how to do that in a clear and reliable way.
The most common way to calculate inflation between two years is by using an official price index. In the United States, the most widely used measure is the Consumer Price Index for All Urban Consumers, commonly called CPI-U, published by the U.S. Bureau of Labor Statistics. CPI-U tracks the average price changes paid by urban consumers for a representative basket of goods and services such as housing, food, transportation, medical care, and more.
Why inflation calculations matter
- Budgeting: You can estimate how much a monthly budget needs to increase to maintain the same lifestyle.
- Salary analysis: A nominal raise can still mean a real pay cut if inflation is higher than wage growth.
- Investment decisions: Real returns are nominal returns minus inflation.
- Contract indexing: Some leases, pensions, and support payments are adjusted with CPI based formulas.
- Historical comparisons: Converting values into constant dollars makes year to year comparisons meaningful.
The core inflation formula between two years
To calculate cumulative inflation between a start year and an end year, use:
Inflation rate (%) = ((End CPI – Start CPI) / Start CPI) × 100
Example: if CPI in 2019 is 255.657 and CPI in 2023 is 305.349:
- Subtract: 305.349 – 255.657 = 49.692
- Divide by start CPI: 49.692 / 255.657 = 0.1944
- Convert to percent: 0.1944 × 100 = 19.44%
That means general consumer prices increased by about 19.44% over the period. Put differently, something that cost $100 in 2019 would cost about $119.44 in 2023 on average if it moved in line with CPI.
How to convert money values across years
Inflation rate percentages are useful, but many people need dollar translations. For that, use the CPI ratio:
- Future value in end year dollars = Start amount × (End CPI / Start CPI)
- Past equivalent in start year dollars = End amount × (Start CPI / End CPI)
If you had $50,000 in 2019 and want to know the equivalent in 2023 purchasing terms, multiply by 305.349 / 255.657. The result is approximately $59,720. In other words, you would need roughly $59,720 in 2023 to match the 2019 buying power of $50,000.
Cumulative inflation vs annualized inflation
Cumulative inflation tells you total price change over the whole period. Annualized inflation gives an average yearly rate that compounds to the same total change. Annualized is useful when comparing periods with different lengths.
Annualized inflation (%) = ((End CPI / Start CPI)^(1 / number of years) – 1) × 100
Using 2019 to 2023 (4 years), the annualized pace is approximately 4.54% per year. This does not mean each year had identical inflation. It means a steady 4.54% compounded yearly would produce the same overall change as the observed CPI movement.
Real data example: US CPI-U annual averages
| Year | CPI-U Annual Average | Approx YoY 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% |
Source basis: U.S. Bureau of Labor Statistics CPI-U annual average series. Percentages rounded.
Comparison table: inflation across selected periods
| Period | Start CPI | End CPI | Cumulative Inflation | What $100 became |
|---|---|---|---|---|
| 2019 to 2020 | 255.657 | 258.811 | 1.23% | $101.23 |
| 2020 to 2021 | 258.811 | 270.970 | 4.70% | $104.70 |
| 2021 to 2022 | 270.970 | 292.655 | 8.00% | $108.00 |
| 2022 to 2023 | 292.655 | 305.349 | 4.34% | $104.34 |
| 2019 to 2023 | 255.657 | 305.349 | 19.44% | $119.44 |
Step by step process you can follow every time
- Choose the correct index and geography. For US consumer inflation, CPI-U is the standard choice.
- Use consistent data definitions for both years, such as annual average CPI in both cases.
- Record start CPI and end CPI values.
- Apply the inflation formula to get cumulative change.
- If needed, compute annualized inflation for period comparison.
- Convert nominal dollar amounts with the CPI ratio for purchasing power analysis.
- Round only at the end to reduce calculation drift.
Common mistakes and how to avoid them
- Mixing monthly and annual data: Do not compare a monthly CPI value to an annual average unless your method explicitly calls for it.
- Using different index bases: Ensure both values come from the same CPI series.
- Assuming personal inflation equals CPI: Your household spending mix may differ from the national basket.
- Ignoring time span length: Cumulative inflation over 10 years and 2 years cannot be compared directly without annualizing.
- Rounding too early: Keep more precision through intermediate steps.
Which inflation index should you use?
CPI-U is the headline benchmark for many use cases, but it is not the only inflation measure. Some analysts use core CPI (excluding food and energy) to see underlying trends, while macroeconomic policy discussions often reference the Personal Consumption Expenditures Price Index (PCE) from the U.S. Bureau of Economic Analysis. The right choice depends on your purpose:
- Use CPI-U for consumer cost comparisons and most wage or contract adjustments.
- Use specialized sub-indexes if you need category specific analysis, such as shelter or medical care.
- Use PCE for certain monetary policy and broad macro analysis.
Practical use cases
Suppose you are evaluating a job offer from 2021 to 2023. If your salary rose from $70,000 to $74,000, that is a nominal increase of 5.71%. But if cumulative inflation over the same period was higher than your salary change, your real purchasing power fell. This is exactly why inflation adjustment is essential for fair comparisons.
Another common case is long term planning. A family estimating college, healthcare, or retirement expenses should model costs in future dollars, then translate them back to real purchasing terms. Inflation is often one of the biggest variables in whether a financial plan succeeds.
Authoritative sources for CPI and inflation data
- U.S. Bureau of Labor Statistics CPI portal (.gov)
- BLS Inflation Calculator (.gov)
- U.S. Bureau of Economic Analysis PCE Price Index (.gov)
Final takeaway
To calculate the rate of inflation between two years, you only need two consistent index values and one formula. Start with reliable CPI data, apply the percentage change method, and then convert dollar amounts using the CPI ratio when needed. For deeper analysis, include annualized inflation and compare multiple periods. When done carefully, this process gives you a strong foundation for better decisions in compensation, budgeting, investing, and long term financial planning.