Excel function

NPVfunction

Returns the net present value of future cash flows at a discount rate.

All versions
=NPV(0.1, B2:B5)
A
B
C
D
1
2
3
4
5
6

Drag the corner dots to change value1. Raise the rate to 0.2 and NPV turns negative. Shrink the range to B3:B5 and the first value becomes year 1 again. Try breaking it on purpose to see the errors.

Result

1188.44341234

rate

The discount rate for one period. 10% is 0.1.

value1
B2:B5Drag a corner dot up/down to resize, sideways to change the column

Cash flows for each period, starting one period from now. Blank cells and text are skipped.

What is the NPV function?

=NPV(rate, value1, [value2], ...)

NPV converts the cash flow of each period into today's value at a discount rate and adds them up to give the net present value. Use it to judge whether an investment is worthwhile.

Even the first value is treated as money one period from now and discounted once. Check column D above to see what each cash flow is worth today.

Arguments

rate
The discount rate (expected return) for one period.
value1, value2, ...
Cash flows in order, starting one period from now. Blank cells and text in a range are skipped.

NPV examples

  1. Example 1. Example from Microsoft

    =NPV(10%, -10000, 3000, 4200, 6800)

    About 1,188.44.

  2. Example 2. When money is invested today

    =NPV(0.08, B3:B7) + B2

    B2, paid now (period 0), is not discounted, so add it outside NPV.

Common mistakes

FAQ

What does a result above 0 mean?
The investment earns more than the discount rate.
How does it relate to IRR?
IRR is the discount rate that makes NPV 0.