What this calculator does
Find out whether an investment that pays you back over time is worth more than it costs. Net present value (NPV) answers that, after allowing for the return you could earn somewhere else. A dollar you get years from now is worth less than a dollar today, because today's dollar could be earning a return in the meantime.
So each future cash flow is shrunk back to today's dollars using your discount rate, the return you require. Those shrunken amounts are added up, and the cost you pay up front is subtracted. A positive NPV means the project beats your required return. A negative one means your money would do better in the other option.
Enter what you pay today and the net cash you expect at the end of each later period. The calculator gives the NPV with its working and the present value (today's value) of the cash flows. It also gives the profitability index and the discounted payback period. When there's exactly one, it shows the internal rate of return (IRR) too. A table shows every period's discount factor and the running total.
Where it's used
Why this math matters outside the classroom:
- Capital budgeting. A finance team compares two machines by discounting each one's yearly savings at the company's 9% cost of capital.
- Rental property analysis. An investor discounts five years of rent, net of costs, plus an expected sale price to judge an asking price.
- Business school cases. Students show that $3,000, $4,200 and $6,800 over three years are worth $11,307.29 today at 10%.
- Energy upgrades. A homeowner checks whether $1,200 a year of savings for 10 years justifies an $8,000 upgrade at a 6% discount rate.
- Comparing job offers. Someone weighing a signing bonus against higher later pay discounts each year's difference to today's dollars.
How to use it
- Enter the initial investment you pay today as a positive number.
- List the net cash flow for each later period in order, separated by commas. Put a minus sign in front of any period where more money goes out than comes in.
- Enter the discount rate for one period. Then say whether the periods are years, quarters or months.
- Read the NPV and the steps. Then use the table to see how quickly the discounted cash flows earn back the investment.
What the inputs mean
- Initial investment (paid today)
- The cost paid at the very start (time 0). It isn't discounted, because it's already in today's dollars.
- Cash flows, one per period
- Net cash for each period: money in minus money out. The first number is the end of period 1, the second the end of period 2, and so on. Include any resale or scrap value in the last period.
- Discount rate per period
- The return you require for one period. That's often a company's cost of capital (what its money costs it), or the return on a similar investment. If the periods are months, enter a monthly rate.
- Each period is a
- This only changes the labels and the IRR description. The discount rate must match the period length you choose.
Formula and method
PV of cash flow k = CFₖ ÷ (1 + r)^k NPV = −I + CF₁ ÷ (1 + r) + CF₂ ÷ (1 + r)² + … + CFₙ ÷ (1 + r)^n profitability index = (NPV + I) ÷ I discounted payback = last period with a negative running total + (shortfall ÷ next period's PV)
I is the initial investment. CFₖ is the net cash flow at the end of period k, and n is the last period. r is the discount rate per period, as a decimal (10% is 0.10). PV means present value, what a future amount is worth today.
Dividing by (1 + r)^k undoes k periods of growth. So each future amount becomes the sum you'd need to invest today, at rate r, to end up with it.
The profitability index compares the present value of what comes back with what goes in. Above 1 means the NPV is positive. The discounted payback is how long it takes for the running total of discounted cash flows to climb back to zero. Within the period where it turns positive, the calculator assumes the cash arrives evenly to find the exact point.
Spreadsheet NPV functions discount the first value in the range too. So they assume the first cash flow comes one period from now. This calculator keeps the initial investment at time 0, the usual textbook approach. In a spreadsheet, take the NPV of the later flows and subtract the initial investment to get the same answer.
Worked example
A project costs $10,000 today and returns $3,000, $4,200 and $6,800 at the end of the next three years. Your required return is 10% a year.
- Year 1: $3,000 ÷ 1.1 = $2,727.27.
- Year 2: $4,200 ÷ 1.1² = $4,200 ÷ 1.21 = $3,471.07.
- Year 3: $6,800 ÷ 1.1³ = $6,800 ÷ 1.331 = $5,108.94.
- Present value of the cash flows: $2,727.27 + $3,471.07 + $5,108.94 = $11,307.29.
- NPV: $11,307.29 − $10,000 = $1,307.29. Profitability index: $11,307.29 ÷ $10,000 = 1.1307.
- After year 2 the running total is −$3,801.65, and year 3 adds $5,108.94. So the discounted payback is 2 + 3,801.65 ÷ 5,108.94 ≈ 2.74 years. The IRR is about 16.34%.
Result: The NPV is $1,307.29: the project returns more than 10% a year, with a profitability index of 1.1307.
Understanding the result
A positive NPV is how much the project beats your required return, in today's dollars. In the example, the cash flows are worth $1,307.29 more today than the $10,000 they cost. So taking the project should leave you that much better off than investing at 10%.
An NPV of zero means the project earns exactly the discount rate, and that rate is its IRR. A negative NPV doesn't always mean you lose money in plain dollars. (The example's gain before discounting is $4,000 at any rate.) It means you'd have done better in the other option that earns the discount rate.
When you can pick only one of several projects, prefer the higher NPV. The profitability index helps when money is limited, because it shows the value created per dollar invested.
Assumptions and limitations
- Each cash flow arrives at the end of its period, and the initial investment is paid at the start.
- One discount rate applies to every period.
- Cash flows are entered after any taxes and costs you want to count. The calculator doesn't add or remove taxes.
- The answer is only as good as the cash flow forecasts and the discount rate, and both are estimates.
- Risk is handled only through the discount rate. The calculator doesn't model ranges of outcomes or probabilities.
- It doesn't model cash arriving mid-period, changing discount rates or inflation adjustments. Use inflation-adjusted (real) flows with an inflation-adjusted rate, or unadjusted flows with an unadjusted rate. Don't mix them.
Frequently asked questions
What discount rate should I use?
Use the return you could reasonably earn on another option with similar risk. Businesses often use their weighted average cost of capital, the blended cost of their loans and investors' money. They sometimes add extra for riskier projects. For a personal decision, the return on your next-best use of the money is a sensible start. Trying a few rates shows how much the decision depends on it.
Why doesn't my spreadsheet give the same NPV?
Most spreadsheet NPV functions treat the first value as arriving one period from now, and discount it. If you put the initial investment inside the function, the whole result is discounted one extra period. To match this calculator, put only the later cash flows inside the function. Then subtract the initial investment outside it.
How is NPV different from IRR?
NPV gives a dollar amount at a rate you choose. IRR gives the rate at which the NPV would be exactly zero. They agree on whether a single, ordinary project beats your required return. But NPV is the safer guide when comparing projects of different sizes. It's also safer when the cash flows switch between positive and negative more than once.
Can cash flows be negative after the first year?
Yes. Enter a negative number for any period when more money goes out than comes in, such as a major repair or an expansion. Negative flows are discounted the same way as positive ones, and they lower the NPV.
How this calculator is checked
Method: Standard discounted cash flow definition of net present value with end-of-period flows; profitability index as PV of future flows ÷ initial investment; IRR by bracketing and Brent's method (src/lib/finance/cashflow.ts), tested against Microsoft's documented NPV and IRR examples. The calculation is covered by automated tests with known reference values and edge cases. Last updated 2026-10-18. Found a problem? Tell us.
Embed this calculator
Put this Net Present Value Calculator on your own website or blog for free. Paste this code where you want it to appear: