CCalclabhub

Investing

How To Calculate NPV

Net present value asks a single sharp question: after discounting every future cash flow back at the rate you require, does the investment create or destroy value? It is the most reliable single test in capital budgeting because it works in money rather than in ratios.

Quick Answer

NPV = -C0 + sum of CF / (1 + r)^t

C0
Upfront cost at time zero
CF
Cash flow received each year
r
Discount rate, the required return
t
Year of each cash flow

Subtract the upfront cost from the present value of the future cash flows, each discounted at the required rate. Spend 10,000 today and receive 3,000 a year for five years with an 8% required return: the flows are worth 11,978.13, so the NPV is 1,978.13. Positive means the project beats the 8% hurdle; at any discount rate above its internal rate of return the NPV turns negative.

What Is NPV?

Net present value is the sum of all an investment's cash flows, each discounted to today at the rate of return you require. The upfront cost enters as a negative at time zero; every future inflow enters as a positive discounted by how far away it is.

A positive NPV means the investment returns more than the required rate, so it adds value and should be accepted. A negative NPV means it returns less than the required rate and should be rejected. An NPV of zero means it exactly meets the requirement, leaving you indifferent.

The discount rate is the crux. It should reflect the opportunity cost of the money, which is what you could earn on an investment of comparable risk. Using too low a rate makes bad projects look good; using too high a rate rejects sound ones.

Because NPV is expressed in money rather than as a ratio, it tells you the size of the gain, not just the rate. A project with a high percentage return but a tiny NPV adds little value, while a large NPV on a modest percentage return can be worth far more in absolute terms.

Discounting is what separates NPV from simple payback. A pound received in five years is worth less than a pound today, because today's pound could be earning a return in the meantime. Ignoring that difference overstates long-horizon projects badly.

The internal rate of return is the discount rate at which NPV equals zero. If the IRR exceeds your required rate, the NPV is positive. NPV and IRR usually agree, but NPV is preferred because it handles scale and multiple sign changes without ambiguity.

NPV assumes cash flows are reinvested at the discount rate, which is a simplification. A very high discount rate assumes you can reinvest at that same high rate, which may not be realistic. Sensitivity analysis, running the numbers across a range of rates, guards against overconfidence.

The model here assumes level annual cash flows after the initial cost. Real projects often ramp up or tail off, and each year's flow can be discounted separately if you extend the calculation to a full schedule of uneven flows.

Terminal value captures what happens beyond the forecast window. When a project keeps producing cash after the last modelled year, analysts add a terminal value, often as a perpetuity grown at a modest rate, and discount it back like any other far-off flow. It can easily be the largest single component, so it deserves the same scrutiny as the explicit years.

NPV is additive, which is one of its great strengths. If you can value two projects separately, the NPV of doing both is the sum of their individual NPVs, so you can build up a portfolio decision from its parts. IRR does not have this property and can mislead when capital is rationed across several competing projects.

Capital rationing is where NPV shines. When you cannot fund every positive-NPV project, rank them by NPV per unit of the scarce resource, whether that is money or a bottleneck machine hour, and take the highest first. This maximises the total value created from a limited budget.

Real options go beyond a single accept-or-reject call. Many projects carry the option to expand, delay, or abandon, and those choices have value that a static NPV misses. A project with a slightly negative base-case NPV may still be worth starting if it opens the door to a much larger follow-on investment.

Always pair the headline number with a sensitivity table. Recompute the NPV at a range of discount rates and cash-flow assumptions, and report how far the inputs would have to move before the decision flips. A project whose NPV turns negative at the first small slip in assumptions is far riskier than one that stays positive across the whole plausible range.

Formula

NPV = -C0 + sum_{t=1..n} CF / (1 + r)^t

Discount each year's cash flow and subtract the upfront cost. The present value of a level annuity simplifies the sum.

SymbolMeaning
C0Initial cost
CFAnnual cash flow
rDiscount rate
nYears

