Net Present Value (NPV) Explained With a Worked Example
October 25, 2026 · Aditya Gupta

Net present value (NPV) is the value today of all the cash an investment will bring in, minus what it costs, after discounting future cash at a rate that reflects your cost of money and the risk. A positive NPV means the investment earns more than that rate; a negative NPV means you’d be better off putting the money elsewhere.
NPV is the standard way to decide whether an investment is worth making, because it accounts for something simpler measures skip: a dollar three years from now is worth less than a dollar today. This guide walks through the formula, a full worked example with a bakery buying a new oven, the Excel shortcut (and the mistake almost everyone makes with it), and how to pick the discount rate.
Why future cash is worth less than cash today
If you have $10,000 today, you could put it in a savings account, pay down a loan or invest it in the business. Wait a year for that $10,000 and you lose that option, and you carry the risk that it doesn’t arrive at all. That’s the time value of money.
Discounting is compounding run backwards. If your money can earn 10% a year, then $11,000 one year from now is worth $10,000 today, because $10,000 invested at 10% grows to $11,000. Two years out, $11,000 is worth $11,000 ÷ 1.10² = $9,091 today. The further away the cash, the less it’s worth now.
The NPV formula
For each future cash flow, divide it by (1 + r) raised to the number of years until it arrives. Add up those present values, then subtract the upfront cost.
NPV = CF1 ÷ (1 + r)^1 + CF2 ÷ (1 + r)^2 + ... + CFn ÷ (1 + r)^n − initial investment
Here CF is the net cash flow in each year and r is the discount rate. The decision rule is simple:
- NPV above zero: the investment returns more than your discount rate. Worth doing, if the cash flow estimates hold.
- NPV of zero: it returns exactly your discount rate. You’re indifferent.
- NPV below zero: it returns less than your discount rate. You’d do better elsewhere.

How to calculate NPV: a worked example
A neighborhood bakery is considering a $40,000 deck oven. With it, the owner expects to bake more wholesale bread for local cafes, adding $11,000 a year of net cash flow (extra sales minus extra ingredients, labor and power) for five years. At the end of year five, the oven can be sold for about $3,000. The owner uses a 10% discount rate.
| Year | Cash flow | Discount factor at 10% | Present value |
|---|---|---|---|
| 0 (today) | −$40,000 | 1.0000 | −$40,000.00 |
| 1 | $11,000 | 0.9091 | $10,000.00 |
| 2 | $11,000 | 0.8264 | $9,090.91 |
| 3 | $11,000 | 0.7513 | $8,264.46 |
| 4 | $11,000 | 0.6830 | $7,513.15 |
| 5 | $14,000 ($11,000 + $3,000 resale) | 0.6209 | $8,692.90 |
| Total | $18,000 | $3,561.42 |
Undiscounted, the oven returns $58,000 for a $40,000 outlay, an $18,000 gain. Discounted at 10%, the future cash is worth $43,561.42 today, so NPV is $3,561.42. Positive, so the oven clears the 10% bar, but by a narrower margin than the raw totals suggest.

Reading the result
An NPV of $3,561 doesn’t mean the bakery will make $3,561. It means that after earning 10% a year on the $40,000, the oven creates about $3,561 of extra value, measured in present-value terms. Put another way, the owner could pay up to roughly $43,561 for the oven and still earn 10%.
How the discount rate changes the answer
NPV is sensitive to the rate you choose. Here’s the same oven at different rates:
| Discount rate | NPV |
|---|---|
| 0% | $18,000.00 |
| 5% | $9,974.82 |
| 10% | $3,561.42 |
| 15% | −$1,634.76 |
| 20% | −$5,897.63 |
Somewhere between 10% and 15%, NPV crosses zero. That crossing point, about 13.3% here, is the investment’s internal rate of return. If the bakery’s true cost of money is 12%, the oven still makes sense; at 15%, it doesn’t. Our guide to internal rate of return and its traps explains when IRR and NPV disagree.

