XIRR Calculator
XIRR is the yearly return on money invested on different dates. Add each investment and withdrawal with its date, add today's value as the last row, and get your annualised return, the total invested and the absolute return.
Last updated · Free · Runs in your browser
- Total Invested
- ₹1,50,000
- Current Value / Withdrawals
- ₹1,85,000
- Absolute Return
- +23.33%
XIRR example: two investments and today's value
Someone invests ₹1,00,000 on 1 January 2023 and ₹50,000 on 1 January 2024. On 1 January 2025 the investment is worth ₹1,85,000. They have put in ₹1,50,000 and the value is ₹1,85,000, so the absolute return is 23.33%.
Because ₹1,00,000 was invested for two years and ₹50,000 for only one, the yearly return is lower than a simple split of the gain would suggest. XIRR, which weighs each amount by how long it was invested, comes to 13.27% a year.
XIRR vs CAGR vs absolute return
| Measure | Many dates? | Best for |
|---|---|---|
| Absolute return | No | A quick total gain, ignoring time |
| CAGR | No (one in, one out) | A lump sum held for a known period |
| XIRR | Yes | SIPs, top-ups and partial withdrawals |
How to use XIRR Calculator?
- Enter each investment as a negative amount with its date (for example −10,000 on the day you invested).
- Add any withdrawals or dividends you received as positive amounts on their dates.
- Add the current value of the investment as a positive amount dated today. Without it there is nothing to compare against.
- Press Calculate XIRR. Use Add row for more transactions, such as every SIP instalment.
XIRR Formula
Σ amountᵢ ÷ (1 + r)^((dateᵢ − date₀) ÷ 365) = 0
XIRR finds the yearly rate r at which the present value of all your cash flows is zero. Each amount is discounted by the number of days since the first date, divided by 365. This is the same definition Excel and Google Sheets use.
There is no closed-form answer, so the calculator solves it numerically with the Newton-Raphson method, and falls back to bisection if that does not settle. It runs in your browser.
FAQs
What is XIRR?
XIRR is the annualised return on a series of cash flows made on different dates. Unlike a simple percentage gain, it accounts for when each rupee was invested, which is why it is used for SIPs and other regular investments.
What is the difference between XIRR and CAGR?
CAGR assumes one investment on one date and one value on another. XIRR handles many dated investments and withdrawals, so it is the right measure for SIPs, top-ups and partial redemptions.
How do I calculate XIRR for a SIP?
Enter every instalment as a negative amount on its date, then add the current value of the units as a positive amount dated today. The XIRR is the yearly return on those cash flows.
Why does it say I need an investment and a withdrawal?
A rate of return needs money going out and money coming back, or a current value. If every amount has the same sign, no return can be calculated.
Is the XIRR calculator free? Is my data stored?
It is free, needs no signup, and runs entirely in your browser. The dates and amounts you enter are not sent anywhere.
Results are estimates for learning and are not a promise of returns. Arthtome is not a SEBI-registered Investment Adviser or Research Analyst. Data shown is based on the user's CAS and entries, AMFI's public NAV data and NSE's end-of-day prices. For informational and educational purposes only. No buy/sell recommendation. Past performance is not indicative of future returns.