Extended Internal Rate of Return (XIRR)
A financial metric that calculates the annualized rate of return for a series of irregular, date-specific cash flows (inflows and outflows).
Mathematical Formula
Context & Practical Application
What is XIRR? (Simple Terms)
XIRR is a special interest rate calculator.
If you make one single deposit and let it grow, you can use CAGR to find your interest rate. But what if you add money on different days, like investing ₹5,000 every month and occasionally withdrawing some?
Since the money has been in the fund for different amounts of time, standard interest formulas won’t work. XIRR figures out the exact dates of all your deposits and withdrawals to give you the true, average annual interest rate for your actual portfolio.
Understanding Extended Internal Rate of Return (XIRR)
Extended Internal Rate of Return (XIRR) is the industry standard for measuring investment returns on portfolios with multiple cash flows.
Unlike CAGR, which only considers a single start and end point, XIRR factors in the exact dates of every transaction:
- Positive cash flows (withdrawals or redemptions).
- Negative cash flows (deposits or purchase installments).
By aligning transaction amounts with their respective durations in the market, XIRR calculates the true annualized rate of return for your overall portfolio.
Mathematical Solver for XIRR
XIRR calculates the discount rate that sets the Net Present Value () of a series of irregular cash flows occurring at specific dates to zero.
The mathematical relation is expressed as:
Where:
- is the cash flow amount at transaction (outflows are negative, inflows are positive).
- is the date of transaction .
- is the date of the initial transaction (the baseline date).
- is the total number of transactions.
Because XIRR cannot be solved algebraically, financial engines (such as MoneyInFuture) resolve the equation numerically using the Newton-Raphson method:
Where is the NPV function and is its first derivative. If Newton-Raphson diverges due to extreme cash flow patterns, engines fall back to a Bisection search to locate the root.
Referenced In Guides & Comparisons
Learn how Extended Internal Rate of Return (XIRR) is applied in real-world scenarios across our pathways:

