How XIRR is calculated
Each amount is divided by (1 + r) raised to the number of days since the first cash flow divided by 365. XIRR is the annual rate r at which these discounted amounts sum to zero. Entries are sorted by date and amounts on the same date are combined for this calculation.
Worked example
Invest ₹10,000 on 1 January 2025 and ₹5,000 one year later. Receive ₹17,600 on 1 January 2027. At 10% a year the first deposit grows to ₹12,100 and the second to ₹5,500. Together they match the receipt, so the XIRR is 10%.
Reading your return
Include every external cash flow once. Count reinvested distributions only when they actually leave the portfolio. An annualised rate on a short holding period can be large even for a small gain.
The search covers -99.9999% through 1,000,000%. Multiple changes of sign can give ambiguous results. The day basis and equation follow the XIRR function reference.