Net present value calculator: NPV and discounted cash flow

Enter what you pay today, what each year brings after it and the rate you discount at. The page values every flow in today’s money and adds them up, with an optional terminal value for a discounted cash flow valuation.

$
What you pay at the start (year 0), as a positive amount: a purchase price, an investment, a deposit. It is not discounted. Enter 0 if every payment comes later as a negative flow.
%
The yearly rate that later money is discounted at: the return you could earn elsewhere, a required return or the rate your own rules prescribe. One rate serves every year.
$
The net money received at the end of this year; a negative amount is money paid out. Leave the years after the last one blank, and a blank year before it counts as zero.
$
The net money received at the end of this year; a negative amount is money paid out. Leave the years after the last one blank, and a blank year before it counts as zero.
$
The net money received at the end of this year; a negative amount is money paid out. Leave the years after the last one blank, and a blank year before it counts as zero.

Result

Summary

Net present value

$7,103.81

The later flows against the outlay, in today’s money

  • Outlay$50,000.0087.6%
  • Left over (net present value)$7,103.8112.4%
Present value of the later flows
$57,103.81
Profitability index
1.1421

At a rate of 8%, the later flows are worth $57,103.81 today, more than the outlay.

The arithmetic of discounting end-of-year cash flows at one rate. It does not choose the rate, forecast the flows, tax them or finance them, and it never says whether to go ahead.

A $50,000 outlay and five years of flows: a net present value of $7,103.81

Pay $50,000 today and receive $12,000, $14,000, $16,000 and $16,000, then $14,000, as the five years close, discounted at 8% a year. Divided by (1 + r)^t, those flows are worth $11,111.11, $12,002.74 and $12,701.32 in the first three years, then $11,760.48 and $9,528.16: $57,103.81 together. Take away the outlay and the net present value is $7,103.81. The profitability index, $57,103.81 over $50,000, is 1.1421.

The rate does much of the work. At 12% instead, the same flows are worth $51,375.75 and the net present value falls to $1,375.75, since each later year loses a larger share of its value. A net present value above zero says the later flows are worth more than the outlay at the rate you chose; it says nothing about whether that rate is the right one.

Suppose the equipment could also be sold for $20,000 when year 5 closes. Entered as a terminal value, that sale adds $13,611.66 in today’s money and lifts the net present value to $20,715.48.

How the present value of each flow is found

A flow of F paid when year t closes is worth F ÷ (1 + r)^t today, where r is the yearly discount rate as a fraction. Circular A-94 of the US Office of Management and Budget defines the discount factor as 1 ÷ (1 + the discount rate)^t, with t the number of years from the start, and its Appendix B discounts ten years of costs and benefits at 3.1% this way. The page takes that table’s net flows and gets $61.55; the circular prints $61.55. HM Treasury’s Green Book, which discounts UK appraisals at a real 3% for years 1 to 30, uses the same factors.

Every flow is taken at the end of its year, and the outlay is the flow of year 0, which is not discounted. A flow that actually arrives across the year has a slightly higher value than its year-end figure; Circular A-94 shows how to convert a table to a mid-year basis, and this page does not. The net present value is the sum of all the flows, outlay included, each divided by its own (1 + r)^t. The European Commission’s guide to cost-benefit analysis calls the same sum the financial net present value and books a residual value in the final year of the reference period as an inflow.

Rounding and the profitability index

Amounts go in as whole cents. The later flows are discounted and added exactly, and only the sum is rounded, once, to the closest cent, with ties moving away from zero; the net present value is treated alike. Each row of the table names its year and the discount factor, to four decimals, that multiplies its flow; the factor is rounded for display only. Each year’s present value is rounded on its own, so the column can differ from its total by a cent or two. Circular A-94 prints its table the same way, with totals that are not the sum of the rounded rows.

The profitability index is the present value of the later flows divided by the outlay, from the exact figure and to four decimals; it matches the benefit-cost ratio of Circular A-94 and the Green Book when the outlay is the only cost. Later outflows are netted against the later inflows, so a flow of −3,000 in year 3 lowers the present value of the later flows. With no outlay there is nothing to divide by and no index is shown.

A terminal value and the discounted cash flow valuation

A valuation forecasts a few years and then values everything after them in one figure at the end of the last year. You can enter that figure, or let the page work it as a perpetuity growing at a rate g after the last flow: the last flow × (1 + g) ÷ (r − g). It is the limit of the present-value formula for a series growing at a constant rate in NIST Handbook 135 (formula 3-8) when the series never ends and g is below r. The Commission’s guide values a residual value this way in its road project example.

Take a business bought for $400,000, with forecast flows of $30,000 rising to $46,000 over five years, discounted at 9% with growth of 3% afterwards. The terminal value is $789,666.67; in today’s money $513,229.15, 78% of the $658,362.88 that the later flows are worth. A figure that depends so much on one assumption deserves a second run with another growth rate.

What the net present value leaves out

The rate and the flows are yours, and so is every error in them. Authorities state their rates in real terms for flows in constant prices: the Green Book’s 3% is real, and the Commission’s reference for a financial analysis was a real 4%. Mixing a nominal rate with real flows, or the reverse, gives a wrong answer. Taxes, financing costs, inflation, risk and flows that fall in the middle of a year are outside the figures.

A single net present value compares nothing by itself: it is the value at one rate of one set of flows. Projects of different sizes or lengths are not ranked by it alone, and nothing here recommends spending or not spending.

Sources

Questions

What discount rate should I use?

The page cannot say; it depends on what the money could earn elsewhere, the risk and your own rules. Authorities publish theirs: the Green Book sets 3% in real terms for UK appraisals, and the European Commission’s guide used 4% real for financial analysis in 2014-2020. Run the page at two or three rates and see how far the answer moves.

Why does my spreadsheet give a different answer?

Excel’s NPV function treats its first value as one year away, so the outlay of year 0 has to be subtracted outside it. Here the outlay is year 0 and is not discounted, and year 1 is discounted once. Entering the later flows in the function and subtracting the outlay by hand gives this page’s figure.

Does a positive net present value mean I should go ahead?

It means only that, at your rate, the later flows are worth more than the outlay. Risk, how reliable the flows are, what else the money could do and what cannot be counted all matter too, and the Green Book warns against deciding on one summary figure. The page does the arithmetic, not the decision.

Should the rate include inflation?

Only if the flows do. Flows in today’s prices take a real rate; flows that include expected price rises take a nominal one. The Green Book says not to add inflation to a real rate, and Circular A-94 asks for real rates with constant-dollar flows.

What if the money comes in through the year, not at its end?

The page counts each flow at the end of its year, which understates flows that are spread out. Circular A-94 describes a mid-year basis, multiplying the present values of the later flows by the square root of 1 + r. Keep the outlay out of that adjustment, since it is paid at the start.

Why is so much of my value in the terminal value?

Because it stands for every year after the forecast, discounted from the last one. In the business example it is 78% of the later flows’ value. A rate close to the growth rate makes it larger still: the quotient (1 + g) ÷ (r − g) grows as r − g shrinks.

Reviewed by the DirectCalculators team. The formula is tested against its source’s worked examples, where the source gives any, and cases worked by hand; see how we calculate.