How this inflation calculator works
Inflation is the rise in prices that makes each dollar buy less over time. This calculator answers two questions: what an amount from one year is worth in another year, and how much buying power today’s money will lose in the future.
Past prices: the CPI ratio
For the past, we use the Consumer Price Index for All Urban Consumers (CPI-U), the government’s main measure of what households pay for a typical basket of goods and services: food, rent, gasoline, medical care, and more. Each year gets one number, the annual average index, and the value of money between any two years is the ratio of those numbers.
Value in year B = Amount × CPI(B) ÷ CPI(A)
The CPI-U averaged 82.4 in 1980 and 321.943 in 2025, so $100 in 1980 had the same buying power as about $390.71 in 2025. Put the other way, a 2025 dollar buys roughly 26 cents’ worth of 1980 goods.
Future prices: compounding
Nobody knows future inflation, so for the future you pick a steady yearly rate and the calculator compounds it:
Future cost = Amount × (1 + rate)^years
At 3% a year, something that costs $100 today will cost about $180.61 in 20 years. Flip it around and $100 kept as cash will buy only about $55.37 worth of today’s goods by then. A handy shortcut is the rule of 72: divide 72 by the inflation rate to estimate how many years it takes prices to double (72 ÷ 3 ≈ 24 years).
Reading the visuals
- The shrinking dollar draws two bills whose areas match their buying power. The dashed outline shows the size the later bill would have been if prices had stayed put.
- The price chart starts at $1 in the first year and shows what that same basket cost every year after. Steep stretches, like the 1970s, are periods of high inflation.
Things to keep in mind
- Your inflation may differ. The CPI tracks an average urban household. If you spend more on rent, health care or college, your personal inflation rate may run higher.
- Deflation happens, though rarely. Prices fell sharply in the early 1930s, so some spans show a dollar gaining buying power.
- Raises and returns should beat inflation. A 3% raise in a 3% inflation year leaves you exactly where you were.