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], ...)| Argument | What it means | |
|---|---|---|
rate | Required | Discount rate for one period (e.g. the cost of capital per year). |
value1 | Required | The first cash flow, received at the end of period 1, or a range of cash flows. |
value2, ... | Optional | Further 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
| A | B | |
|---|---|---|
| 1 | Year | Cash flow |
| 2 | 0 | -50000 |
| 3 | 1 | 12000 |
| 4 | 2 | 15000 |
| 5 | 3 | 18000 |
| 6 | 4 | 14000 |
| 7 | 5 | 10000 |
| 8 | Rate | 8.00% |
| 9 | ||
| 10 | 5,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
| A | B | |
|---|---|---|
| 1 | Year | Cash flow |
| 2 | 0 | -50000 |
| 3 | 1 | 12000 |
| 4 | 2 | 15000 |
| 5 | 3 | 18000 |
| 6 | 4 | 14000 |
| 7 | 5 | 10000 |
| 8 | Rate | 8.00% |
| 9 | ||
| 10 | 4,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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Year | Saving | ||
| 2 | 1 | 4000 | 17,138.73 | |
| 3 | 2 | 4000 | ||
| 4 | 3 | 4000 | ||
| 5 | 4 | 4500 | ||
| 6 | 5 | 4500 |
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).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
Result too low | The 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.
| Language | Function name |
|---|---|
| Czech | ČISTÁ.SOUČHODNOTA |
| Danish | NUTIDSVÆRDI |
| Dutch | NHW |
| Finnish | NNA |
| French | VAN |
| German | NBW |
| Hungarian | NMÉ |
| Italian | VAN |
| Norwegian (Bokmål) | NNV |
| Portuguese (Brazil) | VPL |
| Portuguese (Portugal) | VAL |
| Russian | ЧПС |
| Spanish | VNA |
| Swedish | NETNUVÄRDE |
| Turkish | NBD |