XIRR Calculator (Irregular Cash Flows)

XIRR is the annualized return on a series of cash flows that happen on irregular dates: monthly SIP instalments, occasional top-ups, partial withdrawals and the value today. It is the rate at which all the cash flows, discounted by the time they were invested, add up to zero, and it is what Excel and Google Sheets calculate with the XIRR function.

For information only, not financial or investment advice.

Inputs

$

Results

XIRR (annualized)
9.096%
Total invested
$90,000.00
Total received and current value
$125,000.00
Gain
$35,000.00
Money multiple (×)
1.389
Period covered
4.458

    RefINV-RET-006
    MethodΣ CFₖ ÷ (1 + r)^(days ÷ 365) = 0 (Excel XIRR)
    CurrencyUSD
    Date2026-11-24

    Working

    Money amounts are plain numbers shown in the currency chosen at the top of the page (symbol only; nothing is converted and no exchange rates are used).

    1. Cash flowsinvested = sum of negatives; received = sum of positives5 flows from 2021-01-15 to 2025-06-30; invested $90,000.00, received $125,000.00
    2. Equation solvedΣ CFₖ ÷ (1 + r)^((dₖ − d₀) ÷ 365) = 0Each flow is discounted by the number of days since the first flow, on a 365-day year (as in Excel XIRR).
    3. XIRRr found by Newton’s method with a bisection fallbackr = 0.090962776 = 9.0963% a year; XNPV at this rate = 0
    4. Gain and multiplegain = received − invested; multiple = received ÷ invested$125,000.00 − $90,000.00 = $35,000.00; 1.3889×

    Cash flows discounted at the XIRR

    DateAmountYears from first flowPresent value at XIRR
    2021-01-15-$50,000.000-$50,000.00
    2021-07-15-$20,000.000.4959-$19,154.92
    2022-03-10-$20,000.001.1479-$18,097.82
    2023-01-05$15,000.001.9726$12,633.02
    2025-06-30$110,000.004.4575$74,619.72

    Entering cash flows

    Put one cash flow per line as a date and an amount. Money you put in is negative and money you take out is positive. For an investment you still hold, enter its current value and valuation date in the separate fields, or add it as the last positive line. The order of the lines does not matter: the earliest date is the start.

    XIRR is a money-weighted return. It rewards investing more just before good returns, so two investors in the same fund can have different XIRRs. To measure the fund itself, use the time-weighted return.

    Assumptions and limits

    • Days are counted on a 365-day year from the first cash flow, as in Excel XIRR.
    • Each flow happens on its date; no taxes or fees unless included in the amounts.
    • If the flows change sign more than once, several rates may solve the equation.

    References

    • Microsoft, XIRR function documentation (Excel), including its worked example.
    • DeFusco, McLeavey, Pinto and Runkle, Quantitative Investment Analysis, CFA Institute Investment Series (money-weighted rate of return).

    Questions

    What XIRR does the example portfolio earn?
    90,000 invested in three instalments, 15,000 withdrawn in 2023 and a value of 110,000 in June 2025 give an XIRR of 9.1% a year, a gain of 35,000.00 over 4.46 years.
    Does this match Excel?
    Yes. Microsoft’s documented example (−10,000 on 1 Jan 2008, then 2,750, 4,250, 3,250 and 2,750 on later dates) gives 37.3363% here, matching the 0.373362535 (37.34%) that Excel returns.
    Why is my XIRR different from the fund’s published return?
    Published returns are time-weighted and ignore when you invested. XIRR reflects your own timing: money added before a rise lifts it; money added before a fall lowers it.

    For information only, not financial or investment advice. Results depend on the figures you enter and on the assumptions listed above; lenders, banks and product providers may calculate differently. Read the disclaimer.