How to Calculate CAGR (Compound Annual Growth Rate)

Step-by-step guide to calculating CAGR with worked examples. Learn when to use CAGR, its formula, common pitfalls, and how it differs from average return. Free, no signup.

The Formula

CAGR = (End Value / Start Value)^(1 / years) − 1

CAGR is the constant annual rate at which an investment would have grown if it had grown at the same rate every year. It smooths out volatility to give you a single comparable number — like saying 'this investment returned 9.6% per year on average, compounded annually'.

When to Use CAGR

  • Comparing performance of two investments over different time periods
  • Evaluating whether an investment met a benchmark (e.g., S&P 500 average)
  • Projecting future values based on historical returns
  • Reporting investment performance in standardized form (IRRs use CAGR for benchmarking)

Worked Examples

Example 1: Stock investment 2015-2025

Given
  • Bought January 2015: $10,000 (50 shares at $200)
  • Sold December 2025: $25,000 (50 shares at $500)
  • No dividends reinvested:
Calculation
  1. End Value / Start Value = $25,000 / $10,000 = 2.5
  2. Years = 2025 − 2015 = 10 years
  3. CAGR = 2.5^(1/10) − 1 = 1.0960 − 1 = 0.0960
Result
CAGR = 9.60% per year
💡 Your investment grew 150% total, but the annualized rate is 9.60% — not 15% (which would be the simple average). The compounding effect makes a big difference over 10 years.

Example 2: 401(k) account with contributions

Given
  • Starting balance January 2020: $50,000
  • Ending balance December 2024: $120,000
  • Total contributions over 5 years: $30,000
Calculation
  1. Note: CAGR assumes a single lump sum. For accounts with ongoing contributions, this calculation understates true return because it ignores the new money.
  2. For comparison purposes only: ($120,000 / $50,000)^(1/5) − 1 = 1.0914 − 1 = 0.0914
Result
Apparent CAGR = 9.14% per year (but actual return is higher because contributions also grew)
💡 For investment accounts with periodic contributions, use the XIRR function in Excel or Google Sheets instead. CAGR is misleading when cash flows happen mid-period.

Example 3: Negative return scenario

Given
  • Bought January 2022: $100,000
  • Sold December 2024 (after market decline): $82,000
  • Period length: 3 years
Calculation
  1. $82,000 / $100,000 = 0.82
  2. 0.82^(1/3) = 0.9381
  3. 0.9381 − 1 = −0.0619
Result
CAGR = −6.19% per year
💡 A 'loss of 18%' over 3 years is actually only a 6.19% annualized loss. This is the recovery power of compound growth — and why holding through downturns often pays off.

Common Pitfalls to Avoid

Pitfall 1: Using CAGR for accounts with regular contributions

CAGR assumes a single lump-sum investment at the start. For 401(k)s, IRAs, or any account with periodic contributions, CAGR understates the true return because it ignores the new money.

Fix: Use XIRR (Extended Internal Rate of Return) in Excel/Google Sheets. It accounts for the timing of each cash flow. Our investment return calculator uses a simplified XIRR-style calculation.

Pitfall 2: Comparing CAGR across different time periods

An S&P 500 CAGR of 10% from 2010-2020 (a bull market) is not directly comparable to a 10% CAGR from 2000-2010 (which included the dot-com crash and 2008 financial crisis).

Fix: Always state the time period when comparing CAGRs. A 10% CAGR over 5 years during a bull market ≠ 10% CAGR over 20 years including recessions.

Pitfall 3: Ignoring dividends and fees

If your investment returned 7% in price appreciation but paid 2% in dividends, your total return CAGR is 9%, not 7%. Similarly, a 1% expense ratio reduces your real CAGR by 1% per year.

Fix: Use total return (price + dividends) and subtract fees. For S&P 500, the historical CAGR is ~10% with dividends reinvested, not the 7% price-only number.

Pitfall 4: Believing CAGR predicts future returns

CAGR is backward-looking. The S&P 500's 10% historical CAGR does NOT mean it will return 10% over the next 10 years. Future returns depend on valuations, economic conditions, and corporate earnings.

Fix: Use historical CAGR as one input among many. For projections, use Monte Carlo simulations with a range of possible returns (e.g., 5%, 8%, 11%, 14%) rather than a single point estimate.

Frequently Asked Questions

What is a good CAGR for an investment?

The S&P 500 has historically returned ~10% CAGR (with dividends reinvested) over long periods. A 'good' CAGR depends on the asset class: stocks 7-10%, bonds 3-5%, real estate 4-8%, savings accounts 1-5%. Risk-adjusted returns (Sharpe ratio) matter more than raw CAGR.

How does CAGR differ from average return?

Average return is the arithmetic mean of yearly returns. CAGR is the geometric mean (compounded). Example: +100% year 1, −50% year 2 = 0% average, but −29.3% CAGR. CAGR is always lower than average return for volatile investments. CAGR is the correct measure of actual growth.

Can CAGR be negative?

Yes. A negative CAGR means the investment lost value on an annualized basis. Example: a stock that drops from $100 to $50 over 3 years has a CAGR of −20.6%. A stock that drops from $100 to $90 over 1 year has a CAGR of −10%.

What's the difference between CAGR and APY?

CAGR describes investment growth over multiple years. APY (Annual Percentage Yield) describes the annualized return on a deposit or loan, including compounding. CAGR is typically calculated for investments with buy/sell dates; APY is given for savings accounts, CDs, and loans.

How do I calculate CAGR in Excel?

Formula: =(End Value / Start Value)^(1 / years) − 1. Example: =((25000/10000)^(1/10))-1 returns 0.0960 (9.60%). For accounts with periodic contributions, use the XIRR function with dates and cash flows.

Should I use CAGR or IRR?

Use CAGR for lump-sum investments you can hold throughout the period. Use IRR (or XIRR) for investments with multiple cash flows — like a 401(k) with monthly contributions, a rental property with ongoing expenses, or a business investment. IRR handles the timing of each cash flow, which is critical for accurate returns.

Why does CAGR matter for retirement planning?

Compounding is the engine of retirement wealth. A 1% higher CAGR over 30 years can mean 30%+ more retirement savings. If you start with $10K, contribute $500/month for 30 years: at 7% CAGR you have ~$680K; at 8% CAGR you have ~$890K. That's a $210K difference from one percentage point of return.

Apply This to Real Numbers

See your exact investment return with our free calculator — handles dividends, taxes, and contributions.