Calculators
Inflation purchasing-power calculator API
Compute how a fixed sum's purchasing power erodes over time at a given inflation rate: realValue=nominal/(1+i)^years, plus the nominal amount needed to preserve today's buying power. Answers 'what will $10000 be worth in 10 years at 3% inflation', 'how much purchasing power do I lose to inflation', 'nominal amount to keep up with inflation'.
Price$0.01per request
MethodPOST
Route/v1/calc/budget-inflation-impact
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
budgetinflationpurchasing-powerreal-valueerosionmoneycalculatorsavings
API URL
Integration docshttps://x402.hexl.dev/v1/calc/budget-inflation-impactExample request
{
"amount": 10000,
"annualInflationPercent": 3,
"years": 10
}Example response
{
"amount": 10000,
"annualInflationPercent": 3,
"years": 10,
"futureRealValue": 7440.94,
"nominalNeededToPreserve": 13439.16,
"purchasingPowerLost": 2559.06,
"purchasingPowerLostPercent": 25.59
}Input schema
{
"type": "object",
"required": [
"amount",
"annualInflationPercent",
"years"
],
"properties": {
"amount": {
"type": "number",
"description": "Amount today in dollars",
"examples": [
10000
]
},
"annualInflationPercent": {
"type": "number",
"description": "Annual inflation rate percent",
"examples": [
3
]
},
"years": {
"type": "number",
"description": "Number of years",
"examples": [
10
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}