XIRR calculator

Work out the annualised return on investments made at different times, such as SIPs, top-ups and partial withdrawals, exactly as Excel's XIRR does.

Last reviewed

Your cash flows

Add every investment and withdrawal with its date. The example is editable.

  • ₹
  • ₹
  • ₹
  • ₹
  • ₹
  • ₹
Current valueWhat the investment is worth now, or what you finally redeemed
₹

Your XIRR

Annualised return that accounts for the date of every cash flow.

XIRR10.16%a year, from 6 cash flows valued on 2026-10-19
Total invested₹1,70,000
Withdrawn + current value₹2,30,000
Gain₹60,00035.29% absolute return
  • Your absolute return is 35.29%, but the money was invested at different times over 4.5 years. XIRR accounts for when each rupee went in, giving 10.16% a year.
  • Had every investment earned 7% in an FD instead, you would have about ₹1,89,548 on 2026-10-19, so this portfolio is ahead by ₹20,452 before tax.
  • XIRR is the same as a CAGR when there is only one investment and one value; for SIPs it is the fairer measure, because later instalments have had less time to grow.

Cash flows in date order

Money out is negative, money in is positive, as in Excel's XIRR.

DateTypeCash flowYears to valuation
2022-04-05Investment-₹50,0004.54
2022-10-12Investment-₹25,0004.02
2023-06-20Investment-₹40,0003.33
2024-01-15Withdrawal₹20,0002.76
2024-08-02Investment-₹30,0002.21
2025-03-10Investment-₹25,0001.61
2026-10-19Current value₹2,10,0000.00

About this calculator

How to use the XIRR calculator

  1. Edit the example rows or clear them and add your own.
  2. For each row enter the date, choose invest or withdraw, and enter the amount.
  3. Enter the current value of the holding and the date it is valued on.
  4. Read your XIRR, total invested, gain and absolute return.
  5. Share the link to save your cash flows.

XIRR formula

Σ Ci ÷ (1 + r)(di − d0) ÷ 365 = 0

C is each cash flow (negative when you invest), d its date and d₀ the first date. There is no closed form, so the calculator solves for r with Newton–Raphson and falls back to bisection if that fails to converge.

Checked against Excel

Microsoft's XIRR help page uses these cash flows and gives 37.34%. This calculator returns 37.34%.

DateCash flow
2008-01-01-₹10,000
2008-03-01₹2,750
2008-10-30₹4,250
2009-02-15₹3,250
2009-04-01₹2,750

SIP example

A ₹10,000 monthly SIP for 3 years (36 instalments) that grows at 1% a month is worth ₹4,35,076 one month after the last instalment. Its XIRR is 12.68%, the effective yearly rate of 1% a month (often quoted as 12% a year); XIRR uses a 365-day year, so it differs slightly from 1.01¹² − 1. See the SIP calculator to project future value.

Frequently asked questions

What is XIRR?

XIRR (extended internal rate of return) is the single yearly rate that makes the present value of all your cash flows add up to zero, using the actual date of each one. It is the standard way to measure returns on SIPs, top-ups and partial withdrawals.

How do I calculate XIRR in Excel?

List investments as negative amounts and withdrawals or the current value as positive amounts in one column, their dates in another, then use =XIRR(values, dates). This calculator uses the same 365-day convention and gives the same answer.

What is the difference between XIRR and CAGR?

CAGR measures growth between one start value and one end value. XIRR handles many cash flows on different dates. For a single lumpsum held throughout, the two are the same.

Why is my SIP XIRR different from the absolute return?

Absolute return just compares total gain with total invested. In a SIP the last instalments have been invested for only a short time, so the same gain over a shorter average period means a higher annualised XIRR.

Why does the calculator say there is no XIRR?

XIRR needs at least one money-out and one money-in entry on different dates. If all amounts have the same sign, or the cash flows cannot balance at any rate, there is no answer.

Is a high XIRR over a few months meaningful?

Not much. A 5% gain in one month annualises to about 80%. XIRR is most useful for holdings of a year or more.

Related calculators

Keep planning with these tools.

Add this calculator to your website

Free for blogs and businesses. Paste this code into your page. More options

<iframe src="https://blogbanking.com/embed/xirr-calculator" title="XIRR calculator" loading="lazy" style="width:100%;height:900px;border:0;" data-blogbanking="xirr-calculator"></iframe>
<p style="font-size:13px;margin:4px 0 0;">XIRR calculator by <a href="https://blogbanking.com/xirr-calculator">BlogBanking</a></p>
<script>addEventListener("message",function(e){if(e.origin!=="https://blogbanking.com"||!e.data||e.data.type!=="blogbanking:height")return;document.querySelectorAll('iframe[data-blogbanking="'+e.data.tool+'"]').forEach(function(f){f.style.height=e.data.height+"px";});});</script>
Results are estimates for illustration, not tax or financial advice.