XIRR Calculator
The return your statement never quite tells you
Ask an investor what they earned and you usually hear either an absolute gain ("up 12.5 percent") that ignores how long each rupee was invested, or a fund's published return that assumes a single lump sum on day one. Neither describes a SIP. Money that arrived in July has had half the time to grow as money that arrived in January, and any honest annualised return has to price that difference. XIRR does: it treats every transaction as a dated cash flow and finds the one annual rate at which the present value of everything you received exactly equals the present value of everything you paid in. It is the return measure built into Excel for exactly this situation, and the one Indian fund platforms show (or should show) for your personal portfolio.
The convention matters in one visible way: XIRR annualises on actual days divided by 365. Cross a leap year and a clean 20 percent gain over 366 days reports as 19.94 percent — not an error, but the honest annualisation of a slightly longer year. The calculator below solves the rate by bisection to far more precision than the inputs deserve, and reports your total invested and total returned beside the rate, because a percentage without the money is only half an answer.
How the calculation works
XIRR is the rate r solving: Σ CFᵢ ÷ (1 + r)^((dateᵢ − date₀) ÷ 365) = 0 — every cash flow discounted by the exact number of days it sits from the first date. There is no direct formula, so the rate is found numerically: test a rate, check whether the discounted sum is positive or negative, and halve the interval until it converges. The sign convention follows Excel: money out of your pocket is negative, money back is positive, and the current value of holdings you still own goes in as a final positive flow dated today — as if you sold at today's price.
Worked examples
The exact check: −₹1,00,000 on 1 Jan 2023, +₹1,20,000 on 1 Jan 2024 (365 days) → XIRR exactly 20.00 percent. The same flows across leap-year 2024 → 19.94 percent.
The default SIP pattern: −₹10,000 (Jan 2023), −₹10,000 (Jul 2023), +₹22,500 (Jan 2024) → 16.84 percent on ₹20,000 invested.
A loss, honestly reported: −₹50,000 on 1 Jan 2023, +₹40,000 a year later → −20.00 percent. XIRR does not flinch from negative answers.
Reading your XIRR like an adult
Three cautions separate a useful XIRR from a misleading one. First, short periods explode: annualising a few weeks of performance multiplies noise into fantasy, in both directions — judge SIPs over years, not months. Second, XIRR is personal: it grades your timing as much as the fund's performance, so a good fund can show you a poor XIRR if your instalments landed badly, and comparing your XIRR with a colleague's compares your calendars as much as your choices. Third, XIRR assumes every interim receipt could be reinvested at the same rate — the standard IRR family assumption — which flatters very high figures. Used over sensible horizons and compared against a benchmark's return over the same dates, it remains the fairest single number for money invested in pieces.
Frequently asked questions
What is XIRR and how is it different from CAGR?
CAGR measures growth between one starting value and one ending value. XIRR handles real life — money going in and out on many different dates — and finds the single annualised rate that makes all those dated cash flows balance. A SIP investor adding money monthly, with a partial withdrawal in between, has no meaningful CAGR; the XIRR of the dated flows is the return. It is the same idea as IRR, except IRR assumes evenly spaced periods and XIRR uses the actual calendar.
How do I enter cash flows for XIRR?
One line per transaction: the date (YYYY-MM-DD) and the amount, with money you paid in as negative and money you received back as positive — the same sign convention as Excel's XIRR. The final line is usually today's value of what you still hold, entered as a positive amount on today's date, as if you sold everything. Without that closing value the calculation has nothing to balance against.
Why is my XIRR 19.94 percent when I clearly made 20 percent in a year?
Because XIRR counts actual days over a 365-day year. Invest ₹1,00,000 on 1 January 2024 and receive ₹1,20,000 on 1 January 2025 and the money was invested for 366 days — 2024 is a leap year — so the annualised rate is slightly less than 20 percent: 19.94 percent. Run the identical flows across 2023, a 365-day span, and the XIRR is exactly 20.00 percent. The calculator is not rounding your return down; it is annualising honestly.
Why does XIRR sometimes fail or give a strange answer?
XIRR needs at least one negative and one positive flow, and the flows must actually cross zero in present-value terms. It can also misbehave when investments and returns alternate repeatedly, or over very short periods, where annualising magnifies tiny gains or losses into absurd percentages — a 1 percent gain in a week annualises to about 68 percent. For periods under a few months, absolute return is usually the more honest number.
Should I compare a fund's return with my XIRR?
Compare like with like. A mutual fund's published return is the fund's own performance (a point-to-point or rolling figure that assumes one lump sum). Your XIRR is your personal return, shaped by when you happened to invest. If your XIRR trails the fund's return, your timing cost you; if it leads, your instalments bought well. Both numbers are true — they answer different questions.
Related tools
Method and worked examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.