XIRR Calculator

The true yearly return on irregular investments and withdrawals — enter dated cash flows and get the XIRR.

FinanceFreeNo sign-up
Loading tool…

Calculated in your browser. Nothing you enter is sent anywhere.

What the XIRR Calculator shows you

When money goes into an investment at different times — monthly SIPs, an extra lumpsum, a partial withdrawal — no simple average tells you how it performed. XIRR does: it finds the one yearly rate at which every cash flow, discounted by the time since the first, adds up to zero. It is the figure your mutual fund statement calls XIRR, and the same one Excel and Google Sheets calculate.

Enter each flow on its date: investments as negative amounts, redemptions and today's value as positive. The calculator solves Σ amount ÷ (1 + r)^(days ÷ 365) = 0 with Newton-Raphson, and if that fails to settle it looks for a range where the sum changes sign and bisects it. When no rate works — all flows the same sign, say — it tells you so instead of showing a number.

  • Matches Excel's XIRR

    Actual days between flows over a 365-day year, the same definition spreadsheets and fund statements use.

  • A solver that does not guess

    Newton-Raphson for speed, bisection when Newton cannot settle, and an honest message when there is no answer.

  • The proof, shown

    Every flow discounted at the XIRR is listed; they sum to zero, so the result can be checked line by line.

  • Totals in context

    Total invested, gain and absolute return next to the XIRR, plus a simple CAGR comparison in the notes.

  • Shareable flows

    The cash flows are stored in the link, so a portfolio's calculation can be reopened or sent as-is. Export as CSV.

What people use it for

  1. Your real SIP return

    Enter each instalment and today's value to see the annualised return of a SIP, which CAGR cannot measure.

  2. Check a statement

    Reproduce the XIRR your fund house or broker reports, and see how it was reached.

  3. Compare irregular investments

    Property with staged payments, a business with several injections of capital, a policy with yearly premiums.

How to use it

Calculate XIRR for any set of dated cash flows: SIP instalments, top-ups, partial redemptions and the current value. Enter investments as negative and money received as positive; the calculator solves for the annual rate with Newton-Raphson and a bisection fallback, shows the check that proves it, and says clearly when no rate exists.

  1. Add a row for each cash flow with its date.
  2. Enter money you invested as a negative amount and money you received as positive.
  3. For an investment you still hold, add its current value as a positive amount on today's date.
  4. Read the XIRR, then check the discounted flows table or download it as CSV.
InvestorsAnalystsFinancial plannersEveryone

Questions

What is XIRR?

The annual rate r at which the sum of every cash flow divided by (1 + r)^(days since the first flow ÷ 365) equals zero. For −₹10,000 on 1 Jan 2020 and +₹12,100 on 1 Jan 2022 (731 days), XIRR is 9.99% — just under 10%, because 2020 was a leap year.

Why is my XIRR different from the CAGR?

CAGR assumes all the money was invested on day one. In a SIP most instalments were invested for much less time, so the same gain represents a higher yearly return. XIRR accounts for when each rupee went in; CAGR does not.

Why does it say XIRR does not exist?

XIRR needs at least one negative and one positive flow on different dates, and a rate at which they balance. If the flows never cross zero between −99.99% and 1,000,000% a year, there is no XIRR to report.

Can there be more than one XIRR?

Yes, when flows switch between negative and positive more than once, several rates can balance them. The calculator reports the first one it finds starting from 10%. For ordinary investing — money in, then money out — there is only one.

Is a short-period XIRR reliable?

It is mathematically correct but can look extreme: a 5% gain in one month annualises to about 80%. Treat XIRR over less than a year with caution.