About the NPV Calculator
Net present value tells you whether an investment is worth more than it costs once the timing of cash flows is taken into account. This NPV calculator discounts each future cash flow at your required rate of return and subtracts the initial cost: a project costing 1,000,000 that returns 300,000 a year for five years has an NPV of about 81,433 at 12 percent, so it clears that hurdle. Each year's present value is listed, and changing the discount rate shows how sensitive the decision is. A positive NPV means the project beats the required return; a negative one means the money would do better elsewhere at that rate.
NPV = −C0 + C1 ÷ (1 + r) + C2 ÷ (1 + r)^2 + … + Cn ÷ (1 + r)^n, where C0 is the initial investment, Ct the cash flow in year t and r the discount rate. The calculator also gives the profitability index (present value of inflows ÷ investment), which is above 1 when NPV is positive, and the internal rate of return, the discount rate at which NPV would be zero.
Example: an investment of 100,000 that returns 30,000, 35,000, 40,000 and 45,000 over four years, discounted at 10%, has present values of 27,273, 28,926, 30,053 and 30,735. They total 116,987, so the NPV is 16,986.54, the profitability index is 1.17 and the IRR is 17.09%. At a 20% discount rate the NPV turns negative.
Results depend on the cash flow forecasts and the rate you choose, so test several scenarios; this is decision support, not financial advice. Use the IRR calculator to focus on the rate of return, the payback period calculator for recovery time, and the present value calculator for single sums and annuities.
How to use the NPV Calculator
- Enter the discount rateUse your required rate of return or cost of capital.
- Enter the initial investmentType the upfront cost, paid today.
- List the yearly cash flowsAdd the net cash expected in each year; use negative numbers for years with net spending.
- Read the NPVSee the NPV, the profitability index, the IRR and the present value of each year.
NPV Calculator features
- Net present value of uneven cash flows
- Present value of each year shown in a table
- Profitability index
- Internal rate of return for comparison
- Negative cash flows allowed in any year
- Any currency symbol
- Runs in your browser with nothing uploaded
Common uses
- Evaluating business projects and equipment purchases
- Comparing investments with different timing of returns
- Valuing a business or property from forecast cash flows
- Capital budgeting assignments
- Checking spreadsheet NPV formulas
NPV in practice: a machine purchase, choosing the rate, salvage, inflation and testing assumptions
Net present value is the most reliable single test of whether an investment creates value, because it accounts for both the size and the timing of every cash flow. Its answer, however, depends on the forecasts and the discount rate. This guide works through a machine purchase for a small factory, shows how strongly the rate and the forecasts affect the result, and covers salvage values, working capital, inflation and personal decisions.
A worked example: a new machine
A small factory considers a machine costing Rs 5,000,000. It expects the machine to add Rs 1,500,000 a year in cash for five years, and to sell it for Rs 500,000 at the end. Discounted at 15%, the NPV is about Rs 277,000, so the machine is expected to earn more than the 15% the owners require. Its internal rate of return is about 17.2%.
At a discount rate of 20%, the NPV falls to about −Rs 313,000. The same machine is attractive at 15% and unattractive at 20%, which is why choosing the rate is so important.
Choosing the discount rate
The discount rate should reflect what the money could earn elsewhere at similar risk, or the cost of financing the project. A business borrowing at KIBOR plus a margin might start from its borrowing rate and add a premium for the project's risk. Safer projects, such as replacing existing equipment, justify lower rates than new ventures. Using one rate for every project regardless of risk can lead to poor decisions.
Testing the forecasts
If the machine adds only Rs 1,200,000 a year instead of Rs 1,500,000, 20% less, the NPV at 15% becomes about −Rs 729,000. Forecasts of extra sales or savings are often optimistic. Running the calculation with cautious, expected and optimistic figures shows how much room for error the project has. A project that is positive only in the optimistic case is risky.
Salvage and working capital
Include the expected resale or scrap value of equipment as a cash inflow in the final year. Projects also often need working capital, such as extra stock or credit to customers, which ties up cash at the start and is released at the end. Leaving these out can make a project look better or worse than it really is.
Inflation consistency
Use nominal cash flows, which include expected price rises, with a nominal discount rate, or real cash flows in today's prices with a real rate. Mixing them, for example by using today's prices with a nominal rate that includes inflation, undervalues projects in high-inflation economies such as Pakistan's.
Choosing between projects
When only one of several projects can go ahead, choose the one with the highest NPV, not the highest percentage return. A small project with a 30% return may add less value than a larger one with 20%. NPV measures the value added in rupees, which is what owners ultimately care about.
Personal decisions
NPV helps with personal choices too. Someone considering a two-year master's degree costing Rs 3 million, plus two years of salary forgone, can compare that cost with the present value of the higher salary expected afterwards. The answer depends on realistic estimates of future pay and on how long the benefit lasts, but setting it out clarifies the decision.
Common mistakes
- Using an arbitrary discount rate.
- Relying on a single optimistic forecast.
- Forgetting salvage value and working capital.
- Mixing real cash flows with nominal discount rates.
Related tools
For the value of a single future amount, use Present Value Calculator. To compare simple returns, try ROI Calculator, and for the machine's accounting cost, Depreciation Calculator.
Taxes in NPV
Tax affects both the cash flows and the value of depreciation. Extra profit from a project is taxed, while depreciation on the equipment reduces taxable profit. Using after-tax cash flows, including the tax saved through depreciation, gives a truer NPV, especially for projects that need expensive equipment.
Timing within the year
The standard calculation assumes each year's cash arrives at the end of the year. If cash flows arrive evenly through the year, as with monthly sales, the true NPV is slightly higher, because money arrives earlier on average. For most decisions the difference is small, but it can matter when comparing projects with very different timing.
Presenting NPV to others
When presenting an NPV to partners or lenders, show the main assumptions alongside the result: the cash flows, the discount rate, the salvage value and the effect of less favourable cases. A single number invites either blind trust or blanket scepticism, while a short table of scenarios shows that the decision has been tested.
NPV in public projects
Governments and development agencies use NPV, often as part of cost-benefit analysis, to evaluate roads, power plants and other public projects. They usually apply a social discount rate set by policy, which can be lower than private rates because the benefits last for decades. The choice of that rate is often debated, because it strongly affects which long-term projects look worthwhile.
Limits
NPV is only as good as the cash flow forecasts and the rate chosen. Treat it as decision support, not financial advice.
Frequently asked questions
What is the NPV formula?
NPV = −initial investment + Σ cash flow in year t ÷ (1 + r)^t. With 100,000 invested and returns of 30,000, 35,000, 40,000 and 45,000 at 10%, NPV is 16,986.54.
What does a positive NPV mean?
It means the investment's cash flows are worth more today than its cost at your required rate of return, so it is expected to add value. A negative NPV means it earns less than that rate.
How do I choose the discount rate?
Use the return you could earn on an alternative investment of similar risk, or your organization's cost of capital. Riskier projects deserve higher discount rates.
Why does Excel's NPV give a different answer?
Excel's NPV function treats the first value as occurring one period from now. To match this calculator, use =NPV(rate, year1:yearN) − initial investment, keeping the investment outside the function.
What is the profitability index?
It is the present value of future cash flows divided by the initial investment. A value above 1 corresponds to a positive NPV; 1.17 means each unit invested returns 1.17 in present value.
NPV or IRR, which is better?
NPV shows the value added in money terms and handles all cash flow patterns, so it is preferred for choosing between projects. IRR is a convenient rate to compare with a hurdle rate, but can mislead with unusual cash flows.
Can NPV be used for personal decisions?
Yes. Use it to compare paying upfront with paying in installments, to value an annuity or lease, or to judge an energy-saving purchase: enter the cost as the investment and the yearly savings as cash flows.