1. HelpIT
  2. Tools
  3. NPV and IRR calculator

Calculator · investment appraisal

NPV and IRR calculator with payback period

NPV is the sum of discounted future cash flows minus the initial investment; IRR is the discount rate at which NPV equals zero. A project is worth pursuing when NPV is positive, i.e. IRR exceeds the cost of capital. Enter the investment and yearly cash flows to get NPV, IRR and simple and discounted payback.

Calculator

Currency (labels only, no conversion)
Investment

e.g. WACC or required return

Net cash flows
PLN
PLN
PLN
PLN
PLN
PLN

Up to 20 years. Enter negative cash flows with a minus sign.

Results update as you type. Your data stays in your browser.

Formulas: NPV, IRR and payback

NPV = −I0 + Σ CFt(1 + r)t
IRR: the rate r at which NPV = 0
Payback: the point at which cumulative cash flow turns positive
I0
– initial investment.
CFt
– net cash flow in year t.
r
– discount rate (cost of capital).
Example

Investment of 1,000, cash flows of 300, 400 and 500 in years 1–3, discount rate 10%. NPV = −1,000 + 300/1.1 + 400/1.1² + 500/1.1³ = −1,000 + 272.73 + 330.58 + 375.66 = −21.04.

IRR is about 8.9% – below the required 10%, so the project does not cover its cost of capital, even though it pays back nominally after about 2.6 years.

The calculator finds IRR numerically (search for a sign change in NPV, then bisection). If cash flows change sign several times, IRR may not exist or may not be unique – in that case decide on NPV.

How to interpret the result

  • NPV > 0 – the project creates value above the cost of capital.
  • IRR > discount rate – the same conclusion expressed as a rate.
  • Discounted payback – always longer than simple payback; Polish banks compare it with the loan term, and grant bodies (e.g. EU funds) often prescribe the discount rate.

The result is only as good as the assumptions. The calculator does not replace a financial model with forecasts of revenue, costs, tax and working capital.

FAQ

How do you calculate NPV?

Discount each year's cash flow by dividing it by (1 + r) to the power of the year number, add the results and subtract the initial investment. For an investment of 1,000 and cash flows of 300, 400 and 500 at 10%, NPV is about −21.04.

How do you calculate IRR?

IRR is the discount rate at which NPV equals zero. There is no closed-form formula – it is found iteratively, as in this calculator, or with the IRR function in Excel. For cash flows of −1,000, 300, 400, 500 IRR is about 8.9%.

What discount rate should I use for a project in Poland?

Usually the company's weighted average cost of capital (WACC) or the investor's required return, plus a premium for project risk. For EU-funded projects in Poland the managing institution often prescribes the rate (frequently 4% in real terms).

What is the difference between simple and discounted payback?

Simple payback adds cash flows at nominal value; discounted payback accounts for the time value of money, so it is longer. Discounted payback better shows when the project truly recovers its cost of capital.