NPV Formula: Net Present Value Worked on a $50,000 Project

The net present value (NPV) formula adds up what each future cash flow is worth today and subtracts what you pay now: NPV = CF₁ ÷ (1 + r)¹ + CF₂ ÷ (1 + r)² + … + CFₙ ÷ (1 + r)ⁿ − the initial investment. Above zero, the project earns more than your rate r. Below zero, it earns less.

Below, we work the formula through one decision from start to finish: whether a food truck should buy a $50,000 catering trailer. You'll see every discounting step, the Excel formula (and the mistake that trips up most people), the errors that cost students marks, and practice questions with answers.

Sample: Ember & Salt Street Kitchen, our fictional food truck, deciding on a $50,000 catering trailer. Cash figures are our assumptions.

A hand using a desk calculator over printed charts and financial reports.
NPV turns a stream of future cash into one number in today’s money. Photo: RDNE Stock project, Pexels.

Key points

  • NPV compares money at different dates by converting all of it to today’s dollars first.
  • Discount each year’s cash by (1 + r) raised to the number of years until it arrives, then subtract the up-front cost.
  • A positive NPV means the project beats your required return; it does not mean it is risk-free.
  • In Excel, =NPV() treats the first cell as one year away. Add the year-0 investment outside the function, or you'll understate the answer.
  • Use cash, not accounting profit, and leave loan payments out: the discount rate already covers the cost of the money.

The NPV formula, piece by piece

The formula NPV = Σ CFₜ ÷ (1 + r)ᵗ − C₀, adding up every year from t = 1 to t = n.

  • CFₜ is the cash the project brings in during year t, after its own running costs.
  • r is the discount rate: the yearly return the money has to earn to be worth it, written as a decimal (10% = 0.10).
  • t is the number of years until that cash arrives. Cash at the end of year 3 is divided by (1 + r)³.
  • C₀ is what you pay today, at "year 0". It is not discounted because it is already in today’s money.
  • Σ just means "add them all up".

Each fraction is a present value: what that year's cash is worth today. NPV is simply all those present values added together, minus what you put in.

Why discount at all? Because $1,000 in two years is worth less than $1,000 now. If your money can earn 10% a year, $826 today grows into $1,000 in two years ($826 × 1.1 × 1.1). So $1,000 in two years is worth only $826 today.

Worked example: is a $50,000 catering trailer worth it?

Ember & Salt, our sample food truck, is offered a $50,000 catering trailer. The owner expects it to bring in extra cash, after its own food, staff and running costs, of $12,000 in year 1, rising to $16,000 by year 5 as bookings grow. The truck's loan costs about 10.5%, so the owner asks the trailer to earn at least 10% a year.

YearCash inDiscount factor at 10%Worth today
0 (today)−$50,0001.0000−$50,000
1$12,0001 ÷ 1.10¹ = 0.9091$10,909
2$14,0001 ÷ 1.10² = 0.8264$11,570
3$15,0001 ÷ 1.10³ = 0.7513$11,270
4$15,0001 ÷ 1.10⁴ = 0.6830$10,245
5$16,0001 ÷ 1.10⁵ = 0.6209$9,935
Total$22,000$3,929 (the NPV)

Worth today = cash in × discount factor. The five years are worth $53,929 today; minus the $50,000 cost, the NPV is $3,929.

Cash in each year, and what it is worth today at 10%
  • Cash in
  • Worth today

The later the cash arrives, the bigger the gap: year 5’s $16,000 is worth only $9,935 today.

Show the numbers
Cash inWorth today
Year 1$12,000$10,909
Year 2$14,000$11,570
Year 3$15,000$11,270
Year 4$15,000$10,245
Year 5$16,000$9,935

Reading the answer

An NPV of $3,929 means the trailer pays back its $50,000, earns the 10% a year the owner asked for, and leaves another $3,929 on top, in today's money. It clears the bar, but not by much: about 8% of the cost. A slow first season could wipe that out, which is worth knowing before signing.

