
Inflation impact calculator
Calculate inflation impact calculator with clear inputs and assumptions.
Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.
Method and assumptions
Method version 1.0.0 · Updated
Calculate
Formula: Calculate inflation impact calculator with clear inputs and assumptions.
Calculate inflation impact calculator with clear inputs and assumptions.
- amount
- Current amount
- inflationRate
- Annual inflation (%)
- years
- Years
Results are estimates where noted and depend on the entered assumptions.
Calculate with code
These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.
JavaScript
const amount = 1000, rate = 0.03, years = 5;
console.log(amount * (1 + rate) ** years); // 1159.27 future costTypeScript
const amount = 1000, rate = 0.03, years = 5;
const futureCost: number = amount * (1 + rate) ** years;
console.log(futureCost.toFixed(2)); // 1159.27Python
amount, rate, years = 1000, 0.03, 5
print(round(amount * (1 + rate) ** years, 2)) # 1159.27Java
System.out.printf("%.2f%n", 1000 * Math.pow(1.03, 5)); // 1159.27C#
Console.WriteLine(Math.Round(1000 * Math.Pow(1.03, 5), 2)); // 1159.27