Skip to content
induwara.lk
induwara.lkFinance · Investing

CAGR Calculator, Compound Annual Growth Rate

Find the compound annual growth rate between any two values, project a future value from a rate, or solve for the years it takes to get there. Shows the year-by-year path, real (inflation-adjusted) CAGR, and doubling time. No signup, sources cited below.

By Induwara AshinsanaUpdated Sep 14, 2026
Compound Annual Growth Ratelive · no signup
Formula cross-checked

Enter where the investment started and ended, and over how many years, get the annualised growth rate.

Display only, CAGR is currency-agnostic.

Rs

Starting amount or value.

Rs

Value at the end of the period.

Fractional years are fine (e.g. 2.5).

%

Adds a real, inflation-adjusted CAGR.

Beginning
Years
CAGR (annual growth)
10.53%
Rs 100,000 → Rs 165,000
Total growth
+Rs 65,000
65% over 5 years
Simple average / yr
13%
Naive total ÷ years, overstates compounding
Money doubles in
6.92 years
Rule of 72: 6.83 years

Year-by-year path

YearStartGrowthEnd
1Rs 100,000+Rs 10,534Rs 110,534
2Rs 110,534+Rs 11,644Rs 122,178
3Rs 122,178+Rs 12,871Rs 135,049
4Rs 135,049+Rs 14,226Rs 149,275
5Rs 149,275+Rs 15,725Rs 165,000

Cross-check passed, the compounded path lands on Rs 165,000.

CAGR uses the standard definition (E ÷ B)^(1 ÷ n) − 1 (CFA / corporate finance), cross-checked by forward simulation. Real CAGR uses the Fisher relation. Sources cited below the calculator · last verified 2026-09-14.

How it works

CAGR, the compound annual growth rate, is the constant yearly rate that smooths an investment's journey from a beginning value B to an ending value E over n years. It is the standard metric for comparing investments of different durations because it answers one clean question: “what single annual rate, compounded, gets me from here to there?” The definition is universal across corporate finance and the CFA curriculum:

CAGR = (E ÷ B)(1 ÷ n) − 1

This calculator runs that identity in three directions:

  1. Find CAGR, given B, E, and n, it returns the rate directly from the formula above.
  2. Project value, given a known CAGR g, it rearranges to E = B × (1 + g)ⁿ to forecast a future value.
  3. Find years, given B, E, and g, it solves for time with n = ln(E ÷ B) ÷ ln(1 + g).

Two cross-checks back every answer. First, the engine computes CAGR a second way, through logarithms, exp(ln(E÷B)÷n) − 1 , and confirms it matches the power-based formula. Second, it walks the money forward year by year, multiplying by (1 + CAGR) each year, and verifies the final year lands exactly on the ending value. That is the table you see beneath the results: visible proof the single rate reproduces the whole path.

Because nominal growth can be eaten by inflation, the tool optionally reports the real CAGR using the Fisher relation, (1 + CAGR) ÷ (1 + inflation) − 1. Sri Lanka's inflation (CCPI) is published by the Central Bank of Sri Lanka; enter the rate that fits your period. The doubling-time strip shows the exact ln 2 ÷ ln(1 + CAGR) alongside the Rule-of-72 shortcut so you can sanity-check it in your head. Negative growth is fully supported, if the ending value is lower, CAGR comes back negative and is labelled a decline rather than an error.

Counting the number of years correctly

The most common CAGR mistake is getting n wrong. n is the number of yearly gaps between the two values, not the number of year labels you can list. From a value recorded at the end of 2026 to one recorded at the end of 2030 is 2030 − 2026 = 4 years, even though five labels (2026 to 2030) appear in that range. Using 5 by mistake makes growth look slower than it really was: in the 2026 → 2030 example below, the true 12.47% turns into a wrong 9.86%. If your two values sit on uneven dates, convert the gap to decimal years: 30 months is 2.5 years and 18 months is 1.5 years. The calculator accepts fractional years and adds a partial final row to the year-by-year table so the path still lands on the ending value.

Edge cases and limits

  • Zero or negative starting value. The formula divides by B, so a beginning value of zero (say, a business with no revenue in its first year) has no defined CAGR, and a negative value such as a net loss breaks the root. The tool asks for a beginning value above zero instead of returning a misleading number.
  • Falling values. When E is below B the ratio is under 1 and the result is negative. That is a valid answer: the average yearly rate of decline.
  • Zero growth. In Project value and Find years modes, a 0% rate leaves the value unchanged forever, so the tool tells you no number of years can reach a different target.
  • Contradictory inputs. A positive CAGR can never shrink a value. Asking Find years to reach a lower target at +10% returns a plain explanation, not a negative time.
  • Range caps. Time horizons are capped at 100 years and entered rates must sit between −99% and 1,000% a year. Outside those bounds the arithmetic still runs, but the answer stops meaning anything practical.

What CAGR does not tell you

