Financial

NPV Formula

Calculates the net present value of a series of future cash flows (both positive and negative) discounted at a constant rate. NPV is the cornerstone of capital budgeting — it tells you whether a project or investment will create or destroy value. A positive NPV means the investment earns more than the discount rate.

Syntax

NPV(rate, value1, [value2, ...])
ParameterDescription
rate Parameter of the NPV function.
value1 Parameter of the NPV function.
[value2 (Optional.) Parameter of the NPV function.
...] Parameter of the NPV function.
Try NPV in Viztab — free, no signup

Examples

Simple project evaluation

Formula
=NPV(0.10, -50000, 15000, 18000, 20000, 22000)
$8,272.49. A project costing $50K upfront and returning $15K-$22K over 4 years has a positive NPV at 10% — it's worth pursuing.

Investment with initial outlay (correct method)

Formula
=-100000 + NPV(0.08, 30000, 35000, 40000, 45000)
$21,557.14. The initial investment happens at time 0, so add it outside of NPV. Future cash flows are discounted at 8%.

Comparing two projects

Formula
=NPV(0.12, -20000, 8000, 8000, 8000)
-$780.60. Negative NPV at 12% — this project doesn't meet the required return threshold.

Common Errors

#VALUE!

One of the cash flow values is non-numeric text.

#NUM!

The rate equals -1, which would cause division by zero in the discount calculation.

Tips

Time-zero cost goes outside NPV

NPV assumes the first cash flow occurs at end of period 1. If you have an upfront cost at time 0, add it separately: =-InitialCost + NPV(rate, future_flows).

NPV vs IRR

NPV gives you a dollar value; IRR gives you a percentage. Use NPV when comparing projects of different sizes, since a larger project may have a lower IRR but higher NPV.

Sensitivity testing

Try multiple discount rates (8%, 10%, 12%) to see how sensitive the project's value is to your cost of capital assumption.

Try NPV in Viztab

Import your data and use NPV with 370+ other formulas. No signup required.

Open Viztab

Related Formulas