1. Calculators
  2. Corporate Finance & Capital Investment

NPV & Profitability Index Calculator

Work out whether a project is worth more than it costs in today's money. Get the NPV, profitability index and IRR with a discounted cash flow table, or compare two projects and find the rate where their ranking flips.

Updated Oct 16, 2026Free · no sign-upFormulas tested

Your inputs

Enter the upfront cost and the cash the project brings in each year. A year with a net cost can be entered as a negative number.

$
The cash paid out today (year 0).
%
The return you require: the cost of capital, or what the money could earn elsewhere at similar risk.
Yearly cash flows
YearNet cash flow
$
$
$
$
$
After-tax cash flow, not accounting profit. Rows are years 1, 2, 3 … in order.
$
Cash from selling the equipment or the business at the end of the last year.
Cash flows arrive

Results

Net present value (NPV)$34,114.21At a 9% discount rate, end-of-year cash flows
Profitability index
1.136
PV of future cash flows ÷ investment
PV of future cash flows
$284,114.21
IRR, for reference
13.85%
Net cash, undiscounted
$120,000.00
Cost of waiting (undiscounted − NPV)
$85,885.79
PV of salvage value
$12,998.63

At 9%, the project is worth $34,114 more than it costs in today’s money. Each $1 invested brings back $1.14 of present value, so the project clears your required return with room to spare.

Cash flow and present value by year

Cash flowPresent value at 9%
$0$20K$40K$60K$80KYr 1Yr 2Yr 3Yr 4Yr 5Salvage

The gap between each pair of bars is what waiting costs. It widens with every year.

Discounted cash flow table

YearCash flowDiscounted overDiscount factorPresent valueCumulative PV
0 (investment)-$250,0000.01.0000-$250,000-$250,000
1$60,0001.00.9174$55,046-$194,954
2$70,0002.00.8417$58,918-$136,037
3$80,0003.00.7722$61,775-$74,262
4$75,0004.00.7084$53,132-$21,130
5$65,0005.00.6499$42,246$21,116
5 (salvage)$20,0005.00.6499$12,999$34,114
NPV$120,000$34,114

Results are estimates from the numbers you enter. They are not financial, tax or legal advice.

How to use the NPV calculator

The NPV & PI tool values a single project:

  1. Enter the initial investment: the cash you pay out today.
  2. Set the discount rate, the return you require. For a company this is usually the cost of capital; for a personal investment, what the money could earn elsewhere at similar risk.
  3. Enter the net cash flow for each year, after tax and after any ongoing costs. A year with a net cost, such as a major overhaul, can be negative.
  4. Add a terminal or salvage value if you expect to sell the equipment or the business at the end.
  5. Choose the timing. End of year is the standard textbook assumption; mid-year treats cash as arriving evenly through each year.

The Compare projects tool takes two lists of cash flows, each starting with the negative year-0 outlay, and ranks them by NPV, IRR and profitability index.

The formulas

NPV = −I + Σ CFt ÷ (1 + r)t + S ÷ (1 + r)N
PV of future cash flows = NPV + I
Profitability index = PV of future cash flows ÷ II is the initial investment, CFt the cash flow in year t, r the discount rate, S the salvage value and N the last year. With the mid-year convention, each CFt is discounted over t − 0.5 years; the salvage value is still received at the end of year N.

The IRR shown for reference is the rate at which the NPV is zero, using the same timing.

A worked example

A company considers a $250,000 machine expected to produce net cash of $60,000, $70,000, $80,000, $75,000 and $65,000 over five years, and to sell for $20,000 at the end. Its cost of capital is 9%.

Discounted at 9%, the future cash flows are worth $284,114.21 today, of which $12,998.63 comes from the salvage value. Subtracting the investment leaves an NPV of $34,114.21.

The profitability index is 1.136: each dollar invested returns about $1.14 of present value. The IRR is 13.85%, comfortably above the 9% cost of capital.

In undiscounted terms the machine returns $120,000.00 more than it costs, but $85,885.79 of that disappears once each dollar is valued at the date it arrives. Without the salvage value, the NPV would fall to $21,115.58.

How the discount rate changes the answer

Discount rate NPV Profitability index
6% $58,997.04 1.236
9% (example) $34,114.21 1.136
12% $12,212.56 1.049
15% -$7,153.22 0.971

The NPV turns negative once the rate passes the IRR of 13.85%. That is why the discount rate deserves as much care as the cash flow forecast: a few points of difference can turn an attractive project into one that destroys value.

NPV, IRR and profitability index: when they disagree

For a single project with a normal pattern of cash flows, the three measures always agree: a positive NPV means an IRR above the discount rate and a PI above 1. They can disagree when you must choose between projects.

Timing. In the comparison example both projects cost $100,000. Project A’s cash comes late, Project B’s early. At 8%, A has the higher NPV ($26,123.13 against $21,014.37), but B has the higher IRR (19.97% against 16.62%). The NPV profiles cross at the crossover rate of 11.79%. Below it, the late cash of Project A is worth more; above it, the early cash of Project B wins. At 15%, Project B also has the higher NPV.

The crossover rate is the IRR of the difference between the two sets of cash flows (A minus B). It tells you how far your discount rate would have to move before the decision changed.

Scale. A $10,000 project that returns $15,000 in a year has an IRR of 50.00%. A $100,000 project that returns $130,000 has an IRR of only 30.00%, yet at 10% its NPV is $18,181.82 against $3,636.36. If you can only do one, the larger project adds more value, even though its percentage return is lower. The profitability index favors the small one too (1.364 against 1.182), which is the right ranking only when capital is the binding limit.

For mutually exclusive projects, rank by NPV at the discount rate that reflects their risk. Use the PI when a fixed budget must be spread across several independent projects: picking the highest PIs first gets the most value from the limited capital.

What this calculator does not include

  • Changing discount rates. One rate is applied to every year. If risk or interest rates are expected to change, the NPV can be over- or understated.
  • Inflation consistency. Use nominal cash flows with a nominal rate, or real cash flows with a real rate; mixing them distorts the result.
  • Working capital and taxes must already be in the cash flows you enter.
  • Flexibility. NPV assumes the plan is fixed. The option to expand, delay or abandon a project has value that a simple NPV does not capture.
  • Unequal lives. When projects last different lengths of time, comparing NPVs directly can favor the longer one; analysts then use the equivalent annual annuity or repeat the shorter project.

Frequently asked questions

What does a positive NPV mean?
A positive NPV means the project's future cash flows, discounted at your required return, are worth more than the investment. The project earns more than the discount rate and adds that much value in today's dollars. A negative NPV means the money would do better in an alternative that earns the discount rate.
What is the profitability index?
The profitability index (PI) is the present value of a project's future cash flows divided by the initial investment. A PI above 1 matches a positive NPV. Because it measures value per dollar invested, it is useful for ranking projects when capital is limited. In the example the PI is 1.136.
What discount rate should I use for NPV?
Use the return you could expect elsewhere for the same level of risk. Companies usually start from their weighted average cost of capital and add a premium for riskier projects. Individuals often use the return they expect from a comparable investment.
Why do NPV and IRR sometimes rank projects differently?
IRR is a percentage and ignores scale, and it treats cash received early and late differently from NPV at your actual discount rate. Two projects can swap places depending on the rate; the crossover rate is where they have equal NPVs. For mutually exclusive projects, the higher NPV at your discount rate is the one that adds the most value.
What is the mid-year convention?
It assumes each year's cash flow arrives in the middle of the year rather than at the end, so it is discounted half a year less. That is closer to reality for a business that earns cash throughout the year, and it raises the NPV. Here it lifts the NPV from $34,114.21 to $46,051.60.

Related calculators

All calculators →

This calculator is for education and planning. It uses the formulas described above and the inputs you provide; real results depend on fees, taxes, timing and other details that a general tool cannot know. PromtFinance does not give personal financial advice. Check important decisions with your provider or a qualified professional.