Returns & Growth · Free tool
XIRR Calculator
XIRR is the annualised rate that makes the present value of every dated cashflow add up to zero. It is the return you actually earned, given when you put money in and when you took it out.
How this is calculated
Every cashflow is discounted to the same day.
Each amount is moved back to the start date using its exact number of days and a trial rate. The solver searches for the rate at which money in equals money out in present-value terms. That rate is the XIRR.
Why the simple return misleads
Put in 150,000 across two years, then take out 180,000 at the end of the third, and the simple return is 20%. Because the later contributions had much less time to work, the annualised return is closer to 7.4%.
XIRR accounts for that timing. It is the number to compare with a savings rate, a fund’s published return or the inflation rate, because all of those are annual figures.
The sign convention
Money leaving your pocket is negative: a purchase, a fee, a monthly contribution. Money arriving is positive: a sale, a dividend, a withdrawal. At least one of each is needed, otherwise there is no return to solve for.
Enter the amount on the date it actually moved. A dividend received in March and reinvested in April is two cashflows, not one, and the difference changes the answer slightly.
What XIRR cannot do
It ignores tax unless you include the tax in the cashflow. It is sensitive to dates, so a typo in a year can move the result by a lot. And with cashflows that alternate between positive and negative many times, more than one rate can satisfy the equation; the tool returns one of them.
For a simple buy and hold with no income, use CAGR. For anything with contributions, dividends or partial sales, XIRR is the honest measure.
Method
XIRR is solved by bisection on the net present value of the dated cashflows, using exact day counts and a 365-day year. The search runs between minus 99.99% and 1,000%.
No statutory rate is used. The result depends only on the dates and amounts you enter.
Go deeper
XIRR: the return number your portfolio deserves
5 min read. No sign-in needed.
Keep going
The next number to check.
- CAGR CalculatorCompound annual growth rate between two values, or the future value from a target CAGR.Open tool
- ROI CalculatorWhat a position actually returned, including dividends and costs rather than price alone.Open tool
- SWP CalculatorSystematic monthly withdrawals from an investment and how long the balance lasts.Open tool
Ready to invest with clarity?
Start with the free material. Book a call when you want a plan built around your situation.
