๐Ÿ‡บ๐Ÿ‡ธ USC
Investing & Retirement
๐Ÿ’ต

NPV Calculator

Net present value of an investment from its cash flows

๐Ÿ’ต Project details

$
Year 1
$
Year 2
$
Year 3
$
Year 4
$
Year 5
$

Enter expected after-tax cash inflows. Use a negative value for any year with a net outflow.

โœ…

Last updated June 2026

Method: Standard discounted cash flow formula - each year's cash flow is divided by (1 + r) raised to its period and summed, then the initial investment is subtracted. Cash flows are assumed to arrive at the end of each year.

Included: Initial investment, a custom discount rate, uneven or negative yearly cash flows, the present value of each year, total NPV, profitability index and an undiscounted payback estimate.

Not included: Mid-year or continuous compounding, automatic tax or inflation adjustment, IRR solving, and terminal/residual values. Results are planning estimates, not investment advice.

NPV calculator: everything you need to know

Suppose a project costs $100,000 today and is expected to return $30,000, $35,000, $40,000, $45,000 and $50,000 over the next five years. The raw cash flows add up to $200,000, so it looks like a clear win. But at a 10% discount rate, those future dollars are worth only about $148,000 today - making the net present value roughly $48,000. That positive number is the real signal: after accounting for the time value of money and your required return, the project still creates value. Turning a stream of future cash into one honest, present-day figure is exactly what this NPV calculator does.

The NPV formula

Net present value discounts every future cash flow back to today and subtracts the upfront cost:

NPV = −C0 + ∑ CFt ÷ (1 + r)t  (t = 1 … n)

where C0 is the initial investment, CFt is the cash flow in year t, r is the discount rate (as a decimal), and n is the number of years. The term (1 + r)t in the denominator is what makes a dollar received later worth less than a dollar today - and the further out the cash flow, the more heavily it is discounted.

A worked example, step by step

Using the numbers above at a 10% rate, each year's present value is the cash flow divided by 1.10 raised to that year:

  • Year 1: $30,000 ÷ 1.10 = about $27,273
  • Year 2: $35,000 ÷ 1.10² = about $28,926
  • Year 3: $40,000 ÷ 1.10³ = about $30,053
  • Year 4: $45,000 ÷ 1.10⁴ = about $30,736
  • Year 5: $50,000 ÷ 1.10⁵ = about $31,046

The present values sum to roughly $148,034. Subtract the $100,000 cost and the NPV is about $48,034. Because it is positive, the project clears the 10% hurdle and is expected to add value. (Small differences from the headline figure above come from rounding each step.)

How to use this NPV calculator

You only need three inputs to get a reliable answer:

  1. Initial investment: the cash you spend today (year 0). Enter it as a positive number; the calculator treats it as the upfront outflow.
  2. Discount rate: your required annual return - often your cost of capital or hurdle rate. This is the single most influential input, so consider testing a few values.
  3. Yearly cash flows: the expected after-tax inflow for each year. Add or remove years to match your forecast, and enter a negative value for any year with a net outflow.

Press Calculate and read the NPV at the top. The summary cards show the present value of the inflows, the profitability index and a payback estimate, while the table breaks down the discount factor and present value for every single year.

Who this calculator is for

  • Business owners and managers deciding whether a new machine, location or product line is worth the upfront cost.
  • Finance students and analysts checking capital-budgeting homework or building a quick discounted cash flow model.
  • Real-estate investors valuing a rental or flip from its projected net cash flows.
  • Entrepreneurs comparing two projects competing for the same limited budget.
  • Individuals weighing a big-ticket purchase - solar panels, an EV charger, an equipment buy - that pays back over several years.

Key terms explained

  • Present value (PV): what a future cash flow is worth in today's dollars after discounting.
  • Discount rate (r): the annual return you require; it captures both the time value of money and risk.
  • Discount factor: 1 ÷ (1 + r)t, the multiplier that converts a year-t cash flow into present value.
  • Cost of capital / WACC: the blended cost of a firm's debt and equity, a common choice for the discount rate.
  • Profitability index (PI): PV of inflows ÷ initial cost; a value above 1.0 mirrors a positive NPV.
  • Internal rate of return (IRR): the discount rate at which NPV equals zero.

Scenario 1: the discount rate flips the decision

