Skip to content

Inflation Calculator Guide: CPI, Purchasing Power and Formulas

7 min read

Ready to calculate?

Use our free Inflation Calculator โ€” no sign-up required.

Open ๐Ÿ“‰ Inflation Calculator

Inflation is one of the main reasons that a sum of money buys less over time. This guide explains what inflation is, how it is measured with the consumer price index, the difference between cumulative and annual inflation, the formulas for future cost and purchasing power, the difference between nominal and real values, how inflation affects savings, investments, salaries and retirement, and why projections are assumptions and not forecasts. It is built around the Inflation Calculator, so you can test each idea with your own numbers.

Key Takeaways

  • Inflation compounds, so cumulative inflation is larger than the sum of the yearly rates.
  • Purchasing power is the amount divided by the price level.
  • Real returns, which adjust for inflation, tell you whether your money is growing in buying power.
  • Rates you enter from statistics are historical; rates you assume are projections, and future inflation is never guaranteed.
  • Test more than one rate, because small differences become large over long periods.

Editorial Review & Inflation Sources

Author

Jitendra Kumar

Founder & Lead Developer

Reviewed by

OmniCalc Editorial Review

Formula QA, source review, and calculator maintenance

Last reviewed

Inflation calculator

The price-level, purchasing-power and average-rate formulas are reviewed against standard definitions and tested with hand calculations. Rates entered from statistics are treated as historical, and everything else is a labelled projection.

Primary Sources

Projections use the rates you assume and are not forecasts. Future inflation is uncertain, and your own inflation will differ from the average. See our sources and methodology and editorial policy.

What inflation is

Inflation is a sustained rise in the general level of prices. When it is positive, the same amount of money buys fewer goods and services each year. It is measured as the percentage change in a price index, most often a consumer price index, between two dates.

Moderate inflation is a normal feature of most economies, and many central banks aim for a low, stable rate. The concern for individuals is not that prices rise but that incomes and savings may not rise as fast, which reduces what they can buy.

  • General rise in prices
  • Measured by a price index
  • Savings and incomes may not keep up

The consumer price index (CPI)

The CPI measures the average change in the prices households pay for a fixed basket of goods and services, including food, housing, transport, healthcare, education and recreation. Statistics agencies collect prices every month, weight them by how much households spend on each item and combine them into an index that is set to 100 in a base period.

The percentage change in the index is the inflation rate. If the CPI rises from 100 to 125, prices have risen 25%. Different countries use different baskets and methods, and some publish several measures, so check which one a figure refers to.

  • A weighted basket of household purchases
  • Index change = inflation
  • Definitions differ between countries

Cumulative versus annual inflation

Annual inflation is the price change over one year. Cumulative inflation is the total change over several years. Because each year's increase applies to prices that have already risen, cumulative inflation is larger than the sum of the annual rates.

The average annual inflation rate over a period is the steady rate that would give the same cumulative result, calculated as the price level raised to the power of one divided by the number of years, minus one. The table in this guide shows the cumulative effect of a few constant rates over 20 years.

  • Cumulative compounds year on year
  • Average annual is the compound rate
  • 3% for 20 years is 80.6%, not 60%

The inflation formulas

The future cost of something is today's price times the price level: price ร— (1 + i)^n for a constant rate i over n years. Purchasing power is the reverse: amount รท (1 + i)^n. The percentage of purchasing power lost is 1 โˆ’ 1 รท (1 + i)^n.

With year-by-year rates, multiply (1 + rate) for each year instead of raising a single factor to a power. The rule of 72 gives a quick estimate of the doubling time of prices: 72 divided by the rate. At 3% prices double in about 24 years, with the exact figure 23.4 years.

  • Future cost = price ร— (1 + i)^n
  • Purchasing power = amount รท (1 + i)^n
  • Rule of 72 for doubling time

Real versus nominal values

A nominal value is the amount in money of the day. A real value is adjusted for inflation, expressed in the money of a chosen year. A balance of 2,000 in 20 years is nominally 2,000, but at 3% inflation it is worth about 1,107 in today's money.

