FinHubFinhub

XIRR Calculator

Measure the annualised return of an investment with irregular contributions and withdrawals.

Cashflows

Investments are negative, redemptions and current value are positive.

XIRR (annualised return)

12.14%

4 cashflows between 2023-09-08 and 2026-09-08

Total invested

₹2,00,000

Total received

₹2,60,000

Net gain

₹60,000

Absolute return

30.00%

When to use XIRR

XIRR is the right measure when money goes in and out at uneven intervals — SIPs with top-ups, partial redemptions, or a portfolio built over several years. For a single investment held for a fixed period, CAGR is simpler and gives the same answer.

How XIRR measures real returns

XIRR is the annualised return of an investment where money went in and came out on irregular dates. It is the only correct way to measure a SIP, a portfolio you added to over time, or any set of cash flows that CAGR cannot handle.

Formula

Find r such that Σ [ CFᵏ ÷ (1 + r)^(dᵏ ÷ 365) ] = 0

  • CFᵏ — each cash flow, negative for money invested and positive for money received
  • dᵏ — days between the first cash flow and that cash flow
  • r — the annualised rate the solver converges on
  • There is no closed-form answer; the rate is found by iteration

Why timing changes the return

Two investors can put in the same total amount and end with the same value, yet have very different XIRRs. The one who invested earlier had money working for longer, so the same profit represents a lower annual rate.

That weighting by time is exactly what XIRR captures and what a simple profit percentage misses. It is also why your XIRR usually differs from the fund’s published return — the fund reports its own performance, not the timing of your instalments.

Entering cash flows correctly

Use negative amounts for money you invested and positive amounts for redemptions or the current value. Every SIP instalment is a separate negative entry on its own date, and the final valuation is a positive entry dated today.

The sequence must contain at least one negative and one positive value, otherwise no rate can satisfy the equation. Getting a sign wrong is the most common reason the result looks absurd.

Reading the result honestly

XIRR is already annualised, so a figure of 12% means 12% a year, not 12% in total. For holding periods shorter than a year the annualised figure can look extreme — a 3% gain over two months annualises to roughly 20%, which says little about the year ahead.

Very irregular cash flow patterns can also produce more than one mathematically valid rate. If the number looks implausible, check the dates and signs before believing it.

Where to use it

XIRR is the right measure for SIP performance, a portfolio built through years of contributions, real estate purchased with staged payments, and insurance-linked plans with annual premiums and a maturity payout.

For a single investment held over a single period with no additions, CAGR is simpler and gives the same answer.

Example: two investments, one redemption

1 Jan 2023
−₹1,00,000 (invested)
1 Jul 2023
−₹50,000 (invested)
1 Jan 2025
+₹1,80,000 (redeemed)
Total invested
₹1,50,000
Absolute gain
₹30,000 (20%)
XIRR
≈ 10.4% p.a.

The 20% absolute gain becomes about 10.4% a year once the two-year period and the later second instalment are accounted for. Had the second ₹50,000 gone in on day one, the same final value would represent a lower annualised return.

Frequently asked questions

What is the difference between XIRR and CAGR?

CAGR handles one investment and one final value. XIRR handles any number of cash flows on any dates, weighting each by how long it stayed invested. Use XIRR for SIPs and CAGR for lumpsums.

Why is my XIRR different from the fund’s advertised return?

The fund reports the return of the scheme over a fixed window. Your XIRR reflects when you actually invested, so instalments made during a weak period will pull your number away from the published figure.

How do I enter a SIP in this calculator?

Add each instalment as a negative amount on its date, then add the current portfolio value as a positive amount dated today. Units sold along the way are also positive entries.

Can XIRR be negative?

Yes. A negative XIRR means the money you received back is worth less than the money you put in, once timing is taken into account.

Is XIRR reliable for periods under a year?

It is mathematically valid but easy to misread, because a small short-term gain annualises into a large-looking rate. Absolute return is a fairer description over a few months.

How this is calculated

  • XIRR solves for the annual rate that makes the present value of all cashflows equal to zero.
  • Use negative amounts for money you invest and positive amounts for redemptions or current value.
  • Add the current portfolio value as a positive cashflow dated today to measure returns so far.

Disclaimer

This calculator provides educational estimates only and is not financial advice. Actual outcomes depend on institution policies, taxes, and market conditions.