NPV & IRR Calculator

Evaluate periodic or dated cash flows with NPV/XNPV and bracketed IRR/XIRR estimates.

Match the rate to timing: per period for equally spaced rows; annual for dated rows. First flow is time zero. Dated mode uses YYYY-MM-DD,amount lines and actual days / 365. IRR scans the chosen range; multiple/no roots are possible. No investment recommendation.

Periodic mode: rate per row interval. Dated mode: annual rate. The first cash flow is time zero.

About this tool

Evaluate a cash-flow sequence with an explicit discount rate and timing convention. Dated mode supports irregular dates, while periodic mode treats entries as equally spaced periods. IRR search shows all bracketed roots found in a chosen range instead of silently choosing one.

Match the discount rate to cash-flow timing

  1. Choose equally spaced periods or actual dates. In periodic mode, the discount rate is per row interval: use a monthly rate for monthly flows and an annual rate for annual flows. This tool does not convert an annual rate to a monthly rate for you.
  2. Enter payments out as negative and receipts as positive. The first row occurs at time zero and is not discounted, including an initial investment. Later periodic rows occur one, two and three periods later.
  3. In dated mode, use an annual discount rate and enter YYYY-MM-DD,amount on each line in date order. Times are elapsed actual days from the first row divided by 365; they are not counted as whole calendar years.
  4. Choose the IRR search bounds in the same rate convention: per period for periodic flows, annual for dated flows. Several roots, no root or a root outside the search range are possible. Results are mathematical scenarios, not an investment recommendation.

How the calculation works

NPV=Σ Ct/(1+r)^t with the first flow at t=0. XNPV uses elapsed actual days/365. IRR/XIRR solves NPV(r)=0. A logarithmic scan brackets sign changes, then bisection refines roots.

Worked example

Flows −1000,600,600 at a 10% periodic discount rate give NPV≈$41.32. The positive IRR is approximately 13.06624%. A sequence with more than one sign change can have multiple IRRs.

A dated cash-flow example

Enter 2026-01-01,-1000 on the first line and 2027-01-01,1100 on the second, choose dated mode and a 10% annual discount rate. There are exactly 365 days between those dates, so NPV = -1000 + 1100 / 1.10 = 0. The annual IRR is 10% when the search range includes it.

With an irregular payment date, the exponent is the actual day count divided by 365. Keep the comma between each date and amount, and do not mix undated periodic amounts into a dated sequence.

Interpret boundary and indeterminate IRR results

An IRR can lie exactly at a search boundary. For periodic flows -100, 100, the return is 0% per period: a payment of 100 now is matched by 100 one period later. Setting the lower search rate to 0% should still include that solution. At a separate 10% discount rate, the NPV is about -9.09; NPV and IRR answer different questions.

When the net cash flow is zero at every date or period, there is no unique IRR. For example, -100 and +100 on the same date cancel before any discounting. The result is indeterminate because NPV is zero at every permitted rate, not because one sampled rate is the right return.

Keep the original dated rows for your records. Payments on different dates do not cancel before discounting merely because their total is zero. The search remains numerical: a missing bracketed root does not prove that no mathematical root exists, and multiple roots require careful interpretation.

Extremely small net amounts or very large discounted values can exceed numerical precision. The calculator reports these limits explicitly. If dated amounts cancel exactly, their net NPV can be zero even when an individual discounted entry is outside numerical range.

Project a savings balance from recurring deposits

To estimate future savings, enter a starting balance, recurring deposit, time period and assumed interest rate. Add an inflation estimate to express the ending balance in today’s money.

Enter recurring deposits in the Compound Interest Calculator

Assumptions and limitations

2–500 flows, ordered dates and a rate above −100%. Search samples 2,000 brackets. Roots outside the range or tangent roots without a sign change may be missed. This is numerical analysis, not a guarantee of every mathematical root.

Use a discount rate consistent with the flow period and currency. Taxes, risk, reinvestment assumptions and alternative opportunities require separate analysis; this is not investment advice.

Sources and editorial responsibility

Maintained by Renvoro Pty Ltd. Sources inform the methods and assumptions shown here; outputs have the limitations described on this page.

Common questions

Does the first cash flow get discounted?

In periodic mode the first cash flow is at time zero and has a discount factor of one. Subsequent flows are discounted by their periods.

When should I use dated cash flows?

Use dated mode when the intervals vary. It applies the actual number of days since the first flow, expressed in 365-day years.

What does a reported IRR represent?

It is a discount rate at which the modeled NPV equals zero. Cash flows that change sign more than once can have more than one qualifying rate.

Guide updated 2026-11-21. Calculation method and source dates remain separate.

Method reviewed 2026-10-13. Calculation standards · Report an issue

Try a worked scenario