# NPV and IRR explained, with a worked example

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

Web page: https://plumcalc.com/guides/npv-and-irr-explained/

## 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 calculator](https://plumcalc.com/npv-irr/): Enter 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 rate | NPV | Profitability index |
|---|---|---|
| 5% | $6,654 | 1.67 |
| 8% | $5,452 | 1.55 |
| 12% | $4,044 | 1.4 |
| 20% | $1,763 | 1.18 |
| 35% | −$1,204 | 0.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.

## More guides

- [How much house can I afford?Lender rules of thumb, worked examples from $60k to $150k salaries, and what changes your budget most.](https://plumcalc.com/guides/how-much-house-can-i-afford/)
- [Debt snowball vs. avalanche: which saves more?Both payoff methods run on the same three debts, with the interest and months each one costs.](https://plumcalc.com/guides/debt-snowball-vs-avalanche/)
- [How much do extra mortgage payments save?Extra principal of $100 to $500 a month on a $320,000 loan, and the interest and years it saves.](https://plumcalc.com/guides/extra-mortgage-payments/)
- [Margin vs. markup: what is the difference?The two formulas, a conversion table, and how to set a price for the margin you want.](https://plumcalc.com/guides/margin-vs-markup/)

---

PlumCalc (https://plumcalc.com) · Free, private online calculators. All calculations run in the user's browser; inputs are never sent to a server. Results are estimates for planning and education, not financial, tax, legal or medical advice.

For AI agents: MCP server at https://plumcalc.com/mcp (tools: list_calculators, calculate, evaluate_expression) · [Server card](https://plumcalc.com/.well-known/mcp/server-card.json) · [llms.txt](https://plumcalc.com/llms.txt) · [About](https://plumcalc.com/about) · [Contact](https://plumcalc.com/contact) · [Privacy Policy](https://plumcalc.com/privacy-policy) · [Terms of Service](https://plumcalc.com/terms-of-service)
