How to use the NPV calculator
- Enter the initial investment, the amount spent today.
- Enter your discount rate: the yearly return you require, or could earn elsewhere at similar risk.
- Enter the expected cash flow for each year, adding or removing years as needed (up to 30). Use negative numbers for years with net costs.
You get the NPV, the internal rate of return, the profitability index, simple and discounted payback periods, and a year-by-year table you can download.
NPV formula
Profitability index = present value of cash flows รท initial investment
IRR = the rate r at which NPV = 0
Each future cash flow is divided by (1 + r) once for every year you wait for it, because money received later is worth less than money today.
Worked example
You invest $10,000 and expect $3,000, $4,000, $5,000 and $3,000 over four years. Your required return is 8%.
| Year | Cash flow | รท (1.08)แต | Present value | Cumulative |
|---|---|---|---|---|
| 0 | โ$10,000 | 1 | โ$10,000.00 | โ$10,000.00 |
| 1 | $3,000 | 1.0800 | $2,777.78 | โ$7,222.22 |
| 2 | $4,000 | 1.1664 | $3,429.36 | โ$3,792.87 |
| 3 | $5,000 | 1.2597 | $3,969.16 | $176.29 |
| 4 | $3,000 | 1.3605 | $2,205.09 | $2,381.38 |
NPV = $2,381.38, so the project beats an 8% return. The IRR is 18.03%, the profitability index 1.238, the simple payback 2.6 years and the discounted payback 2.96 years. At 12% the NPV falls to $1,332.80, and at 15% to $636.11, which shows how much the answer depends on the rate you choose.
How to read the result
- NPV > 0: the investment is expected to earn more than your required return and add value.
- NPV < 0: you'd do better at your required return elsewhere.
- Comparing projects: prefer the higher NPV. IRR can mislead when projects differ in size or timing, and some cash-flow patterns (costs in later years) have more than one IRR.
- Profitability index above 1 means the same as a positive NPV, and helps rank projects when budget is limited.
Choosing a discount rate
Businesses often use their weighted average cost of capital (WACC). For personal decisions, use the rate on debt you'd otherwise pay down, or the return you'd expect from a comparable investment. If you're unsure what return a set of cash flows implies, the interest rate calculator works backward from payments, and the IRR here does the same for uneven cash flows.
Common uses
- Equipment and business projects: does the saving or extra income justify the purchase?
- Real estate: rental income and sale proceeds versus purchase price. For the loan side, see the mortgage calculator.
- Loans and leases: compare paying cash with financing, using the payment calculator for the monthly payments.
Limitations
- NPV is only as good as the cash-flow forecasts and the rate you choose.
- The calculator assumes each cash flow arrives at the end of its year, the same convention as Excel's NPV function.
- Taxes, inflation and risk should be reflected either in the cash flows or in the discount rate, not both.
For education and planning, not investment advice. More finance calculators.
Sources
Frequently asked questions
What is net present value (NPV)?
NPV is the value today of all an investment's future cash flows, discounted at your required rate of return, minus what it costs up front. A positive NPV means the investment earns more than that required return; a negative NPV means it earns less.
What is the NPV formula?
NPV = ฮฃ CFโ รท (1 + r)แต โ initial investment, where CFโ is the cash flow in year t and r is the discount rate. For $10,000 invested with cash flows of $3,000, $4,000, $5,000 and $3,000 at 8%, NPV = $12,381.38 โ $10,000 = $2,381.38.
What discount rate should I use?
Use the return you could otherwise earn on an investment of similar risk: often a company's weighted average cost of capital, a loan's interest rate, or your personal hurdle rate. Riskier projects deserve a higher rate. Try a few rates to see how sensitive the answer is.
What is the difference between NPV and IRR?
NPV gives a dollar amount at a chosen discount rate. IRR is the discount rate at which NPV is exactly zero. If the IRR is above your required return, NPV at that return is positive. When comparing projects of different sizes, NPV is usually the better guide.
What is a good NPV?
Any NPV above zero means the investment is expected to add value at your chosen rate. Among competing options, the one with the higher NPV adds more value, as long as the cash-flow estimates and discount rate are realistic.
What is the discounted payback period?
It's how long it takes for the discounted cash flows to add up to the initial investment. It's always longer than the simple payback period, because later cash flows are worth less today.
Does this match Excel's NPV function?
Excel's NPV() assumes the first value arrives at the end of period 1, so the usual formula is =NPV(rate, year1:yearN) โ initial investment. That's exactly what this calculator does. Don't include the initial investment inside NPV() or it gets discounted by a year.