Skip to content

NPV

Returns the net present value of a series of future cash flows, discounted at a constant rate. The first value is assumed to arrive one period from now.

Syntax

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

Financial

All versions of Excel.

Try it

Edit the formula in B1 or change the inputs. The sheet recalculates as you type.

B1
A
B
C
1
Net present value
1307.29
2
3

B1 =ROUND(NPV(0.1,3000,4200,6800)-10000,2) returns 1307.29

How NPV works

NPV discounts a list of future cash flows back to today and adds them up. A positive result means the project returns more than the discount rate asks for. A negative one means it returns less. =NPV(10%,3000,4200,6800)-10000 returns 1,307.29: three annual inflows discounted at 10%, less a 10,000 outlay.

The timing rule that catches everyone

NPV assumes the first value arrives at the end of the first period, one period from now. It does not treat it as happening today. That suits cash flows for years 1, 2, 3, but a cash flow that happens today, such as an initial investment, must be handled separately. There are two standard ways:

  • Keep the outlay outside the NPV range and add it: =NPV(rate,B3:B6)+B2, where B2 is today's cash flow.
  • Include the outlay in the range and multiply the result by (1 + rate): =NPV(rate,B2:B6)*(1+rate).

Putting the outlay inside the range without correcting it discounts the outlay by a whole period, which overstates the project's value. This is the most common NPV error.

The arguments

  • rate is the discount rate per period. The periods must match the cash flows: a yearly rate for yearly flows, a monthly rate for monthly flows.
  • value1, value2, … are the cash flows in time order. They can be single numbers, cell references or ranges, and the periods must be equally spaced. Empty cells, text and logical values inside a range are skipped, which shifts later flows to an earlier period. A blank year in a range must hold a 0, not be left empty, or all later flows will be discounted by one period too few.

Reading the result

NPV is in the same currency as the cash flows. A positive NPV says the investment earns more than the discount rate. When you compare projects, the one with the higher NPV adds more value. NPV is only as good as the discount rate. If a rate is uncertain, calculate NPV at several rates, or find the rate where it becomes zero with IRR.

Patterns

  • Accept or reject: =IF(NPV(rate,B3:B6)+B2>0,"Accept","Reject").
  • Monthly flows, annual rate: =NPV(annual_rate/12,flows).
  • A growing stream with a terminal value: add the terminal value to the last cash flow.

NPV or XNPV

NPV assumes equal spacing. For flows on specific dates, use XNPV, which takes the dates as well.

Arguments

rate
The discount rate for one period, such as 10% for a yearly cash flow series.
value1
The first cash flow, or a range of cash flows. Money you receive is positive and money you pay is negative. It is treated as occurring at the end of period 1.
value2, ...optional
Further cash flows, up to 254 arguments in total after the rate, in the order they occur. Ranges are read in order. Empty cells, text and logical values inside a range are ignored.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Three inflows less an initial outlay

B1 =ROUND(NPV(0.1,3000,4200,6800)-10000,2)

Result: 1307.29

NPV discounts the three inflows from the end of years 1, 2 and 3. The 10,000 spent today is subtracted outside the function because it needs no discounting.

B1
A
B
C
1
Net present value
1307.29
2
3

B1 =ROUND(NPV(0.1,3000,4200,6800)-10000,2) returns 1307.29

Example 2

Project with the outlay in a separate cell

B8 =ROUND(NPV(B1,B3:B6)+B2,2)

Result: 5,974.32

Year 0 stays outside the NPV range and is added in. The NPV is positive, so the project beats the 10% rate.

B8
A
B
C
1
Discount rate
10.0%
2
Year 0
-50,000
3
Year 1
12,000
4
Year 2
18,000
5
Year 3
22,000
6
Year 4
20,000
7
8
NPV
5,974.32

B8 =ROUND(NPV(B1,B3:B6)+B2,2) returns 5,974.32

Example 3

Include the outlay in the range, then correct the timing

B8 =ROUND(NPV(B1,B2:B6)*(1+B1),2)

Result: 5,974.32

With year 0 inside the range, NPV treats it as year 1, so the result is one period too heavily discounted. Multiplying by (1 + rate) puts it right. The answer matches the previous example.

B8
A
B
C
1
Discount rate
10.0%
2
Year 0
-50,000
3
Year 1
12,000
4
Year 2
18,000
5
Year 3
22,000
6
Year 4
20,000
7
8
NPV
5,974.32

B8 =ROUND(NPV(B1,B2:B6)*(1+B1),2) returns 5,974.32

Example 4

The mistake: outlay inside the range with no correction

B8 =ROUND(NPV(B1,B2:B6),2)

Result: 5,431.20

This returns 5,431.20 instead of 5,974.32. NPV treats the 50,000 outlay as arriving at the end of year 1, so it is discounted when it shouldn't be.

B8
A
B
C
1
Discount rate
10.0%
2
Year 0
-50,000
3
Year 1
12,000
4
Year 2
18,000
5
Year 3
22,000
6
Year 4
20,000
7
8
Wrong NPV
5,431.20

B8 =ROUND(NPV(B1,B2:B6),2) returns 5,431.20

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In B8, return the net present value of the project: the year 0 outlay plus the discounted cash flows for years 1 to 4.

Answer in B8.

B8
A
B
C
1
Discount rate
10.0%
2
Year 0
-50,000
3
Year 1
12,000
4
Year 2
18,000
5
Year 3
22,000
6
Year 4
20,000
7
8
NPV
9
Decision
10
11

Common mistakes

  • The first value is discounted one full period. A cash flow that happens today, such as an initial investment, must be added outside the NPV, or the result multiplied by (1 + rate).
  • NPV skips empty cells and text inside a range. A blank year pulls later flows forward by a period. Enter 0 for a year with no cash flow.
  • The discount rate must match the period. A yearly rate with monthly flows overstates the discounting. Divide by 12.
  • Cash flows must be equally spaced. If the dates are irregular, use XNPV.
  • Mixing up signs. Outflows should be negative and inflows positive. A project that has all positive values has no cost for NPV to measure.

Questions people ask

Why is my NPV wrong by about 10%?

The initial investment is probably inside the NPV range. NPV discounts the first value by one period. Keep it outside and add it: `=NPV(rate, later_flows) + initial_outlay`.

How do I calculate NPV in Excel with an initial investment?

Put the initial outlay (negative) in its own cell and later flows in a range: `=NPV(rate,B3:B6)+B2`.

What does a positive NPV mean?

The cash flows, discounted at your rate, are worth more than the cost. The project earns more than the required return, so it adds value.

What is the difference between NPV and XNPV?

NPV assumes equal periods. XNPV takes a date for each cash flow and discounts by the actual days between them, so it suits irregular timing.

Can NPV handle monthly cash flows?

Yes. Use a monthly rate, such as `annual_rate/12`, with monthly flows. The rate must match the period.

Learn NPV in a real sheet.

NPV is taught in Dates and financial modelling, lesson 19: Net present value with NPV and XNPV. Each lesson is a short, graded exercise like the one above.