How To Calculate NPV

  1. 1

    List the cash flows

    Record the upfront cost as a negative at year zero and each year's net inflow as a positive.

  2. 2

    Choose the discount rate

    Use the return available on an investment of comparable risk. This is the hurdle the project must clear.

  3. 3

    Discount each flow

    Divide each future flow by one plus the rate raised to its year. For a level stream, use the annuity factor instead of discounting year by year.

  4. 4

    Subtract the upfront cost

    Sum the discounted flows and subtract the initial investment to get the NPV.

  5. 5

    Decide

    A positive NPV means accept, a negative means reject. The size of the NPV shows how much value the decision adds or destroys.

Examples

Example 1: 10,000 spent for 3,000 a year, 5 years, 8% required

Initial cost
10,000
Annual cash flow
3,000
Rate
8%
Years
5
StepCalculationResult
Annuity factor(1 - 1.08^-5) / 0.083.992710
Present value of flows3000 x 3.99271011978.13
Net present value11978.13 - 100001978.13

Result: The NPV is 1978.13, so the project beats the 8% requirement and adds nearly 2,000 of value.

Example 2: The same project at a 20% required return

Initial cost
10,000
Annual cash flow
3,000
Rate
20%
Years
5
StepCalculationResult
Annuity factor(1 - 1.20^-5) / 0.202.990612
Present value of flows3000 x 2.9906128971.84
Net present value8971.84 - 10000-1028.16

Result: At a 20% hurdle the NPV is -1028.16, so the project destroys value and should be rejected.

Calculator

Net present value

$1,978.13

Present value of cash flows
$11,978.13
Annuity factor
3.9927

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

Prefer a full-width tool? Open the NPV calculator page.

Common Mistakes

  • Using the wrong discount rate

    The rate must reflect the risk of the investment, not your cost of borrowing or an arbitrary number. A rate that is too low makes weak projects look strong.

  • Forgetting the upfront cost

    NPV is the present value of inflows minus the initial outlay. Omitting the cost turns a failing project into an apparently profitable one.

  • Comparing NPV with the wrong sign convention

    Costs are negative and inflows positive. Mixing the signs flips the decision, so keep the convention consistent throughout.

  • Ignoring cash flow timing within the year

    Discounting assumes flows arrive at year end. Flows arriving earlier are worth more, so the model is slightly conservative for fast payback projects.

  • Assuming reinvestment at the discount rate

    NPV implicitly assumes cash flows are reinvested at the discount rate. If that rate is unrealistically high, the NPV overstates the true return.

  • Ignoring taxes and inflation consistency

    Use nominal flows with a nominal rate, or real flows with a real rate. Mixing them distorts the result, and taxes must be included as cash outflows.

  • Treating a positive NPV as certainty

    NPV is only as good as the cash flow forecasts. A single optimistic revenue assumption can turn a negative NPV positive on paper.

FAQ

What does a positive NPV mean?

It means the investment returns more than the required rate after discounting, so it adds value in today's money and should be accepted. The larger the NPV, the more value it creates.

How do I choose the discount rate?

Use the return you could earn on an investment of similar risk. It is the opportunity cost of the capital, and it is the single most important input in the calculation.

What is the difference between NPV and IRR?

IRR is the discount rate at which NPV equals zero. Both usually agree on accept or reject, but NPV is preferred because it measures value in money and avoids the ambiguity of multiple IRRs.

Why discount future cash flows at all?

Money received later is worth less than money today, because today's money could be invested in the meantime. Discounting puts all cash flows on the same footing, today.

Should I use NPV or payback period?

Payback ignores the time value of money and everything after the payback date. NPV is more rigorous and is the standard for capital budgeting, though payback is useful as a quick liquidity check.

How sensitive is NPV to the discount rate?

Quite sensitive, especially for long projects. Run the calculation across a range of rates to see how much the decision depends on getting the rate right.

References

  1. [1]Investopedia, Net present value — https://www.investopedia.com/terms/n/npv.asp
  2. [2]Corporate Finance Institute, Capital budgeting — https://corporatefinanceinstitute.com/resources/valuation/net-present-value-npv/
  3. [3]U.S. Securities and Exchange Commission, Cost of capital — https://www.investor.gov/introduction-investing/investing-basics/glossary