XIRR Calculator

Calculate the Extended Internal Rate of Return (XIRR) for your recurring investments and SIPs.

Loading interactive tool...

What is the XIRR Calculator?

The Extended Internal Rate of Return (XIRR) is a standard metric used to calculate the annualized rate of return for a series of cash flows occurring at irregular or regular intervals. Unlike Simple CAGR (which only looks at the initial and final values), XIRR accounts for the exact timing and amount of every single transaction.

For systematic investment plans (SIPs), recurring deposits, or multi-installment equity portfolios, XIRR is the most accurate method to measure real portfolio performance because it gives time-weighted importance to each deposit.

Practical Examples & Reference Guide

Here is a reference table demonstrating the calculated XIRR for a recurring monthly investment of $5,000 over different timeframes and maturity outcomes:

Monthly DepositStart DateMaturity DateMaturity ValueCalculated XIRR (%)
$5,0002023-01-012024-01-01$64,00012.60%
$5,0002023-01-012025-01-01$135,00011.23%
$5,0002020-01-012025-01-01$380,0009.64%
$5,0002023-01-012024-01-01$55,000-15.02%

These examples illustrate that XIRR adapts to both gains and losses based on the real time duration of the investment.

In-Depth Technical Guide

The Mathematical Formula of XIRR

To compute XIRR, we solve for the rate r that satisfies the Net Present Value (NPV) equation of all cash flows set to zero:

$$\sum_{i=1}^{N} \frac{C_i}{(1 + r)^{\frac{d_i - d_1}{365}}} = 0$$

Where:

  • $C_i$ = the amount of the $i$-th cash flow (investments are entered as negative values, while final maturity or redemptions are positive values).
  • $d_i$ = the date of the $i$-th cash flow.
  • $d_1$ = the date of the first cash flow (Start Date).
  • $r$ = the annualized rate of return (XIRR).
  • $N$ = the total number of transactions including the maturity payout.

Why Do We Need a Numerical Solver?

Because r is raised to varying fractional exponents depending on the number of days between dates, this equation cannot be solved algebraically. Instead, financial tools use numerical approximation algorithms:

  1. Newton-Raphson Method: An iterative solver using the function's derivative to quickly converge on the root of the equation.
  2. Bisection Method: A fallback search algorithm that repeatedly cuts an interval in half to locate the rate when Newton-Raphson encounters convergence limits.

Frequently Asked Questions

What is the difference between CAGR and XIRR?
CAGR (Compound Annual Growth Rate) is designed for a single lump-sum investment made at the beginning and withdrawn at the end. XIRR (Extended Internal Rate of Return) handles multiple, periodic investments (like monthly SIPs) by evaluating the exact date each payment was made.
Why does XIRR use negative values for investments?
In financial accounting, cash flows represent movement of money. Investments are cash outflows (money leaving your pocket) and are entered as negative numbers. The maturity or redemption value is a cash inflow (money returning to you) and is entered as a positive number.
Can XIRR calculations fail to converge?
Yes. In rare cases where the cash flows are extremely irregular or the final value is zero or negative, the mathematical formula may have no real mathematical root. The calculator uses a robust bisection fallback to handle convergence limits gracefully.
What is a good XIRR for mutual funds?
A good XIRR depends on the asset class and market conditions. For long-term equity mutual fund investments in growing markets, an XIRR of 12% to 15% is generally considered strong, while debt funds typically target 6% to 8%.