CAGR looks at two endpoints only, so it hides the ride in between. A unit trust that rose 50% in one year and fell 50% the next has a CAGR of −13.40%, even though the average of its two yearly returns is 0%. CAGR also assumes one lump sum with nothing added or withdrawn. If you paid in every month, a single CAGR misstates your return: model the deposits with the compound interest calculator instead, or price a guaranteed-rate alternative with the Sri Lanka fixed deposit calculator. To check whether growth actually beat rising prices, look up the matching CCPI change in the Sri Lanka inflation calculator and enter it here as the inflation rate.

CAGR vs ROI, average return and XIRR

Several return figures get quoted side by side on fund fact sheets, company reports and property listings. They answer different questions, and mixing them up is how a mediocre investment ends up looking like a strong one.

  • ROI (total return) is (E − B) ÷ B. It ignores time, so 60% over 4 years and 60% over 10 years look identical. Work it out with the ROI calculator, then convert it to a yearly figure with CAGR = (1 + ROI)1/n − 1.
  • Arithmetic average return is the plain mean of each year's return. Whenever returns vary it comes out higher than CAGR, and the gap widens as the swings get bigger. CAGR is the figure that matches the money you actually ended with.
  • Year-on-year growth is each single year's change. CAGR is their geometric mean: multiply every (1 + yearly rate) together, take the nth root, and subtract 1.
  • IRR / XIRR is the money-weighted rate that accounts for every deposit and withdrawal on its date. With a single lump sum and nothing in between, IRR and CAGR are exactly the same number.

A practical rule: use CAGR to compare lump-sum investments or business metrics (revenue, subscribers, index levels) over different time spans; use XIRR when money moved in and out along the way; and never compare a total ROI from one investment against an annual rate from another.

Worked examples

5-year investment (Find CAGR)

Rs 100,000 → Rs 165,000 over 5 years

  1. Formula: CAGR = (165,000 / 100,000)^(1/5) − 1
  2. = 1.65^0.2 − 1 = exp(0.2 × ln 1.65) − 1
  3. = exp(0.2 × 0.500775) − 1 = exp(0.100155) − 1
  4. = 1.105343 − 1 = 0.105343 → CAGR = 10.53%
  5. Cross-check: 100,000 × 1.105343^5 = 165,000 ✓
  6. Simple average = 65% / 5 = 13.0%/yr, overstates the true 10.53%

Small-business revenue (Find CAGR)

Rs 12,000,000 (2021) → Rs 28,000,000 (2026), 5 years

  1. Formula: CAGR = (28 / 12)^(1/5) − 1
  2. = 2.33333^0.2 − 1 = exp(0.2 × 0.847298) − 1
  3. = exp(0.169460) − 1 = 1.184670 − 1
  4. = 0.184670 → CAGR = 18.47% a year
  5. Cross-check: 12,000,000 × 1.184670^5 = 28,000,000 ✓

Reverse: how long to double? (Find years)

Double an investment at 12% CAGR

  1. Formula: n = ln(2) / ln(1.12)
  2. = 0.693147 / 0.113329
  3. = 6.12 years
  4. Cross-check: 1 × 1.12^6.12 = 2.00 ✓
  5. Rule of 72: 72 / 12 = 6.0 years, a close mental estimate

A decline (negative CAGR)

Rs 200,000 → Rs 150,000 over 3 years

  1. Formula: CAGR = (150,000 / 200,000)^(1/3) − 1
  2. = 0.75^(1/3) − 1 = exp(ln 0.75 / 3) − 1
  3. = exp(−0.287682 / 3) − 1 = exp(−0.095894) − 1
  4. = 0.908556 − 1 = −0.091444 → CAGR = −9.14%
  5. Cross-check: 200,000 × 0.908556^3 = 150,000 ✓

Edge case: counting years from 2026 to 2030

Rs 500,000 (end-2026) → Rs 800,000 (end-2030)

  1. Years: 2030 − 2026 = 4 (count the gaps, not the year labels)
  2. Formula: CAGR = (800,000 / 500,000)^(1/4) − 1 = 1.6^0.25 − 1
  3. = exp(0.25 × 0.470004) − 1 = exp(0.117501) − 1
  4. = 1.124683 − 1 = 0.124683 → CAGR = 12.47%
  5. Cross-check: 500,000 × 1.124683^4 = 800,000 ✓
  6. Wrong n = 5: 1.6^0.2 − 1 = 9.86%, understates growth by 2.61 points

Volatile path (why CAGR ≠ average return)

Rs 100,000 with yearly returns of +20%, −10%, +15%

  1. Year 1: 100,000 × 1.20 = 120,000
  2. Year 2: 120,000 × 0.90 = 108,000
  3. Year 3: 108,000 × 1.15 = 124,200
  4. CAGR = (124,200 / 100,000)^(1/3) − 1 = 1.242^(1/3) − 1 = 7.49%
  5. Arithmetic average = (20 − 10 + 15) / 3 = 8.33%, higher than what the money earned
  6. Cross-check: 100,000 × 1.074914^3 = 124,200 ✓

Frequently asked questions

Sources & references

Related tools

Comments & feedback

Spotted a bug or want an improvement? Tell us, our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] , most fixes ship within 24 hours.