Investing

How to Calculate NPV: Is a Future Payment Worth the Price Today?

Bar chart: the NPV of a $10,000 investment paying $2,500 to $4,000 a year falls from $1,708 at a 4% discount rate to −$343 at 12%

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:

Present value = [FUTURE AMOUNT] ÷ (1 + [DISCOUNT RATE])^[YEARS]
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:

NPV = −[INITIAL COST] + [CF1] ÷ (1 + r) + [CF2] ÷ (1 + r)^2 + … + [CFn] ÷ (1 + r)^n
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:

YearCash flowDiscount factor at 8%Present value
0−$10,0001.0000−$10,000.00
1$2,5000.9259$2,314.81
2$3,0000.8573$2,572.02
3$3,5000.7938$2,778.41
4$4,0000.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.

Tip: Use net cash flows for each year: money in minus money out, including maintenance, fees and taxes. Leave out costs you have already paid, such as a survey you commissioned last year. They are the same whichever way you decide, so they do not belong in the comparison.

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 rateNPVVerdict
0% (no discounting)$3,000.00Overstates the gain
4%$1,708.22Clearly worthwhile
6%$1,135.52Worthwhile
8%$605.36Worthwhile
10%$113.72Marginal
12%−$342.97Reject

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:

Wrong: =NPV(8%, B1:B5) → $560.52 (the year-0 cost is discounted by a year)
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.

=XNPV([RATE], [CASH FLOWS INCLUDING TODAY], [DATES])
=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:

OptionCost todayPaid back in a yearIRRNPV at 6%
A$1,000$1,30030%$226.42
B$10,000$12,00020%$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 paymentsPV 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.

Present value of the pension = [MONTHLY PAYMENT] × (1 − (1 + r ÷ 12)^−[MONTHS]) ÷ (r ÷ 12)
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.

Tip: Plans calculate lump sums with corporate bond rates set by the IRS (Section 417(e)). When rates are high, as in 2026, lump-sum offers shrink for the same monthly pension. If your plan lets you choose the timing, ask for quotes on different dates before deciding.

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

Discount each future cash flow by dividing it by (1 + r) raised to the number of years until it arrives, add the results and subtract the upfront cost. A $10,000 investment returning $2,500, $3,000, $3,500 and $4,000 over four years has an NPV of $605.36 at an 8% discount rate.
Use the return you could earn elsewhere with similar risk. For near-certain cash flows that is close to the Treasury yield, about 5.1% in November 2026; for money that would pay down debt, the debt’s interest rate; for risky ventures, a higher rate. Test two or three rates to see whether the decision changes.
NPV is the value an investment adds in today’s dollars at your chosen discount rate. IRR is the discount rate that makes NPV zero. For one project they agree, but when comparing projects of different sizes NPV is more reliable, because a high percentage on a small amount can add less value than a lower percentage on a large one.
Excel’s NPV assumes the first value arrives at the end of period one, so if you include today’s cost in the range it is discounted by a year. Use =NPV(rate, future cash flows) + initial cost, or XNPV with dates, which treats the first value as today.
Cripto Adicto, founder of WealthCalcApp
Cripto Adicto · Founder of WealthCalcApp · 6+ years in crypto & finance

Passionate about finance and investing, with more than 6 years of hands-on experience in the crypto world. He shares analysis and financial education on his YouTube channel, Cripto Adicto.

Watch on YouTube →

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 →

NPV Turns Future Money Into Today’s Money

To calculate net present value, divide each future cash flow by (1 + discount rate) raised to the number of years until it arrives, add them up and subtract the upfront cost. Choose a discount rate that reflects what you could earn elsewhere at similar risk, test a few rates, and in Excel keep the initial cost outside the NPV function. To see the same maths in reverse, try the compound interest calculator.