InvestorTrack.in

XIRR calculator

XIRR is the yearly return on money that went in and out on different dates, such as a SIP, investments added over time or a part sale. Each amount is counted from its own date, so it gives one comparable yearly rate.

Enter every amount you put in as Invested, with its date, and every amount you got back, or what the investment is worth today, as Received. For a SIP, each instalment is one Invested row.

Cash flows

Invested is money you put in. Received is money you got back, or what the investment is worth today.

  • Cash flow 1
  • Cash flow 2
  • Cash flow 3

Example cash flows. Change them to your own: the sum is worked out in your browser.

XIRR
8.29% a year
Total invested
₹20,000
Total received
₹23,000
Gain
+₹3,000
Period
730 days

The link reopens these figures. Nothing is saved.

This calculator only does arithmetic on the figures you type. The result is an illustration, not a forecast, and it is not investment advice. Charges and tax are not included.

How these tools are built and checked: editorial policy.

What is XIRR?

XIRR, the extended internal rate of return, is the yearly return that fits a set of investments and withdrawals made on different dates. Where CAGR needs one start value and one end value, XIRR takes any number of dated amounts, so it can measure a SIP, a portfolio you added to over time, or a holding you partly sold.

It works by finding the yearly rate at which all the amounts, brought to the earliest date, add up to zero. Money you put in counts as negative, and money you get back, or what the investment is worth today, counts as positive.

How can an XIRR calculator help you?

  • Measure the return on a SIP you have been running, with each instalment as its own dated row.
  • Get one yearly rate for money added at different times, instead of averaging the results by hand.
  • Include a part sale or a dividend as an amount received on its date.
  • Check a return a platform shows you, using your own dates and amounts.

How to use this calculator

  1. Add one row for every amount you put in, with its date, and set its type to Invested.
  2. Add a row for every amount you got back, and a final row for the value today, dated today, set to Received.
  3. Use Add a cash flow for more rows, and the cross to remove one.
  4. Read the XIRR, the totals and the period. If no single rate fits, the calculator says so and shows nothing.

What XIRR cannot tell you

  • It needs at least one amount invested and one received, on real dates.
  • When money goes in and out several times, more than one yearly rate can fit. Any single answer would then be misleading, so the calculator shows none.
  • It is only as good as the amounts and dates you enter. Charges and tax count only if you include them in the amounts.

How cash flows are entered: a small example

Money you put in is Invested and money you get back (or what it is worth today) is Received. These three rows give about 8.29% a year in this calculator.

How cash flows are entered: a small example
DateTypeAmount
1 Jan 2022Invested₹10,000
1 Jul 2022Invested₹10,000
1 Jan 2024Received₹23,000

Related calculators

How the numbers are worked out

XIRR is the yearly rate at which all the cash flows, brought to the earliest date, add up to zero.

  • Days are counted from the earliest date, over 365-day years: the same rule as the spreadsheet function of the same name.
  • The rate is found by search, not by guesswork. If more than one rate fits the cash flows, or none does, the page says so and shows nothing.
  • You need at least one Invested and one Received row, and real dates.

Worked example. ₹10,000 invested on 1 Jan 2022 and another ₹10,000 on 1 Jul 2022, worth ₹23,000 on 1 Jan 2024: 8.29% a year, a gain of +₹3,000 over 730 days.

Frequently asked questions

What is XIRR?

The extended internal rate of return: the yearly return that makes a set of dated cash flows add up to zero. It is the usual way to measure the return on a SIP or on investments made at different times.

How do I enter a SIP?

Add one Invested row for each instalment with its date, then one Received row for the value today, dated today.

Why does it show no result?

Either all the rows are Invested or all are Received, or the cash flows change direction several times so more than one yearly rate fits. In the second case any single rate would be misleading, so none is shown.

How is XIRR different from CAGR?

CAGR needs one start value and one end value. XIRR handles any number of dated amounts in and out.

Does it include charges and tax?

Only if you include them in the amounts you enter.

How is XIRR different from IRR?

IRR assumes the amounts are equally spaced, such as one a month. XIRR uses the actual date of each amount, so it is the right measure when the spacing is uneven.

Why is my XIRR different from the return my app shows?

Platforms may use different dates, include or leave out charges, or use a different day count. Check that the same amounts and dates are used in both.

What date should I use for the value today?

Today's date, as a Received row. If you enter an earlier date the result describes the return up to that day.

More tools

See all tools