What is net present value?

Net present value (NPV) is the value in today's money of a series of future cash flows, minus the cost of obtaining them. It answers the question every investment, project and business course eventually asks: if I pay a known amount now for money that arrives later, in pieces, over several years, what is that deal worth today? A net present value calculator exists because the honest answer is never the simple sum of the payments. A dollar arriving in three years is worth less than a dollar in hand now — today's dollar could be invested and grow — so adding future dollars to present dollars without adjustment mixes two different kinds of money. NPV fixes the mixture: it converts every future cash flow into its present value, adds those present values, and subtracts the initial investment. What remains is in today's money and can be compared fairly with the cost, with other projects, and with doing nothing.

The idea sits underneath almost all of corporate finance. Companies use NPV to decide whether to build a plant, buy a machine or launch a product; investors use the same machinery, under the name discounted cash flow, to value bonds and whole businesses; students meet it as the centrepiece of capital budgeting. Its authority comes from a simple discipline: it refuses to count a future dollar at face value. Its weakness is the mirror image — everything depends on forecasts of cash flows that have not happened yet and on a discount rate somebody has to choose. This guide works through the formula, one fully checked example at two different rates, the profitability index, and the limits, so the number this calculator gives you is one you can explain, defend and challenge. The headline honesty note belongs up front: NPV is only as good as the cash-flow forecasts and the discount rate entered. A positive NPV is a model result, not a guarantee, and nothing on this page is investment advice.

How this NPV calculator works

Quick answer: Enter the initial investment, a discount rate and one cash flow per year. The calculator discounts each cash flow by (1 + rate) raised to its year, adds the present values, and subtracts the initial investment. On the starting example — $10,000 outlay, then $3,000, $4,000 and $5,000 at 10% — the present values are $2,727.27, $3,305.79 and $3,756.57, giving an NPV of −$210.37.

The calculator asks for three kinds of input. The initial investment is the year 0 outlay — the money committed before any return arrives. Enter it as a positive amount; the engine treats it as a negative cash flow at time zero, undiscounted, because money paid today is already in today's money. The discount rate is the annual rate used to shrink each future flow back to today. The annual cash flows are the net amounts the project is expected to return — or cost — in each year, one row per year, with rows you can add and remove; at least ten years are supported, and up to thirty. A year's figure should be net: revenue minus that year's running costs, tax and maintenance, including any negative years.

The output panel leads with the NPV itself, then shows the total present value of the inflows, the profitability index, and a verdict line that states the arithmetic plainly — whether the present value of the inflows exceeds or falls short of the initial outlay, and by how much. Below that, a year-by-year table lists each cash flow, its discount factor and its present value, with a running cumulative total, and a chart plots the present values so you can see whether the value arrives early or is concentrated in distant, heavily discounted years. Everything runs locally in your browser. If you are wondering how to calculate NPV by hand, the next two sections give the formula and a worked example you can reproduce line by line — the calculator's starting numbers are that same example.

The NPV formula, term by term

The NPV formula is usually written as a single line:

NPV = −C0 + CF1 ÷ (1 + r)1 + CF2 ÷ (1 + r)2 + … + CFn ÷ (1 + r)n

Each symbol earns its place. C0 is the initial investment at year 0, written with a minus sign because it is money leaving. CFt is the net cash flow in year t — positive for a net inflow, negative for a net outflow. r is the discount rate per year as a decimal, so 10% enters as 0.10. n is the number of years. The heart of the formula is the fraction 1 ÷ (1 + r)t, the discount factor for year t: what one dollar arriving in year t is worth today. At 10%, a dollar in year 1 is worth 1 ÷ 1.10 = $0.9091 today; a dollar in year 3 is worth 1 ÷ 1.331 = $0.7513. The further away the year and the higher the rate, the smaller the factor — the entire time value of money compressed into one number per year.

Two conventions hide inside the formula. First, timing: the standard formula assumes each year's cash flow arrives at the end of that year, so year 1's flow is discounted for a full year even though the project presumably earned it gradually. The mid-year convention, covered below, relaxes that assumption. Second, the initial investment is not discounted: it sits at year 0, its discount factor is exactly 1, and it enters at face value. Later capital spending belongs in those years' cash-flow rows as negatives, where it will be discounted like everything else. Finally, note what the formula does not contain: no probability, inflation or tax term. Those live inside the cash-flow forecasts and the choice of rate, which is why the sections on choosing a rate and on limits matter as much as the algebra.

Worked example: one project at 10% and at 5%

