Excel NPV Function
The NPV function returns the net present value of an investment based on a discount or interest rate and a series of future cash flows: payments (negative values) and income (positive values).
Syntax
=NPV(rate, value1, value2, …)
Arguments
- rate (required): The discount or interest rate for a period
- value1 (required): Required numeric value that indicates future cash flows.
- value2, … (optional): Optional numeric values that indicate future cash flows.
Return Value
The NPV function returns a numeric value.
Function Notes
- Use negative values to represent outflows (payments) and positive values to represent inflows (returns).
- Values must be equally spaced in time, and occur at the end of each period. If the first cash flow occurs at the beginning of the first period, the first value should not be included in the values arguments, but added to the formula’s result.
- All numerical values will be processed, including those that can be translated into numbers, for example, dates and logical values. Error values or text that cannot be translated into numbers will be ignored.
Example (Initial cost happens at the end of the first period)
To get the net present value for an investment with the information shown in the table below, please copy or enter the formula below in a blank cell, and press Enter to get the result:
=NPV(C3,C4,C5,C6,C7,C8)
Example (Initial cost happens at the beginning of the first period as it typically does)
In the example above, the initial cost happens at the end of the first period. However, the initial cost normally occurs at the start of the first period. In this case, we should not include it in the NPV formula, but add it to the formula result:
=NPV(C3,C4,C5,C6,C7)+C9
Related functions
The PV function returns the present value of an investment.
The XNPV function calculates the net present value for irregular cash flows.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...
Supports Office/Excel 2007-2021 and 365 | Available in 44 Languages | Easy to Uninstall Completely

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