Notice the trap in the plain totals. Over five years the trailer brings in $72,000, which looks like a $22,000 profit. Once each year's cash is converted to today's money, the cushion is less than a fifth of that.

How the discount rate changes the answer

The rate you choose matters as much as the cash forecast. Here is the same trailer at different rates:

Discount rateNPVDecision
0% (no discounting)$22,000Looks great, but ignores the time value of money
5%$11,962Accept
8%$6,936Accept
10%$3,929Accept, with a thin cushion
12%$1,163Only just
12.9%about $0Break-even rate (the IRR)
15%−$2,585Reject
20%−$7,933Reject

The rate at which NPV hits zero, about 12.9% here, is the internal rate of return. Our IRR formula guide shows how to find it by hand and in Excel.

Try your own numbers. The calculator below starts with the trailer; change the rate or any year’s cash and the NPV, IRR and payback update as you type.

Try it: NPV, IRR and payback

Pre-filled with the catering trailer: $50,000 put in, five years of cash back, 10% discount rate.
Cash coming back each year
Year 1
Year 2
Year 3
Year 4
Year 5
$3,929net present value at 10%
12.9%internal rate of return (IRR)
3.6 yearsto earn it back (4.6 years at today’s value)

Positive: at 10%, the cash coming back is worth $3,929 more than you put in, in today’s money. It breaks even at a 12.9% rate, its IRR. Profitability index: 1.08, so each $1 put in comes back as $1.08 in today’s money.

Each year’s cash, and what it is worth today
  • Cash in that year
  • Worth today

At 10%, the $16,000 you get in year 5 is worth $9,935 today. The further away the money, the less it is worth now.

Show the numbers
YearCash in that yearWorth today
1$12,000$10,909
2$14,000$11,570
3$15,000$11,270
4$15,000$10,245
5$16,000$9,935
NPV at different discount rates

The higher the rate you ask for, the lower the NPV. It reaches zero at 12.9%, the IRR: above that rate, the project earns less than you asked of it.

Show the numbers
Discount rateNPV
0%$22,000
5%$11,962
10%$3,929
15%−$2,585
20%−$7,933
25%−$12,373

NPV in Excel and Google Sheets

Excel's NPV function has a catch. It assumes the first value you give it arrives one year from now. So it can't handle the year-0 investment inside the function: you add that separately.

CellWhat goes in it
B1−50000 (the trailer, paid today)
B2 to B612000, 14000, 15000, 15000, 16000
Right=NPV(10%, B2:B6) + B1 → $3,929
Wrong=NPV(10%, B1:B6) → $3,572

The wrong version discounts the whole project by one extra year, because Excel treats the $50,000 as if it were paid a year from now. The answer comes out exactly 10% too small ($3,929 ÷ 1.1 = $3,572). On a bigger project, that gap can change the decision.

Cash on uneven dates? Use =XNPV(rate, values, dates). It discounts each amount by its exact date, and the first value can be today’s investment. Google Sheets has the same NPV and XNPV functions, with the same year-0 catch for NPV.

Mistakes that give the wrong NPV

  1. Using profit instead of cash. Depreciation lowers profit but isn't money leaving the business, so it doesn't belong in the cash flows. Count cash when it actually comes in or goes out.
  2. Counting loan payments as cash out. The discount rate already stands for the cost of the money. Subtracting interest as well counts it twice.
  3. Discounting the year-0 investment. It is already in today’s money. This is the Excel slip above.
  4. Mixing periods. Monthly cash flows need a monthly rate (10% a year ÷ 12 is close enough for a quick check), and the exponent counts months, not years.
  5. Forgetting the end value. If the trailer could be sold for $10,000 after five years, add it to year 5’s cash.
  6. Mixing real and nominal numbers. If your cash forecast includes price rises, use a rate that includes inflation too; if it is in today’s prices, use a rate without it.

What discount rate should a small business use?

