Money & shopping

XIRR calculator for dated cash flows

Find the annual return of irregularly dated payments, using the same convention as Excel.

XIRR calculator for dated cash flows
Esc to restore

Your inputs

Arithmetic on the cash flows you enter. It is not investment, tax or financial advice.

Columns Date (YYYY-MM-DD) and Amount; negative amounts are money you pay out. Between 2 and 500 rows, in any order.

Up to 25 MB per file, 50,000 data rows, 200 columns and 2 million data cells. Fully blank rows and columns are ignored before row, column and cell limits are checked. Individual tools may have smaller result or chart limits.

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Solves Σ amount ÷ (1 + r)^(days ÷ 365) = 0 for the annual effective rate r, with the earliest date as the base. A year is always 365 days, which matches Microsoft Excel’s XIRR, so leap days are not adjusted. The scan covers about −99.99% to 1,000,000% and reports every root it finds. Also shows totals and the money multiple. Dates must be real calendar dates, and all amounts share one currency.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Dated cash flows (CSV)
Date,Amount
2008-01-01,-10000
2008-03-01,2750
2008-10-30,4250
2009-02-15,3250
2009-04-01,2750

Example result

XIRR (annual effective rate)
37.336253%
Days from first to last flow
456
Total paid out
10,000
Total received
13,000
Net gain
3,000
Money multiple
1.3

Solves Σ amount ÷ (1 + r)^(days ÷ 365) = 0, the same convention as Excel’s XIRR, so a year is always 365 days (leap years are not adjusted). The earliest date is the base. Amounts are in one currency and include any fees.