Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Inflation Calculator

Inflation Calculator

Calculate how inflation changes the value of money over time using real CPI data from the World Bank for 49+ countries.

What Is the Inflation Calculator?

The Inflation Calculator helps you understand how the purchasing power of money changes over time. By using real Consumer Price Index (CPI) data from the World Bank, it shows you the equivalent value of an amount of money across different years.

Real-world example: $100 in 2010 does not buy the same goods and services as $100 today. Inflation gradually erodes the value of money, and this tool quantifies exactly how much.

Two Calculation Modes

Historical

Historical Mode

Uses actual CPI data to calculate how prices have changed between any two years.

  • Based on real economic data
  • Understand past inflation trends
  • Compare real value across time periods
Future

Future Projection Mode

Estimate how inflation will affect purchasing power in coming years based on expected annual rate.

  • Customizable inflation rate
  • Financial planning tool
  • Retirement projections

Data Source

All historical calculations are based on the World Bank's Consumer Price Index indicator (FP.CPI.TOTL), with a base year of 2010 = 100. Data is available for 49+ countries and is updated annually.

Data availability: CPI data is typically published with a 1–2 year delay. The calculator automatically uses the most recent available data.

How to Use the Calculator

Calculate Historical Inflation

1

Enter an Amount

Type a value or use the slider to set the amount of money you want to adjust for inflation.

2

Select a Country

Choose from 49+ countries. The tool auto-detects your location, but you can search by name, currency code, or country code.

3

Choose Start and End Years

Select the time period to compare. Use the quick presets (5, 10, 20, or 50 years) for common ranges.

4

View Results

The calculator instantly shows the equivalent value, total inflation percentage, average annual rate, and purchasing power change.

Project Future Inflation

1

Switch to Future Projection

Use the toggle at the top to activate Future Projection mode.

2

Set Expected Inflation Rate

Use the slider or input field to define your expected annual inflation rate.

3

Choose Projection Period

Select start and end years for your forecast.

4

Review the Projection

See how much your money's value could change over the selected period.

Exploring the Results

Summary Cards

Display key metrics: Total Inflation, Average Annual Rate, and Purchasing Power at a glance.

Buying Power Gauge

Visual representation showing how much value your money has gained or lost over time.

Inflation Trend Chart

Plots annual inflation rates as bar chart (shorter periods) or line chart (longer periods).
Pro tip: Click Year-by-Year Breakdown to expand a detailed table with annual rates, cumulative inflation, and adjusted values for each year in the range.

Key Features

Real World Bank CPI Data

All historical calculations use official Consumer Price Index data published by the World Bank.

  • 49+ countries covered
  • Decades of historical data
  • Accurate economic indicators

49+ Countries with Auto-Detection

Supports countries across all major regions with automatic location detection.

  • Americas, Europe, Asia, Oceania, Africa
  • Auto-detect your location
  • Search by name, currency, or code

Historical & Future Modes

Analyze past inflation trends or project future value changes.

  • Real historical CPI data
  • Custom future projections
  • Financial planning support

Interactive Charts

Adaptive visualization that adjusts to your selected time range.

  • Bar chart for ≤30 years
  • Line chart for longer periods
  • Color-coded: red (inflation), green (deflation)

Detailed Breakdown Table

Comprehensive year-by-year analysis at your fingertips.

  • Annual inflation rates
  • Cumulative inflation tracking
  • Adjusted values per year

Smart Currency Handling

Automatic currency adaptation when switching countries.

  • Auto-update currency symbols
  • Appropriate default amounts
  • Optimized for high-denomination currencies
Privacy guaranteed: All calculations are performed entirely in your browser. No personal data or financial information is sent to any server.

Frequently Asked Questions

What is CPI and how does it measure inflation?

The Consumer Price Index (CPI) tracks the average change in prices paid by consumers for a basket of goods and services over time. When CPI increases, it indicates inflation — meaning the same amount of money buys less than before.

This calculator uses CPI data with a base year of 2010 = 100. If the CPI for a given year is 120, it means prices have increased by 20% compared to 2010.

Why doesn't the data include the current year?

The World Bank publishes CPI data annually, typically with a 1–2 year delay. For example, complete data for a given year usually becomes available in the second or third quarter of the following year.

The calculator automatically uses the most recent data available, ensuring accuracy over timeliness.

What is purchasing power?

Purchasing power represents the real value of money after adjusting for inflation. It answers the question: "How much can this money actually buy?"

Example: If $1.00 in 2010 has a purchasing power of $0.75 in 2024, it means that $1.00 today only buys what $0.75 would have bought in 2010. The lower the purchasing power, the more inflation has eroded the value of money.

How is the average annual rate calculated?

The average annual inflation rate is calculated using the Compound Annual Growth Rate (CAGR) formula:

  • Take the ratio of CPI values between the end and start years
  • Raise it to the power of 1 divided by the number of years
  • Subtract 1 to get the rate

This gives a smoothed annual rate that accounts for compounding, providing a more accurate representation than a simple arithmetic average.

What does Future Projection mode do?

Future Projection mode estimates how inflation will change the value of money over a future period based on an expected annual inflation rate that you set.

It uses compound interest mathematics to project:

  • Adjusted value of your amount
  • Total inflation percentage
  • Purchasing power change
Important note: This is useful for financial planning, but actual future inflation may vary significantly from projections. Use conservative estimates for long-term planning.

Why do some countries have less data than others?

Data availability depends on each country's reporting to the World Bank. Some countries have CPI records going back to the 1960s, while others may only have data from the 1990s or later.

The year range dropdown automatically adjusts to show only the years with available data for each selected country, ensuring all calculations are based on real data.

Can I compare inflation between two different countries?

This calculator focuses on inflation within a single country at a time. To compare inflation between countries, you can switch between countries and note the results for each.

Why not direct comparison? Direct cross-country comparison would require exchange rate adjustments and consideration of currency fluctuations, which is beyond the scope of this tool. Each country's CPI measures domestic price changes in its own currency.
$
$100 in 2020
=
$100 in 2025
Total Inflation 0%
Avg. Annual Rate 0%
Purchasing Power $1.00

Buying Power Change

$100 $100

Annual Inflation Rate

Data source: World Bank — Consumer Price Index (2010 = 100).

Note: Annual CPI data is typically published with a 1–2 year delay. The most recent year available may not be the current year.

Use Quick Presets (5, 10, 20, 50 years) to quickly compare common time periods
Switch to Future Projection mode to estimate how much prices will rise based on an expected inflation rate
Type a country name, currency code, or country code in the search box to quickly find a country
Click Year-by-Year Breakdown to see detailed annual inflation rates and cumulative changes
The chart automatically switches between bar (under 30 years) and line (over 30 years) for better readability
All calculations are performed in your browser — no data is sent to any server
Want to learn more? Read documentation →
1/7
Can't find it? Build your own tool with AI
Start typing to search...
Searching...
No results found
Try searching with different keywords