Net present value calculator
NPV Calculator
This NPV calculator finds the net present value of an investment: what its future cash flows are worth today at your discount rate, minus what it costs up front. Enter the initial investment and each year's cash flow to see the NPV, the profitability index and the present value of every year.
Free to use. No account or sign-up needed.
Your numbers
Your required yearly return. Each year's cash flow is discounted at this rate.
What you pay at the start, in year 0. Use 0 to value the cash flows alone.
Results
At an 8% discount rate, the cash flows are worth $54,671.95 today, $4,671.95 more than the $50,000.00 initial investment, so the NPV is $4,671.95.
Present value by year
Year 0 is today, when the initial investment is paid. Each present value is the cash flow multiplied by its discount factor, and their total is the NPV. The table rounds each one to the cent.
The NPV formula
Net present value, or NPV, is what a series of future cash flows is worth today at your discount rate, minus what it costs up front. A dollar you have today can be invested to earn your rate, so a dollar that arrives later is worth less today, and the further away it is, the less it is worth.
The NPV formula is NPV = CF1 / (1 + r)^1 + CF2 / (1 + r)^2 + ... + CFn / (1 + r)^n - initial investment. CF is the cash flow at the end of each year, r is the discount rate as a decimal (8% is 0.08) and n is the last year.
To calculate NPV by hand, divide each year's cash flow by (1 + r) raised to its year, add the results to get the present value of the cash flows, then subtract the initial investment. This calculator does those three steps for up to 50 years of cash flows and shows each year's present value in the table.
A worked example
Say a project costs $50,000 today and pays $10,000 in year 1, rising $2,000 a year to $18,000 in year 5, and your discount rate is 8%. Year 1 is worth $10,000 / 1.08 = $9,259.26 today, and each later year is divided by 1.08 once more for every extra year it waits.
The 5 present values total $54,671.95, so the NPV is $54,671.95 - $50,000.00 = $4,671.95 and the profitability index is 1.09x. The table rounds each present value to the cent.
At 12% the same cash flows have an NPV of -$1,158.21. The rate where the NPV is exactly $0.00 is the IRR, 11.15% for this project.
To find the discount rate where the NPV is exactly $0.00 for your own cash flows, use the IRR calculator.
Reading the NPV
A positive NPV means the cash flows earn more than your discount rate, a negative NPV means they earn less, and an NPV of $0.00 means they earn exactly that rate. A negative NPV is not the same as losing money: the cash flows can still pay back more than they cost, just not enough to beat the rate.
At one discount rate, the project with the higher NPV adds more value in today's dollars. When money is limited, the profitability index, the present value of the cash flows divided by the initial investment, ranks projects by the value each invested dollar brings back. An index above 1.00x goes with a positive NPV.
To find the discount rate where the NPV is exactly $0.00 for your own cash flows, use the IRR calculator.
Choosing a discount rate
The discount rate is the yearly return you require, often what the money could earn elsewhere at similar risk. For a company project, analysts often use the company's weighted average cost of capital, or WACC, which for large US companies often lands at about 6-10% as a rule of thumb.
Riskier cash flows deserve a higher rate, and the rate you pick moves the answer more than most people expect.
The example's NPV is $4,671.95 at 8%, $1,631.47 at 10% and -$1,158.21 at 12%.
To estimate a discount rate from a company's cost of debt and equity, use the WACC calculator.
NPV in a spreadsheet
A spreadsheet's NPV function treats its first value as arriving one full period from now, so it discounts that value too. To match this calculator, put only the yearly cash flows, year 1 on, inside the function and subtract the initial investment outside it.
With all 6 values inside the function, the example returns $4,325.88 instead of $4,671.95, the same NPV discounted one more year.
What the calculator assumes
- Each cash flow lands at the end of its year, and the initial investment is paid today.
- One discount rate applies to every year.
- Amounts count as you enter them, so taxes, fees and inflation count only if you build them in. Cash flows that grow with inflation go with a rate that includes inflation.
- Rows are whole years. Money that moves on exact dates belongs in the XIRR calculator.
- Results are only as good as the numbers you enter, which can contain errors. The answer is a formula result from your numbers, not a forecast, and nothing here is investment advice.
To find the yearly return on cash flows with exact dates, use the XIRR calculator.
NPV calculator FAQ
What is net present value?
Net present value, or NPV, is what a series of future cash flows is worth today at your discount rate, minus what they cost up front. In the example on this page, $70,000 of cash flows over 5 years on a $50,000 cost has an NPV of $4,671.95 at 8%.
How do you calculate NPV?
Divide each year's cash flow by (1 + rate) raised to its year, add the results and subtract the initial investment. At 8%, a $10,000 cash flow in year 1 is worth $10,000 / 1.08 = $9,259.26 today.
What is the NPV formula?
NPV = CF1 / (1 + r)^1 + CF2 / (1 + r)^2 + ... + CFn / (1 + r)^n - initial investment, where CF is the cash flow at the end of each year, r is the discount rate as a decimal and n is the last year.
What does a negative NPV mean?
The cash flows earn less than your discount rate, which is not the same as losing money. At 12%, the example on this page has an NPV of -$1,158.21, even though it pays back $70,000 on a $50,000 cost.
What discount rate should I use for NPV?
Use the yearly return you require, or what the money could earn elsewhere at similar risk. For a company project that is often its WACC, which for large US companies often lands at about 6-10% as a rule of thumb. Riskier cash flows call for a higher rate.
What is the difference between NPV and IRR?
NPV is a dollar amount at your discount rate. The IRR is the rate where the NPV is $0.00. The example's IRR is 11.15%, so its NPV is positive at any lower discount rate.
Why does a spreadsheet NPV give a different answer?
A spreadsheet's NPV function discounts its first value a full period. With all six of the example's values inside, it returns $4,325.88 instead of $4,671.95. Put only the yearly cash flows inside and subtract the initial investment outside.
Is this NPV calculator free?
Yes. It runs in your browser with no account and no sign-up. A free GNG account adds the Research Terminal and the Backtester.
Screen stocks in the Research Terminal and backtest a portfolio with a free GNG account.
Sign Up FreeThis calculator is for education and is not investment advice. Results are estimates that depend on the numbers you enter. Read our disclosures.