Home Finance XIRR Calculator (Return on Irregular Cash Flows)

XIRR Calculator (Return on Irregular Cash Flows)

The yearly return on money you put in and took out on different dates.

Educational arithmetic only, not investment advice.

Advertisement

How it works

Enter three dated amounts. Money you put in is negative and money you get back is positive. The page shows the yearly return, the total you put in, what came back and the gain.

Advertisement

Formula

find r so that the sum of amount / (1 + r) ^ (days / 365) equals zero
days are counted from the first date

Sources

Example

Amount on the first date: -10,000; Amount on the second date: -5,000; Amount on the third date: 17,000. Annual return, percent: 7.0454

Frequently asked questions

-10,000 on 2024-01-01, -5,000 on 2024-07-01 and +17,000 on 2026-01-01?

You put in 15,000 and got 17,000, a gain of 2,000. The yearly return is 7.0454 percent, because the second 5,000 was only in for 18 months.

Why is the return 7.05 percent when the gain is 13.3 percent?

The 13.3 percent ignores when the money was in. This method counts the days each amount was at work, which is why the yearly figure is lower.

Advertisement

Related calculators

Loan Calculator

Monthly payment, total interest and total cost for any fixed-rate loan.

Interest Calculator

Simple interest earned or owed on a principal over time.

Compound Interest Calculator

Investment growth with regular monthly contributions and any compounding frequency.

VAT / Sales Tax Calculator

Add VAT or sales tax to a price, or take it out of a price that already includes it.