MarketHUD

Free calculator

XIRR Calculator

Work out the true annual return on investments made at different times, such as SIPs, top-ups and partial withdrawals, from the dates and amounts.

Your cash flows

DateAmount (₹)Type

For an investment you still hold, add its current value as “Received” with today's date.

XIRR

7.41%

A year

Gain

₹1,00,000

₹4,00,000 received

Absolute return

33.33%

On ₹3,00,000 invested

What this means

You invested ₹3,00,000 and received ₹4,00,000 over about 5.0 years, a gain of ₹1,00,000 (33.33% in total). Because the money went in at different times, the annual return is 7.41%: the rate at which every amount, compounded from its own date, adds up to what you received.

Dividing the total gain by the total time would understate it, because later investments were in the market for less time. XIRR is the figure to compare with an FD rate or a fund's annual return.

By Rupesh Kumar · Last updated: · How our calculators work

How it's calculated

0 = Σ Cₖ ÷ (1 + x)^((dₖ − d₀) ÷ 365)

Solve for x, the XIRR

Cₖ
Each cash flow: negative for money invested, positive for money received
dₖ
Date of each cash flow
d₀
Date of the first cash flow
x
The annual rate that makes the flows balance

There's no direct formula, so the rate is found by narrowing it down until the flows balance to within a fraction of a rupee. Days are counted as actual days over 365, as in Excel's XIRR, so the results match.

Worked example

₹1,00,000 invested on 1 April in each of 2021, 2022 and 2023, and the whole investment worth ₹4,00,000 on 1 April 2026. The total gain is ₹1,00,000, or 33.33% on ₹3,00,000.

The XIRR is 7.41% a year. It's higher than spreading 33% evenly over five years would suggest, because two of the three instalments were invested for only three or four years.

XIRR, CAGR and absolute return

  • Absolute return: total gain ÷ total invested, with no time element.
  • CAGR: the annual rate for a single amount invested once. It's the right measure for a lump sum.
  • XIRR: the annual rate for many amounts invested or withdrawn on different dates. It's the right measure for SIPs, and it equals CAGR when there is just one investment and one redemption.

Assumptions and limitations

  • Enter amounts after any exit load or tax you actually paid, if you want the return you really got.
  • Very short periods give extreme annualised figures; a 2% gain in a month is about 27% a year.
  • Unusual patterns, such as large withdrawals followed by new investments, can have more than one mathematical answer. The calculator returns one; check it looks sensible.

Frequently asked questions

What is XIRR in mutual funds?
The annualised return on investments made on different dates, such as a SIP. It accounts for how long each instalment was invested, which a simple total return doesn't.
How do I calculate XIRR for my SIP?
Enter each instalment as 'Invested' with its date, and the current value of your holding as 'Received' with today's date. The calculator returns the XIRR.
Is XIRR the same as CAGR?
Only when there's a single investment and a single redemption. With several investments, CAGR on the totals understates the return; XIRR is the right measure.
Why doesn't my XIRR match my app exactly?
Small differences come from the valuation date, rounding of units and NAVs, and whether stamp duty or loads are included. The method itself is the same.

Sources