Take the same $100,000 project. At a 10% rate the NPV is about +$48,000 - accept it. Raise the rate to 20%, perhaps because the project is riskier or capital is expensive, and the present values shrink so much that the NPV falls to roughly +$14,000. Push it to around 25% and the NPV crosses zero (that crossover point is the project's IRR). The lesson: the accept/reject answer can hinge entirely on the rate you choose, which is why it deserves careful thought.

Scenario 2: timing beats totals

Imagine two $50,000 projects at a 10% discount rate that both return $70,000 in total over three years. Project A is front-loaded ($40,000, $20,000, $10,000); Project B is back-loaded ($10,000, $20,000, $40,000). Project A's NPV works out to about +$10,000, while Project B's is only about +$5,700. Same cost, same total cash - yet Project A wins because its dollars arrive earlier and are discounted less. This is the core insight NPV captures that a simple total or average return misses: when you get paid matters, not just how much.

Scenario 3: a mid-project outflow

Real projects are rarely a clean cost-then-profit pattern. Suppose a venture returns $40,000 in years 1 and 2, then needs a $25,000 reinvestment in year 3 (a negative cash flow) before returning $60,000 in years 4 and 5. Entering a negative value for year 3 lets the calculator discount that outflow at its own period and net it correctly against the inflows - something a simple "average return" estimate cannot do.

What moves the NPV the most

  • Discount rate: the biggest lever - a higher rate compounds against you year after year and can turn a winner into a loser.
  • Timing of cash flows: earlier dollars are discounted less, so front-loaded projects beat back-loaded ones with the same total.
  • Size of the initial investment: it hits NPV dollar-for-dollar with no discounting because it occurs today.
  • Forecast horizon: distant cash flows contribute little once discounted, so over-projecting far-future years rarely rescues a weak project.

Tips for a trustworthy NPV

  • Use after-tax cash flows and include the tax savings from depreciation (the depreciation tax shield).
  • Match the rate to the risk: a speculative venture deserves a higher discount rate than a stable one.
  • Stress-test it: recompute NPV at a few rates and with conservative cash flows to see how robust the decision is.
  • Be consistent with inflation: discount nominal (with-inflation) cash flows at a nominal rate, or real cash flows at a real rate - don't mix the two.
  • Include a terminal value separately if the project keeps producing cash beyond your forecast window.

Limitations and assumptions

NPV is a powerful rule, but it is only as good as its inputs:

  • It assumes cash flows arrive at the end of each year; mid-year or continuous timing would shift the result slightly.
  • It assumes intermediate cash flows are reinvested at the discount rate, which may not hold in practice.
  • Forecasting cash flows years ahead is inherently uncertain - small errors compound.
  • Standard NPV does not value managerial flexibility (the option to expand, delay or abandon), which real-options analysis addresses.
  • This tool does not solve for IRR or apply taxes and inflation automatically - feed it after-tax, inflation-consistent numbers.

NPV in stock and real-estate valuation

The same discounting math powers two of the most common valuation jobs in finance. In stock valuation, a discounted cash flow (DCF) model projects a company's free cash flows for several years, discounts them at the firm's cost of capital, and adds a terminal value for the cash beyond the forecast window - the result is an intrinsic value you compare against the market price. In real estate, an investor projects a property's net operating income year by year (rent minus operating costs), discounts those cash flows plus an eventual sale price, and reads the NPV to decide whether the purchase price creates value. In both cases the discount rate carries most of the weight, and a separate terminal or residual value is added by hand because this calculator stops at your final forecast year. If you are valuing a property specifically, pair the NPV with a Cap Rate Calculator or a Rental Property Calculator to cross-check the income assumptions before you trust the discounted figure.

NPV vs payback period

The payback period answers a simpler question - how many years until the project returns its initial cost - and the summary cards above show an undiscounted estimate of it. Payback is intuitive and useful as a liquidity check, but it ignores two things NPV captures: the time value of money (it counts a dollar in year 5 the same as a dollar today) and everything that happens after the cost is recovered. A project can pay back quickly yet add little value, or pay back slowly yet generate large late cash flows. Use payback as a quick screen for how long your capital is at risk, but let NPV make the accept-or-reject call. A discounted payback period - which counts present values rather than raw cash - is a middle ground, though it still ignores cash beyond the recovery point.

How NPV compares to other measures

NPV is the gold standard of capital budgeting, but it works best alongside related metrics. Use the ROI Calculator for a quick percentage return when timing is simple, the CAGR Calculator to express growth as an annual rate, and the Future Value Calculator to project a single sum or contribution stream forward instead of discounting it back. For longer-horizon wealth building, the Investment Calculator and Compound Interest Calculator model growth with regular contributions. NPV's edge is that it returns a single dollar figure that accounts for both the size and the timing of every cash flow, making it the most reliable way to compare projects head to head.

The decision rule, summarized

Accept a standalone project when its NPV is greater than zero; reject it when NPV is negative. When choosing among mutually exclusive projects, pick the one with the highest NPV (not the highest IRR or shortest payback). A zero NPV means the project exactly earns your required return - a break-even outcome that neither creates nor destroys value.

Sources

โš ๏ธ Common mistakes & edge cases

Double-counting the initial investment

The upfront cost belongs in year 0 only. Enter it once in the "initial investment" field - do not also subtract it from your first-year cash flow, or you will understate the project twice over.

Picking the discount rate carelessly

The rate is the most powerful input. Using a too-low rate flatters every project; a too-high rate kills good ones. Match it to the project's risk and your cost of capital, and test a range before deciding.

Discounting pre-tax cash flows

NPV should use after-tax cash flows. Forgetting taxes overstates the inflows; forgetting the depreciation tax shield understates them. Build each year's number net of tax for an accurate result.

Mixing real and nominal numbers

If your cash flows already include inflation (nominal), discount them at a nominal rate. If they are in today's purchasing power (real), use a real rate. Combining a real rate with nominal cash flows distorts the NPV.

Note: This calculator gives an estimate, not investment advice. NPV is only as reliable as your cash-flow forecasts and discount-rate assumptions.

❓ Frequently asked questions

What is net present value (NPV)?

Net present value is the sum of all of a project's cash flows, each discounted back to today's dollars, minus the initial investment. It answers a single question: after accounting for the time value of money and your required return, does this project create value? A positive NPV means yes; a negative NPV means no.

How is NPV calculated?

NPV = -Initial investment + sum of CF_t / (1 + r)^t for each year t from 1 to n, where CF_t is the cash flow in year t and r is the discount rate. Each future cash flow is divided by (1 + r) raised to the power of its year, which shrinks later cash flows more heavily, then all the present values are added and the upfront cost is subtracted.

What does a positive NPV mean?

A positive NPV means the discounted value of the project's future cash flows exceeds its cost, so it is expected to earn more than your required rate of return and add wealth. In capital budgeting, the standard rule is to accept independent projects with NPV greater than zero and, when choosing between mutually exclusive projects, pick the one with the highest NPV.

What discount rate should I use?

Use the rate that reflects the return you require for the project's risk - commonly your weighted average cost of capital (WACC), your hurdle rate, or the return available on an equally risky alternative. Higher risk warrants a higher discount rate. The rate has a large effect on the result, so it is worth testing a range rather than relying on a single number.

What is the difference between NPV and IRR?

NPV gives the dollar value a project adds at a chosen discount rate. The internal rate of return (IRR) is the discount rate that makes NPV equal to zero - a percentage rather than a dollar figure. NPV is generally preferred for ranking projects because IRR can be misleading with unconventional cash flows or when comparing projects of different sizes.

Why are future cash flows worth less than today's?

A dollar today can be invested to earn a return, so it is worth more than the same dollar received later. Discounting captures this time value of money: a cash flow of $1,000 received in five years at a 10% discount rate is worth only about $621 today, because $621 invested at 10% would grow to roughly $1,000 in five years.

Does this calculator handle uneven or negative cash flows?

Yes. You can enter a different amount for each year, including negative values for any year with a net outflow (for example, a mid-project equipment upgrade). Each year is discounted by its own period, so the calculator works for uneven streams, not just level annuities.

What is the profitability index shown in the results?

The profitability index (PI) is the present value of the inflows divided by the initial investment. A PI above 1.0 means the project is value-accretive - the same condition as NPV greater than zero. PI is useful for ranking projects when capital is limited, because it expresses value created per dollar invested.

What is a discounted cash flow (DCF) analysis?

Discounted cash flow is the broad method of valuing an investment by projecting its future cash flows and discounting them to present value. NPV is one specific output of a DCF analysis - the net result after subtracting the upfront cost. The same technique underlies stock valuation, real-estate analysis and corporate capital budgeting.

How do taxes and depreciation affect NPV?

NPV should be built on after-tax cash flows. Depreciation is not a cash outflow itself, but it reduces taxable income and therefore taxes, creating a 'depreciation tax shield' that increases the cash flows you discount. For an accurate NPV, estimate each year's cash flow net of taxes, including any tax savings from depreciation.

What are the main limitations of NPV?

NPV is only as good as its inputs. Small changes in the discount rate or cash-flow forecasts can flip the decision, and it assumes you can estimate cash flows years into the future. It also assumes intermediate cash flows are reinvested at the discount rate and does not, by itself, capture strategic options like the ability to expand, delay or abandon a project.

Can NPV be used for personal investments?

Yes. Any decision with an upfront cost and a stream of future cash flows - a rental property, a business purchase, solar panels, or a major equipment buy - can be evaluated with NPV. Use a discount rate equal to the return you could earn on a comparable alternative, and treat a positive NPV as a sign the investment beats that benchmark.

๐Ÿ’ก Good to know

A positive NPV beats a high IRR

When two projects conflict, the higher NPV wins, not the higher internal rate of return. IRR ignores project size and can mislead with irregular cash flows, while NPV always tells you the actual dollars of value created.

The discount rate is doing the heavy lifting

Because it compounds year after year, a small change in the rate can flip a project from accept to reject. Always sanity-check your NPV at a slightly higher and lower rate before committing.

Timing matters as much as totals

Two projects with the same total cash can have very different NPVs. Front-loaded cash flows are discounted less, so getting paid sooner is worth real money - prefer the project that returns cash earlier when the totals are close.

Related Calculators