Skip to main content

Net Present Value (NPV) Calculator — Step-by-Step

Walk through NPV computation step by step with detailed intermediate results, present-value breakdowns, and sensitivity tables.

Skip to calculator
Finance & Investing

Net Present Value (npv) Calculator — Step-by-Step with Sensitivity Analysis

Learn how NPV works step by step. Add or remove cash flow periods, see each year's discount factor and present value, then compare NPV across six discount rates in a built-in sensitivity table. Includes profitability index, discounted payback, and detailed formulas for students and analysts.

Last updated: January 2026Reviewed by NovaCalculator Finance Editorial Team

Calculator

Adjust values & calculate
$100,000
10%
Year 1
Year 2
Year 3
Year 4
Year 5
Net Present Value
$48,033
Project creates value - Accept
Total PV of Cash Flows
$148,033
Profitability Index
1.480
Discounted Payback
3.4 yrs
Total Undiscounted Cash Flows
$200,000
Discounting Impact
-$51,967

Present Value of Each Cash Flow

Year 0 (Investment)-$100,000
Year 1
$30,000 x 0.9091 = $27,273
Year 2
$35,000 x 0.8264 = $28,926
Year 3
$40,000 x 0.7513 = $30,053
Year 4
$45,000 x 0.6830 = $30,736
Year 5
$50,000 x 0.6209 = $31,046

NPV Sensitivity Analysis

Discount Rate: 5%$71,069
Discount Rate: 8%$56,643
Discount Rate: 10%$48,033
Discount Rate: 12%$40,128
Discount Rate: 15%$29,440
Discount Rate: 20%$14,249
Disclaimer: NPV analysis depends heavily on the accuracy of cash flow estimates and the chosen discount rate. Actual results may differ from projections. Use alongside other metrics for investment decisions.
Your Result
NPV: $48,033 (Accept) | PI: 1.480 | Discounted Payback: 3.4 years
Share Your Result
Understand the Math

Formula

NPV = -C0 + C1/(1+r) + C2/(1+r)^2 + ... + Cn/(1+r)^n

Where C0 = initial investment, C1 through Cn = future cash flows, r = discount rate, and n = number of periods. Each future cash flow is discounted to its present value, then the initial investment is subtracted to find the net present value.

Last reviewed: January 2026

Worked Examples

Example 1: Manufacturing Equipment Decision

A company considers investing $100,000 in equipment expected to generate cash flows of $30,000, $35,000, $40,000, $45,000, and $50,000 over 5 years. The discount rate is 10%. Should they proceed?
Solution:
PV of Year 1: $30,000 / 1.10 = $27,273 PV of Year 2: $35,000 / 1.21 = $28,926 PV of Year 3: $40,000 / 1.331 = $30,053 PV of Year 4: $45,000 / 1.4641 = $30,735 PV of Year 5: $50,000 / 1.6105 = $31,046 Total PV: $148,033 NPV: $148,033 - $100,000 = $48,033 PI: $148,033 / $100,000 = 1.48
Result: NPV: $48,033 (positive) | PI: 1.48 | Accept the project

Example 2: Comparing Two Projects

Project A: $50,000 investment, cash flows of $20K, $20K, $20K. Project B: $100,000 investment, cash flows of $40K, $40K, $40K. Discount rate 8%.
Solution:
Project A: PV: $20K/1.08 + $20K/1.1664 + $20K/1.2597 = $51,542 NPV: $51,542 - $50,000 = $1,542 | PI: 1.031 Project B: PV: $40K/1.08 + $40K/1.1664 + $40K/1.2597 = $103,084 NPV: $103,084 - $100,000 = $3,084 | PI: 1.031 Both have same PI but Project B creates more total value.
Result: Project A NPV: $1,542 | Project B NPV: $3,084 | Choose B for maximum value creation
Expert Insights

Background & Theory

The Net Present Value (npv) Calculator — Step-by-Step with Sensitivity Analysis applies the following established principles and formulas. Finance and investing rest on the foundational concept of the time value of money: a dollar received today is worth more than a dollar received in the future, because present funds can be deployed to earn a return. This principle underlies virtually every valuation technique in modern finance. The future value of a present sum P growing at rate r over n periods is expressed as FV = P(1 + r)^n, while the present value of a future cash flow FV is PV = FV / (1 + r)^n. Compound growth amplifies returns significantly over long horizons, a dynamic often described as the eighth wonder of the world. Net Present Value (NPV) extends these mechanics to evaluate investment projects by summing the present values of all expected cash flows minus the initial outlay: NPV = sum[CF_t / (1 + r)^t] - C_0. A positive NPV indicates the project creates value above the required return. The Internal Rate of Return (IRR) is the discount rate that sets NPV to zero, providing a single percentage benchmark for project comparison. The risk-return tradeoff is the central tension of investment theory. Higher expected returns generally require accepting greater uncertainty. Harry Markowitz formalized this in Modern Portfolio Theory by demonstrating that portfolio variance can be reduced through diversification when assets are imperfectly correlated. The efficient frontier represents the set of portfolios offering the maximum return for a given level of risk. The Capital Asset Pricing Model (CAPM) extends this by introducing the market portfolio as a reference, defining expected return as E(r) = r_f + beta * (E(r_m) - r_f), where beta measures an asset's sensitivity to systematic market risk. Asset classes — equities, fixed income, real assets, and alternatives — differ in their return profiles, liquidity, and correlations. Strategic asset allocation determines long-run target weights based on investor objectives and risk tolerance, while tactical allocation permits short-run deviations to exploit perceived mispricings. Discount rates used in valuation models must reflect the cost of capital appropriate to the risk of the cash flows being discounted, a point stressed in corporate finance texts from Brealey, Myers, and Allen through to Damodaran.

History

The history behind the Net Present Value (npv) Calculator — Step-by-Step with Sensitivity Analysis traces back through the following developments. The formal practice of lending at interest dates to ancient Mesopotamia, where the Code of Hammurabi around 1750 BCE regulated interest rates on grain and silver loans. Banking as an institutional activity took root in medieval Italy, with merchant bankers in Florence and Venice financing trade across Europe through instruments such as bills of exchange. The Medici family operated one of the most sophisticated banking networks of the fifteenth century, pioneering double-entry bookkeeping and correspondent banking relationships. Organized equity markets emerged in the early seventeenth century. The Dutch East India Company (VOC), chartered in 1602, issued shares to the public and created the Amsterdam Stock Exchange — widely regarded as the world's first formal stock exchange. The VOC allowed investors to buy and sell shares freely, establishing the template for the joint-stock company. The period also produced the Dutch tulip mania of 1636 to 1637, one of history's first recorded speculative bubbles, in which tulip bulb futures contracts reached extraordinary prices before collapsing. England's financial revolution followed in the late seventeenth century with the founding of the Bank of England in 1694 and the development of government bond markets. The South Sea Bubble of 1720 illustrated the dangers of speculative excess and contributed to early securities regulation. Throughout the eighteenth and nineteenth centuries, industrialization created enormous demand for capital, fueling the expansion of stock exchanges in London, Paris, New York, and beyond. The New York Stock Exchange, formalized in 1817, became the world's dominant equities market by the twentieth century. The Great Crash of 1929 and subsequent Great Depression prompted the US Securities Act of 1933 and Securities Exchange Act of 1934, establishing the SEC and mandatory disclosure requirements. Harry Markowitz published his landmark portfolio selection paper in 1952, launching quantitative finance. The CAPM emerged in the 1960s through work by Sharpe, Lintner, and Mossin. John Bogle launched the first retail index fund in 1976, democratizing diversified investing and challenging active management orthodoxy.

Key Features

  • Calculate compound interest and future/present value for any combination of principal, rate, compounding frequency, and time horizon to project investment growth accurately.
  • Evaluate capital projects and investment opportunities using NPV and IRR analysis, with support for irregular cash flow schedules and multiple discount rate scenarios.
  • Analyze portfolio risk and return by computing weighted average return, standard deviation, Sharpe ratio, and beta relative to a benchmark index.
  • Compute dividend yield, payout ratio, and earnings per share to compare income-generating stocks and assess dividend sustainability.
  • Calculate CAGR and annualized total return for any holding period, normalizing performance across investments with different time frames.
  • Generate complete mortgage amortization schedules showing principal and interest breakdown for every payment, plus total interest paid over the loan life.
  • Project retirement savings balances with configurable contribution amounts, employer match rates, annual raises, and withdrawal start dates.
  • Compare after-tax returns across account types (taxable, Roth, traditional IRA/401k) to identify the most tax-efficient placement for each asset class.

Share this calculator

Explore More

Frequently Asked Questions

The discount rate should reflect the opportunity cost of capital, which is the return you could earn on alternative investments of similar risk. For corporate projects, the weighted average cost of capital (WACC) is commonly used, which blends the cost of debt and equity financing. WACC typically ranges from 8% to 15% for most companies. For personal investments, use your expected return from comparable alternative investments. If evaluating a real estate deal, compare to the return you could get from REITs or similar investments. Risk adjustments are important: riskier projects should use higher discount rates. Government projects might use the risk-free rate (Treasury yields) plus a small premium. The chosen rate significantly impacts NPV results, so many analysts calculate NPV at multiple rates to understand sensitivity.
A positive NPV means the present value of expected future cash flows exceeds the initial investment cost, indicating the project is expected to create wealth above and beyond the required rate of return. The dollar amount of the NPV represents the total value created in today dollars. For example, an NPV of $50,000 means the investment is expected to create $50,000 in value beyond what you could earn at the discount rate. A negative NPV means the investment fails to meet the required rate of return and destroys value. An NPV of exactly zero means the investment earns exactly the discount rate, which represents the minimum acceptable return. When comparing mutually exclusive projects, always choose the one with the highest positive NPV, as it creates the most total value.
The Profitability Index (PI), also called the benefit-cost ratio, is calculated by dividing the present value of future cash flows by the initial investment. A PI greater than 1.0 corresponds to a positive NPV and indicates the investment creates value. A PI of 1.25 means every dollar invested generates $1.25 in present value, creating $0.25 in value per dollar. The Profitability Index is particularly useful when capital is limited and you must choose among multiple positive-NPV projects. While NPV tells you the total value created, PI tells you the value created per dollar invested. A smaller project with a PI of 1.5 creates more value per dollar than a larger project with a PI of 1.1, even if the larger project has a higher absolute NPV. Using PI helps maximize total value creation within budget constraints.
NPV accounts for the time value of money by discounting each future cash flow by a factor that increases with time. The discount factor for any period is 1/(1+r)^n, where r is the discount rate and n is the number of periods. At a 10% discount rate, $1 received in year 1 is worth $0.909 today, $1 in year 2 is worth $0.826, $1 in year 5 is worth $0.621, and $1 in year 10 is worth only $0.386. This reflects the reality that money available today can be invested to earn returns. Cash flows further in the future are worth progressively less in present value terms. This is why projects with front-loaded cash flows tend to have higher NPVs than those with back-loaded cash flows, even when total undiscounted cash flows are identical.
NPV is generally preferred over IRR in several key situations. First, when comparing mutually exclusive projects of different sizes, NPV correctly identifies which creates more total value, while IRR can be misleading because a smaller project may have a higher IRR but lower total value creation. Second, when cash flows change direction multiple times (negative to positive to negative), IRR can produce multiple solutions, while NPV always gives a single clear answer. Third, NPV directly measures value creation in dollar terms, making it easier to communicate the impact of a decision to stakeholders. Fourth, NPV properly handles the reinvestment rate assumption by using the discount rate, which is typically more realistic than IRR assumption of reinvestment at the IRR itself. Use IRR alongside NPV for independent accept-or-reject decisions.
Sensitivity analysis examines how NPV changes when key assumptions are varied, helping identify which variables have the greatest impact on investment value. Common variables tested include the discount rate, cash flow amounts, project timing, and terminal values. For the discount rate, calculate NPV at several rates to create an NPV profile curve showing where NPV turns negative (which is the IRR). For cash flows, test optimistic, base, and pessimistic scenarios to establish a range of possible outcomes. Monte Carlo simulation takes sensitivity analysis further by running thousands of scenarios with random variations in multiple inputs simultaneously. This produces a probability distribution of NPV outcomes. Projects with narrow distributions are lower risk, while wide distributions indicate higher uncertainty. Decision-makers often accept only projects with a high probability of positive NPV.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Finance Editorial TeamReviewed against CFPB, IRS, and Federal Reserve guidance. Last reviewed: January 2026. © 2024–2026 NovaCalculator.

Share this calculator

Formula

NPV = -C0 + C1/(1+r) + C2/(1+r)^2 + ... + Cn/(1+r)^n

Where C0 = initial investment, C1 through Cn = future cash flows, r = discount rate, and n = number of periods. Each future cash flow is discounted to its present value, then the initial investment is subtracted to find the net present value.

Worked Examples

Example 1: Manufacturing Equipment Decision

Problem: A company considers investing $100,000 in equipment expected to generate cash flows of $30,000, $35,000, $40,000, $45,000, and $50,000 over 5 years. The discount rate is 10%. Should they proceed?

Solution: PV of Year 1: $30,000 / 1.10 = $27,273\nPV of Year 2: $35,000 / 1.21 = $28,926\nPV of Year 3: $40,000 / 1.331 = $30,053\nPV of Year 4: $45,000 / 1.4641 = $30,735\nPV of Year 5: $50,000 / 1.6105 = $31,046\nTotal PV: $148,033\nNPV: $148,033 - $100,000 = $48,033\nPI: $148,033 / $100,000 = 1.48

Result: NPV: $48,033 (positive) | PI: 1.48 | Accept the project

Example 2: Comparing Two Projects

Problem: Project A: $50,000 investment, cash flows of $20K, $20K, $20K. Project B: $100,000 investment, cash flows of $40K, $40K, $40K. Discount rate 8%.

Solution: Project A:\nPV: $20K/1.08 + $20K/1.1664 + $20K/1.2597 = $51,542\nNPV: $51,542 - $50,000 = $1,542 | PI: 1.031\n\nProject B:\nPV: $40K/1.08 + $40K/1.1664 + $40K/1.2597 = $103,084\nNPV: $103,084 - $100,000 = $3,084 | PI: 1.031\n\nBoth have same PI but Project B creates more total value.

Result: Project A NPV: $1,542 | Project B NPV: $3,084 | Choose B for maximum value creation

Frequently Asked Questions

How do I choose the right discount rate for NPV calculation?

The discount rate should reflect the opportunity cost of capital, which is the return you could earn on alternative investments of similar risk. For corporate projects, the weighted average cost of capital (WACC) is commonly used, which blends the cost of debt and equity financing. WACC typically ranges from 8% to 15% for most companies. For personal investments, use your expected return from comparable alternative investments. If evaluating a real estate deal, compare to the return you could get from REITs or similar investments. Risk adjustments are important: riskier projects should use higher discount rates. Government projects might use the risk-free rate (Treasury yields) plus a small premium. The chosen rate significantly impacts NPV results, so many analysts calculate NPV at multiple rates to understand sensitivity.

What does a positive NPV mean versus a negative NPV?

A positive NPV means the present value of expected future cash flows exceeds the initial investment cost, indicating the project is expected to create wealth above and beyond the required rate of return. The dollar amount of the NPV represents the total value created in today dollars. For example, an NPV of $50,000 means the investment is expected to create $50,000 in value beyond what you could earn at the discount rate. A negative NPV means the investment fails to meet the required rate of return and destroys value. An NPV of exactly zero means the investment earns exactly the discount rate, which represents the minimum acceptable return. When comparing mutually exclusive projects, always choose the one with the highest positive NPV, as it creates the most total value.

What is the Profitability Index and how does it relate to NPV?

The Profitability Index (PI), also called the benefit-cost ratio, is calculated by dividing the present value of future cash flows by the initial investment. A PI greater than 1.0 corresponds to a positive NPV and indicates the investment creates value. A PI of 1.25 means every dollar invested generates $1.25 in present value, creating $0.25 in value per dollar. The Profitability Index is particularly useful when capital is limited and you must choose among multiple positive-NPV projects. While NPV tells you the total value created, PI tells you the value created per dollar invested. A smaller project with a PI of 1.5 creates more value per dollar than a larger project with a PI of 1.1, even if the larger project has a higher absolute NPV. Using PI helps maximize total value creation within budget constraints.

How does NPV account for the time value of money?

NPV accounts for the time value of money by discounting each future cash flow by a factor that increases with time. The discount factor for any period is 1/(1+r)^n, where r is the discount rate and n is the number of periods. At a 10% discount rate, $1 received in year 1 is worth $0.909 today, $1 in year 2 is worth $0.826, $1 in year 5 is worth $0.621, and $1 in year 10 is worth only $0.386. This reflects the reality that money available today can be invested to earn returns. Cash flows further in the future are worth progressively less in present value terms. This is why projects with front-loaded cash flows tend to have higher NPVs than those with back-loaded cash flows, even when total undiscounted cash flows are identical.

When should I use NPV instead of IRR for investment decisions?

NPV is generally preferred over IRR in several key situations. First, when comparing mutually exclusive projects of different sizes, NPV correctly identifies which creates more total value, while IRR can be misleading because a smaller project may have a higher IRR but lower total value creation. Second, when cash flows change direction multiple times (negative to positive to negative), IRR can produce multiple solutions, while NPV always gives a single clear answer. Third, NPV directly measures value creation in dollar terms, making it easier to communicate the impact of a decision to stakeholders. Fourth, NPV properly handles the reinvestment rate assumption by using the discount rate, which is typically more realistic than IRR assumption of reinvestment at the IRR itself. Use IRR alongside NPV for independent accept-or-reject decisions.

How does sensitivity analysis work with NPV?

Sensitivity analysis examines how NPV changes when key assumptions are varied, helping identify which variables have the greatest impact on investment value. Common variables tested include the discount rate, cash flow amounts, project timing, and terminal values. For the discount rate, calculate NPV at several rates to create an NPV profile curve showing where NPV turns negative (which is the IRR). For cash flows, test optimistic, base, and pessimistic scenarios to establish a range of possible outcomes. Monte Carlo simulation takes sensitivity analysis further by running thousands of scenarios with random variations in multiple inputs simultaneously. This produces a probability distribution of NPV outcomes. Projects with narrow distributions are lower risk, while wide distributions indicate higher uncertainty. Decision-makers often accept only projects with a high probability of positive NPV.

References

Reviewed by Sahil, Senior Finance & Tax Editor · Editorial policy