Everyday tool

NPV and IRR Cash Flow Calculator

Enter one cash flow per period, starting with period zero, and a discount rate.

Runs in your browser. No upload.

Values are processed locally in this browser.

Result

—

About this tool

NPV and IRR Cash Flow Calculator made simple.

The calculator scans IRR roots from −99% to 1,000%. Multiple roots can make IRR ambiguous. Periods are equally spaced; this is a transparent calculation, not investment advice.

Guide

Using NPV and IRR Cash Flow Calculator

The NPV and IRR Cash Flow Calculator takes a list of cash flows, one for each equally spaced period starting at period 0, and a discount rate that you choose. It reports the net present value at that rate and searches for internal rates of return between -99% and 1,000%. It is a plain calculation on your numbers. It knows nothing about taxes, fees or risk, and it is not investment advice.

How to use it

  1. Type the cash flows separated by commas, spaces or semicolons, with period 0 first. Use a negative number for money going out and a positive one for money coming in.
  2. Enter the discount rate as a percentage per period, for example 10 for 10 percent.
  3. Run the calculation and read the NPV line first, then the IRR line. The tool tells you if it found one rate, several rates or none in its search range.
  4. Check that every period has the same length. Payments that fall at uneven times cannot be modelled here.

Worked examples

Pay 100 now, receive 110 after one period

You enter
Cash flows
-100, 110
Discount rate
10%
You get
Npv
0
Irr
10%

At 10 percent, 110 received one period later is worth exactly 100 today, so NPV is zero. The rate that makes NPV zero is the IRR, which is 10 percent here.

Run through the tool’s own code.

A small project over four periods

You enter
Cash flows
-1000, 300, 400, 500, 200
Discount rate
8%
You get
Npv
164.64
Irr
15.3221%

Each inflow is divided by 1.08 raised to its period number, then the results are added to the starting outflow of 1,000. A positive NPV at 8 percent means the flows are worth more than the outflow at that rate.

Run through the tool’s own code.

Two IRR roots

You enter
Cash flows
-100, 230, -132
Discount rate
10%
You get
Npv
0
Irr
Multiple IRR roots found: 10%, 20%. IRR may be ambiguous.

The flows change sign twice, so more than one rate can bring NPV to zero. Here both 10 and 20 percent do, and the tool lists both instead of choosing one.

Run through the tool’s own code.

When it helps

  • Check that the numbers of a small project add up at a discount rate you picked.
  • Run two cash flow plans at the same rate and compare their NPV side by side.
  • Learn how NPV falls as the discount rate rises by re-running one list at several rates.
  • See when an IRR is ambiguous because the cash flows change sign more than once.

Limits to keep in mind

  • Periods must be equally spaced and start at period 0. The tool uses no calendar dates and no uneven timing.
  • You need between 2 and 500 numbers, with at least one negative and one positive value, and the discount rate must be above -100%.
  • IRR is searched only from -99% to 1,000%. A rate outside that range is not found, and the tool then says that no IRR root was found.
  • It uses only your numbers. Taxes, fees, inflation, risk and financing terms are not included, and the output is not advice about any investment.

Tips

  • Use the same time unit for the rate and the periods. A yearly rate with monthly cash flows gives numbers that do not match.
  • Put the starting outlay as a negative number at period 0 unless it really happens later.
  • If the tool shows several IRR roots, treat the IRR with caution and look at the NPV at a rate you chose.

Sources

Common questions

About NPV and IRR Cash Flow Calculator.

What is NPV?

Net present value is the sum of each cash flow divided by one plus the rate, raised to the period number. Period 0 is not discounted. A positive result means the flows are worth more than zero at that rate.

What is IRR?

The internal rate of return is the discount rate at which the NPV of the cash flows equals zero. The tool finds it by scanning rates and narrowing down where NPV changes sign.

Why does it sometimes show more than one IRR?

When the cash flows change sign more than once, NPV can cross zero at several rates. Each is a valid root, but no single one is the return, so the tool lists all it finds and warns that the IRR may be ambiguous.

Why does it say no IRR root was found?

The tool only scans from -99% to 1,000%. If NPV never crosses zero in that range, such as -100 followed by 2000 where the IRR is far above 1,000%, you get the message instead of a number.

Can I use dates instead of periods?

No. The tool assumes equally spaced periods, one number per period. If your payments fall on uneven dates, a tool based on exact dates would be needed.

What discount rate should I use?

That is your decision. The tool does not suggest a rate and does not know any market rate. Try several and compare. The right choice depends on your own situation and on how you want to compare the flows.

Is this investment advice?

No. It is a transparent calculation on figures you type. The page itself says NPV is not a valuation recommendation. For decisions about money, consider your own circumstances and, if needed, a qualified professional.

How do I use NPV and IRR calculator?

Enter one cash flow per period, starting with period zero, and a discount rate.

Is my data uploaded to a server?

No. This tool runs locally in your browser. Your input is not uploaded.