NPV Calculator – Is a Project Worth the Money You Put In?
Net present value (NPV) answers a simple question: after allowing for the return you could earn elsewhere, does this project or investment leave you better off? A pound, dollar or rupee received in five years is worth less than one in your hand today, because today's money could be invested in the meantime. NPV converts every future cash flow into today's money at your discount rate, adds them up and nets off what you invest. This NPV calculator does that for uneven cash flows, equal or growing streams, and up to three competing projects side by side.
The NPV formula, step by step
Each cash flow CF_t is multiplied by a discount factor DF_t = 1 ÷ (1 + r)^t, and the results are summed: NPV = Σ CF_t ÷ (1 + r)^t. Period 0 is today and is not discounted; every later flow is assumed to arrive at the end of its period. Take an investment of −100,000 that returns 30,000, 40,000, 50,000 and 20,000 over four years, discounted at 10%. The discount factors are 0.909091, 0.826446, 0.751315 and 0.683013, giving present values of 27,272.73, 33,057.85, 37,565.74 and 13,660.27. Together they are worth 111,556.59 today, so the NPV is 11,556.59. The project beats a 10% required return by that amount.
The same numbers give the secondary measures. The profitability index is the present value of the future flows divided by the investment, 111,556.59 ÷ 100,000 = 1.12. The running total of present values turns positive during year 4, so the discounted payback is about 3.15 years, compared with a simple, undiscounted payback of 2.60 years.
Choosing a discount rate
The discount rate is the return you require for taking on the project. Businesses use their cost of capital or a hurdle rate; individuals can use the return they would give up on the next best investment of similar risk. Riskier projects warrant a higher rate. Match the rate to the cash flows: if the flows include inflation, use a nominal rate; if they are in today's prices, use a real rate. For monthly or quarterly flows, the calculator converts your annual rate into a rate per period, either as an effective annual rate or as a nominal APR divided by the number of periods.
The spreadsheet off-by-one-period trap
Excel's and Google Sheets' NPV() function assumes its first value arrives one period from now. Writing =NPV(10%, B1:B5) with the investment in B1 therefore discounts everything by one extra period and returns 10,505.99 instead of 11,556.59. The fix is to keep period 0 outside the function: =NPV(10%, B2:B5) + B1. The calculator shows both values so you can reconcile a spreadsheet quickly.
Reading the NPV profile
The NPV profile plots NPV against the discount rate. It usually slopes downward: the higher the rate, the less distant cash is worth. Where the line crosses zero is the break-even rate, better known as the internal rate of return (IRR); for the example above it is 15.32%. If the cash flows change sign more than once, for example a mine that needs a large clean-up payment at the end, the line can cross zero twice, and a single IRR no longer describes the project.
NPV vs IRR when projects compete
Suppose project P returns 2,000, 3,000, 4,000 and 6,000 on a 10,000 investment, while project Q returns 7,000, 3,000, 2,000 and 1,000. Q has the higher IRR (16.69% vs 15.28%) because its money comes back sooner, but at a 10% rate P has the higher NPV (1,400.86 vs 1,028.62). Their profiles cross at 13.26%: below that rate P adds more value, above it Q does. For mutually exclusive projects, choose the one with the higher NPV at your own rate. When lives differ, the equivalent annual annuity puts projects on a per-year footing, assuming each could be repeated.