CAGR is the smoothed yearly growth rate that takes a value from start to end — the standard way to compare investments.
How the CAGR Calculator works
CAGR is the steady yearly growth rate that turns a beginning value into an ending value over a number of years: CAGR = (ending value ÷ beginning value)1/years − 1.
Example: an investment that grows from $10,000 to $16,105 in 5 years has a CAGR of (16,105 ÷ 10,000)1/5 − 1 = 10.0% per year. Fractional periods work too — enter 3.5 for three and a half years.
If the ending value is lower than the beginning value, CAGR is negative (a compound annual loss). CAGR smooths out the ups and downs, so it is not the same as the simple average of yearly returns.
Worked examples
Each example uses CAGR = (ending value ÷ beginning value)1/years − 1.
A 5-year index fund position. $20,000 invested five years ago is worth $32,210 today: (32,210 ÷ 20,000)1/5 − 1 = 1.61050.2 − 1 = 10.00% a year. The yearly returns along the way were uneven, but CAGR collapses them into one smoothed rate.
A small business over 8 years. Revenue grew from $480,000 to $1,275,000: (1,275,000 ÷ 480,000)1/8 − 1 = 12.99% a year.
A losing position. $50,000 is worth $31,000 after 3 years: (31,000 ÷ 50,000)1/3 − 1 = −14.73% a year. A negative CAGR is valid; it is the compound annual rate of loss.
| Scenario | Beginning value | Ending value | Years | Total return | CAGR |
|---|---|---|---|---|---|
| Index fund | $20,000 | $32,210 | 5 | +61.05% | 10.00% |
| Small business | $480,000 | $1,275,000 | 8 | +165.63% | 12.99% |
| Losing position | $50,000 | $31,000 | 3 | −38.00% | −14.73% |
Total return alone misleads: the business's 165.63% looks far bigger than the fund's 61.05%, but per year the business grew only about 3 percentage points faster. CAGR puts different holding periods on the same footing.
The math behind CAGR and where the formula comes from
CAGR is the geometric mean of annual growth factors minus one, which is why it always understates the arithmetic average return for any volatile series. The full derivation starts from compound interest: EV = BV × (1 + r)n. Solving for r gives r = (EV/BV)(1/n) − 1, which is the standard CAGR formula.
The reason CAGR uses a geometric mean rather than an arithmetic mean is that returns compound multiplicatively, not additively. If a $100 portfolio gains 50% then loses 50%, the arithmetic mean is 0%, but you end with $75. The geometric mean correctly reports (75/100)(1/2) − 1 = −13.4% per year, capturing the real damage of volatility.
This gap between arithmetic and geometric means is called volatility drag, and it scales with variance. The approximation is geometric ≈ arithmetic − (variance / 2). For an asset with 10% arithmetic mean and 20% standard deviation, expected CAGR is roughly 10% − (0.202/2) = 8%, which is why high-variance assets need higher average returns to match low-variance ones.
Common misconceptions about CAGR that even pros get wrong
CAGR is not an average annual return, not a guarantee of future performance, and not a measure of risk. It is one specific calculation: the constant rate that links two endpoints over a stated period. Misreading CAGR as something more causes real money mistakes.
First, CAGR is path-independent. A fund that returned +40%, −30%, and +10% has the same CAGR as a fund that returned +5%, +5%, and +5% if both endpoints match, even though one experience is far more stressful to live through. CAGR hides sequence-of-returns risk entirely.
Second, CAGR is sensitive to start and end dates. A 10-year CAGR ending in March 2020 looks dramatically different from one ending in March 2021, even though only twelve months separate them. Always check whether a reported CAGR cherry-picks favorable endpoints, particularly in marketing materials.
Third, CAGR over short windows is statistically unreliable. Three-year CAGRs for stocks can swing by 20 percentage points based on starting month alone. Treat any CAGR under five years as a description of the past, not a projection.
Fourth, price-only values understate growth for income investments. Use total-return values, with dividends reinvested, as the ending value.
CAGR vs average return and IRR: when to use each
CAGR, average annual return and IRR answer different questions. Use CAGR to compare two endpoints with no money added or withdrawn in between. Use IRR (Excel's XIRR for real dates) when contributions or withdrawals happened during the period. Use the average return only when you specifically want the arithmetic mean of yearly results.
The gap matters whenever returns swing. Returns of +50%, −30% and +20% average 13.3% a year, but they compound at only 8.0% a year: 1.5 × 0.7 × 1.2 = 1.26, and 1.261/3 − 1 = 8.0%. US mutual funds report "average annual total return", which is a compound rate like CAGR, not an arithmetic average.
When you add money monthly, as with a 401(k), CAGR can't describe the result because dollars entered at different times. IRR finds the single rate that makes all the cash flows add up; in Excel, use =XIRR(values, dates).
How to calculate CAGR in Excel, Google Sheets, and Python
The fastest way in Excel is the RRI function: =RRI(years, beginning_value, ending_value). For $10,000 growing to $18,500 over 7 years, =RRI(7, 10000, 18500) returns 9.19%. Without RRI, use =(C2/B2)^(1/A2)-1, with years in A2, the beginning value in B2 and the ending value in C2.
Both formulas work the same in Google Sheets. For very long periods, the logarithmic form =EXP(LN(C2/B2)/A2)-1 gives the same answer with less rounding error.
In Python: cagr = (ev / bv) ** (1 / n) - 1. With pandas, df['cagr'] = (df['end'] / df['start']).pow(1 / df['years']) - 1 computes it for every row at once.
Neither spreadsheet formula checks its inputs: a beginning value of zero or below, or zero years, produces an error or a meaningless number. This calculator returns 0% in those cases instead of a misleading rate.
CAGR for $10,000 Growing to Various Ending Values Over 5 Years
This table shows the compound annual growth rate when $10,000 grows to several common ending values over a 5-year period. Each CAGR is calculated with the formula (Ending Value / 10,000)^(1/5) − 1, then expressed as a percentage. Notice how total growth and annualized CAGR diverge: doubling your money (100% total growth) is only about 14.87% per year because returns compound.
| Ending value | Total growth | CAGR |
|---|---|---|
| $12,000 | +20.00% | 3.71% |
| $15,000 | +50.00% | 8.45% |
| $16,105 | +61.05% | 10.00% |
| $20,000 | +100.00% | 14.87% |
| $25,000 | +150.00% | 20.11% |
Enter your own beginning value, ending value and number of years in the calculator above; it accepts decimal years and returns negative rates for losses.
Related on this site
how to calculate CAGR step by step · CAGR vs average annual return · project a value forward · simple percentage return · doubling time
How we calculate this
This tool uses the standard formula shown above, runs entirely in your browser and stores nothing you type. Results are estimates for planning — not financial, tax or legal advice. Background reading: Investor.gov (U.S. SEC) — compound interest. Found an error? Tell us and we will fix it.
CAGR Calculator — frequently asked questions
- How do you calculate CAGR step by step?
- Divide the ending value by the beginning value, raise the result to the power of 1 ÷ years, then subtract 1: CAGR = (EV ÷ BV)1/n − 1. If $5,000 grew to $9,000 over 6 years: 9,000 ÷ 5,000 = 1.8, then 1.81/6 = 1.1029, minus 1 = 10.29% a year.
- How do I calculate CAGR in Excel?
- Use =RRI(years, beginning value, ending value) or the manual formula =(EV/BV)^(1/years)-1. For a portfolio that grew from $25,000 to $48,000 over 9 years, =RRI(9,25000,48000) returns 7.52%. Both formulas work the same way in Google Sheets.
- What is the difference between CAGR and average annual return?
- CAGR is the compound rate that links two endpoints; average annual return is the simple mean of the yearly results. The gap grows with volatility: returns of +50%, −30% and +20% average 13.3% a year, but the CAGR is only 8.0%, because 1.5 × 0.7 × 1.2 = 1.26 and 1.261/3 − 1 = 8.0%. CAGR is what the money actually did.
- How does a reverse CAGR calculation work?
- Reverse CAGR solves for the future value when you know the starting value, growth rate and years: EV = BV × (1 + r)n. For example, $30,000 growing at 8% a year for 20 years reaches 30,000 × 1.0820 = $139,829. This calculator solves for the rate only, so use the future value calculator to project forward.
Guides & articles
- How to calculate CAGR: formula, Excel method, and worked examples
- How to Use Reverse CAGR to Project Future Value
- CAGR vs Average Annual Return: What's the Difference?
Related calculators
Markup Calculator · Profit Margin Calculator · Break-Even Calculator · ROI Calculator · Sales Tax Calculator · VAT Calculator