How to choose a discount rate
This is where most of the judgment in NPV sits. The rate should reflect what the money could earn elsewhere at similar risk.
- Cost of borrowing: if you’d fund the oven with a 9% equipment loan, the rate shouldn’t be below 9%.
- Opportunity cost: if the cash would otherwise pay off a 12% credit line, use at least 12%. The cost of capital is the blended version of this for a business funded by both debt and equity.
- Risk: riskier projects deserve a higher rate. Replacing a worn-out oven is safer than launching a new wholesale line that depends on cafes you haven’t signed yet.
Many small businesses use a single hurdle rate (often somewhere between their borrowing cost and the return the owners expect on their own money) and add a few points for riskier projects. It’s not precise, but it’s consistent, and consistency matters more than precision when you’re comparing projects against each other.
Timing matters: two projects with the same total cash
Suppose the bakery’s alternative is a catering van that also costs $40,000 and also returns $58,000 over five years, but most of it arrives late as the catering business builds up: $3,000, $5,000, $10,000, $17,000 and $23,000.
| Deck oven | Catering van | |
|---|---|---|
| Upfront cost | $40,000 | $40,000 |
| Total cash returned over 5 years | $58,000 | $58,000 |
| NPV at 10% | $3,561.42 | $265.07 |
| Internal rate of return | about 13.3% | about 10.2% |
Same money in, same money out, but the oven’s NPV is more than thirteen times higher, because its cash arrives sooner. And the van’s late cash flows are also the least certain ones. A total-return comparison would rate the two projects equal. Payback does spot the difference (about 3.6 years for the oven against 4.2 for the van), but it ignores everything after payback and doesn’t put a dollar value on the gap; NPV does both. The payback period vs ROI guide covers those simpler measures and when they’re good enough.
Comparing projects of different sizes
NPV tells you how much value a project adds, in dollars. That favors big projects, which is usually right when you can fund everything with a positive NPV. It’s less helpful when cash is limited and you have to choose.
Say the bakery also has the option of a $200,000 shop expansion with an NPV of $10,000 at the same 10% rate, but the owner can only raise $80,000 this year. The expansion has the higher NPV, and it isn’t affordable. A useful tiebreaker is the profitability index, which is the present value of future cash flows divided by the upfront cost.
- Oven: $43,561.42 ÷ $40,000 = 1.09. Each dollar invested returns $1.09 in present value.
- Expansion: $210,000 ÷ $200,000 = 1.05.
When capital is the constraint, rank projects by profitability index and fund from the top until the money runs out, then check that the combination you’ve picked has the highest total NPV you can afford. When capital isn’t the constraint, take every project with a positive NPV that you can manage, and let the dollar figure decide between mutually exclusive options.
How to calculate NPV in Excel
Excel’s NPV function has a trap. According to Microsoft’s documentation, it assumes every value occurs at the end of a period, so the first value you give it gets discounted by one full period. An upfront investment made today shouldn’t be discounted at all, so Microsoft says to add it outside the function.
With the oven’s cash flows in cells B1 (−40,000) through B6 (14,000):
- Correct:
=NPV(10%, B2:B6) + B1returns $3,561.42. - Wrong:
=NPV(10%, B1:B6)returns $3,237.65, because it treats the $40,000 as if it were spent a year from now.
On a small project the gap is a few hundred dollars. On a $2 million building it can flip a decision. When cash flows fall on irregular dates, use XNPV(rate, values, dates), which Microsoft describes as returning the net present value for a schedule of cash flows that is not necessarily periodic. If you’d rather not build a spreadsheet, our IRR calculator works from the same cash flow inputs.
Common NPV mistakes
- Using profit instead of cash flow. Depreciation isn’t a cash cost, so don’t subtract it. Do include the actual cash spent on the asset, taxes paid and any change in working capital (extra inventory or receivables the project needs).
- Counting interest twice. If the discount rate already reflects your borrowing cost, don’t also subtract loan interest from the cash flows.
- Mixing inflation assumptions. If your cash flow forecasts include price increases, use a nominal discount rate. If they’re in current prices with no inflation built in, use a real rate. Mixing the two skews the result.
- Including sunk costs. Money already spent, like a $2,000 site survey done last month, is gone whichever way you decide. Leave it out.
- Forgetting the end value. Resale value, scrap value or the release of working capital at the end of a project can be a meaningful share of the return.
- Treating the forecast as fact. NPV is only as good as the cash flow estimates. Run a pessimistic case. If the bakery’s extra cash flow came in at $10,000 a year instead of $11,000, NPV at 10% would drop by about $3,800 and turn slightly negative.

What to do next
- List the cash flows for the investment you’re weighing: the upfront cost, each year’s net cash in and any end value.
- Pick a discount rate and write down why: your borrowing cost, plus a margin for risk.
- Calculate NPV in a spreadsheet using
=NPV(rate, year1:yearN) + year0. - Test it at a rate a few points higher and with cash flows 10% to 20% lower. If NPV stays positive, the decision holds up against your estimates; if it flips, you know which assumption to firm up.
- Compare options on NPV rather than on total return or payback alone, especially when cash flows arrive at different times.
Key takeaways
- Net present value is the present value of future cash flows minus the upfront cost, discounted at a rate that reflects your cost of money and the risk.
- A positive NPV means the investment earns more than the discount rate; a negative NPV means it earns less.
- Timing matters: two projects with identical total cash can have very different NPVs if one pays back sooner.
- In Excel, add the year-zero investment outside the NPV function, because NPV discounts its first value by one period.
- The discount rate drives the answer, so choose it deliberately and test how sensitive the result is to it.
Frequently asked questions
What does a positive NPV mean?
A positive NPV means the investment is expected to earn more than your discount rate, after accounting for when the cash arrives. For example, an NPV of $3,561 at 10% means the project returns 10% a year on the money invested and creates about $3,561 of extra value, in present-value terms, on top of that. It’s only as reliable as the cash flow forecasts behind it.
What discount rate should I use for NPV?
Use a rate that reflects what the money could earn elsewhere at similar risk. A practical starting point for a small business is the interest rate on the debt that would fund the project, or the return you could get by paying down existing debt, plus a few percentage points for riskier projects. Write the rate down and use it consistently across projects you’re comparing.
What is the difference between NPV and IRR?
NPV gives a dollar amount: how much value an investment creates at a chosen discount rate. IRR gives a percentage: the discount rate at which NPV equals zero. They usually agree on whether a single project is worth doing, but can rank competing projects differently, particularly when the projects differ in size or timing. When they conflict, NPV is generally the safer guide.
Why does Excel's NPV function give a different answer?
Excel’s NPV function assumes every cash flow happens at the end of a period, so it discounts the first value by one full period. If you include today’s upfront investment inside the function, it gets discounted when it shouldn’t be. Microsoft’s documentation says to add the initial cash flow outside the function, like =NPV(10%, B2:B6) + B1.
Can NPV be used for personal finance decisions?
Yes. Any decision that trades money now for money later can be framed as NPV: paying for a professional course that should raise your income, buying solar panels that cut power bills, or prepaying a loan. Estimate the cash flows honestly, choose a discount rate based on what you’d otherwise earn or pay on debt, and compare the NPV of each option.
Sources
This article is general education, not tax, legal, accounting or investment advice. Rules and thresholds differ by country and change over time, so check the specifics for your situation. See our financial disclaimer.
Get practical finance & accounting tips in your inbox
Join US professionals getting our best guides, templates and tools. Free. Unsubscribe anytime.
