What NPV and IRR measure
Net present value (NPV) converts every future cash flow into today's money using a discount rate — the return you could earn elsewhere at similar risk, often the cost of capital — and adds them up. A positive NPV means the project earns more than that required return; a negative NPV means you would be better off investing elsewhere.
Internal rate of return (IRR) is the discount rate at which the NPV is exactly zero. It expresses the project's return as a single percentage, which is easy to compare with a hurdle rate: accept when IRR is above the required return.
The two rules agree for a conventional project (an outflow followed by inflows). When they conflict — for example when ranking projects of different sizes — corporate-finance textbooks recommend following NPV, because it measures value added in money rather than a rate.
Formulas used
With cash flows CF0 (today) to CFn and discount rate r per period:
NPV = Σ CFt ÷ (1 + r)^t, for t = 0 … n
IRR is the r that makes this sum zero. Because that is a polynomial equation, it is solved numerically: the calculator scans rates from −99% to 1,000% for sign changes and refines each one with Newton's method protected by bisection, so every IRR is found, not just one.
MIRR fixes IRR's two weaknesses (multiple answers and the assumption that inflows are reinvested at the IRR itself). Negative flows are discounted at the finance rate, positive flows are compounded to the end at the reinvestment rate:
MIRR = (FV of inflows ÷ PV of outflows)^(1/n) − 1
Payback is when the cumulative cash flow turns positive, interpolated within the period; discounted payback does the same with present values. The profitability index is the present value of the flows after period 0 divided by the initial investment — above 1 means NPV is positive.
Worked example
A project costs $50,000 today and returns $15,000, $18,000, $20,000, $17,000 and $12,000 over the next five years. The required return is 10%.
| Year | Cash flow | Present value at 10% |
|---|---|---|
| 0 | −50,000 | −50,000.00 |
| 1 | 15,000 | 13,636.36 |
| 2 | 18,000 | 14,876.03 |
| 3 | 20,000 | 15,026.30 |
| 4 | 17,000 | 11,611.23 |
| 5 | 12,000 | 7,451.06 |
- NPV = $12,600.98, so the project adds value at 10%.
- IRR = 19.63%, well above the 10% hurdle.
- MIRR at 10% finance and reinvestment rates = 15.06% — lower than the IRR because inflows are assumed to earn only 10%.
- Payback = 2 + 17,000 ÷ 20,000 = 2.85 years; discounted payback ≈ 3.56 years.
- Profitability index = 62,600.98 ÷ 50,000 = 1.25.
Limitations and tips
- Multiple IRRs. If the cash flows change sign more than once (for example a large clean-up cost at the end), there can be two or more IRRs, or none. The calculator lists them all and warns you; use NPV or MIRR to decide.
- Timing. Every flow is assumed to happen at the end of its period, with period 0 being today. Use quarters or months for finer timing — the rates are then per quarter or per month.
- Payback ignores later flows. A short payback says nothing about profitability after that point, so use it as a liquidity check, not a decision rule.
- Estimates in, estimates out. NPV is only as good as the cash-flow forecasts and the discount rate; try a few scenarios.
For level payments and a single rate, the present and future value calculator is quicker; for a simple percentage gain use the ROI calculator.
Frequently asked questions
What discount rate should I use?
Use the return you require for a project of this risk — for a company usually its weighted average cost of capital (WACC), for an individual the return you could get on a comparable investment. Riskier projects deserve a higher rate.
Why does my project have two IRRs?
An NPV equation with n periods is a polynomial, and it can have as many positive roots as the cash flows have sign changes. A pattern like −, +, − (an investment, income, then a large closing cost) often produces two IRRs. In that case IRR is not meaningful; use NPV or MIRR.
Is IRR the same as annual return?
Only when the periods are years. With quarterly or monthly periods the IRR shown is per quarter or per month; compound it to annualize, e.g. (1 + monthly IRR)12 − 1.
Will the results match a spreadsheet's NPV and IRR functions?
IRR and MIRR match. Note that the spreadsheet NPV function treats the first value as occurring one period from now, so the usual practice is NPV(rate, CF1…CFn) + CF0 — which is what this calculator computes.
Sources & references
Last reviewed: