ExcelFormulas logoExcelFormulas.
Ask AI
FinancialVerified QA Tested

NPV.

Calculates the net present value of an investment using a discount rate.

Category: Financial
ExcelExcel 365Excel 2021Excel 2019Google Sheets

How it works.

NPV computes the net present value of an investment by discounting future cash flows at a periodic discount rate.

Formula syntax.

Standard Excel Notation
=NPV(rate, value1, [value2], ...)
Tip:Arguments wrapped in square brackets [like_this] are optional; all other arguments are required.

Formula arguments.

Every parameter accepted by the NPV function is detailed below.

rateRequired

The discount rate per period.

Example value: 0.10
value1Required

Range of future cash flows starting at Year 1.

Example value: B2:B5

Simple example.

Step-by-Step Scenario

Capital Budgeting - Net Present Value

Evaluate future discounted returns from capital equipment.

YearCash InflowNet Present Value
Year 11000—
Year 22000—
Year 33000—
Applied Formula
=NPV(0.10, B2:B4)
Expected Result:4921.11

Evaluates NPV over the sample table cells, placing the verified output in cell C2.

Formula generator.

Full Generator Wizard

Customize the argument fields below to generate a tailored NPV formula ready to paste directly into your worksheet.

Generated FormulaReady to copy

Expected result behavior.

Returns number 4921.11 based on sample evaluation criteria and active cell references.

Sample Output:4921.11
Output Type:Numeric (Double/Integer)

Best Practices

  • Initial Year 0 investment must be added outside the formula: =NPV(rate, Year1:YearN) + Year0.

Common Mistakes

  • Do not include the initial Year 0 cash outflow inside the NPV function range.
Compatibility Database

Platform & version compatibility.

Verified platform compatibility matrix based on actual spreadsheet calculation engine specifications.

Excel✓
Supported
Excel 365✓
Supported
Excel 2021✓
Supported
Excel 2019✓
Supported
Google Sheets✓
Supported
Microsoft Excel History & Version Availability

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Google Sheets Compatibility Notes

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

Frequently asked questions.

Technical Q&A
Can I use NPV across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =NPV(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in NPV?↓

Do not include the initial Year 0 cash outflow inside the NPV function range.

Does NPV work identically in Google Sheets?↓

Yes, NPV is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.