Financial function

NPV function

Returns the net present value of a series of future cash flows at a given discount rate, assuming one flow at the end of each period.

Available in All versions of Excel (Windows and Mac), Excel for Microsoft 365, Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

NPV(rate, value1, [value2], ...)
ArgumentWhat it means
rateRequiredDiscount rate for one period (e.g. the cost of capital per year).
value1RequiredThe first cash flow, received at the end of period 1, or a range of cash flows.
value2, ...OptionalFurther cash flows, up to 254 arguments in total. Empty cells and text are ignored.

Returns: The present value of the cash flows, as of one period before the first value.

How NPV works

NPV is the standard test for whether an investment is worth making. It discounts every future cash flow back to today at your required rate of return and adds them up. Add the money you invest today and you have the net present value: positive means the project earns more than the required rate; negative means it earns less.

The detail everyone needs to know: Excel's NPV assumes the first value arrives one period from now. So the initial investment made today (year 0) must not go inside NPV — add it outside: =NPV(rate, year1:year5) + year0. Putting year 0 inside the function discounts it by a year and understates the result. Cash flows must also be evenly spaced; for real dates use XNPV.

Because NPV takes values in order, keep the range in time order and use 0 (not a blank) for a period with no cash flow — blank cells are skipped, which would shift every later flow by one period.

Examples

1Net present value of a project

B10fx=NPV(B8,B3:B7)+B2
AB
1YearCash flow
20-50000
3112000
4215000
5318000
6414000
7510000
8Rate8.00%
9
105,356.42

Result: 5,356.42

Years 1–5 are discounted at 8% inside NPV; the year-0 investment of −50,000 is added outside. NPV is +5,356.42, so the project beats the 8% hurdle (Number format, 2 decimals).

2The common mistake: year 0 inside NPV

B10fx=NPV(B8,B2:B7)
AB
1YearCash flow
20-50000
3112000
4215000
5318000
6414000
7510000
8Rate8.00%
9
104,959.65

Result: 4,959.65

Including B2 treats the investment as if it happened a year from now, and discounts everything one extra year. The result, 4,959.65, is understated by about 7% (Number format, 2 decimals).

3Value of a stream of cost savings

D2fx=NPV(7%,B2:B6)
ABCD
1YearSaving
21400017,138.73
324000
434000
544500
654500

Result: 17,138.73

A new machine saves these amounts over five years. At 7% they are worth 17,138.73 today, the most you should pay for the machine (Number format, 2 decimals).

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 16 KB

Common errors and how to fix them

ErrorWhy it happensFix
Result too lowThe time-0 investment was placed inside NPV.Use =NPV(rate, later_flows) + initial_flow.
#VALUE!An argument typed directly is text that cannot be a number.Use numbers; text in referenced cells is ignored.

Tips

  • Blank cells are skipped, not treated as zero — enter 0 for periods with no cash flow.
  • NPV at the IRR rate is zero; use that to check your IRR.
  • For monthly cash flows divide an annual rate: =NPV((1+annual)^(1/12)-1, ...).

Questions

Why does Excel's NPV give a different answer from my finance calculator?

Calculators usually include the time-0 flow (CF0) undiscounted. Excel's NPV starts discounting at the first value, so add the initial investment outside the function.

Can NPV handle irregular dates?

No, it assumes equal periods. Use XNPV with a column of dates.

What discount rate should I use?

Usually your cost of capital or the minimum return you require from an investment of similar risk.

Google Sheets

NPV also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

NPV in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechČISTÁ.SOUČHODNOTA
DanishNUTIDSVÆRDI
DutchNHW
FinnishNNA
FrenchVAN
GermanNBW
HungarianNMÉ
ItalianVAN
Norwegian (Bokmål)NNV
Portuguese (Brazil)VPL
Portuguese (Portugal)VAL
RussianЧПС
SpanishVNA
SwedishNETNUVÄRDE
TurkishNBD