Zero Signup ToolsFree browser tools

Calculator Tools

NPV and IRR Calculator

Calculate Net Present Value (NPV), Internal Rate of Return (IRR), payback period, and profitability index for any cash flow series in your browser.

Calculator mode

Enter an upfront investment, a uniform annual cash flow, an optional final or salvage value, the number of years, and a discount rate. We compute NPV, IRR, and the year-by-year discounted cash flow table.

Common projects

The cash you put in today. Entered as a positive number; the calculator treats it as an outflow at year 0.

Net cash flow you expect each year (inflow positive, ongoing cost negative). Identical for every year in simple mode.

Optional bonus added to the last year, useful for a sale price at the end of a holding period or the salvage value of equipment. Leave blank for none.

Result

NPV, IRR, and payback

Net present value

$19,003.38

at 8% per year

Internal rate of return

9.039%

IRR is above the discount rate.

Accept on a stand-alone basis: NPV is positive at this discount rate.
Total inflow
$500,000.00
Total outflow
-$250,000.00
Net cash flow (undiscounted)
$250,000.00
Payback period
9.26 years
Discounted payback
9.88 years
Profitability index
1.076
Sign changes
1 (conventional)

Year-by-year discounted cash flow

Cash flow table

YearCash flowDiscount factorPresent valueCumulative PV
0-$250,000.001.000000-$250,000.00-$250,000.00
1$18,000.000.925926$16,666.67-$233,333.33
2$18,000.000.857339$15,432.10-$217,901.23
3$18,000.000.793832$14,288.98-$203,612.25
4$18,000.000.735030$13,230.54-$190,381.72
5$18,000.000.680583$12,250.50-$178,131.22
6$18,000.000.630170$11,343.05-$166,788.17
7$18,000.000.583490$10,502.83-$156,285.34
8$18,000.000.540269$9,724.84-$146,560.50
9$18,000.000.500249$9,004.48-$137,556.02
10$338,000.000.463193$156,559.40$19,003.38

Discount factor at year t equals 1 / (1 + r)t. Present value equals the cash flow multiplied by the discount factor. Cumulative PV is the running total of present values, which equals NPV at the final row.

Equations used

NPV(r) = Σ Ct / (1 + r)t

IRR is the rate r* with NPV(r*) = 0

Ct is the cash flow at the end of year t with C0 at time zero (today), r is the periodic discount rate, and the sum runs over all periods. IRR is solved with Newton-Raphson and a bisection fallback so the answer is repeatable to nine decimal places.

How to read the result

  • NPV > 0 means the investment is expected to add value at your chosen discount rate. Accept the project on a stand-alone basis.
  • NPV = 0 means the project returns exactly the discount rate. Indifferent.
  • NPV < 0 means the project returns less than the discount rate. Reject on a stand-alone basis.
  • IRR > discount rate gives the same accept signal as NPV > 0 for conventional cash flows (one sign change).
  • Profitability Index (PI) is the present value of inflows per dollar of initial investment. PI > 1 is consistent with NPV > 0 and is useful for ranking projects when capital is limited.
  • Payback is when the cumulative undiscounted cash flow first turns non-negative; discounted payback uses present values instead.

Educational tool. Discounted cash flow analysis is a standard part of capital budgeting taught in every corporate finance and investment course; the numbers it produces depend entirely on the cash flows and the discount rate you supply. For real-world decisions, validate your assumptions with the project sponsor, lender, accountant, or financial adviser. All math runs in your browser; nothing is uploaded.

How to use

  1. Pick a mode. Simple is for uniform annual cash flows with an optional final value (rental property, bond, equipment, franchise). Detailed lets you type any custom cash flow per year, including negative outflows mid-project.
  2. Click a preset like Rental property (10 yr), Equipment purchase (5 yr), or Startup with growing returns to seed realistic inputs, then edit the numbers to match your project.
  3. Set the annual discount rate (your required rate of return, weighted average cost of capital, or hurdle rate) and pick a currency for display formatting only.
  4. Read the NPV (dollar value created at your discount rate), the IRR (the rate that makes NPV zero), the payback and discounted payback periods, the profitability index, and the year-by-year discounted cash flow table.
  5. Click Copy summary to grab a one-block report with every input, the headline metrics, and the full cash flow table, ready to paste into a memo, spreadsheet, or email.

About this tool

NPV and IRR Calculator runs a complete discounted cash flow (DCF) analysis on a series of dated cash flows. Net Present Value answers the question 'is this project worth doing at my required rate of return?' by discounting every future cash flow back to today and summing them; if the result is positive the investment adds value at the chosen discount rate. Internal Rate of Return is the discount rate at which NPV equals exactly zero, which is the implied compound rate of return earned by the cash flows themselves. Both numbers are taught in every corporate finance, investment, real estate, and CFA program because together they give a complete picture: NPV tells you the dollar value created, IRR tells you the rate of return, the profitability index tells you the present value per dollar invested (useful when ranking projects under a capital constraint), and the payback period tells you how long it takes to recover the upfront outlay. The tool offers two modes: Simple takes an initial investment, a uniform annual cash flow, an optional final or salvage value, the number of years, and a discount rate, which covers the typical rental property, equipment purchase, franchise, bond, or SaaS product evaluation; Detailed accepts any custom per-year cash flow series, including non-conventional patterns with multiple sign changes (construction draws, deferred returns, follow-on investments). IRR is solved with Newton-Raphson plus a bisection fallback on a sign-bracketed interval, so the answer is repeatable to nine decimal places even on awkward inputs. Descartes' Rule of Signs is applied to the cash flow sequence: when there is more than one sign change, multiple mathematical IRR roots can exist, and the tool warns you so you can rely on NPV at your chosen discount rate instead. Currency formatting (US dollar, euro, British pound, Canadian dollar, Australian dollar, Japanese yen, Indian rupee, and Turkish lira) handles symbols and decimals correctly without applying any FX conversion. The year-by-year discounted cash flow table shows the cash flow, the discount factor, the present value, and the running cumulative present value for every period so you can audit the math by hand or paste it into a spreadsheet. A one-click copy summary produces a clean text block ready for a board memo, an investment committee email, a real estate proforma, or a class assignment. Useful for evaluating rental properties, commercial real estate, equipment purchases, factory expansions, franchise acquisitions, SaaS product launches, marketing campaigns with multi-year tails, infrastructure projects, capital budgeting requests, and any decision that hinges on the time value of money. Calculations run entirely on your device; cash flows, rates, and project names never leave the browser.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsCalculator Tools