The real return on savings is roughly the nominal return minus inflation. More exactly it is (1 + nominal) รท (1 + inflation) โˆ’ 1. A 5% return with 3% inflation gives a real return of 1.94%, not 2%.

  • Nominal: money of the day
  • Real: adjusted to a chosen year
  • Real return = (1 + nominal) รท (1 + inflation) โˆ’ 1

Historical trends and uncertainty

Inflation changes with economic conditions, supply shocks, interest rates and policy. Many countries had double-digit inflation in the 1970s, then a long period of low and stable inflation, and then a sharp rise in 2021 and 2022 that was the highest in decades for many advanced economies. Some countries have seen hyperinflation, where prices rise by more than half in a month.

This variety is why a projection should be treated as an assumption. The calculator separates yearly rates you enter from official statistics, which are history, from the rate you assume for other years, which is a projection. Neither can tell you what inflation will be.

  • Inflation varies a lot over time
  • History is entered by you from official sources
  • Projections are assumptions, not forecasts

Impact on savings, investments, salaries and retirement

Money held in cash or in accounts that pay less than inflation loses buying power. Investments need to beat inflation to grow in real terms. A salary that rises by less than prices is a real pay cut, and a fixed pension or annuity buys less every year of a long retirement.

For planning, work in today's money where you can, include a cost-of-living increase on income and test more than one inflation rate. The calculator's scenario comparison shows how large the differences become over long periods.

  • Savings: look at the real return
  • Salary: compare raises with inflation
  • Retirement: plan in today's money

Limits of any inflation calculator

A general rate describes the average household, not you. Your own costs may rise faster or slower than the index depending on what you buy. Official indices also change their baskets over time, and a country's measure may differ from the one you need.

Results are only as good as the rates entered. The calculator is an educational tool, and projections based on assumed rates are not guarantees of future inflation or prices.

  • Average inflation is not your inflation
  • Results depend on your rates
  • Projections are not guarantees

Quick reference: Cumulative effect of constant inflation over 20 years

Worked example: the effect of a constant annual inflation rate over 20 years on 1,000. These are hypothetical assumptions and not forecasts of future inflation.

Cumulative effect of constant inflation over 20 years
Annual inflationPrice levelCumulative inflationCost of 1,000 of goodsPurchasing power of 1,000
2%1.48648.6%1,486673
3%1.80680.6%1,806554
4%2.191119.1%2,191456
6%3.207220.7%3,207312
8%4.661366.1%4,661215

Frequently Asked Questions

How much will 1,000 be worth in 20 years at 3% inflation?

It will buy what about 554 buys today. Equivalently, goods costing 1,000 today would cost about 1,806.

What was the cost in the past?

Choose end-year money in the calculator to divide by the price level and find what an amount was worth in an earlier year.

Which inflation rate should I use for planning?

Use a range. Many planners test rates around the long-run target of their central bank and also a higher rate. Check your country's recent rates.

What is the difference between CPI and the inflation rate?

CPI is the index level. The inflation rate is the percentage change in that index over a period.

Why does my own inflation feel different?

Your spending differs from the average basket. Categories such as rent, food and fuel can rise at different rates.

Can I enter data for only some years?

Yes. Years you do not list use your assumed rate, and the calculator shows how many years used your own rates.

Is a negative inflation rate allowed?

Yes, for deflation, down to โˆ’50% a year in this calculator.

How do I find official inflation figures?

Use your country's national statistics agency or central bank. The country selector links to a source for each supported country.

What does purchasing power lost mean?

The amount of buying power you give up, which is the amount minus what it can buy after the price rise.

Does this include interest on my money?

No. It shows the effect of inflation on money that earns nothing. Use the savings or investment calculator to include interest and returns.

Related Guides

Try the Inflation Calculator

Free, instant, and accurate โ€” calculate now.

Open ๐Ÿ“‰ Inflation Calculator