Calculator · Economics, Development & Economic Policy, Finance, Accounting, Banking, Insurance & Compliance, Entrepreneurship, Innovation & Product, Environment, Sustainability, Energy, Agriculture & Food Systems

NPV, IRR and Payback Calculator

Enter the project cash flows year by year and the discount rate to get NPV, IRR, simple and discounted payback and the profitability index.

Inputs

The calculation runs only in your browser; your figures are not sent to our servers or stored.

The page shows the result for the example values; turn on JavaScript to calculate with your own figures.

Result

Net present value (NPV)
-21.04
Internal rate of return (IRR)
8.896%
Payback period
2.6 years
Discounted payback
—
Profitability index
0.979
Discounted cash flows
YearCash flowPresent valueCumulative discounted
0-1,000.00-1,000.00-1,000.00
1300.00272.73-727.27
2400.00330.58-396.69
3500.00375.66-21.04

The result updates with every change.

A guidance analysis tool, not financial or investment advice. The result is only as accurate as the figures entered and the formula's assumptions; financial decisions need professional judgment and a licensed adviser's review.

How the tool works: formula and worked example

When an investment committee or board looks at a project that costs money today and pays back over several years, it is not enough for total returns to exceed the outlay. Money arriving in year three is worth less than money today, because today's cash could earn a return elsewhere in the meantime. Discounted cash flow appraisal brings every future flow back to today's value and then judges the project.

Net present value adds each cash flow divided by (1 + discount rate) raised to its year number, counting the initial outlay as year zero so it is not discounted. The internal rate of return is the discount rate at which NPV is exactly zero. Payback is the time until cumulative cash turns positive, and discounted payback does the same on discounted flows. The profitability index divides the present value of inflows by the initial outlay. These are the measures taught in the CFA Institute capital budgeting reading and used in HM Treasury's Green Book for public project appraisal.

The default case invests 1,000 and receives 300, 400 and 500 over three years, discounted at 10%. The present values are 272.73, 330.58 and 375.66, so NPV is −21.04. IRR is 8.896%, below the discount rate. Simple payback comes after 2.6 years, discounted payback is never reached within the project life, and the profitability index is 0.979. Despite 1,200 of nominal returns, the project does not earn its cost of capital.

The usual rule is that a positive NPV, an IRR above the discount rate and a profitability index above 1 all signal that a project creates value. When two projects are mutually exclusive, rank them on NPV, because IRR can favour a small high-percentage project over a larger one that adds more value.

A practical trap: spreadsheet NPV functions discount the first cash flow too, so putting the initial outlay inside the function gives a wrong answer; add it outside. If the flows change sign more than once, several IRRs may exist, and the tool warns you. The output is only as good as the forecasts behind it, so test cautious scenarios and involve a licensed financial adviser on major decisions.

Standard and formula

NPV = Σ cash flow in year t ÷ (1 + r)^t starting at t = 0 for the initial outlay; IRR is the r that makes NPV zero. Note: spreadsheet NPV discounts the first flow, so add the initial outlay outside it.

Sources

How to use it

  1. Enter the discount rate (cost of capital or your organisation's hurdle rate).
  2. Write one cash flow per line, the first being the initial outlay as a negative number.
  3. A project is usually financially acceptable when NPV is positive and IRR exceeds the discount rate.

Frequently asked questions

What is the difference between NPV and IRR?

NPV gives the value a project adds, in money, after discounting at a chosen rate. IRR is the rate at which the project breaks even, and it is compared with the required discount rate.

What discount rate should I use for NPV?

Usually the organisation's cost of capital or its approved hurdle rate, raised for riskier projects. Public bodies may be required to use an official rate set by the finance ministry.

Why does Excel give a different NPV?

Spreadsheet NPV assumes the first value arrives after one period and discounts it. Keep the initial outlay outside the function and add it to the result to get the same figure.

Can a project have more than one IRR?

Yes, when cash flows change sign more than once, such as a project with large closure costs at the end. In that case rely on NPV.

What is the difference between payback and discounted payback?

Simple payback adds the flows as they are until the outlay is recovered; discounted payback adds discounted flows, so it is always longer. In the default example simple payback is 2.6 years and discounted payback is never reached.

Domains

Careers this tool serves

Programs that build this skill

Related tools

All tools · Professional encyclopedia