calculator.onl
Categories50

XIRR for dated cash flows

Enter one date and signed amount per line. Find annual returns and XNPV using actual days divided by 365.

A worked example

Receive the same 1,100 after one year or two. How does the annualised return change?

XIRR37.34%XNPV(r)$1,994.51Σ C$3,000.00n · XNPV(r)=01Number of days456 days
Enter one date and signed amount per line. Find annual returns and XNPV using actual days divided by 365.

%
r: -99…100000 %

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

XIRR

37.34%

Calculated from your inputs

XNPV(r)$1,994.51
Σ C$3,000.00
n · XNPV(r)=01
Number of days456 days
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Enter one date and signed amount per line. Find annual returns and XNPV using actual days divided by 365. For a related calculation, try Periodic IRR calculator.

What to enter

InputWhat it meansExample value
YYYY-MM-DD ; C (±)Enter one date and signed amount per line. Find annual returns and XNPV using actual days divided by 365.2008-01-01 -10000 2008-03-01 2750 2008-10-30 4250 2009-02-15 3250 2009-04-01 2750
rr: -99…100000 %10 %

How the calculation works

  1. Enter one date and signed amount per line. Find annual returns and XNPV using actual days divided by 365.
  2. XNPV(r)=Σ Cᵢ/(1+r)^((dᵢ−d₀)/365); XIRR: XNPV(r)=0
  3. Up to 60 rows, 1900–2199, span ≤200 years. Roots are searched only from −99.9999% to 100000000%; multiple, absent or indeterminate roots are flagged. No fees or taxes added.
The formulaXNPV(r)=Σ Cᵢ/(1+r)^((dᵢ−d₀)/365); XIRR: XNPV(r)=0

A worked example

2008-01-01: −10000; 2008-03-01: 2750; 2008-10-30: 4250; 2009-02-15: 3250; 2009-04-01: 2750 → XIRR=37.33625335%. r=10% → XNPV=1994.51004065.

Example you can load

What to enter
Result for this example · XIRR37.34%

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Up to 60 rows, 1900–2199, span ≤200 years. Roots are searched only from −99.9999% to 100000000%; multiple, absent or indeterminate roots are flagged. No fees or taxes added.

Reference ·

Frequently asked questions

XIRR for dated cash flows — How is the result calculated?

XNPV(r)=Σ Cᵢ/(1+r)^((dᵢ−d₀)/365); XIRR: XNPV(r)=0

YYYY-MM-DD ; C (±) / r?

Enter one date and signed amount per line. Find annual returns and XNPV using actual days divided by 365.

XIRR for dated cash flows — What assumptions apply?

Up to 60 rows, 1900–2199, span ≤200 years. Roots are searched only from −99.9999% to 100000000%; multiple, absent or indeterminate roots are flagged. No fees or taxes added.