CAGR vs IRR vs XIRR: which return to use
By the CAGR Calculator team · Published
Quick answer
Use CAGR when there is one investment at the start and one value at the end. Use IRR when money goes in or out at regular intervals, and XIRR when the dates are irregular — such as SIPs, top-ups or partial withdrawals. For a single lump sum, all three give the same answer.
- CAGR
- One start value, one end value
- IRR
- Several cash flows at equal intervals
- XIRR
- Several cash flows on any dates
- Excel
=RRI()·=IRR()·=XIRR()- Example SIP
- Naive CAGR 6.92% · true XIRR 13.42%
The one-line difference
CAGR only knows two numbers: where you started and where you ended. IRR and XIRR know every cash flow and when it happened. They find the single annual rate at which the present value of all money in equals the present value of all money out. With one deposit and one final value, that rate is exactly the CAGR — so CAGR is really a special case of IRR.
Comparison table
| CAGR | IRR | XIRR | |
|---|---|---|---|
| Cash flows | One in, one out | Many, evenly spaced | Many, any dates |
| Accounts for timing | Start and end only | By period number | By exact date |
| Typical use | Lump sum, revenue, index growth | Project appraisal, annual deposits | SIPs, brokerage accounts, private equity |
| Excel | RRI | IRR | XIRR |
Example 1: two deposits
You invest $10,000 on 3 January 2022, another $10,000 on 3 January 2023, and the account is worth $24,000 on 3 January 2025.
- Naive CAGR on the total — $20,000 → $24,000 over 3 years: 6.27%. Wrong: the second $10,000 was only invested for two years.
- XIRR — weighting each deposit by its actual time invested: 7.53%.
Example 2: a monthly SIP
₹5,000 is invested on the 5th of every month for 36 months (₹1,80,000 in total), and the portfolio is worth ₹2,20,000 on 5 January 2025.
| Measure | Result |
|---|---|
| Absolute return | 22.22% |
| Naive CAGR (as if ₹1,80,000 was invested on day one) | 6.92% |
| XIRR (true annual return) | 13.42% |
The naive CAGR halves the real return because the average rupee was invested for only about 18 months, not 36. This is why mutual fund platforms report SIP performance as XIRR.
How to calculate XIRR in Excel
- List each cash flow in column A — investments as negative numbers, withdrawals and the final value as positive numbers.
- List the matching dates in column B.
- Enter
=XIRR(A1:A37, B1:B37)and format as a percentage.
For a single lump sum, =RRI(years, start, end) gives the same result — see the CAGR in Excel guide.
When CAGR is still the right tool
- A lump-sum investment held without additions or withdrawals.
- Growth of a metric rather than money you invested: revenue, users, market size, an index level or a share price.
- Comparing how fast two assets grew over the same dates, independent of when you bought.
For these, use the CAGR calculator. If you want to know whether the result was good, compare it with the benchmarks in what is a good CAGR.
Sources and further reading
- Microsoft Support: XIRR function — how XIRR annualises dated cash flows
- Microsoft Support: IRR function
- Wikipedia: Internal rate of return
Educational information only — not investment advice. Past performance does not guarantee future results.
Related questions
Is XIRR the same as CAGR?
Only for a single investment with no deposits or withdrawals in between. In that case XIRR and CAGR give the same answer. With several cash flows, XIRR is the correct annual return and CAGR is not defined.
Why is my SIP return shown as XIRR and not CAGR?
Each SIP instalment is invested on a different date, so each has a different holding period. XIRR weights every instalment by how long it was invested. Applying CAGR to the total invested pretends all the money went in on day one, which badly understates the return.
What is the difference between IRR and XIRR?
IRR assumes cash flows arrive at equal intervals (every year, or every month). XIRR uses the actual date of each cash flow, so it handles irregular investments. In Excel: =IRR(values) versus =XIRR(values, dates).
More CAGR guides
- How to calculate CAGRThe formula step by step, by hand, with partial years, losses and revenue.
- What is a good CAGR?Benchmarks from 98 years of stock, bond, gold and cash returns.
- CAGR vs average annual returnWhy the simple average overstates growth, and by how much.
- CAGR vs absolute returnTotal gain versus yearly pace — and when to quote each.
- Rule of 72 and doubling timeHow long money takes to double at a given CAGR.
More growth calculators
- CAGR calculatorGrowth rate from start value, end value and time.
- Reverse CAGR calculatorFuture value, starting amount or time needed.
- Stock CAGR calculatorAnnualized returns for shares, with dividends.
- Bitcoin CAGR calculatorBitcoin growth between any two dates.
- CAGR in ExcelFormulas, RRI and a free template.