Why NPV and IRR can rank projects differently
The question
Project A turns $100 today into $20 next year and $120 the year after: an IRR of 20%. Can a project with a lower IRR be worth more today?
Build one, then find the rates where the two rankings disagree.
- 1 SeeBuild cash flows that trip up IRR.
- 2 TryPredict, then find where two NPVs tie.
- 3 ProveOne sign change means exactly one IRR.
- 4 ApplyProblems to check yourself.
Before you start · 3 quick checks on present value, Newton's method and quadratic equations, about 3 min
Two ideas before you start
2 ideasBring every cash flow back to today, then add
Figure: project K pays out $100 today and receives $60 at the end of years 1 and 2. At 5% a year the two $60 payments are worth about $57.14 and $54.42 today, and the NPV is about $11.56. It needs JavaScript.
NPV = −100 + 60/1.05 + 60/1.05² ≈ 11.56
Drawn with project K: −$100 today, $60 at the end of years 1 and 2. Shaded bars are the cash flows; dashed outlines are what they are worth today, after dividing by 1 + r once for each year.
Exact definition
Cash flows. A project has cash flows \(C_0, C_1, \ldots, C_N\) at the ends of years \(0, 1, \ldots, N\), where year 0 is today. A negative \(C_t\) is money paid out; a positive one is money received.
Net present value. For a discount rate \(r \gt -1\), compounded once a year, the net present value of the project is
\[P(r) = \sum_{t=0}^{N} \frac{C_t}{(1 + r)^t}.\]Under the assumptions listed below this card set (certain cash flows, and borrowing and lending at the same rate \(r\) for every horizon), taking the project changes its owner's wealth today by \(P(r)\): by borrowing or lending at \(r\), the future cash flows can be turned into \(P(r) - C_0\) dollars today, so together with \(C_0\) the project is worth \(P(r)\) dollars today.
The IRR is the rate that makes the NPV zero
Figure: the NPV of project K for rates from 0% to 30%. It falls from $20 at 0% and crosses zero at about 13.07%. It needs JavaScript.
NPV at 5% ≈ 11.56
At 5% the NPV is above 0, so 5% is below the IRR.
For K the NPV falls as the rate rises and crosses zero once, at about 13.07%. That rate is K's internal rate of return, or IRR.
Exact definition
Internal rate of return. An IRR of a project is a rate \(\hat r \gt -1\) with \(P(\hat r) = 0\). A project can have one IRR, several, or none.
Two rules for choosing. Let \(r\) be the firm's cost of capital: the rate at which it borrows and lends.
- The NPV rule: take a project when \(P(r) \gt 0\). Among projects that exclude each other, take the one with the highest NPV, if that NPV is above 0.
- The IRR rule: take a project when its IRR is above \(r\). Among projects that exclude each other, take the one with the highest IRR, if that IRR is above \(r\). The rule needs each project to have exactly one IRR.
Ranking projects by NPV at a rate \(r\) puts the higher NPV first; ranking them by IRR puts the higher IRR first.
Assumptions behind every number on this page
- Every cash flow is certain and arrives at the end of a whole year. There are no taxes and no fees.
- Rates are compounded once a year, and \(r \gt -1\).
- The firm can borrow and lend any amount at one rate \(r\), the same for every horizon. That rate is its cost of capital, and it is the discount rate in every NPV.
- Projects compared with each other exclude each other: the firm can take at most one. Each project can be taken or left as a whole.
Build a project against project A
- Set project B's three cash flows with the sliders: \(C_0\) today, \(C_1\) and \(C_2\) at the end of years 1 and 2, in steps of $10. A negative cash flow is money paid out.
- The figure draws the NPV of A and of B for rates from 0% to 60%. The table lists every IRR above \(-100\%\), also those outside the window.
- Reach the three goals. A's cash flows stay fixed, and the cost of capital is 10% a year.
| Project | C0 | C1 | C2 | NPV at 10% | IRR |
|---|
How the page finds every IRR
Write \(g = 1 + r\), so \(g \gt 0\) exactly when \(r \gt -1\). Multiplying \(P(r) = C_0 + C_1/g + C_2/g^2\) by \(g^2 \gt 0\) gives \(C_0g^2 + C_1g + C_2\), which has the same sign as \(P(r)\). So the IRRs are the positive roots \(g\) of this quadratic, minus 1. The page solves it exactly with the quadratic formula and keeps the square root exact, so a verdict such as “below A's 20%” is never a rounding accident.
A project with more than three cash flows gives a polynomial of higher degree, with no such formula in general. Then an IRR is found numerically, for example with Newton's method.
A loan and two rival projects
A prediction first. The explorer below it opens once it is answered.
The explorer and its goals open after you answer the prediction.
Explorer: E or L?
Projects E and L each cost $100 today, and the firm can take only one. E pays $125 after one year; L pays $150 after two years. Set the discount rate and compare what each rule takes.
Goals
One more question
When the IRR rule is safe
Let \(N \ge 1\) be a whole number, and let \(C_0, C_1, \ldots, C_N\) be cash flows with \(C_0 \lt 0\), \(C_t \ge 0\) for \(t = 1, \ldots, N\), and \(C_t \gt 0\) for at least one \(t \ge 1\). For \(r \gt -1\) let \(P(r) = \sum_{t=0}^{N} C_t(1 + r)^{-t}\). Then there is exactly one rate \(\hat r \gt -1\) with \(P(\hat r) = 0\), and for every \(r \gt -1\):
\[\begin{aligned} P(r) &\gt 0 \text{ when } r \lt \hat r, \\ P(r) &\lt 0 \text{ when } r \gt \hat r. \end{aligned}\]So for a project that pays out today and only receives later, the IRR exists, is unique, and the IRR rule gives the same yes or no as the NPV rule at every cost of capital.
Facts the proof uses.
- A polynomial is continuous and is differentiated term by term.
- The intermediate value theorem: a continuous function on \([a, b]\) that is negative at \(a\) and positive at \(b\) is 0 somewhere strictly between.
- A function with \(f'(x) \gt 0\) for every \(x \gt 0\) that is continuous on \([0, \infty)\) is strictly increasing there.
Write \(x = 1/(1 + r)\). As \(r\) runs over \((-1, \infty)\), \(x\) runs over \((0, \infty)\), and a larger \(r\) gives a smaller \(x\). With
\[\begin{aligned} f(x) &= C_0 + C_1x + C_2x^2 \\ &\quad + \cdots + C_Nx^N \end{aligned}\]we have \(P(r) = f(x)\). Now choose each step.
Each option is one step. Pick the one that is true for every project the theorem allows.
- A loan is the mirror image. If \(C_0 \gt 0\), \(C_t \le 0\) afterwards and at least one \(C_t \lt 0\), then \(-P\) satisfies the theorem: there is one IRR, but \(P(r) \lt 0\) when \(r \lt \hat r\). Taking the loan pays only when the cost of capital is above its IRR.
- Any single sign change. Several payments, or zeros, may come before the receipts, as in \(-100, -50, 200\). Say the cash flows change sign exactly once, from paying out to receiving, and \(C_k\) is the first positive one. Then \(C_t \le 0\) for \(t \lt k\), at least one of them \(\lt 0\), and \(C_t \ge 0\) for \(t \gt k\). For \(x \gt 0\), \(h(x) = f(x)/x^k = \sum_t C_tx^{t-k}\) has the sign of \(f(x)\). A term with \(t \lt k\) is a number \(\le 0\) times a power of \(x\) that falls as \(x\) grows, so it never falls, and the ones with \(C_t \lt 0\) rise strictly; a term with \(t \ge k\) is a number \(\ge 0\) times a power that never falls. So \(h\) is strictly increasing and continuous on \((0, \infty)\). It tends to \(-\infty\) as \(x \to 0\), and it is above 0 for large \(x\), since it is at least \(C_k\) plus terms that tend to 0. So it is 0 exactly once: one IRR, with the NPV positive exactly below it. With the mirror image above, any project whose cash flows change sign exactly once has exactly one IRR.
- Where two projects tie. NPV is linear in the cash flows: \(P_L(r) - P_E(r) = \sum_t (L_t - E_t)(1 + r)^{-t}\), the NPV of the difference L − E. So two projects have the same NPV exactly at the IRRs of their difference. For E and L in stage 2 the difference is \(0, -125, 150\), which changes sign once, so they tie at one rate only, 20%.
- More sign changes. With three cash flows, not all 0, \(P(r)(1 + r)^2\) is a nonzero polynomial of degree at most 2 in \(1 + r\), so there are at most two IRRs, as in stage 1. In general, Descartes' rule of signs (not proved here) says that the number of positive roots of \(f\) is at most the number of sign changes in \(C_0, \ldots, C_N\).
Problems
Each problem has hints and a full solution. Every project here is hypothetical, with certain cash flows at the ends of years and annual compounding. Rates are typed in percent, amounts in dollars.
Related: the yield of a bond in bond prices and yields is the IRR of buying the bond at its price, and the capital market line also rests on borrowing and lending at one certain rate.
Further reading
- R. A. Brealey, S. C. Myers and F. Allen, Principles of Corporate Finance, 13th ed., chapter 5, “Net Present Value and Other Investment Criteria.”
- J. Berk and P. DeMarzo, Corporate Finance, 5th ed., chapter 7, “Investment Decision Rules.”
- D. G. Luenberger, Investment Science, 2nd ed., chapter 2, “The Basic Theory of Interest,” on present value and internal rate of return.