Choose Invest for money you put in (SIP instalments, purchases). Choose Withdraw for money you took out (redemptions, dividends, maturity payouts).
XIRR (annualised return)
0%
XIRR assumes a 365-day year, the same as the Excel and Google Sheets XIRR function. It is a past-return measure and does not guarantee future returns. This tool is for illustration only and is not investment advice.
Your cash flows
| Date | What happened | Cash flow | Years from first date |
|---|
What is XIRR?
XIRR stands for Extended Internal Rate of Return. It gives the yearly return on an investment when money goes in or out on different dates, such as a monthly SIP, a few top-ups and a part withdrawal. Unlike a simple return or CAGR, it takes the exact date of every cash flow into account, so money that stayed invested longer counts for more. Mutual fund apps, brokers and Excel all use XIRR to show a fair annual return for SIPs.
How to use this calculator
- Add one row for each time you put money in (choose Invest) or took money out (choose Withdraw). Enter the date and the amount.
- Enter the current value of the investment and the date that value is as on. Use "Use today's date" for a live value.
- The XIRR appears at once, with your total invested, net gain and a table of all cash flows.
The XIRR formula
d0 = date of the first cash flow, di = date of each cash flow
Money you invest is counted as negative (it leaves your pocket). Money you withdraw and the current value are counted as positive. XIRR is the single yearly rate at which all these flows add up to zero. There is no direct formula, so the calculator finds the rate by repeated trial, the same way Excel does. It uses a 365-day year, so the result matches Excel and Google Sheets XIRR.
Example
You invested ₹50,000 on 10 Jan 2022, ₹50,000 on 10 Jul 2022 and ₹50,000 on 10 Jan 2023. On 10 Jul 2023 you withdrew ₹20,000. On 10 Jan 2024 the investment was worth ₹1,95,000. In total you put in ₹1,50,000 and your net gain is ₹65,000, an absolute return of 43.33%. Because the money was invested for different lengths of time, the XIRR is about 27.70% a year.
XIRR vs CAGR vs absolute return
- Absolute return is the total gain divided by the amount invested. It ignores time.
- CAGR gives the yearly rate for one investment made on one date, with no money added or taken out in between.
- XIRR works when there are many cash flows on different dates. For a single investment with no other flows, XIRR and CAGR are almost the same (a small gap comes from leap years).
XIRR for SIPs
A SIP has many instalments, so CAGR cannot be used on it directly. List each instalment as an "Invest" row with its date, and enter the current value of your units. For a long SIP, you can add rows for as many instalments as you need (up to 40). Use the SIP Calculator to estimate what a SIP may grow to in future.
Tips for a correct result
- Use the real date money left or reached your account, such as the SIP debit date or the redemption date.
- Enter dividends or maturity payouts you received as "Withdraw" rows.
- Enter the current value after any exit load or tax, if you want a net return.
- Check that every date is on or before the "Value as on" date.
Limits of XIRR
- For periods under one year, the annualised figure can look very large or very small. A gain of 5% in two months does not mean 5% a month will continue.
- If the cash flows change from out to in more than once, there can be more than one mathematically correct answer. The calculator then shows the one closest to 0% and tells you.
- XIRR does not include inflation, and it does not include tax or charges unless you enter amounts after them.
- Past XIRR does not predict future returns.
Related tools: CAGR Calculator, SIP Calculator and Lumpsum Calculator.
