XIRR Calculator

Work out your annualized return using the exact number of days your money was invested — more precise than a simple CAGR.

XIRR (Annualized Return)

0

Days Invested₹0
Absolute Gain₹0

Why XIRR Exists, and Why Plain Returns Fall Short

A simple return calculation — final value divided by initial value, minus one — works fine when you invest exactly on day one and redeem exactly one year later. Real investing rarely lines up that neatly. For example, imagine you're invested for 437 days, not a clean 365 or 730. A plain return percentage tells you what you earned over that entire stretch, but it doesn't tell you the annual rate, which is what you actually need to compare this investment against a fixed deposit, another fund, or a completely different opportunity.

XIRR — Extended Internal Rate of Return — solves exactly this. It annualizes your return based on the exact number of days your money was invested, so a 437-day holding period and a clean 2-year holding period both get converted into a fair, comparable annual percentage, regardless of how oddly the dates happen to fall.

XIRR Formula, and How to Read It

XIRR = (Redemption Value ÷ Investment Amount)^(365 ÷ Days) − 1

Let's say you invested ₹1,00,000 on March 1, 2022, and redeemed it for ₹1,35,000 on September 15, 2024 — a holding period of 929 days. Divide 1,35,000 by 1,00,000 to get 1.35, raise that to the power of (365 ÷ 929), and subtract 1. That works out to an XIRR of roughly 12.4% — the annual rate that, compounded over exactly 929 days, would turn ₹1,00,000 into ₹1,35,000.

The exponent — 365 divided by the actual number of days — is what does the real work here. It's the mechanism that converts a return earned over any arbitrary stretch of time into a clean, comparable annual figure, which is exactly why XIRR has become the standard way mutual funds and portfolio trackers report returns.

XIRR vs CAGR — A Distinction Worth Knowing

These two get confused constantly, and the confusion usually comes from a reasonable place — both measure annualized returns, and for a single lump-sum investment with a clean start and end date, they'll actually produce the same number.

The real difference shows up with multiple cash flows. CAGR (Compound Annual Growth Rate) assumes a single investment made once and a single value observed later — it can't natively handle a SIP with 24 separate monthly installments, each invested on a different date. XIRR was built exactly for that situation. It can account for any number of cash flows on any dates — multiple SIP installments, a lump-sum top-up mid-way, and a final redemption — and still solve for one single annualized rate that makes all of them consistent.

A typical mistake we often see is someone running a SIP for two years and then trying to calculate CAGR on it using just the total invested amount and the final value, ignoring that different installments were invested for different lengths of time. That approach quietly understates the real return, since it treats money invested last month the same as money invested two years ago. XIRR handles this correctly by weighting each cash flow by exactly how long it was actually invested.

Why This Calculator Uses a Single Investment and Redemption

This tool is built for the simplest, most common version of the problem: one lump-sum investment, one redemption, on two specific dates. For that scenario, the formula above solves directly, with no iteration required. A full portfolio with multiple SIP installments, partial withdrawals, or top-ups needs an iterative numerical solver — the same approach mutual fund platforms and Excel's own XIRR function use internally — since there's no single clean algebraic formula that handles an arbitrary number of cash flows on arbitrary dates.

If you're tracking a full SIP portfolio, your mutual fund platform's own statement typically shows XIRR calculated correctly across every individual installment. This calculator is most useful for checking a single lump-sum investment, or for sanity-checking one portion of a larger portfolio in isolation.

A Practical Comparison: Two Investments, Different Holding Periods

Imagine you're deciding between two investments you made in the past, and want to know which one actually performed better on an annualized basis. Investment A: ₹2,00,000 grew to ₹2,60,000 over 14 months. Investment B: ₹2,00,000 grew to ₹2,90,000 over 26 months. At first glance, B looks like the bigger win — a bigger absolute gain on the same starting amount. Run both through XIRR, though, and Investment A works out to roughly 24.5% annualized, while Investment B works out to roughly 19.6% annualized. A actually performed better per year invested, even though its total rupee gain was smaller — a distinction that's easy to miss without annualizing both figures on equal footing.

Why XIRR Matters More Than Most People Realize When Comparing Investments

Many freelancers and self-employed investors make lump-sum investments at irregular intervals, whenever cash flow allows, rather than on a fixed monthly schedule like a salaried SIP. This makes plain percentage returns especially misleading for judging performance, since holding periods across different investments rarely match up cleanly. One common scenario is someone comparing their mutual fund's plain return against their fixed deposit's stated annual rate, without realizing the mutual fund figure covers a completely different time span — XIRR is the tool that puts both numbers on genuinely equal footing before any comparison is made.

A Word on Negative XIRR

If your redemption value is lower than your investment amount, XIRR comes out negative — a straightforward, accurate reflection of a loss, annualized the same way a gain would be. A negative XIRR over a very short holding period can look alarmingly large in percentage terms, purely because of the annualization math, even if the actual rupee loss was modest. It's worth reading a sharply negative XIRR on a short holding period with that context in mind, rather than assuming the investment is dramatically worse than a similar percentage loss over a full year would suggest.

A Common Scenario: Checking a Broker's Reported Return

Let's say your broker's app shows a 32% return on a stock you sold, and that number looks impressive at first glance. One common scenario is not noticing the app is quoting a plain return, not an annualized one, until you check the actual holding period. If you held that position for 3 years and 4 months, a 32% total gain works out to only about 8.6% annualized — a perfectly reasonable return, but a very different story from what "32%" suggests without that context.

A small business owner reinvesting profits into personal investments might use this exact check before deciding whether a past investment actually outperformed simply leaving the money in the business. Comparing a headline percentage without checking the time period behind it is one of the easiest ways to misjudge how well an investment actually did.

A Typical Mistake: Comparing XIRR Across Very Different Time Horizons

A typical mistake we often see is treating a strong XIRR earned over a very short period — a few months, say — as equally meaningful as the same XIRR sustained over several years. Short-term annualized returns can swing wildly based on a single lucky or unlucky stretch, since there's less time for good and bad periods to average out. Let's say an investment gains 5% in just six weeks — annualized, that comes out to well over 50%, a number that would be extraordinary if sustained for a full year, but says very little on its own about what that investment will actually deliver over the long run.

A high XIRR over a short holding period is worth noting, but it's rarely a reliable predictor of future performance the way a consistent XIRR sustained over three, five, or ten years tends to be. Weighting the length of the track record alongside the XIRR number itself, rather than looking at the percentage in isolation, gives a more honest read on how repeatable that return is likely to be.

Using This Calculator Effectively

Enter your investment amount and date, along with your redemption value and date, to get an instant annualized return. Use this to compare investments with different holding periods on a fair, apples-to-apples basis — a small business owner deciding between reinvesting profits in the business versus a mutual fund, for example, might use XIRR on past fund performance to get a genuinely comparable annual figure before making that call.

Frequently Asked Questions

Related Calculators