XIRR Calculator

The real annualised return on money invested on dates of your choosing.

Date investedAmount
Valued onWhat it is worth now
Your actual annualised return
15.75%

This is XIRR: the single annual rate that makes every dated cashflow add up to what you hold today.

Total invested
₹2,00,000
Gain
₹80,000
Absolute return
40.0%

The absolute figure ignores when each rupee went in, so it flatters recent investments. XIRR is the number to compare against a fixed deposit or another fund.

Why XIRR is the only return number that means anything

Most apps show you an absolute return. You put in ₹2 lakh, you now have ₹2.8 lakh, so 40%. It sounds precise and it is nearly useless, because it says nothing about how long the money was invested or when each part of it arrived.

A 40% gain earned over eight years is about 4.3% a year, which a fixed deposit would have beaten. The same 40% earned over eighteen months is about 25% a year. Identical headline, opposite conclusions. XIRR is what tells them apart.

How XIRR works

XIRR finds the single annual rate at which every cashflow, discounted from its own date, sums to zero. There is no closed-form solution, so it is solved numerically. The calculator above narrows in on the rate until the equation balances.

Σ [ Cᵢ ÷ (1 + rate)^(dᵢ ÷ 365) ] = 0
  • Cᵢ is each cashflow, negative when you invest and positive when you hold or withdraw
  • dᵢ is the number of days between the first cashflow and that one
  • rate is what the calculator solves for

What most XIRR calculators will not do

Most of the XIRR calculators that rank for this term ask for a frequency, a start date, an end date and one recurring amount. That is a SIP calculator with a different heading. It cannot take the month you skipped, the top-up you made after a bonus, or the units you sold part way through, and those are exactly the events that pull a real portfolio away from its headline return.

Every row here carries its own date and its own amount, and you can add as many as you need. Enter money out as a positive investment and money back, whether a redemption or the value you hold today, as the closing amount. It is the same calculation a spreadsheet does with XIRR, without the spreadsheet.

How to use it

  1. Add a row for every investment you made, with the date it actually left your account.
  2. If you redeemed anything along the way, add it as an extra row on the day you took it out, but only enter it as a separate positive cashflow if you are comfortable editing the current value to match.
  3. Set the current value to what the holding is worth today, and the valuation date to today.

The result is directly comparable to a fixed-deposit rate, to a benchmark index over the same dates, or to another fund. That comparability is the whole point.

A worked example

Invest ₹1,00,000 three years ago, ₹50,000 two years ago and ₹50,000 a year ago, and hold ₹2,80,000 today. Absolute return is 40%. XIRR is roughly 15% a year, because the later money has had far less time to work. The absolute figure overstates how well you actually did.

What XIRR still will not tell you

It measures the past, exactly and honestly. It says nothing about whether the portfolio that produced it was well built, or whether the same holdings make sense from here. For that you need someone to have written down why each position is held, which is what a model portfolio publishes.

Frequently asked questions

What is XIRR?

XIRR stands for extended internal rate of return. It is the single annual rate of return that makes a series of investments made on different dates add up to the value you hold today. Because it accounts for the exact date of every cashflow, it is the correct way to measure the return on a real portfolio, where money went in irregularly.

What is the difference between XIRR and CAGR?

CAGR assumes one amount went in on one date and grew to another. It works for a single lumpsum and breaks the moment there is more than one investment. XIRR handles any number of cashflows on any dates, which is why every SIP, every top-up and every partial redemption needs XIRR rather than CAGR.

Why is absolute return misleading?

Absolute return is just gain divided by amount invested, with no reference to time. Someone who invested ₹1 lakh five years ago and someone who invested ₹1 lakh last month can show the same 20% absolute return, but the first earned about 3.7% a year and the second earned an enormous annualised rate. Only XIRR separates them.

Can I calculate XIRR for irregular investments?

Yes, and that is the only situation where XIRR is worth using. Add a row per transaction with its real date, including top-ups you made in a good month, the month you skipped, and any partial redemption entered as a positive amount. Several popular XIRR calculators only accept a fixed frequency and a single amount, which is really a SIP calculator wearing an XIRR label: if your money did not go in on a tidy schedule, they cannot answer the question.

How do I calculate the XIRR of my whole portfolio?

Enter every contribution across all your funds as a separate dated row, then put the combined current value of the portfolio as the closing amount. That gives one number for the money as you actually invested it. It will usually be lower than the returns your app shows per fund, because those ignore when each rupee arrived.

What is a good XIRR for mutual funds?

For an equity fund held over long periods, 11% to 14% XIRR is a solid outcome and roughly matches the long-run market. For debt, 6% to 8%. Compare your XIRR against a benchmark over the same dates rather than against a headline number, because your entry dates are part of your result.

How do I calculate XIRR in Excel or Google Sheets?

Put your cashflows in one column and their dates in another, with investments as negative numbers and the current value as a positive number on today's date, then use =XIRR(values, dates). This calculator does the same computation, using the same day-count convention.

Why must investments be negative and the current value positive?

XIRR solves for the rate that makes all cashflows net to zero in present-value terms, so direction has to be encoded in the sign. Money leaving your pocket is negative; money you hold or receive is positive. Without both signs present there is no rate to solve for.

A return needs a portfolio behind it

This tool assumes a rate. These are the books a SEBI-registered desk actually runs to chase one.

Explore all RealCases