Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

CAGR Calculator

Compound annual growth rate, future value and time to a target.

Use via API

Compound annual growth rate: the CAGR between two values, the future value at a given CAGR, or the years needed to reach a target. Rates are returned as fractions (0.12 = 12%). Send JSON, get JSON back.

POST https://pithlab.com/api/v1/tools/cagr-calculator

curl https://pithlab.com/api/v1/tools/cagr-calculator \
  -H "Authorization: Bearer $PITHLAB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mode":"rate","begin":10000,"end":19500,"years":5}'

Fields and responseOpenAPI documentGet an API key

About the CAGR Calculator

Calculate the compound annual growth rate between two values over years or between two dates, or work backwards to a future value or the years a target needs.

How to use the CAGR Calculator

  1. Choose what to work out: the CAGR, a future value, or how many years a target takes.
  2. Enter the beginning value and either the ending value or the growth rate. Give the period in years or as two dates.
  3. Read the result, written out in full so you can copy it into a report.

Examples

10,000 to 18,000 over 5 years

Input

10000, 18000, 5 years

Output

10,000.00 to 18,000.00 over 5 years is a CAGR of 12.47% a year (total growth 80%)
Between two dates

Input

2500, 4100, 2019-03-15 to 2024-09-30

Output

2,500.00 to 4,100.00 over 5.55 years (about 5 years 7 months) is a CAGR of 9.33% a year (total growth 64%)
Future value of 10,000 at 7% for 10 years

Input

10000, 7%, 10 years

Output

10,000.00 growing 7% a year for 10 years becomes 19,671.51
Years to double at 8%

Input

10000 to 20000 at 8%

Output

10,000.00 reaches 20,000.00 at 8% a year in 9.01 years (about 9 years)

Frequently asked questions

What is the CAGR formula?

CAGR = (ending value ÷ beginning value)^(1 ÷ years) − 1. It's the steady yearly rate that would turn the beginning value into the ending value over that period.

How are dates turned into years?

The days between the two dates are divided by 365.25, the average year length including leap years. 2019-03-15 to 2024-09-30 is 2,026 days, or 5.55 years.

How is CAGR different from average annual return?

An arithmetic average of yearly returns overstates growth when returns vary. +50% then −50% averages 0%, but 100 becomes 75, a CAGR of about −13.4%. CAGR reflects what actually happened to the money.

Can the values be negative or zero?

The beginning value must be above zero. An ending value of zero is a CAGR of −100%. Negative values (like a loss-making year's profit) don't have a meaningful CAGR.