Skip to content

Inflation calculator

what money from year A is worth in year B

Example figures, change them

In the currency of the country you chose.

More options (1)

Consumer price index: World Bank, indicator FP.CPI.TOTL (2010 = 100), via Lipi (World Bank indicator page)

What it is

Inflation is the general rise in prices over time. This calculator takes an amount, a country and two years, and shows what the amount from the first year is worth in the second year, how much prices changed in total, and the average yearly inflation in between.

It uses the consumer price index (CPI), a number that statistics offices publish to track the cost of a typical basket of goods and services that households buy. The World Bank collects the national indexes, and Lipi serves them with the base year 2010 = 100.

Why it matters

Prices move every year, so a sum of money does not buy the same things at two different dates. Putting an old amount and a new amount in the same year's money makes them comparable: a salary from 2000, a price in a family story, a savings goal set years ago.

The national figure is an average. It measures a typical basket, so it can differ from what you notice in your own life. Rent, school fees, food and fuel weigh differently for each household, and prices in your city may move faster or slower than the country as a whole. The result describes past price changes and is not a forecast.

How to use this tool

  1. The calculator opens on a country with example figures: 1,000 from twenty years before the latest year to the latest year. Pick another country from the list if you like.
  2. Enter an amount in the currency of that country.
  3. Enter the year the amount comes from and the year you want it compared with. Either order works.
  4. Read the amount in the second year's money, the total price change and the average yearly inflation.
  5. The two charts and the table follow your years. Open More options to compare with a second country, download the table as CSV, or share the link with the same inputs.

Formula

index(year) = consumer price index of that year (2010 = 100)

adjusted amount = amount x index(to year) / index(from year)
total change = index(to year) / index(from year) - 1
average yearly inflation = (index(to year) / index(from year))^(1 / years) - 1
change on the year before = index(year) / index(year - 1) - 1

Worked example

Take 100 US dollars in 2000 and compare it with 2024. The World Bank index for the United States is 78.97 in 2000 and 143.86 in 2024 (source: World Bank, FP.CPI.TOTL).

Adjusted amount: 100 x 143.86 / 78.97 = about 182.17 US dollars. Total price change: 143.86 / 78.97 - 1 = about 82.2%. Average yearly inflation over 24 years: (143.86 / 78.97)^(1 / 24) - 1 = about 2.53% a year.

So an item that cost 100 in 2000 would cost about 182 in 2024 if its price moved like the average basket. Reading the result the other way, 182.17 in 2024 buys about what 100 bought in 2000.

Common mistakes

  • Comparing amounts from different years without adjusting them. 100 in 2000 and 100 in 2024 are not the same purchasing power.
  • Reading the national figure as personal inflation. Your own basket and your own city can move differently from the average.
  • Using the amount in the wrong currency. The index belongs to a country, so enter the amount in that country's currency.
  • Treating a percentage change in the index as a percentage-point change. An index moving from 100 to 120 is 20%, not 20 points of inflation.
  • Reading the average yearly figure as what happened every year. Single years can be far above or below the average.

Questions people ask

What does the consumer price index measure?

The consumer price index (CPI) measures the change over time in the price of a fixed basket of goods and services that households buy, such as food, housing, transport and clothing. Each national statistics office decides the basket and the weights. Inflation is the percentage change of the index between two dates.

What does base year 2010 = 100 mean?

The index is set to 100 in 2010 so that other years read as a comparison with it. An index of 150 means average prices are 50% higher than in 2010, and 80 means 20% lower. The base year only sets the scale: the ratio between any two years is the same whichever base is used.

Why does the calculator differ from the prices I see around me?

The index is a national average over a typical basket. Your spending may lean toward items whose prices moved more, such as rent, fuel, tuition or imported goods, and prices differ between cities. The average can still be a useful reference for the general level of prices.

Why do some countries start later than others?

The World Bank series begins in different years for each country, depending on when the national index was first published. Years with an index so close to zero that the ratio would be meaningless, such as periods of hyperinflation, are left out, so some countries begin later than the data suggests.

Can I go backwards from a recent year to an older one?

Yes. Put the later year first and the earlier year second. The result shows what the amount would have been worth in the earlier year, and the average yearly figure is the inflation between the two years.

Is the amount I type stored anywhere?

No. The calculation runs in your browser. If you copy the link, the inputs are in the link, so share it only with people you want to see them.

Sources

Lipi Technology editorial, reviewed

The ideas behind these tools, in plain words: the guide

Educational use only, not financial advice. Results come only from the numbers you enter. Read the disclaimer