How to Calculate NPV: Is a Future Payment Worth the Price Today?
Net present value answers one question: is a stream of future money worth what it costs today? A dollar you receive in five years is worth less than a dollar now, because today’s dollar could be earning interest in the meantime. NPV converts every future payment into today’s money, adds them up and subtracts the upfront cost. If the result is positive, the deal beats your alternative; if it is negative, you would be better off with the alternative. Companies use it to approve projects, but the same arithmetic settles personal questions too: taking a pension as a lump sum or as monthly payments, paying for an energy upgrade, or buying a rental property. This guide works through the formula by hand, shows how to do it in a spreadsheet without the classic mistake, and explains when NPV and IRR give different answers.
Present value: the idea behind NPV
Everything starts with the present value of a single payment. If you can earn 5% a year, $783.53 invested today grows to $1,000 in five years. Turned around, that means $1,000 in five years is worth $783.53 today at a 5% discount rate:
Example: $1,000 ÷ 1.05^5 = $783.53
You can check it the other way round in the compound interest calculator, which is pre-filled with $783.53 at 5% for five years: it grows back to $1,000. Discounting is simply compounding run backwards. The factor 1 ÷ (1 + r)^t is called the discount factor; at 5% it is 0.9524 for one year, 0.7835 for five and 0.3769 for twenty.
Two things make a future payment worth less: the time you wait and the return you give up. The higher the rate and the longer the wait, the smaller the present value. That is why a promise of $1,000 in twenty years is worth only $377 today at 5%, and why the choice of rate, covered below, matters so much.
The NPV formula, step by step
NPV applies the same discounting to every cash flow in a project and adds them together. The initial cost sits at time zero, so it is not discounted:
r = [DISCOUNT RATE]; CFt = the net cash flow at the end of year t
Worked example: an investment costs $10,000 today and returns $2,500, $3,000, $3,500 and $4,000 at the end of the next four years. You could otherwise earn 8% a year on the money:
| Year | Cash flow | Discount factor at 8% | Present value |
|---|---|---|---|
| 0 | −$10,000 | 1.0000 | −$10,000.00 |
| 1 | $2,500 | 0.9259 | $2,314.81 |
| 2 | $3,000 | 0.8573 | $2,572.02 |
| 3 | $3,500 | 0.7938 | $2,778.41 |
| 4 | $4,000 | 0.7350 | $2,940.12 |
| NPV | $605.36 |
The four payments total $13,000, a $3,000 profit on paper. In today’s money they are worth $10,605.36, so the investment beats the 8% alternative by $605.36. That is the right way to read a positive NPV: not “the profit is $605”, but “this is worth $605 more today than putting the same money into the alternative”. A zero NPV means the investment earns exactly your discount rate; it is not a loss.
Choosing the discount rate
The discount rate is the return you could get elsewhere with similar risk: your opportunity cost. It is the most important input and the easiest to get wrong. The same four cash flows give very different answers depending on the rate:
| Discount rate | NPV | Verdict |
|---|---|---|
| 0% (no discounting) | $3,000.00 | Overstates the gain |
| 4% | $1,708.22 | Clearly worthwhile |
| 6% | $1,135.52 | Worthwhile |
| 8% | $605.36 | Worthwhile |
| 10% | $113.72 | Marginal |
| 12% | −$342.97 | Reject |
Some practical anchors for personal decisions in November 2026:
- Risk-free money: the 10-year Treasury yielded about 5.1% in mid-November 2026. If the cash flows are almost certain, such as a pension from a sound plan, this is the floor. Our guide to bond yields explains how that rate is set.
- Paying off debt: if the money would otherwise reduce a 7% mortgage or a 22% credit card balance, that interest rate is your opportunity cost.
- Investing in shares: long-run stock returns have been around 7% to 10% a year, with large swings. Use the upper end for risky, uncertain cash flows such as a small business.
- Companies: they use their weighted average cost of capital (WACC), often 8% to 12%, plus a premium for riskier projects.
When you are unsure, calculate NPV at two or three rates. If the answer is positive across all of them, the decision is robust; if it flips sign within a plausible range, the rate is driving the result and deserves more thought than the cash flows.
NPV in Excel and Google Sheets (and the off-by-one trap)
Excel and Google Sheets both have an NPV function, but it does not do what its name suggests. It assumes the first value in the range arrives at the end of period one and discounts it. If you include the initial cost, it gets discounted too, and the answer is wrong:
Right: =NPV(8%, B2:B5) + B1 → $605.36
B1 = −10000 (today); B2:B5 = 2500, 3000, 3500, 4000
The error is always the true NPV divided by (1 + r), so it is small at low rates and easy to miss. Keep the year-0 amount outside the function and add it on afterwards.
Real cash flows rarely arrive on neat anniversaries. For irregular dates, use =XNPV(rate, values, dates), which discounts each amount by the exact number of days from the first date on a 365-day year. Unlike NPV, it treats the first value as today, so the initial cost goes inside the range. Its partner =XIRR(values, dates) gives the annual return, the same function we use for a portfolio’s money-weighted return in time-weighted vs money-weighted return.
=XIRR([CASH FLOWS INCLUDING TODAY], [DATES])
NPV vs IRR: when they disagree
The internal rate of return is the discount rate at which NPV equals exactly zero. For the example above, IRR is 10.48%: the NPV falls from $113.72 at 10% to −$342.97 at 12% and crosses zero in between. In Excel, =IRR(B1:B5) includes the year-0 cost, unlike NPV. If the IRR is higher than your discount rate, the NPV is positive, so for a single yes-or-no decision the two methods agree. They can disagree when you compare options:
| Option | Cost today | Paid back in a year | IRR | NPV at 6% |
|---|---|---|---|---|
| A | $1,000 | $1,300 | 30% | $226.42 |
| B | $10,000 | $12,000 | 20% | $1,320.75 |
Option A has the higher return, but option B adds more value: $1,320.75 against $226.42. If you can only do one, and you cannot put the other $9,000 to work at 30%, B is the better choice. IRR ranks percentages; NPV ranks dollars. When the two conflict, NPV is the one that answers “which makes me richer?”
IRR has two other weaknesses. It quietly assumes interim cash flows are reinvested at the IRR itself, which flatters high-return projects; the modified IRR (=MIRR) fixes this by using your own reinvestment rate, giving 9.60% for the example at 8%. And when cash flows change sign more than once, there can be several IRRs: a project costing $1,000, then returning $3,600, then costing $4,310 and finally returning $1,716 has an NPV of zero at 10%, 20% and 30%. NPV has neither problem.
For a single investment without interim cash flows, IRR is the same as the compound annual growth rate covered in our ROI guide.
Worked example: pension lump sum or monthly payments?
A common real decision: at 65, a defined-benefit plan offers either a $300,000 lump sum or $1,800 a month for life, with no cost-of-living increases. NPV turns it into a like-for-like comparison. Discount the monthly payments at your rate divided by 12 and compare the result with $300,000:
| Years of payments | PV at 4% | PV at 5% | PV at 6% |
|---|---|---|---|
| 15 (to age 80) | $243,346 | $227,619 | $213,306 |
| 20 (to age 85) | $297,039 | $272,746 | $251,245 |
| 25 (to age 90) | $341,014 | $307,908 | $279,372 |
| 30 (to age 95) | $377,030 | $335,307 | $300,225 |
At 5%, roughly what Treasuries pay now, the annuity is worth more than the lump sum only if you collect it for about 24 years, to around 89. At 4% the break-even falls to just over 20 years; at 6% it takes 30. Put another way, payments for exactly 20 years give an IRR of about 3.9% a year, below the Treasury yield.
Excel: =PV([RATE]/12, [MONTHS], −[MONTHLY PAYMENT])
NPV is not the whole answer here. The annuity is insurance against living to 95 and running out of money, and the lump sum ends with you while a single-life annuity stops at death. Your health, other income, and whether a spouse would get survivor benefits all matter. What NPV gives you is the price of that insurance. If you take the lump sum, our guide to the 4% rule shows how much it can safely pay out each year.
Inflation, taxes and real cash flows
Be consistent about inflation. Either estimate cash flows in future dollars, including expected price rises, and discount at a nominal rate such as the 5% above; or estimate them in today’s dollars and discount at a real rate. With 3% inflation, the real equivalent of 5% is 1.05 ÷ 1.03 − 1 = 1.94%, the same Fisher formula as in our guide to the real rate of return.
Mixing the two is the commonest error. The pension’s $1,800 is fixed in nominal dollars; at 3% inflation it will buy what $997 buys today after 20 years. Discount those fixed payments at a real 2% and their 20-year value jumps to $355,813, making the annuity look far better than it is. Nominal cash flows need a nominal rate.
Taxes work the same way: use after-tax cash flows with an after-tax discount rate. In the pension case both options are taxed as ordinary income when you receive the money (if the lump sum is rolled into an IRA), so the pre-tax comparison holds. In other decisions, such as a rental property with depreciation or an energy upgrade that saves taxed income, the tax treatment can change the NPV considerably.
Limits worth knowing
- Garbage in, garbage out. NPV is only as good as the cash flow forecasts. A precise-looking result can hide guesses about rents, energy prices or how long you will live.
- One rate for every year is a simplification. Interest rates and risk change over time; a single discount rate assumes they do not.
- It ignores risk beyond the rate. Two projects with the same NPV can have very different chances of losing money. Look at the worst plausible case as well as the central estimate.
- It ignores flexibility. The option to wait, expand or abandon a project has value that a fixed NPV does not capture.
- It is not a budget. A positive NPV does not mean you can afford the upfront cost, or that the cash will arrive when you need it.
Used with honest inputs and a few different rates, NPV is still the clearest single test of whether future money is worth today’s price.
References
Frequently asked questions
Keep reading
See discounting from the other side
Enter a present value, a rate and a number of years to watch it compound into the future amount, the reverse of the discounting that NPV uses.
Open the Compound Interest Calculator →





