IRR & NPV Calculator

Enter the money going out and coming in each year to find the internal rate of return, and the net present value at your chosen rate.

  • ✓ Free
  • ✓ No sign-up
  • ✓ Runs in your browser
Money out is negative, money in is positive. Separate with a comma and space, or one per line.
%

Add this calculator to your website

Copy the code below and paste it into your page’s HTML (in WordPress, use a Custom HTML block). It’s free, with no sign-up and no ads inside the calculator.

Preview

Please keep the link under the calculator. It tells your readers where the calculator comes from.

How IRR and NPV work

NPV = CF₀ + CF₁ ÷ (1 + r) + CF₂ ÷ (1 + r)² + … + CFₙ ÷ (1 + r)ⁿ

IRR is the rate r that makes NPV exactly zero. The calculator finds it by narrowing in on that rate.

Example: pay $50,000 today and receive $12,000, $15,000, $18,000 and $20,000 over four years. The IRR is about 10.41%. At an 8% discount rate the NPV is $2,961, so the investment beats 8%.

For a simple start-and-end investment, the ROI Calculator is quicker. To see how long it takes to get your money back, try the Payback Period Calculator.

Frequently asked questions

What is IRR?

The internal rate of return is the yearly rate at which the money you get back, discounted to today, exactly equals the money you put in. It lets you compare projects and investments of different sizes and lengths with one percentage.

What is NPV?

Net present value adds up every cash flow after converting it to today’s dollars at a rate you choose, often your cost of borrowing or the return you could earn elsewhere. A positive NPV means the investment beats that rate.

How do I enter cash flows?

Start with what you pay today as a negative number, then the money in (positive) or out (negative) at the end of each year. For example: -50000, 12000, 15000, 18000, 20000.

Why does the calculator say there is no IRR?

IRR needs at least one negative and one positive cash flow. If cash flows change sign several times, there can be more than one IRR; in that case rely on NPV instead.