What is NPV (net present value)? Formula, calculator and Excel
Net present value (NPV) is the present value of an investment's future cash flows minus what it costs today: NPV = PV of future cash − investment today. A positive NPV means the investment beats your required return. A car wash that costs $450,000 and returns cash worth $479,906 today has an NPV of +$29,906.
What is net present value?
A dollar that arrives in five years is worth less than a dollar today: you cannot invest it in the meantime, and you might not get it at all. NPV accounts for that by converting every future payment into today's dollars before comparing it with the cost. It answers a yes-or-no question: at the return you require, does this investment create value? A positive NPV says yes, a negative NPV says no, and an NPV of zero means the investment earns exactly your required return.
NPV is the final step of a discounted cash flow (DCF) valuation. The DCF converts future cash into today's dollars (its present value); NPV compares that with the price.
NPV formula
The second line is the textbook shorthand: Σ (sigma) means "add up every year from 1 to n". CF is the cash flow in each year, r is the discount rate (your required return), n is the number of years and C0 is the investment made today. Cash that arrives later is divided by (1 + r) more times, so it counts for less.
How to calculate NPV step by step
Example (hypothetical): a car wash is for sale for $450,000, debt-free. It produces $100,000 of free cash flow a year; you plan to run it for five years and sell it for $450,000. The required return is 20% a year.
- List the cash flows by year. $100,000 in years 1 to 4, and $550,000 in year 5 ($100,000 of cash plus the $450,000 sale, its terminal value).
- Discount each one. Divide year 1 by 1.2, year 2 by 1.2² (1.44), and so on up to 1.2⁵ (2.48832).
- Add them up to get the present value.
- Subtract the investment made today.
| Car wash (hypothetical) | Cash flow | Divide by | Present value |
|---|---|---|---|
| Year 1 | $100,000 | 1.2 | $83,333 |
| Year 2 | $100,000 | 1.44 | $69,444 |
| Year 3 | $100,000 | 1.728 | $57,870 |
| Year 4 | $100,000 | 2.0736 | $48,225 |
| Year 5 (cash + sale) | $550,000 | 2.48832 | $221,033 |
| Present value | $479,906 | ||
| Investment today | −$450,000 | ||
| NPV | +$29,906 |
The NPV is about +$30,000: at a 20% required return, the car wash is worth about $30,000 more than its price. (The rounded rows add up to $479,905; the total is calculated from unrounded numbers.)
NPV calculator
Enter what you invest today, your discount rate and the cash you expect back each year, separated by commas. Put any sale price into the final year. The calculator also finds the IRR. It starts with the car wash.
NPV calculator
NPV in Excel and Google Sheets
Excel's NPV function treats the first value as arriving one period from now, so the money you invest today goes outside the function:
That returns 29,906. In a real spreadsheet, put the numbers in cells instead: with the rate in B1, the investment in B2 and the yearly cash flows in B3 to B7, use =NPV(B1, B3:B7) - B2. If you enter the investment as a negative number (−450,000), add it instead: =NPV(B1, B3:B7) + B2.
A common mistake is to put the −450,000 inside the brackets as the first value: Excel then discounts it by a year too, and the answer comes out wrong. When cash arrives on irregular dates, use XNPV, which takes a list of dates as well as amounts. Google Sheets uses the same functions.
What NPV tells you (and what is a good NPV)
| NPV | Meaning |
|---|---|
| Positive | The investment earns more than your required return. The amount is the value it adds in today's dollars. |
| Zero | It earns exactly your required return: no value added, none lost. |
| Negative | It earns less than your required return. You would be better off with the alternative behind your discount rate. |
There is no fixed "good" NPV, because it is measured in dollars and depends on the size of the deal. A useful check is to compare the NPV with the value: the car wash's $30,000 is about 6% of its $480,000 present value, a thin margin of safety if the forecast turns out too optimistic.
A closer call (hypothetical): you spend $10,000 on a machine that saves $4,000 a year for three years, and you require 10%. The savings are worth $9,947 today, so the NPV is −$53. The machine pays back more than it costs ($12,000 against $10,000), but not enough to beat a 10% return. At an 8% required return, the NPV turns positive (+$308).
NPV vs IRR
The internal rate of return (IRR) is the discount rate that makes the NPV exactly zero. For the car wash, it is 22.2%: above the 20% hurdle, which is why the NPV is positive. For the machine, it is 9.7%: below 10%, so the NPV is negative.
The two usually agree on yes or no. They can disagree when you compare projects of different sizes or timing: a small project can have a higher IRR while a bigger one adds more dollars of value. When they disagree, NPV is the measure that tells you how much value you actually add. See ROI vs IRR for how IRR relates to simple return on investment.
Limits of NPV
NPV is only as good as the cash forecast and the discount rate behind it. Raise the car wash's required return from 20% to 25% and its NPV drops from +$29,906 to −$33,616 with nothing else changed. Run the calculation with a few different assumptions before relying on a single number.
FAQ
What is NPV in simple terms?
NPV is what an investment's future cash is worth today minus what it costs today. Positive means it beats your required return; negative means it does not.
What is the NPV formula?
NPV = CF1 ÷ (1 + r) + CF2 ÷ (1 + r)^2 + … + CFn ÷ (1 + r)^n − C0, where CF is each year's cash flow, r the discount rate, n the number of years and C0 the investment today.
How do you calculate NPV in Excel?
Use =NPV(rate, cash flow 1, cash flow 2, …) for the cash that arrives from year 1 onwards, then subtract the investment made today outside the function. For irregular dates, use XNPV.
What is a good NPV?
Any positive NPV means the investment beats your required return. How much is enough depends on the deal's size and how uncertain the forecast is; comparing the NPV with the present value shows how much room for error you have.
What is the difference between NPV and IRR?
NPV gives the value added in dollars at a chosen discount rate. IRR gives the rate at which the NPV is zero. They usually agree on whether to invest, but NPV is better for comparing projects of different sizes.
Can NPV be negative?
Yes. A negative NPV means the investment returns less than your required rate, even if it pays back more dollars than it costs.
Related






Sources
- Microsoft Support, NPV function (Excel)
- Worked examples: hypothetical, calculated by Decode the Numbers