
CAGR calculator
Calculate cagr 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 cagr calculator with clear inputs and assumptions.
Calculate cagr calculator with clear inputs and assumptions.
- start
- Starting value
- end
- Ending value
- years
- Duration in 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 start = 1000, end = 1500, years = 5;
console.log(((end / start) ** (1 / years) - 1) * 100); // annualized growth %TypeScript
const start = 1000, end = 1500, years = 5;
const cagr: number = ((end / start) ** (1 / years) - 1) * 100;
console.log(cagr); // annualized growth %Python
start, end, years = 1000, 1500, 5
print(((end / start) ** (1 / years) - 1) * 100)Java
double cagr = (Math.pow(1500.0 / 1000, 1.0 / 5) - 1) * 100;
System.out.println(cagr);C#
double cagr = (Math.Pow(1500.0 / 1000, 1.0 / 5) - 1) * 100;
Console.WriteLine(cagr);