How to use this calculator
- Enter Start value ($)。
- Enter End value ($)。
- Enter Years (yrs)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: CAGR。
What is it
CAGR Calculator — From start value, end value and years, compute the compound annual growth rate — or solve any variable. Investment calculators quantify the time value of money, returns and risk, turning a vague sense of "this will do well" into comparable numbers. The core question it answers is: CAGR. CAGR = (end ÷ start)^(1/years) − 1. E.g. 10,000 to 20,000 over 5 years is a 14.87% CAGR.
Formula
| Variable | Inputs | Unit |
|---|---|---|
startValue | Start value | $ |
endValue | End value | $ |
years | Years | yrs |
cagr | CAGR | % |
endValue / Math.pow(1 + cagr/100, years)startValue * Math.pow(1 + cagr/100, years)Math.log(endValue/startValue) / Math.log(1 + cagr/100)(Math.pow(endValue/startValue, 1/years) - 1) * 100The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Start value = 10000 $
- End value = 20000 $
- Years = 5 yrs
Formula used: (Math.pow(endValue/startValue, 1/years) - 1) * 100
Answer:
- CAGR = 14.87 %
Example 1 (default inputs):Suppose Start value = 10,000 $, End value = 20,000 $, Years = 5 yrs; then giving CAGR = 14.87 %.
Example 2 (one input changed):If you change Start value to 15,000,giving CAGR = 5.92 %.
Additional information
Assumptions and limitations
- These models assume a constant rate, periodic compounding, and no taxes or trading costs. Real return sequences, fees and taxes materially change outcomes — treat results as planning guidance, not a promise.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.