Guides

NPV and IRR explained, with a worked example

What the two numbers mean, a step-by-step example, and when to trust each one.

By the PlumCalc team · Published November 22, 2026

The short answer

Net present value (NPV) tells you how much an investment is worth in today’s money, after accounting for the return you could earn elsewhere. A positive NPV means the investment beats your required return.

Internal rate of return (IRR) is the investment’s own effective yearly return: the discount rate at which its NPV is exactly zero.

For an investment of $10,000 that returns $3,000, $4,200, $6,800 and $5,000 over four years, the NPV at an 8% required return is $5,452 and the IRR is 28.06%.

Open the NPV & IRR calculatorEnter your own cash flows and discount rate.

How NPV works

A dollar received in the future is worth less than a dollar today, because today’s dollar could be invested. NPV discounts each future cash flow back to today and adds them up:

NPV = CF₀ + CF₁ ÷ (1 + r) + CF₂ ÷ (1 + r)² + … + CFₙ ÷ (1 + r)ⁿ

CF₀ is the cash flow today (usually the negative investment), CF₁ to CFₙ are the cash flows in later years, and r is the discount rate: your required return, often your cost of capital or the return on your next-best option.

A worked example

Here is the same investment at different discount rates:

Discount rateNPVProfitability index
5%$6,6541.67
8%$5,4521.55
12%$4,0441.4
20%$1,7631.18
35%−$1,2040.88

The NPV falls as the required return rises, and it crosses zero at 28.06%: that crossing point is the IRR. Below it the project adds value; above it, it does not.

The undiscounted cash flows add up to $9,000 of profit, and the original $10,000 is recovered after about 2.41 years (the payback period).

How IRR works, and its limits

There is no direct formula for IRR. It is found by trial and error (the calculator narrows it down numerically) as the rate that makes NPV equal zero. It is popular because a single percentage is easy to compare with a loan rate or a target return.

  • Size is missing. A 40% IRR on $1,000 adds less value than a 20% IRR on $1,000,000. NPV is in dollars, so it captures size.
  • It assumes reinvestment at the IRR. A very high IRR can overstate the real return if the cash coming back can’t be reinvested at that rate.
  • Some projects have no single IRR. If the cash flows switch between negative and positive more than once, there can be several IRRs or none.

Using them to decide

  • Accept a single project when NPV is positive, which is the same as IRR being above the discount rate.
  • When choosing between projects that exclude each other, prefer the higher NPV, even if the other has a higher IRR.
  • Treat the result as only as good as the cash-flow estimates. Try a pessimistic case as well as the expected one.

This guide is for general information and education, not financial, tax or legal advice. Figures come from PlumCalc’s calculators with the inputs shown and are rounded.