⚡ Advanced Portfolio Analytics

XIRR Portfolio Calculator

Calculate the exact Extended Internal Rate of Return (XIRR) for irregular transaction cash flows and SIPs.

Transaction Log

* Investments (Cash Outflow) represent cash going out of your pocket.
* Redemptions / Portfolio Value (Cash Inflow) represent money returning or current value.

Invalid cash flows. Please check your amounts! You must have at least one Investment and one Redemption/Current Value.
Date Amount (₹) Type Action
✕
✕

XIRR Performance Summary

Total Outflows (Invested): ₹10,000
Total Inflows (Returned): ₹13,500
Net Profit / Absolute Yield: ₹3,500
Calculated Portfolio XIRR: 16.32%

What is XIRR & Why is it Critical for Investors?

**XIRR (Extended Internal Rate of Return)** is the golden standard calculation used to evaluate the exact annualized rate of return for a series of irregular, multi-date cash flow investments.

While basic return metrics like **Absolute Returns** tell you how much nominal money you made in total, they fail to take the critical element of **Time** into account. Similarly, **CAGR (Compound Annual Growth Rate)** is perfect for a single one-time lump-sum purchase and sale, but it breaks down completely when you make multiple ongoing transactions.

Because modern retail investments involve making regular systematic deposits (SIPs) or occasional lump-sum top-ups and premature partial withdrawals, **XIRR** is the only metric that accurately determines your true portfolio compound growth rate.

The Mathematical Equation Behind XIRR

Under the hood, XIRR solves for the discount rate ($r$) that brings the Net Present Value (NPV) of all irregular transactions exactly to zero. The equation solved is:

$$\sum_{j=1}^{N} \frac{C_j}{(1 + r)^{\frac{d_j - d_1}{365}}} = 0$$
Where:
• $C_j$ = Cash flow amount of transaction $j$. Investments are entered as negative numbers (outflows), while withdrawals and the current portfolio valuation are positive numbers (inflows).
• $d_j$ = Date of transaction $j$.
• $d_1$ = Date of the initial transaction (starting point).
• $r$ = The Extended Internal Rate of Return (XIRR).

Because this polynomial equation cannot be solved algebraically, financial platforms (and our interactive calculator) utilize numerical approximation methods—specifically the **Newton-Raphson method**—to iteratively converge on the correct rate of return.

XIRR vs CAGR: A Real-World Example

Imagine you invest ₹10,000 in a mutual fund on January 1, 2023. On July 1, 2023, you invest another ₹10,000. On January 1, 2024, your total portfolio value is ₹24,000.

• **Absolute Return**: You invested a total of ₹20,000, and it is now worth ₹24,000. Your absolute gain is ₹4,000 (20% total return).
• **CAGR Failure**: If you calculated CAGR as $(24,000 / 20,000) - 1$, you would get 20%. However, this incorrectly assumes your entire ₹20,000 was invested for the full 12 months.
• **XIRR Accuracy**: The second ₹10,000 was only invested for 6 months. Applying our Newton-Raphson XIRR solver to these cash flows reveals a true annualized rate of **27.42%**, showing that your money was actually compounding much faster than absolute returns indicate!

XIRR Calculator FAQs

Why is my XIRR showing an extremely high percentage like 100%+?
This usually happens in **short-term investments** (less than 6 months or 1 year) that show sharp, quick capital growth. Because XIRR calculates an *annualized* rate of return, a 10% profit generated in just 10 days compounds mathematically to an annualized XIRR of over 3,000%. To get a realistic and meaningful XIRR, it is best applied to investment portfolios held for at least 1 year.
What is the difference between IRR and XIRR?
**IRR (Internal Rate of Return)** assumes that all transaction cash flows happen at strictly uniform, equal intervals (e.g. exactly every year or exactly every month). **XIRR (Extended IRR)** removes this restriction, allowing you to map custom irregular calendar dates to each transaction, matching real-world investing habits.
Why do Zerodha Coin and Groww show different XIRR than absolute returns?
Absolute returns represent the direct percentage growth of your cash regardless of the duration. Broker apps use XIRR to show your *annualized efficiency* by tracking the precise dates your SIP amounts hit their mutual fund accounts, revealing the true wealth-building rate of your assets.
Can XIRR be negative?
Yes! If your current portfolio value or redemption returns are lower than the total amount of principal invested, your cash flows will resolve to a negative rate, indicating a net annualized capital loss.