ForHosting KIT · Finance & money

Buying power calculator

At 3% inflation, 1,000 kept for 10 years buys only what 744.09 buys today, a loss of 255.91 in real terms. Enter an amount, an annual inflation rate and a number of years to see what your money will really be worth. 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
Inflation rate
3
Years
10
You get
Inflation factor
1.34391638
Buying power
744.09
Purchasing power loss
255.91
Purchasing power ratio
0.744094

A dollar, euro, or yen sitting in an account does not buy the same basket of goods after several years of rising prices. Inflation quietly erodes real buying power even when the nominal balance never changes. Households sizing a cash reserve, journalists converting a historic wage into today's terms, and product teams that need a transparent inflation-adjusted figure all share one small calculation: divide a sum by one plus the annual inflation rate, raised to the number of years. This buying power calculator returns that inflation-adjusted value from three inputs—amount, annual inflation rate, and years—and rejects a negative horizon instead of inventing a past the formula was not asked to reconstruct.

What remaining buying power means and how the formula works

Nominal money is the number printed on a statement. Real buying power is what that number can still purchase after prices have moved. If a basket that costs one thousand today will cost more after a decade of inflation, then one thousand left idle is worth less in basket terms even though the account still shows one thousand.

Equivalently, compute an inflation factor (one plus r) to the power years, then divide the amount by that factor. A worked example: one thousand at three percent over ten years has factor 1.34391638 and remaining buying power 744.09 after half-up rounding to two decimals, so the purchasing-power loss is 255.91 and the retained ratio is about 0.744094. When the rate is zero the factor is one and the amount is unchanged.

When years is zero the same identity returns the original amount, which is the honest answer for a horizon that has not started. A negative rate models deflation: prices fall, so a cash balance buys more, and the formula yields a buying power above the nominal amount.

Where a buying power calculator earns its keep

Newsrooms converting a historic salary, a legacy fine, or a vintage price tag into today's terms can post the same three numbers the journalist already has and quote the inflation-adjusted figure with a stable two-decimal contract. Educators teaching the difference between nominal balances and real purchasing power can seed classroom examples that show erosion at three percent versus five percent, and can demonstrate the hard fail when someone types a negative year count. Failed validation does not consume balance.

Keep amount non-negative, keep the rate above negative one hundred percent, keep years at zero or more, pin the rounded money fields in tests, and you get reproducible inflation-adjusted buying power for widgets, CMS embeds, and edge workers without standing up an economic-data vendor of your own.

Cash-reserve and savings explainers

Show readers what a rainy-day balance will still buy after several years at a stated inflation rate, with loss and retained ratio alongside the adjusted value.

Historic wages and vintage prices

Convert a past salary, fine, or sticker price into an inflation-adjusted figure from amount, annual rate, and years for articles and classroom worksheets.

Retirement and buffer planning cards

Turn a stored nest-egg amount and a planned inflation assumption into remaining real buying power for a horizon the user already chose.

How is remaining buying power calculated?

The result is the inflation-adjusted value after annual compounding, rounded half-up to two decimals.

What happens if the number of years is negative?

A negative horizon is not accepted; enter zero or more years. Failed validation is not billed.

Can the inflation rate be negative?

Yes. A negative rate models deflation and increases real buying power, as long as the rate is greater than −100% so that 1 + rate/100 stays positive.

Does this look up an official consumer-price index?

No. You supply the annual rate. The calculator applies the compounding identity to your three numbers and does not fetch CPI series or guess a future path of inflation.

Can I calculate buying power for part of a year?

Yes. The number of years can include a fraction, so you can look at a horizon of a few months. A horizon of zero years simply returns your original amount, because no time has passed for prices to move.

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/fin/buying-power

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/fin/buying-power \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount":1000,"inflation_rate":3,"years":10}'
{
  "amount": 1000,
  "inflation_rate": 3,
  "years": 10
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "fin.buying_power",
  "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.

What remaining buying power means and how the formula works

The standard annual-compounding identity that captures that erosion is buying_power equals amount divided by (one plus the annual inflation rate as a decimal) raised to the number of years.

Input contract, response shape, and error behaviour

Pair the result with your own CPI series if you need official index levels; start here when the product question is a transparent, three-input inflation-adjusted value for a page, a worksheet, or a batch of scenarios. POST a JSON body with three required finite numbers: amount (currency units of the sum whose real value you want, greater than or equal to zero; aliases principal, value, sum, money), inflation_rate (annual inflation as a percent such as three for three percent; aliases rate, rate_percent, annual_inflation, inflation), and years (the compounding horizon, greater than or equal to zero; aliases n, period, horizon). Each field may arrive as a JSON number or as a numeric string. Missing fields, empty strings, and non-finite values fail with invalid_input naming the field and are not billed. If amount is negative the request is rejected rather than returning a negative cash figure. If inflation_rate is less than or equal to negative one hundred percent, one plus r is not positive and the power is not a useful real factor, so that case is invalid_input as well. On success the body echoes amount, inflation_rate and years; reports inflation_factor rounded to eight decimals; returns buying_power and purchasing_power_loss as money rounded half-up to two decimals; returns purchasing_power_ratio rounded to six decimals; and includes a short formula string restating the identity.

Where a buying power calculator earns its keep

Retirement and cash-buffer tools often store a planned inflation assumption next to a target nest egg; calling this endpoint fills a card that shows how much of today's pile will still buy groceries in ten or twenty years, which is a different question from how large the pile will be if it also earns a return.

What does the buying power calculator cost?

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

Read the full KIT documentation →