ForHosting KIT · Finance & money

Inflation-adjusted value calculator

Restate a sum in another year's money: 1,000 from 2000 is worth 1,638.62 in 2020 at 2.5% average yearly inflation. Go forward or back in time, and see the factor and the change. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Amount
1,000
From year
2,000
To year
2,020
Inflation rate percent
2.5
You get
Years
20
Rate decimal
0.025
Inflation factor
1.63861644
Adjusted value
1,638.62

An inflation-adjusted value answers a practical money question: if something cost a given amount in one calendar year, what is that sum worth in another year's dollars after prices have risen or fallen at a steady annual rate? Households use it to compare old salaries, house prices, and tuition against today's purchasing power. Analysts restating historical series, journalists writing about real wages, and product teams shipping personal-finance tools all need the same deterministic arithmetic: compound the average annual inflation rate over the year gap and scale the original amount by that factor. This inflation-adjusted value calculator accepts the amount, the source year, the target year, and the annual inflation rate in percent, then returns the restated value, the compound factor, the signed change, and whether the path inflated, deflated, or left the figure unchanged.

What inflation-adjusted value means and how the formula works

Inflation-adjusted value restates a money amount so that two figures from different calendar years become comparable in the same year's dollars. The standard constant-rate model multiplies the original amount by a cumulative growth factor built from the average annual inflation rate. When the target year is later than the source year and inflation is positive, n is positive, the factor exceeds one, and the nominal amount grows—you need more currency units in the later year to buy the same real basket.

When the target year is earlier, n is negative and the factor is the reciprocal power, which shrinks a modern price into earlier-year dollars. When the years match, n is zero, the factor is one, and the adjusted value equals the original amount. Zero inflation also leaves the amount unchanged for any year gap.

Negative rates model deflation: prices fall, so a fixed sum gains purchasing power as you move forward. This calculator implements only that cumulative compound identity; it does not look up official CPI tables, seasonally adjust monthly series, or invent a historical path between the two years. You supply the annual rate that fits your scenario—long-run CPI averages, a forecast, or a custom stress case—and the engine compounds it over the exact integer year difference.

That separation keeps the result deterministic, auditable, and free of network or date dependencies while still matching the classroom and spreadsheet formula most people mean by inflation-adjusted dollars.

Who restates money between years

Personal finance apps let users type an old salary, house price, or tuition bill and see what it would be in today's dollars without embedding a full economics database. Retirement and cash-flow planners stress-test nominal goals under assumed inflation by restating target years forward; historical portfolio reports restate contributions and balances into a common year for real-return charts. Spreadsheet migrations and LMS homework checkers need a deterministic oracle so every client—mobile, web, or batch job—agrees on the same rounded factor for the same amount, years, and rate.

Failed validation does not consume balance.

Old salary or price in today's dollars

Restate a past wage, house price, or tuition bill into a later year's dollars using a long-run average inflation rate for apples-to-apples comparisons.

Historical series in a common year

Convert contributions, fees, or revenues from mixed calendar years into one target year so dashboards and reports show real purchasing power.

Forward inflation stress tests

Project what a fixed nominal budget or goal becomes after N years at an assumed annual inflation rate for planning and education tools.

Can the target year be earlier than the source year?

Yes. A negative year gap deflates the amount into earlier-year dollars using the same compound formula with a negative exponent.

Does this use official CPI tables?

No. You supply the average annual inflation rate. The calculator compounds that rate over the year difference only; it does not fetch government indices.

Can I model deflation?

Yes. Enter a negative annual rate: prices fall, so moving forward in time the same purchasing power needs fewer currency units, and the result reports the direction as deflation. The rate must stay above minus 100%.

Which inflation rate should I enter?

The average yearly rate that fits your scenario, such as a long-run consumer price average, a forecast or a stress case. The calculator compounds that single rate over the exact number of years between the two dates.

What does the inflation factor mean?

It is how much prices multiply over the period: one plus the rate, raised to the number of years. At 2.5% over 20 years it is 1.63861644, the multiplier applied to your amount.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/finance/inflation-adjusted-value

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/finance/inflation-adjusted-value \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount":1000,"from_year":2000,"to_year":2020,"inflation_rate_percent":2.5}'
{
  "amount": 1000,
  "from_year": 2000,
  "to_year": 2020,
  "inflation_rate_percent": 2.5
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "finance.inflation_adjusted_value",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Invalid inputs fail with a clear invalid_input error and are not billed.

What inflation-adjusted value means and how the formula works

If r is the annual rate as a decimal (inflation_rate_percent divided by one hundred) and n is the signed year difference to_year minus from_year, the factor is one plus r raised to the power n, and the adjusted value is amount times that factor.

Input contract, response shape, and error behaviour

Optional precision is an integer from zero to fifteen that defaults to two and controls decimal places on monetary and percentage outputs. Validation rejects missing fields, empty strings, non-finite values, non-positive amounts, non-integer years outside the allowed range, and rates less than or equal to negative one hundred percent, because one plus r must stay strictly positive for a real-valued power. Worked example: one thousand dollars from year two thousand restated to year two thousand twenty at two point five percent annual inflation compounds over twenty years to about one thousand six hundred thirty-eight point six two in twenty-twenty dollars, with direction inflate. POST a JSON body with four required fields: amount, a finite money figure strictly greater than zero in from_year currency units; from_year and to_year, integer calendar years in the supported range from one through nine thousand nine hundred ninety-nine; and inflation_rate_percent, the average annual inflation rate in percent points (for example two point five for two and a half percent per year). Amount may arrive under aliases such as value, principal, dollars, or sum; years accept start_year, end_year, year_from, year_to, source_year, and target_year; the rate accepts rate_percent, annual_rate, rate, and inflation_rate; precision accepts decimals and dp. Each numeric field may be a JSON number or a numeric string. Those failures return invalid_input, name the problem, and do not consume prepaid balance. On success the body echoes cleaned amount, from_year, to_year, years as to_year minus from_year, inflation_rate_percent, rate_decimal, inflation_factor as the compound multiplier, adjusted_value as the restated sum, value_change and value_change_percent as the signed nominal shift, direction as inflate, deflate, or unchanged, method cumulative_compound_inflation, a formula string, and the precision used. Pair the number with your own CPI series if you need official index levels; this endpoint scales by the rate you provide only.

Where an inflation-adjusted value API earns its keep

Keep requests small, pin adjusted_value and inflation_factor in tests, and you get reproducible year-to-year dollar conversion for calculators, content pages, and edge workers without hosting CPI ingestion or floating-point edge cases of your own. The capability deliberately stays year-labeled and rate-driven so it complements broader compound-growth solvers that do not expose from_year and to_year as first-class calendar inputs.

How do I convert dollars from one year to another?

Send amount, from_year, to_year, and inflation_rate_percent. The API returns adjusted_value = amount × (1 + rate/100)^(to_year − from_year), plus the compound factor and signed change.

What if inflation is zero or the years are the same?

The inflation factor is one and adjusted_value equals amount. Direction is reported as unchanged.

What does the inflation-adjusted value calculator cost?

The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.

Read the full KIT documentation →