NPV Calculator

Compute Net Present Value from an initial investment, a discount rate, and either fixed or varying cash flows by year.

$
Same cash flow every year for N years.
%
$

Results

  • Net Present Value (NPV) $
  • PV of Inflows $
  • Initial Investment $
  • Profitability Index
  • Decision

This NPV Calculator computes the Net Present Value of an investment based on its initial investment, cash flows, discount rate, and time period. It helps evaluate whether a project is financially viable by comparing the present value of expected inflows with the cost of investment.

Introduction

The calculator supports two modes: Fixed Each Year (same annual cash flow) and Varying by Year (different cash flows per year). Inputs include Initial Investment, Discount Rate (annual), Number of Years, and Cash Flow per Year (or per year list).

The standard NPV formula is:

where CFt is the cash flow in year t, r is the discount rate, and I0 is the initial investment.

How to Use the NPV Calculator

Use these steps to calculate an investment’s Net Present Value and make an informed accept-or-reject decision.

  1. Enter the Initial Investment

    Input the upfront cost or capital required (e.g., $10,000).

  2. Select Cash Flow Mode

    Choose Fixed Each Year for equal annual inflows, or Varying by Year for custom amounts.

  3. Input Discount Rate (annual)

    Provide the required rate of return or cost of capital (e.g., 10%).

  4. Set Number of Years

    Define how long the investment generates returns (e.g., 5 years).

  5. Enter Cash Flow per Year

    Type the annual cash inflow; if varying, fill each year's specific value.

  6. Enable “Show decimals”

    Toggle if you want precise decimal results.

  7. Review Results

    The tool displays Net Present Value (NPV), Present Value of Inflows, Profitability Index, and Decision (Accept/Reject).

    The Profitability Index (PI) is given by:

    The investment is accepted if NPV > 0 or PI > 1.

Frequently Asked Questions

Methodology & Sources

The NPV calculator evaluates the net benefit of an investment by discounting future cash flows to their present value and subtracting the initial investment.

Formula (fixed annual cash flows):

Where:

  • NPV: Net Present Value
  • CF: Annual cash flow
  • r: Discount rate (as decimal)
  • n: Number of years
  • I0: Initial investment

Present Value of Inflows (PV):

Profitability Index (PI):

Decision Rule:

  • If NPV > 0 → Accept the project
  • If NPV < 0 → Reject the project

Assumptions:

  • Cash flows occur at year-end.
  • Discount rate remains constant.
  • All values in USD; round to two decimals.

Edge Cases:

  • r = 0: No discounting.
  • n = 0: NPV undefined (no time period).
  • Negative cash flows: Represent outflows and reduce NPV.

Modes Supported:

  • Fixed Each Year
  • Varying by Year

Bibliography

  1. (2023). Time Value of Money and Discounted Cash Flow Analysis — Massachusetts Institute of Technology
    Accessed 2025-10-27
  2. (2024). Net Present Value (NPV) — Investopedia
    Accessed 2025-10-27
  3. (2022). Discounted Cash Flow Analysis — U.S. Department of Energy
    Accessed 2025-10-27