Skip to content

BLS API: Convert US dollars between months with CPI

Converts a US dollar amount from one month or annual average to another using the US city average CPI-U for all items, not seasonally adjusted. Defaults to the latest published month.

bls.gov (opens in a new tab)Version 1ReadNo sign-in

Unofficial. Not affiliated with or endorsed by BLS.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Amount, requiredamount

Original US dollar amount, for example 100.

100

Number 0 or more.

End Month optionalend_month

Destination month, such as 2024-08, or 2024 for its annual average. Defaults to the latest published month.

Not set

Start Month, requiredstart_month

Month the money is from, such as 1995-06; use 1995 for its annual average.

1995-06

Output

From a run on Oct 23, 2026.
{  "end_cpi": 336.94,  "currency": "USD",  "sentence": "$100 in June 1995 has the same buying power as $220.94 in September 2026.",  "end_month": "2026-09",  "start_cpi": 152.5,  "source_url": "https://www.bls.gov/data/inflation_calculator.htm",  "start_month": "1995-06",  "adjusted_amount": 220.94,  "original_amount": 100,  "cumulative_inflation_percent": 120.94}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
bls.gov/calculate_inflation
Returns
adjusted amount, cumulative inflation percent, CPI values, plain-English sentence

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method bls.gov/calculate_inflation with the inputs above.

Ask your agent

  • How much is 250 dollars in 1985 worth in today's money using CPI?
  • What would 75,000 dollars from March 2001 be worth in August 2024?
  • Adjust 1200 dollars from the 1990 annual average to the 2023 annual average for inflation
  • On bls.gov, convert 500 dollars from June 1978 to the latest month's purchasing power
  • How much did prices rise between 2010 and 2022 if I had 40 dollars in 2010 and want the equivalent in 2022?
  • Gets the latest U.S. Consumer Price Index inflation for a spending category, with up to 24 recent months of history. Monthly changes are seasonally adjusted; 12-month changes are not.

    bls.gov/get_inflation_rate
  • Finds the latest published BLS pay and employment for an occupation in the US, a state, or a metro area, and compares it with the national median.

    bls.gov/get_occupation_wages
  • Gets the latest seasonally adjusted unemployment rate and labor-force counts for the United States or a state, with up to 24 months of history.

    bls.gov/get_unemployment_rate
  • Finds the best-matching Occupational Outlook Handbook profile for a job title and returns its pay, entry requirements, jobs and 10-year outlook.

    bls.gov/get_occupation_outlook
  • Converts an amount between currencies using ECB euro reference rates, including euro and cross-currency conversions. Uses the latest preceding published rate when the date has none.

    ecb.europa.eu/convert_currency
  • Converts an amount between two currencies using the current Google Finance quote. Rates may be delayed.

    google.com/convert_currency
  • Converts an amount between two currencies using XE's displayed mid-market rate. It also returns the rate time and an XE converter link. Rates are informational, not transfer quotes.

    xe.com/convert_currency
  • Gets decades of yearly commodity or stock-index price history from Macrotrends: yearly average, open, high, low, close, annual change and inflation-adjusted value for gold, silver, crude oil, natural gas, copper, Dow Jones, S&P 500 and Nasdaq. The current year may be incomplete.

    macrotrends.net/get_long_term_price_history