When money goes into a project and comes back over several years, a simple ROI does not tell the whole story. The internal rate of return (IRR) and net present value (NPV) account for when each cash flow arrives. Our IRR calculator works out both from a list of cash flows. This guide explains what IRR and NPV mean, how to enter your numbers and how to use the results to make decisions.
How to use the calculator
- Cash flows: enter them in order, separated by commas, one per period. The first is usually the investment, entered as a negative number. Later values are what you receive (positive) or pay in (negative).
- Discount rate: the return you require, used to calculate NPV.
The default example is −10000, 3000, 4200, 6800 with an 8% discount rate. You invest 10,000 now and receive 3,000, 4,200 and 6,800 over the next three years. The IRR is 16.3406% per period, and the NPV at 8% is 1,776.66.
What NPV means
Money received in the future is worth less than money today, because today's money could be invested. NPV converts every cash flow into today's value and adds them up:
At 8%:
| Period | Cash flow | Discount factor | Present value | |--:|--:|--:|--:| | 0 | −10,000 | 1.0000 | −10,000.00 | | 1 | 3,000 | 0.9259 | 2,777.78 | | 2 | 4,200 | 0.8573 | 3,600.82 | | 3 | 6,800 | 0.7938 | 5,398.06 | | Total | | | 1,776.66 |
A positive NPV means the project earns more than your required 8%. A negative NPV means it earns less.
What IRR means
The IRR is the discount rate that makes the NPV exactly zero. In other words, it is the yearly return the project earns on the money tied up in it. There is no direct formula, so the calculator finds it numerically, with Newton-Raphson iteration backed up by Brent's method for reliability.
For the example, the IRR is 16.34%. Discounting at 16.34% makes the present values add up to exactly 10,000. If you discount at 20% instead, the NPV becomes −648.15, because 20% is above the IRR.
Using IRR and NPV to decide
- Accept a project when the IRR is above your required return (often called the hurdle rate or cost of capital). Equivalently, accept when NPV at that rate is positive.
- When comparing projects of different sizes, prefer NPV. A small project with a 40% IRR might add less value than a large one with 15%.
- Check the timing. IRR rewards quick returns. A project that pays back fast can show a high IRR even if it creates less total value.
Limitations to know about
- Reinvestment assumption. IRR implicitly assumes cash received is reinvested at the IRR itself, which can be unrealistic for very high IRRs.
- Multiple answers. If the cash flows change sign more than once (for example, a big repair cost in year 5), there can be more than one IRR. NPV does not have this problem.
- Equal periods. Each value is one period apart. If your periods are months, the IRR is a monthly rate; convert it to yearly with (1 + monthly IRR)^12 − 1.
Where IRR is used
- Business investments such as equipment, new products or expansion.
- Property: purchase price, rental income each year and the sale price at the end. The rental property calculator covers the yearly figures.
- Private equity and venture funds, which report performance as IRR.
- Personal decisions, such as whether solar panels or insulation pay for themselves.
For a single in-and-out investment, the ROI calculator is simpler. For the value today of a single future amount, try the present value calculator.
Frequently asked questions
Why must the first cash flow be negative?
IRR needs at least one outflow and one inflow. Usually the first flow is the money you invest, so it is negative. Without a sign change, there is no rate that makes NPV zero.
Is the IRR yearly or monthly?
It is per period, matching the spacing of your cash flows. Yearly cash flows give a yearly IRR; monthly cash flows give a monthly IRR.
What discount rate should I use for NPV?
Use the return you could earn elsewhere at similar risk, or your cost of borrowing. Businesses often use their weighted average cost of capital.
Can NPV and IRR disagree?
When ranking two projects, they sometimes do, especially if the projects differ in size or timing. In that case NPV is usually the better guide, because it measures value added in money terms.
Try it yourself
Run your own numbers with our free tool: IRR calculator. No sign-up, and it works on any device.