Inflation Calculator

FINANCE TOOLS

Inflation Calculator

Estimate how much money from one year is worth in another, based on an average annual inflation rate you choose.

$
%
EQUIVALENT VALUE
$0
Original amount$0
Total change$0
Percent change0%
Years compounded0
Disclaimer: This calculator uses a user-selected average annual rate applied via compound growth and is not sourced from official Bureau of Labor Statistics CPI data. It provides a rough estimate for informational purposes only and does not constitute financial advice. For precise historical inflation figures, consult bls.gov.

Inflation Calculator: CPI Formula, Worked Examples & Complete Guide

Written by Magesh | Financial Tools & Calculation Specialist · Last updated July 31, 2026

In two sentences: An inflation calculator uses Consumer Price Index (CPI) data from the Bureau of Labor Statistics to show how much purchasing power a dollar amount has gained or lost between any two years, using the formula Inflation Rate = ((Ending CPI − Starting CPI) ÷ Starting CPI) × 100. This guide breaks down exactly how CPI is measured, the adjustment formula, and worked examples using real historical data.

What Is an Inflation Calculator?

An inflation calculator converts a dollar amount from one year into its equivalent value in another year, based on how much the overall cost of goods and services has changed between those two points in time. The Consumer Price Index, or CPI, measures the average change over time in the prices paid by consumers for a basket of goods and services, and is one of the most widely used measures of inflation in the United States.

The Inflation Calculator Formula

Calculating the inflation rate between two years

Inflation Rate = ((Ending CPI − Starting CPI) / Starting CPI) × 100

Adjusting a dollar amount for inflation

To estimate the adjusted dollar value, multiply your original dollar amount by the ratio of the ending CPI to the starting CPI:

Adjusted Amount = Original Amount × (Ending CPI ÷ Starting CPI)

Discounting a future or nominal amount back to today’s dollars

Future value in today’s dollars = nominal amount ÷ (1 + inflation rate)^years — useful when working with a projected inflation rate rather than historical CPI data.

How CPI Is Actually Measured

To determine how prices are changing, the BLS first asks people how much money they spend on a variety of products and services through the Consumer Expenditure Survey, which reveals how much of a household’s income is spent on certain items. BLS data collectors then visit thousands of stores and other retail establishments on a monthly or bimonthly basis to collect actual prices of goods and services in urban areas throughout the country. Like most U.S. inflation calculators, this data comes from the Consumer Price Index, published monthly by the Bureau of Labor Statistics, which tracks average price changes using a market basket of goods and services that affect consumers most — from food and housing to healthcare and tech gadgets.

What counts as “core” inflation

Because food and energy prices experience higher volatility than other categories due to seasonal demand and global supply chain disruptions, the BLS also measures “core inflation,” which strips out those volatile categories to provide a clearer picture of underlying economic trends.

Worked Examples

Example 1: Calculating the inflation rate between two years

Say you wanted to calculate the rate of inflation between January 2020 and January 2024 using CPI data. First, locate the CPI value for your starting date, then locate the CPI value for your ending date, then subtract the starting CPI from the ending CPI, divide by the starting CPI, and multiply by 100.

If the January 2020 CPI was 257.97 and the January 2024 CPI was 308.42:

Inflation Rate = ((308.42 − 257.97) ÷ 257.97) × 100 ≈ 19.55%

Example 2: Adjusting a dollar amount for inflation

Using the same CPI values, $1,000 in January 2020 has the following equivalent purchasing power in January 2024 dollars:

Adjusted Amount = $1,000 × (308.42 ÷ 257.97) ≈ $1,195.50

This means it would take about $1,195.50 in January 2024 to buy what $1,000 bought in January 2020.

Example 3: Historical inflation before CPI existed

The CPI only goes back as far as 1913. To calculate inflation for a year before then — say, 1800 — analysts take a current price index and compare it against a comparable historical price index constructed from period-appropriate data, dividing the difference by the historical index and multiplying by 100, the same basic formula applied to reconstructed historical price data rather than official CPI figures.

Step-by-Step: How to Use an Inflation Calculator

  1. Enter a dollar amount, the original year, and the target year for comparison.
  2. The calculator retrieves the CPI value for both years from BLS historical data.
  3. It applies the ratio formula to produce your inflation-adjusted amount.
  4. Review the resulting purchasing power comparison — a positive percentage means prices rose (your dollar buys less), reflecting the typical direction of inflation over time.
  5. For future projections beyond the latest available CPI data, the calculator applies an estimated annual inflation rate instead of historical figures.

Why CPI Categories Aren’t Always Straightforward

Housing is a major CPI component, but it doesn’t measure actual home selling prices — instead, it measures owners’ equivalent rent, or what a homeowner would pay to rent their own home instead of owning it. Sometimes prices rise because of quality improvements rather than pure inflation — a laptop that jumps from $1,000 to $1,200 might also have better memory and a faster processor, so the BLS applies a “hedonic adjustment” that removes the price increase attributable to quality gains before counting the rest as inflation.

Practical Ways to Use an Inflation Calculator

An inflation calculator is most valuable when applied to a specific financial decision, not just historical curiosity, since seeing an exact dollar comparison makes the abstract concept of inflation concrete and actionable.

Common financial uses for an inflation calculator

  • Comparing salary offers across years — an inflation calculator can show whether a raise actually increased your real purchasing power, or merely kept pace with (or fell behind) rising prices.
  • Evaluating long-term savings goals — running a retirement or savings target through an inflation calculator reveals how much today’s target amount will actually be worth by the time you reach it, which is essential for realistic planning.
  • Understanding historical price comparisons — an inflation calculator lets you sanity-check claims like “this house cost $30,000 in 1980” by translating that figure into today’s dollars for a fair comparison.
  • Negotiating contracts with cost-of-living adjustments — many long-term contracts and leases tie payment increases to CPI, and an inflation calculator helps both parties verify the calculation is being applied correctly.
  • Analyzing investment returns — comparing a nominal investment return against inflation using the same calculator shows your real (inflation-adjusted) return, which is what actually matters for building wealth over time.

Frequently Asked Questions

What’s the difference between CPI-U and other inflation measures?

CPI-U stands for the Consumer Price Index for All Urban Consumers, and it’s the most commonly cited version of CPI, covering a broad share of the U.S. population. Other measures, like the Fed’s preferred Personal Consumption Expenditures (PCE) index, use different weighting methodology and can produce slightly different inflation readings.

Why does an inflation calculator give a different number than the “official” inflation rate I see in the news?

News headlines often cite year-over-year CPI change for a specific recent month, while an inflation calculator lets you choose any two custom years — the two numbers measure different time spans and can legitimately differ.

Does everything get more expensive at the same rate during inflation?

No — not all items match their inflation-adjusted equivalents; some, like the median cost of a home, may rise faster than overall CPI, while others, like the cost of a computer, can become cheaper over time due to technology and production efficiency gains.

Can I use an inflation calculator to project future prices?

Some inflation calculators offer a forward projection feature using an assumed future inflation rate, though this is inherently less reliable than historical CPI-based calculations, since future inflation rates aren’t known in advance.

Related Calculators

  1. Loan Payment Calculator
  2. Loan Interest Calculator
  3. Personal Loan Calculator
  4. Auto Loan Calculator
  5. Boat Loan Calculator
  6. Heloc-Calculator
  7. Mortgage-Apr-Calculator
  8. RV-Loan-Calculator
  9. EMI Calculator
  10. Compound Interest
  11. Salary Calculator
  12. Retirement Calc

In summary, an inflation calculator turns official CPI data from the Bureau of Labor Statistics into a clear, practical answer about how much a dollar amount has changed in real purchasing power, and understanding the underlying ratio formula helps you interpret any inflation figure with real confidence.


About the author: Magesh is a Financial Tools & Calculation Specialist focused on building and fact-checking online calculators across personal finance and economics topics.

Note: This calculator and article are provided for general educational and informational purposes only and do not constitute financial advice. CPI data is sourced from the U.S. Bureau of Labor Statistics and is subject to periodic revision. Always confirm current figures directly with the BLS for critical financial decisions.