Home› Finance›CAGR & XIRR Calculator
Finance tool

CAGR & XIRR Calculator

Calculate CAGR for start/end values and estimate XIRR for irregular dated cash flows using a 365-day discounted cash-flow method.

Calculate CAGR and XIRR

Use CAGR for simple start-to-end growth and XIRR when cash flows occur on irregular dates.

CAGR

CAGR—
Total growth—
Growth multiple—

XIRR from irregular cash flows

Enter one ISO date and one cash flow per line: YYYY-MM-DD, amount. Investments/outflows should be negative; receipts/inflows positive.

Estimated XIRR—
Cash-flow count—
Net cash flow—

CAGR versus XIRR: which growth rate should you use?

CAGR is appropriate when you only need the constant annual growth rate connecting one starting value to one ending value over a known number of years. XIRR is more appropriate when money moves in and out on irregular dates.

CAGR formula

CAGR = (ending value ÷ starting value)1/years − 1. CAGR smooths the path into one annual rate, so it does not describe volatility between the start and end dates.

How this XIRR calculator works

The XIRR engine discounts each cash flow according to the number of days from the earliest date and searches for a rate that makes net present value approximately zero. Microsoft documents XIRR as an annualized internal rate of return for irregular cash flows using a 365-day year and requiring at least one positive and one negative cash flow. Microsoft XIRR reference.

Interpretation and limitations

XIRR can be misleading when a cash-flow series has more than one mathematical solution, and it should not be treated as a forecast. CAGR and XIRR are historical/analytical measures; neither accounts for risk, taxes, fees or inflation unless those effects are included in the cash flows themselves.

Input sign convention

Enter investments, purchases and other cash outflows as negative values. Enter distributions, sale proceeds and other inflows as positive values. Use actual dates for irregular flows.

Frequently asked questions

What is the difference between CAGR and XIRR?
CAGR uses only a starting value, ending value and elapsed years. XIRR uses the timing and amount of every dated cash flow, so it is better suited to irregular contributions and withdrawals.
Why does XIRR require positive and negative cash flows?
An internal rate of return is a discount rate that balances outflows and inflows. Without at least one value of each sign, there is no rate that crosses a zero net present value in the usual sense.
Can XIRR have more than one answer?
Yes. Certain non-conventional cash-flow patterns can produce multiple mathematical roots. This calculator reports the first sign-change root it finds and flags cases where it cannot find one.
Is CAGR the same as average annual return?
No. CAGR is the constant compounded rate connecting start and end values. A simple arithmetic average of yearly returns can differ materially.
Does this calculator provide investment advice?
No. It performs mathematical return calculations only and does not evaluate suitability, risk, tax treatment or future performance.