XIRR Calculator
Calculate the Extended Internal Rate of Return (XIRR) for irregular transaction cashflows (SIPs, lump sums, and withdrawals).
XIRR: Annualising Returns on Irregular Cash Flows
XIRR, the extended internal rate of return (see the XIRR glossary entry), annualises a series of cash flows that happen on different dates and in different amounts: SIP instalments, top-ups, part withdrawals and the final redemption rolled into one number. Technically it is the rate at which the net present value of every dated flow equals zero, each amount is discounted back to the start by (1 + r) raised to its holding period in years, and the solver searches for the rate that balances the equation. In the default example (₹10,000 invested in January, ₹5,000 in June and ₹17,000 received the following January) the result is roughly 15.8% a year.
This is the number that matters for a SIP, because every instalment is invested for a different length of time. Twelve monthly instalments of ₹10,000 put ₹1.2 lakh to work across the year; if the value at the end is ₹1.35 lakh, that is a 12.5% absolute gain, but the XIRR comes to about 23.8% a year, because the average rupee was invested for only about 55% of the period. Early in a SIP, your XIRR and the fund's published return behave differently (XIRR is a money-weighted return, while the fund's headline is time-weighted) and the two move closer together as the corpus matures.
Don't confuse XIRR with CAGR: CAGR handles one investment at the start and one value at the end, and feeding it only a SIP's first and last numbers gives a misleading answer. XIRR takes the full schedule, which is why platforms quote it for transactions rather than prices. Enter investments as negative amounts and the final balance or withdrawals as positive, one row per date. For a single lump sum held for a whole number of years, the two measures agree, so a plain investment can be checked in the CAGR calculator. Our guide to CAGR vs XIRR works through both measures with a full example.
Popular XIRR Calculations
Each scenario below describes a cash-flow pattern you can set up in the calculator, with investments entered as negative amounts and redemptions as positive:
- ₹10,000 in January, ₹5,000 in June and ₹17,000 received the following January
- ₹10,000 invested every month for 12 months, redeemed at ₹1.35 lakh
- ₹5,000 invested every month for 24 months, redeemed at ₹1.3 lakh
- ₹1 lakh invested, ₹50,000 added after 6 months, redeemed at ₹1.7 lakh
- ₹10,000 invested every month for 5 years, redeemed at ₹9 lakh
Frequently Asked Questions
Formula & Mathematical Approach
Computes the Internal Rate of Return (IRR) for irregular cash flows using numerical methods.
Show Plain Text / Excel Formula
Solves for r where: Sum [ Cash Flow_t / (1 + r) ^ ((d_t - d_0) / 365) ] = 0
Key Assumptions
- Uses actual/365 day count convention.
- Cash flows occur exactly on the specified dates.
- Newton-Raphson with bisection fallback is used to find the root.

