NPV Calculator
Free NPV calculator: compute the net present value of any cash-flow series at a chosen discount rate, with the CF0-timing convention fully explained.
NPV Calculator
Background.
An NPV calculator answers the single most important question in capital budgeting: once every future dollar a project or investment produces is discounted back to today at your required rate of return, does it create value or destroy it? Net present value is the sum of a series of cash flows, each divided by (1 plus the discount rate) raised to the power of how many periods away it lands. A positive NPV means the investment is expected to return more than your discount rate demands; a negative NPV means it returns less, even if every individual cash flow is positive in nominal terms. This is the calculation that corporate finance departments run before approving a factory expansion, that private equity analysts run before bidding on a company, and that anyone comparing "put $10,000 in now, get money back over five years" opportunities should run before committing capital.
This calculator settles a convention question that causes more disagreement between NPV tools than any other design choice: is the first number you type in discounted, or not? Here, the first entry in the cash-flow list is period 0 — your undiscounted initial outlay, entered as a negative number because it is money leaving your pocket today. Every entry after that is discounted at one, two, three, and so on years out. This matches the textbook identity used in Brealey, Myers and Allen's Principles of Corporate Finance, NPV = CF0 + the sum of CF_t divided by (1+r)^t for t = 1 through n, and it matches how a financial calculator's CF0 register works on an HP 12C or a TI BA II Plus. It is worth stating explicitly because Excel's own NPV() function does the opposite: it assumes every value you feed it is already one period in the future, so naively wrapping a five-cash-flow project in =NPV(rate, range) silently discounts the period-0 outlay by one extra year and gives a wrong answer. The correct Excel formula is =CF0 + NPV(rate, CF1:CFn) — the initial outlay added back in, undiscounted, outside the function call. This calculator does the CF0-undiscounted math for you automatically, so you never have to remember the workaround.
The discount rate you choose matters as much as the cash flows themselves. For a corporation evaluating an internal project, the standard input is the weighted average cost of capital (WACC) — the blended return debt and equity holders require. For a personal investor comparing two payout structures, the discount rate is your opportunity cost: the return you could earn on the next-best alternative use of that money. Raising the discount rate always lowers NPV, because it penalizes distant cash flows more severely than near-term ones — this is exactly why NPV is the finance profession's preferred tool for ranking mutually exclusive projects with different cash-flow timing, where a simpler metric like total undiscounted profit or payback period can rank the wrong project as the winner.
Enter your full cash-flow series as a comma-separated list, starting with the period-0 outlay, and a discount rate. The calculator returns the net present value, the initial outlay echoed back for confirmation, the present value of everything from period 1 onward, a count of parsed periods so you can catch a dropped value, and your discount rate as a decimal. Below the widget you will find the full formula derivation, a hand-verified worked example, FAQs on the Excel footgun, NPV versus IRR, and how to choose a discount rate, and citations to Brealey/Myers/Allen, Bodie/Kane/Marcus, the CFA Institute curriculum, and the SEC's Investor.gov glossary.
What is npv calculator?
Net present value (NPV) is the sum of a project's or investment's entire cash-flow stream, with every cash flow discounted back to today's dollars at a chosen rate. The formula is NPV = the sum, for every period t from 0 to n, of the cash flow at time t divided by (1 plus the discount rate) raised to the power t. Because the exponent at t = 0 is zero and anything raised to the zero power is one, the period-0 cash flow is never actually discounted — it passes through unchanged. That is by design: the period-0 entry represents money changing hands today, which needs no time-value adjustment. Every later cash flow is shrunk by the discount factor, and the further out it lands, the more it shrinks. NPV is the workhorse metric of capital budgeting because it directly answers a yes/no investment question in the investor's own currency: a positive NPV project is expected to return more than the discount rate demands, and a negative NPV project is expected to return less, regardless of how large its nominal, undiscounted profit looks on paper. Unlike the internal rate of return, NPV produces a single dollar figure that is directly additive across projects and unambiguous even when a project has unconventional cash flows that could otherwise produce multiple IRR solutions.
How to use this calculator.
- Enter your full cash-flow series as a comma-separated list. The first number is period 0 — your initial outlay, entered as a negative number if money is leaving your hands today.
- Enter every subsequent cash flow in order: period 1, period 2, and so on, using the same currency and the same period length (usually years) throughout the series.
- Enter your discount rate as a percentage. Use your company's weighted average cost of capital for a corporate project, or your realistic opportunity-cost return for a personal decision.
- Read the net present value. Positive means the series creates value at your discount rate; negative means it destroys value even if the nominal cash flows sum to a profit.
- Check the cash-flow count against how many numbers you intended to enter — a mismatch usually means a stray character broke the parser and a value was dropped.
- Re-run the calculator at a higher and a lower discount rate to see how sensitive your conclusion is — NPV can flip sign within a realistic range of discount-rate assumptions for marginal projects.
The formula.
The calculator sums every cash flow you enter, each divided by (1 plus the discount rate) raised to the power of its period index. Period 0 — the first number in your list — has an exponent of zero, so (1+r)^0 equals 1 and the initial outlay passes through completely undiscounted. This is the CF0-undiscounted convention documented above: it matches the standard corporate-finance textbook identity NPV = CF0 + the sum from t=1 to n of CF_t divided by (1+r)^t, and it is the convention used by financial calculators' CF0 registers.
Every cash flow from period 1 onward is discounted by successively larger powers of (1+r). At a 10 percent discount rate, a dollar received one year from now is worth 1 divided by 1.10, or about 90.9 cents today. The same dollar two years out is worth 1 divided by 1.21, or about 82.6 cents. The discounting compounds geometrically, which is why cash flows far in the future contribute very little to NPV at any meaningful discount rate — a dollar 20 years out at 10 percent is worth only about 14.9 cents today.
The calculator reports two supporting figures alongside the headline NPV. The initial outlay is your period-0 entry, echoed back so you can confirm it was parsed correctly. The present value of inflows is the sum of every discounted cash flow from period 1 onward — comparing this figure against the (usually negative) initial outlay shows you the raw discounted payback math before netting the two together. All arithmetic runs in arbitrary-precision Decimal.js math so that long cash-flow series and small discount-rate differences do not accumulate floating-point rounding error.
A worked example.
A small business is considering a piece of equipment that costs $10,000 today and is expected to generate $3,000, $4,000, $5,000, and $3,000 in the four years that follow. The owner's required rate of return is 10 percent. Entering -10000, 3000, 4000, 5000, 3000 with a 10 percent discount rate, the calculator discounts each future cash flow: $3,000 one year out becomes $2,727.27 today, $4,000 two years out becomes $3,305.79, $5,000 three years out becomes $3,756.57, and $3,000 four years out becomes $2,049.04. Summed, the present value of the four future inflows is $11,838.67. Subtracting the $10,000 initial outlay (which is not discounted, since it happens at period 0) leaves a net present value of $1,838.67. Because the NPV is positive, the equipment purchase is expected to earn more than the owner's 10 percent required return — the project clears the hurdle by $1,838.67 in today's dollars, and the owner should proceed, all else being equal. If the required return had instead been higher — say the owner's true cost of capital was 18 percent rather than 10 percent — the same cash flows would produce a negative NPV, and the correct decision would flip to rejecting the purchase even though the total nominal cash received never changed.
Frequently asked questions.
Why is the first cash flow (period 0) not discounted?
Why does Excel's NPV() function give a different answer than this calculator?
What discount rate should I use?
What does a negative NPV mean if the project is still profitable in total dollars?
How is NPV different from IRR?
Can NPV be used to compare two projects of different sizes?
Does NPV account for risk?
What if my cash-flow series has no negative entries, or is all negative?
References& sources.
- [1]Brealey, R.A., Myers, S.C., and Allen, F. — Principles of Corporate Finance, 13th edition. Chapter 5 develops the NPV rule, the CF0-undiscounted convention, and the comparison with IRR.
- [2]Bodie, Z., Kane, A., and Marcus, A.J. — Investments, 12th edition. Covers discounted cash-flow valuation and the role of the required rate of return in present-value analysis.
- [3]CFA Institute — CFA Program Curriculum, Corporate Issuers topic area, covering capital budgeting and the net present value decision rule.
- [4]U.S. Securities and Exchange Commission, Investor.gov — Net Present Value (NPV) glossary entry.
- [5]U.S. Securities and Exchange Commission, Investor.gov — Financial tools and calculators for investment analysis.
- [6]Federal Reserve Economic Data (FRED) — benchmark interest-rate series commonly used to anchor discount-rate assumptions in present-value analysis.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled