Home › Calculators › NPV Calculator

NPV Calculator

Decide whether an investment is worth it. Enter the upfront cost, the cash flows you expect and your required return to get the net present value, a full present value table, the profitability index, IRR and payback periods.

Last updated:

%

Your required return or cost of capital.

$

Enter as a positive amount; it is treated as a cash outflow.

One per line or separated by spaces/semicolons. Use a minus sign for outflows.

Enter your values to see the result.
Advertisement
Advertisement

How to use the NPV Calculator

  1. Enter the discount rate: your required return or cost of capital per period.
  2. Enter the initial investment as a positive number.
  3. List the cash flows for period 1, 2, 3 … one per line; use a minus sign for later outflows.
  4. Pick the period length (years, quarters or months) so labels read correctly.
  5. Press Calculate to see NPV, the PV table, profitability index, IRR and payback.

The NPV formula

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

  • C0: the initial investment at period 0.
  • CFt: the net cash flow in period t (negative for outflows).
  • r: the discount rate per period, usually the required return or cost of capital.
  • Profitability index = PV of future cash flows ÷ C0.

Decision rule: accept when NPV > 0 (PI > 1); reject when NPV < 0. When choosing between projects that exclude each other, pick the higher NPV.

Worked example at 8%

YearCash flowDiscount factorPresent valueCumulative PV
0−$50,000.001.0000−$50,000.00−$50,000.00
1$12,000.000.9259$11,111.11−$38,888.89
2$15,000.000.8573$12,860.08−$26,028.81
3$18,000.000.7938$14,288.98−$11,739.83
4$20,000.000.7350$14,700.60$2,960.77
5$10,000.000.6806$6,805.83$9,766.60

NPV = $9,766.60 and the profitability index is 1.195, so the project earns more than 8% a year.

Frequently asked questions

What is the NPV formula?

NPV = −C0 + CF1/(1 + r)^1 + CF2/(1 + r)^2 + … + CFn/(1 + r)^n, where C0 is the initial investment, CFt the cash flow in period t and r the discount rate per period.

How do I interpret NPV?

A positive NPV means the investment is expected to earn more than your discount rate and add value. A negative NPV means it earns less. An NPV of zero means it earns exactly the discount rate.

What is the profitability index?

The profitability index (PI) is the present value of future cash flows divided by the initial investment. A PI above 1 matches a positive NPV; it is useful to rank projects when capital is limited.

What discount rate should I use for NPV?

Use the return you require for that level of risk, often a company's weighted average cost of capital (WACC) or the return on a comparable investment. If your cash flows are monthly, use a monthly rate.

What is the difference between NPV and IRR?

NPV gives a value in money at a chosen discount rate. IRR is the discount rate that makes NPV exactly zero. When projects differ in size or timing, NPV is usually the more reliable way to compare them.

What is discounted payback?

It is the time until the cumulative present value of cash flows covers the initial investment. It is longer than simple payback because later cash flows are worth less in today's money.

Does this match Excel's NPV function?

Excel's NPV treats the first value as period 1. To match this calculator, use =NPV(rate, CF1:CFn) − initial investment.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

IRR CalculatorFind the internal rate of return of cash flows, with an NPV profile chart and optional MIRR.Present Value CalculatorFind what a future sum or a series of payments is worth today at a discount rate.ROI CalculatorWork out ROI and annualized ROI, and compare up to three investments side by side.Break Even CalculatorFind break-even units and revenue, contribution margin, margin of safety and a cost-volume chart.EMI CalculatorMonthly EMI, total interest and month-by-month schedule, reducing or flat rate.SIP CalculatorMaturity value, invested amount and returns of a monthly SIP, with optional annual step-up.Compound Interest CalculatorSee how savings and investments grow over time.401(k) CalculatorProject your 401(k) balance with employer match and growth.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Savings Goal CalculatorMonthly deposit needed to reach a savings goal by a deadline.Inflation CalculatorValue of a dollar between any two years using US CPI data.CAGR CalculatorCompound annual growth rate, or solve for a target end value.FIRE CalculatorFind your FIRE number, years to financial independence and Coast FIRE target.Simple Interest CalculatorCalculate simple interest and final amount, or solve for principal, rate or time.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.CD CalculatorFind a CD's maturity value, interest earned, APY vs APR and early-withdrawal penalty.Investment Return CalculatorProject investment growth with monthly contributions, nominal vs real after inflation.Dividend CalculatorProject dividend income with yield, dividend growth and DRIP reinvestment over time.Net Worth CalculatorList assets and debts by category to get your net worth, debt ratio, donut charts and history.Credit Card Interest CalculatorSee how long minimum payments take, the total interest and how much a fixed payment saves.EOQ CalculatorEconomic order quantity, orders per year, reorder point, safety stock and a total cost curve.Rental Yield CalculatorCalculate gross and net rental yield for a buy-to-let or rental property.Roth IRA CalculatorProject your Roth IRA balance at retirement with contribution limits, catch-up and growth.Future Value CalculatorCalculate the future value of savings with compounding, regular payments and payment timing.Rule of 72 CalculatorEstimate how long money takes to double with the rule of 72, 70 and 69.3 vs. the exact answer.Annuity CalculatorCalculate annuity payouts from a lump sum, or how an annuity grows with regular contributions.Savings CalculatorSee how savings grow with an initial deposit, monthly deposits and compound interest.Interest Rate CalculatorSolve a loan's interest rate (APR) from the amount, payment and term using Newton's method.Yield to Maturity CalculatorFind a bond's yield to maturity, current yield and yield to call from its price and coupon.Bond Price CalculatorPrice a bond from its coupon, yield and term, with premium or discount and a cash flow table.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Position Size CalculatorHow many shares or units to trade so a stop-loss risks only a set share of your account.EPS CalculatorBasic and diluted earnings per share from net income, preferred dividends and share count.CAPM CalculatorExpected return from the risk-free rate, beta and market return using the CAPM formula.Effective Annual Rate CalculatorConvert a nominal rate to the effective annual rate (EAR / APY) for any compounding, or back.Dividend Reinvestment CalculatorProject a DRIP: portfolio value, shares and income with and without reinvesting dividends.College Savings CalculatorProject future college costs and see how much you need to save each month to pay for them.Retirement Withdrawal CalculatorSee how many years your retirement savings last with withdrawals, returns and inflation.Barista FIRE CalculatorPortfolio needed when part-time income covers part of your spending, and years to get there.Stock Beta CalculatorPaste stock and market prices or returns to get beta, correlation, R-squared and a regression chart.Bond Duration CalculatorMacaulay and modified duration, DV01, convexity and price change for a yield move.Bond Ladder CalculatorPlan a Treasury or bond ladder: maturity table, yearly cash flows and average yield.CD Early Withdrawal Penalty CalculatorPenalty for cashing a CD early, net interest and whether breaking it to reinvest pays.College ROI CalculatorIs a degree worth it? Cost and student debt vs extra earnings: payback, NPV and ROI.Cost-Benefit Analysis CalculatorCompare yearly costs and benefits: NPV, benefit-cost ratio, ROI, IRR and payback period.Covered Call CalculatorCovered call returns: if-called and static return, annualized yield, breakeven and max profit.Crypto Portfolio Profit & Loss TrackerLog crypto buys and sells to see holdings, average cost and realized and unrealized P&L.Current Yield CalculatorBond current yield from coupon and price, compared with the coupon rate and yield to maturity.Dividend Discount Model CalculatorStock intrinsic value with the Gordon growth model or a two- or three-stage dividend discount model.Dividend Payout Ratio CalculatorPayout ratio from DPS ÷ EPS or dividends ÷ net income, with retention ratio and safety bands.Forex Profit CalculatorProfit or loss of a forex trade in pips and in your account currency, after commission.457(b) CalculatorProject your 457(b) balance with contributions, catch-ups, employer money and returns.Growing Annuity CalculatorPresent and future value of payments growing at a constant rate, ordinary or due.Inherited IRA RMD CalculatorInherited IRA withdrawals under the 10-year rule or life-expectancy stretch, year by year.Line of Credit CalculatorLine of credit draws, interest-only draw-period payments and repayment-period payment.Long-Term Care Cost CalculatorFuture cost of home care, assisted living or a nursing home with inflation, and savings needed.Lump Sum vs Dollar Cost Averaging CalculatorInvest it all now or spread it over months? Simulated odds, expected values and bad-case risk.Military Retirement Pay CalculatorEstimate High-3, BRS, REDUX or reserve military retired pay, plus the BRS TSP match.Monte Carlo Retirement SimulatorSimulate thousands of market paths to see the odds your retirement savings last.Perpetuity CalculatorPresent value of a level or growing perpetuity, its payment or discount rate, with steps.Portfolio Return CalculatorWeighted return of your holdings, plus time-weighted vs money-weighted return with cash flows.Retained Earnings CalculatorEnding retained earnings from beginning balance, net income and dividends and retention ratio.Saver's Credit CalculatorRetirement savings credit: your 50/20/10% rate and credit from AGI and filing status.Savings Bond CalculatorValue of EE and I savings bonds by issue date and denomination, with interest and penalty.Terminal Value CalculatorDCF terminal value by perpetuity growth or exit multiple, with present value and sensitivity.Trading Compound Interest CalculatorCompound daily, weekly or monthly trading gains with deposits and withdrawals into a balance table.TSP CalculatorProject your Thrift Savings Plan balance with agency 1% + matching and G/F/C/S/I fund mix.Yield to Call CalculatorYield to call of a callable bond, compared with yield to maturity and yield to worst.
See all 127 Investing & Retirement Calculators →