Business

NPV & IRR calculator

Net present value, internal rate of return, payback period and profitability index for a series of cash flows.

Example figures shown. Replace them with yours.

Net present value

$5,452

Positive at 8%: the project beats your required return

Internal rate of return (IRR)
28.06%
Payback period
2.41 years
Profitability index
1.55
Total cash flow (undiscounted)
$9,000
Years of cash flows
4
Cash flows 5 rows
YearCash flowPresent valueCumulative
0−$10,000−$10,000−$10,000
1$3,000$2,778−$7,000
2$4,200$3,601−$2,800
3$6,800$5,398$4,000
4$5,000$3,675$9,000

Saved scenarios

Save different inputs to compare them side by side.

No saved scenarios yet. Press “Save scenario” to keep the current inputs and result here.

How it’s calculated

NPV = Σ CFₜ ÷ (1 + r)ᵗ, discounting each year’s cash flow back to today. IRR is the discount rate that makes NPV exactly zero, found numerically. Payback is when the running total of cash flows turns positive, interpolated within the year. Profitability index = present value of future cash flows ÷ the initial investment.

How to use the npv & irr calculator

  1. Enter your numbers: Discount rate, Cash flows by year. Example figures are filled in to start.
  2. Read your result instantly: the net present value appears in the results panel, with a full breakdown underneath.
  3. Explore the cash flows below the result.
  4. Save as PDF, copy the results, or save a scenario to compare different inputs side by side.

Worked example

With these inputs: Discount rate 8%; Cash flows by year -10000, 3000, 4200, 6800, 5000, the calculator shows Net present value: $5,452 (Positive at 8%: the project beats your required return).

It also reports Internal rate of return (IRR): 28.06%; Payback period: 2.41 years; Profitability index: 1.55; Total cash flow (undiscounted): $9,000; Years of cash flows: 4.

How it’s calculated

NPV = Σ CFₜ ÷ (1 + r)ᵗ, discounting each year’s cash flow back to today. IRR is the discount rate that makes NPV exactly zero, found numerically. Payback is when the running total of cash flows turns positive, interpolated within the year. Profitability index = present value of future cash flows ÷ the initial investment.

Last reviewed November 19, 2026. Results are estimates for planning, not financial, tax or medical advice.

Frequently asked questions

What does net present value (NPV) tell me?

NPV adds up all future cash flows discounted back to today at your required rate of return, minus the initial investment. A positive NPV means the project earns more than that required return.

What is the internal rate of return (IRR)?

IRR is the discount rate at which NPV equals zero: the project's own effective yearly return. A project is usually attractive when its IRR is above your cost of capital.

Why might there be no single IRR?

If cash flows change sign more than once (for example, a big cost in a later year), NPV can cross zero several times or never, so there is no single IRR. Rely on NPV in those cases.

Read the guide: NPV and IRR explained, with a worked example

Add this calculator to your website

Free for any website or blog. Paste this code into your page (in WordPress, use a Custom HTML block). It works on phones and desktops, resizes itself to fit, needs no sign-up, and shows no ads.

Preview the widget · All free widgets

Related calculators: Profit margin calculatorBreak-even calculator

All calculators

Free, instant, and private. Every calculation runs in your browser, so nothing you type leaves your device.

Finance

Mortgage calculatorMonthly house payment with tax, insurance, PMI and HOA, extra payments, affordability and a full schedule.Loan calculatorMonthly payment, true cost with fees, and how extra payments shorten your loan.Compound interest calculatorGrow a balance with monthly deposits, rising contributions, any compounding, and inflation-adjusted results.Savings goal calculatorWhat to save each month, each week, or all at once to hit a target by a date.Retirement calculatorProject your nest egg, the income it can pay, and how long it lasts at your planned spending.Refinance calculatorCompare your current mortgage with a new one, including points and cash-out, and find your break-even.Rental property calculatorCash flow, cap rate, cash-on-cash, DSCR, the 1% rule and total return over your holding period.Credit card payoff calculatorYour payoff date, the payment needed for a target date, and what minimum payments really cost.Inflation calculatorWhat things will cost later, what your money will be worth, and the raise you need to keep up.Salary to hourly calculatorConvert pay between every period, add overtime, and estimate take-home pay.Auto loan calculatorCar payment with sales tax, fees, down payment and trade-in, plus the total cost of the car.Home affordability calculatorHow much house you can afford from your income, debts, down payment and rate, using lender debt-to-income limits.Investment return calculatorTotal return (ROI) and annualized growth rate (CAGR) of an investment, including income received.Debt payoff calculatorPlan payoff for up to three debts with the avalanche or snowball method, and see which one saves more.

Business

Everyday

Health & fitness

Math