Textbooks use the weighted average cost of capital (WACC): the blended cost of the business’s loans and of the return its owners expect. A small business rarely needs that level of precision. Three practical starting points:

  • Your borrowing rate, if the project is paid for with a loan: about 10.5% on Ember & Salt’s truck loan.
  • What the cash could earn elsewhere, if you are paying from savings.
  • Add a few points for risk. A new product line is riskier than replacing a machine you already rely on, so ask more of it.

Then test the answer at two or three rates, as in the table above. If a project only works at the lowest rate you can justify, treat it as marginal. Our guide to capital budgeting compares NPV with IRR, payback and the profitability index on the same project.

From our team Our team has spent years in corporate treasury and banking, reviewing investment cases before money was committed, and the NPV itself was rarely what we argued about. The arguments were about the year-3 cash and the rate. So before you trust a positive NPV, cut every year's cash by 15% and run it again. Our trailer drops to about −$4,160 at 10%, which tells you its whole case rests on bookings hitting plan. That's not a reason to say no, but it is a reason to line up those catering clients before you buy.

Practice questions Try each one, then open it to check your working.

1. A project costs $10,000 today and brings in $4,000 at the end of each of the next 3 years. What is its NPV at 8%?

$4,000 ÷ 1.08 = $3,703.70; $4,000 ÷ 1.08² = $3,429.36; $4,000 ÷ 1.08³ = $3,175.33. Together that is $10,308.39, so NPV = $10,308.39 − $10,000 = $308.39. Positive: accept at 8%.

2. Same project, but you need 12% a year. Accept or reject?

At 12% the three amounts are worth $3,571.43 + $3,188.78 + $2,847.12 = $9,607.33. NPV = −$392.67, so reject. The project earns somewhere between 8% and 12%.

3. A colleague puts −10000, 4000, 4000, 4000 in A1:A4 and types =NPV(8%, A1:A4). What do they get, and why is it wrong?

They get $285.54: the right answer, $308.39, divided by 1.08. Excel treated the $10,000 as if it were paid a year from now. The fix is =NPV(8%, A2:A4) + A1.

4. A $30,000 oven saves $8,000 a year for 4 years and can be sold for $5,000 at the end. NPV at 10%?

The savings are worth $8,000 × 3.16987 = $25,358.92 today (3.16987 is the present value factor for 4 years at 10%). The $5,000 sale is worth $5,000 ÷ 1.1⁴ = $3,415.07. Total $28,773.99, so NPV = −$1,226.01. Reject at 10%, unless the oven brings other benefits you can put a number on.

Frequently asked questions

What is the formula for NPV?

NPV = the sum of each year’s cash flow ÷ (1 + r) to the power of that year, minus the initial investment. With $12,000 a year from year 1 and a $50,000 cost, each year’s $12,000 is divided by 1.1, then 1.1², and so on at a 10% rate, and the $50,000 is subtracted at the end.

What does a positive or negative NPV mean?

Positive: the project earns more than the discount rate you used, and the NPV is how much more, in today’s money. Negative: it earns less than your rate, though it may still make some money. Zero: it earns exactly your rate.

Why does Excel give a different NPV from my hand calculation?

Usually because the year-0 investment was included inside =NPV(). Excel discounts the first value by one year. Put only the future cash flows in the function and add the investment outside it: =NPV(rate, future cash) + initial investment.

What is the difference between NPV and IRR?

NPV is an amount in dollars at the rate you choose. IRR is the rate at which NPV is exactly zero. NPV tells you how much value a project adds; IRR tells you its return.

Should I use profit or cash flow in NPV?

Cash flow. Profit includes non-cash items like depreciation and records sales before the cash arrives. NPV is about when money actually moves.

Is there a free NPV calculator?

Yes. Our free NPV calculator works out NPV, IRR, payback and the profitability index from your own numbers, with charts. It is also embedded above.

The catering trailer and its cash figures are an illustration, not a forecast for any real business. This is general information, not financial, investment or tax advice. Talk to an accountant before making a major investment decision.