ForHosting KIT · Finance & money

Real minimum wage calculator

A minimum wage of 10 in a year when the price index is 120, against a base of 100, keeps only five sixths of its face value in base-year prices: inflation has eroded its purchasing power. Enter one wage and two index values. 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
Nominal wage
10
Cpi
120
Cpi base
100
You get
Inflation factor
1.2
Price ratio
0.833333
Real wage
8.333333
Purchasing power index
83.333333

A statutory minimum wage is posted in today's money. Inflation quietly changes what that number can buy, so a raise that looks generous on the statute book can still leave a worker poorer in groceries, rent, and transit. The real minimum wage restates the posted figure in the prices of a chosen base year by scaling it with the ratio of two consumer price indexes: base-year CPI over the CPI that belongs to the wage year. Students, labor economists, journalists, union researchers, and exam authors need a deterministic way to turn those three numbers into constant-price purchasing power without mixing the formula up with a GDP deflator, a compound inflation future-value, or an hourly-to-salary conversion. This real minimum wage calculator accepts a positive nominal wage and two positive CPI levels, optionally a base-year statutory wage for a true real-change check, and returns the constant-price wage, the inflation factor, a purchasing-power index, and a short formula string.

What the real minimum wage measures and how the CPI formula works

A posted minimum wage is a nominal figure: it is the number written on a statute, a wage order, or a pay stub. Its purchasing power is a different object. Between any two years the consumer price index records how much a representative household basket has risen or fallen, and the real minimum wage is the posted wage restated in the prices of a chosen base year.

The textbook identity is real wage equals nominal wage times CPI in the base year divided by CPI in the wage year. When prices have risen, that ratio is less than one and the same statutory dollar buys fewer groceries, so the real wage sits below the face value. When prices have fallen, the ratio is greater than one and the real wage sits above the face value.

The purchasing-power index is one hundred times the same ratio, so one hundred means the posted wage still buys one base-year basket and a reading of eighty means it buys four fifths of that basket. This is not a GDP deflator, which divides nominal output by real output to build an economy-wide price index, and it is not a compound inflation future-value that grows a lump sum at a constant annual rate.

It is the labor-economics identity that converts a statutory floor into constant-price terms so two years, two jurisdictions, or two proposed raises can be compared honestly. You supply one positive nominal wage and two positive CPI levels that share an index base, and you receive the constant-price wage, the inflation factor, the purchasing-power index, and a short formula string ready for problem sets, briefing notes, and automated checks that must not invent a price series the caller never provided.

Classroom real-versus-nominal wage checks

Let students enter a statutory floor and two CPI readings and verify that the real wage is nominal times CPI base over CPI, without mixing the identity up with a GDP deflator.

LMS and exam auto-grading

Mark real-minimum-wage items with a deterministic oracle that rejects non-positive wages or indexes and optionally checks whether a raise kept up with prices.

Policy briefs and bargaining notebooks

Rebuild a statutory history in constant prices from published wage orders and official CPI values without spreadsheet formula drift in the real-wage column.

What CPI values should I use?

Use the same official consumer price index series for both years, on the same index base (for example a CPI with 1982–84 = 100, or any rebased national CPI). Mixing two different baskets or two different bases makes the ratio economically meaningless even though the arithmetic still runs.

What happens if a wage or CPI is zero or negative?

Every wage and every CPI, including the optional base-year statute when supplied, must be strictly greater than zero; invalid input is not billed.

How do I calculate the real minimum wage?

Multiply the posted wage by the base-year price index divided by the index of the wage year. A wage of 10 with an index of 120 against a base of 100 becomes 10 × 100 ÷ 120 in base-year prices, five sixths of its face value.

What does the purchasing power index mean?

It is 100 times the ratio of the base-year index to the current index. A reading of 100 means the posted wage still buys one base-year basket; a reading below 100 means it buys less than that basket.

Can I check whether a raise beat inflation?

Yes. Add the wage that was posted in the base year, in the same currency and pay period. The calculator compares it with today's wage in base-year prices and shows the real change as an amount and a percentage.

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/econ/real-minimum-wage

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/econ/real-minimum-wage \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"nominal_wage":10,"cpi":120,"cpi_base":100}'
{
  "nominal_wage": 10,
  "cpi": 120,
  "cpi_base": 100
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "econ.real_minimum_wage",
  "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.

Input contract, optional base-year statute, and validation rules

Every wage and every CPI must be strictly greater than zero: a zero or negative price index would make the real wage undefined or meaningless, and a non-positive statutory wage is rejected for the same classroom domain. Omit the optional base wage and those four comparison keys are omitted, never null. POST a JSON body with three required finite numbers: nominal_wage (the statutory or posted floor in the wage year), cpi (the consumer price index in that same year), and cpi_base (the consumer price index in the year whose prices you want the wage expressed in). Optionally send base_nominal_wage as the statute that was posted in the base year—same currency and pay period as nominal_wage—and decimals as an integer from zero through twelve (default six) to control half-up rounding on every computed field. Missing fields, empty strings, non-finite values, and non-integer decimals outside the allowed range fail with invalid_input and are not billed. Common aliases are accepted: wage, minimum_wage, nominal, or hourly_wage for nominal_wage; cpi_current, price_index, or cpi_wage for cpi; base_cpi, cpi_reference, or reference_cpi for cpi_base; base_wage or reference_wage for base_nominal_wage. On success the body returns the echoed inputs (rounded), inflation_factor as cpi over cpi_base, price_ratio as cpi_base over cpi, real_wage as nominal times that ratio, purchasing_power_index as one hundred times the ratio, purchasing_power_change_percent as the percent gap between the real and face-value wage, purchasing_power_band as eroded, unchanged, or increased, and formula. When base_nominal_wage is present the body also includes that older statute, real_change_amount, real_change_percent versus the older statute, and real_wage_band as real_gain, real_unchanged, or real_loss. Example: nominal ten, cpi one hundred twenty, and cpi_base one hundred yields real_wage eight and one third and purchasing_power_band eroded. Add base_nominal_wage eight and the statute still shows a real gain even though prices rose.

Where a real minimum wage API earns its keep

Labor-economics and public-finance courses use a real minimum wage calculator so students can convert any valid statutory floor and CPI pair into constant-price purchasing power without borrowing a compound inflation rate they were never given and without confusing the identity with a GDP deflator or an hourly-to-salary converter. Exam generators and LMS plugins need a deterministic oracle that rejects zero or negative indexes instead of inventing a hollow real wage that a buggy grader might treat as unchanged. Failed validation does not consume balance. Teaching dashboards and notebooks often rebuild long statutory histories from published wage orders and a national CPI; pinning the arithmetic in a tiny parse API keeps spreadsheet drift out of the real-wage column and makes the optional real-gain band checkable in continuous integration. Keep requests small, pin the rounded real_wage and, when you send a base-year statute, real_change_percent in tests, and you get reproducible constant-price floors for homework, LMS plugins, and edge workers without standing up a full CPI vintage pipeline of your own.

How is the real minimum wage calculated?

Send positive numbers nominal_wage, cpi (the index in the wage year), and cpi_base (the index in the comparison year). The API returns real_wage = nominal_wage × (cpi_base / cpi), plus the inflation factor and a purchasing-power index with base 100.

How do I tell if the statutory wage kept up with inflation?

Optionally send base_nominal_wage as the statute posted in the base year. The API then returns real_change_amount, real_change_percent versus that older statute, and real_wage_band as real_gain, real_unchanged, or real_loss.

What does the real minimum wage 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 →