One example runs through this guide, and it is the calculator's starting position. A project costs $10,000 today and is forecast to return net cash flows of $3,000 in year 1, $4,000 in year 2 and $5,000 in year 3. The undiscounted inflows total $12,000, so a glance suggests a $2,000 profit. NPV asks the harder question: profit compared with what the $10,000 could have earned elsewhere?

At a 10% discount rate, the discount factors are 0.9091, 0.8264 and 0.7513, and the calculation runs:

YearCash flowDiscount factor at 10%Present valueCumulative PV
1$3,0000.9091$2,727.27$2,727.27
2$4,0000.8264$3,305.79$6,033.06
3$5,0000.7513$3,756.57$9,789.63

The present values add to $9,789.63. Subtracting the initial investment: $9,789.63 − $10,000 = NPV of −$210.37. The profitability index is $9,789.63 ÷ $10,000 = 0.98. The project returns $12,000 for $10,000 spent, yet at a 10% required return it destroys a small amount of value in today's terms, because the $10,000 deployed elsewhere at 10% would have grown to more than the discounted value of what comes back. The verdict line on this page states exactly that arithmetic, and nothing stronger.

At a 5% discount rate, the same project and the same cash flows — only the rate changes. The factors are 0.9524, 0.9070 and 0.8638, giving present values of $2,857.14, $3,628.12 and $4,319.19, which total $10,804.45. The NPV is $10,804.45 − $10,000 = +$804.45, and the profitability index is 1.08. Every figure here was recomputed independently when this page was built, and you can reproduce each one with the formula above or by setting the calculator's rate to 5. The sensitivity of the verdict to the rate is the central fact about NPV, and a later section quantifies it across a range of rates.

Reading the verdict: positive, zero and negative NPV

The textbook decision rule is one sentence: at the chosen discount rate, a positive NPV means the discounted inflows exceed the outlay, a negative NPV means they fall short, and zero means they exactly match. Businesses often phrase it as accept and reject, and for a first pass through an assignment that phrasing is fine. In real decisions the verdict deserves a more careful reading, for three reasons. First, the discount rate already contains a required return: a positive NPV means the project beats the specific hurdle you fed in — lower the hurdle and mediocre projects pass. Second, NPV is an amount, not a percentage, so it naturally favours large projects, which is exactly the gap the profitability index was invented to expose. Third, the verdict inherits the forecasts: an NPV of +$804.45 built on optimistic year 3 sales is a weaker result than an NPV of −$210.37 built on contracted, certain receipts.

That is why this page words its verdict as arithmetic — the present value of the inflows exceeds or falls short of the initial investment by a stated amount, on the figures entered — rather than as an instruction to invest or walk away. Used well, NPV is a comparison tool: run the same project at several rates, run competing projects at the same rate, and look at how much bad news the forecasts can absorb before the sign flips.

The Profitability index

The profitability index (PI) restates NPV as a ratio: PI = present value of the future cash inflows ÷ initial investment. Because NPV is the same numerator minus the same denominator, the two measures always agree in sign: PI above 1.00 is exactly a positive NPV, PI of exactly 1.00 is an NPV of zero, and PI below 1.00 is a negative NPV. In the worked example the index moves from 0.98 at 10% to 1.08 at 5%, tracking the NPV from −$210.37 to +$804.45. Where PI earns its place is comparison across sizes and rationing. When a business has more acceptable projects than it has capital, ranking by PI ranks by value created per unit of the scarce resource — the initial outlay. A project returning a PI of 1.40 on a $20,000 outlay creates $8,000 of present value; one returning 1.10 on $500,000 creates $50,000, so PI alone must never overrule scale — read it beside the NPV, not instead of it. Students should also note that textbooks vary slightly in which flows they place in the numerator; if a course defines PI its own way, follow the course, and be able to show, as this page's table lets you, exactly which figures your ratio used.

Choosing a discount rate

No input moves the answer more, and none is less mechanical. The discount rate represents the opportunity cost of capital: the return the same money could earn in the best alternative use of similar risk. A company typically starts from its weighted average cost of capital and may add a margin for a project's specific risk, arriving at a hurdle rate set by policy. An individual comparing a project against a bond would use that bond's yield. A student uses the rate the question specifies — and part of the exercise is noticing how much of the conclusion the specified rate is doing. The table below runs the worked example across a range of rates; the shape of it is the lesson.

Discount ratePV of inflowsNPVProfitability index
0%$12,000.00$2,000.001.20
5%$10,804.45$804.451.08
8%$10,176.29$176.291.02
10%$9,789.63-$210.370.98
12%$9,426.25-$573.750.94
15%$8,920.85-$1,079.150.89
20%$8,171.30-$1,828.700.82

Three patterns generalise to almost every NPV you will ever compute. The NPV falls as the rate rises, always, because a higher rate shrinks every discount factor. There is a rate at which the NPV crosses zero — for this project, between 8% and 10% — and that crossing rate is the project's internal rate of return. And distant cash flows are hit hardest: at 20%, year 3's $5,000 is worth only $2,893.52, while year 1's flow keeps $2,500 of its $3,000. The practical discipline follows: never report a single NPV without its rate, test at least one higher and one lower rate, and be suspicious of any proposal whose NPV is positive only at a rate lower than the proposer's own cost of capital.

End-of-year vs mid-year convention

The standard formula quietly assumes every cash flow arrives in a lump on the last day of its year. For a machine whose output sells steadily all year, that assumption understates present values, because the cash actually arrives spread across the year. The mid-year convention corrects for this by treating each year's flow as arriving at the year's midpoint: the discount factor for year t becomes 1 ÷ (1 + r)t − 0.5. Every present value grows by the same multiplier, the square root of (1 + r) — about 4.88% at a 10% rate. On the worked example, the toggle lifts the total present value from $9,789.63 to $10,267.45 and the NPV from −$210.37 to +$267.45, flipping the sign without any change to the underlying project. Neither convention is more correct in the abstract; consistency matters more than the choice — discounting one project end-of-year and a rival mid-year rigs the comparison. This calculator defaults to end-of-year, offers mid-year as a toggle, and states which is in use in its results. If your course or employer specifies a convention, use theirs and name it when you report the figure.

NPV vs IRR, XIRR and payback

NPV is one of a family of appraisal measures, and knowing what each sibling does well prevents demanding everything from one number. The internal rate of return (IRR) is the discount rate at which a project's NPV is exactly zero — for the worked example, the rate between 8% and 10% where the sensitivity table crosses. IRR speaks in percentages, which managers find intuitive, but it carries traps NPV avoids: cash-flow series that change sign more than once can produce several IRRs or none, and IRR implicitly assumes interim flows reinvest at the IRR itself, which flatters high-return projects. XIRR extends the same idea to cash flows on actual calendar dates rather than evenly spaced years — the right tool for investments with irregular contributions and withdrawals, and the job of the FreeSoftis XIRR Calculator. The payback period ignores discounting entirely and asks only how long the undiscounted flows take to repay the outlay: the worked example pays back during year 3, since $3,000 + $4,000 already reaches $7,000 and year 3's $5,000 carries the total past $10,000 — yet its NPV at 10% is negative, a clean demonstration that payback and NPV can disagree and that payback's silence about the time value of money and about everything after the payback date is a real cost. NPV remains the measure most finance texts treat as primary, because it uses all the flows, discounts them all, and expresses the answer in money. Its natural companions on this site are the FIRE Calculator, which applies the same compounding machinery to a savings plan, and the compound interest and CAGR calculators in the related tools below.

What NPV cannot tell you

The limits are structural, and a careful user keeps them in view. The forecasts are guesses. Year 3's cash flow in any real proposal is an estimate wrapped in assumptions about prices, volumes and costs; NPV processes it with the same serene precision as year 1's near-certain figure, and the output's two decimal places can lend false confidence to soft inputs. The rate is a judgement. As the sensitivity table shows, a few points of discount rate move the worked example by over a thousand dollars and across zero; whoever chooses the rate has, in large part, chosen the answer, which is why rates should come from policy or a stated opportunity cost, never reverse-engineered to pass a favoured project. Risk is compressed, not analysed. Two projects with identical NPVs can carry utterly different risks — one certain and modest, one a coin toss between triumph and nothing — and NPV alone cannot distinguish them; scenario runs at different flows and rates are the calculator-level remedy, and a partial one. Some value never reaches a cash-flow line: strategic position, learning, and flexibility to expand or abandon are invisible to a basic NPV. Finally, the personal disclaimer, stated plainly: this page performs arithmetic on numbers you supply. It is not investment advice, a positive result is not a guarantee that any project will succeed, and committing real money deserves professional advice that can see your whole position. Use NPV to structure a decision and to expose which assumptions the decision really rests on — that exposure, more than the headline number, is the method's real gift.

Sources and References

Sources note: every source above was checked when this page was built and returned a successful response. Investopedia's NPV article, a common citation for this topic, was not used because it blocks automated checking (HTTP 402); the sources listed cover the same ground and were verified directly. Every figure in this guide was calculated with this page's own method and rounding, so you can reproduce each one exactly by entering the same numbers above.