Sub topic 9
NPV and IRR
Prerequisites and the decision rule
This chapter assumes you understand time value of money, present value, basic cash-flow statements, required return, and elementary algebra.
Capital budgeting evaluates whether a company should undertake a long-term project. The relevant cash flows are incremental cash flows: changes in the company’s cash flows caused by accepting the project. Ignore sunk costs, which have already occurred. Include opportunity costs, taxes, working-capital effects, and the project’s terminal cash flow.
Net present value
Net present value (NPV) is the present value of all project cash flows, including the initial investment:
\[ NPV=\sum{t=0}^{n}\frac{CFt}{(1+r)^t} \]
Here, \(CF_t\) is the cash flow at time \(t\), and \(r\) is the required return for the project’s risk.
- Accept an independent project when NPV is positive.
- Reject it when NPV is negative.
- A zero NPV means the project earns exactly the required return.
For example, consider cash flows of \(-1,000\), \(300\), \(400\), \(500\), and \(200\) over years 0 through 4. At a 10% required return, the NPV is $115.57. The project adds $115.57 of value in present-value terms.
def npv(rate, cash_flows):
# cash_flows[0] occurs today (time 0)
return sum(cf / (1 + rate) ** t for t, cf in enumerate(cash_flows))
cash_flows = [-1000, 300, 400, 500, 200]
print(round(npv(0.10, cash_flows), 2))Internal rate of return
Internal rate of return (IRR) is the discount rate that makes NPV equal to zero:
\[ 0=\sum{t=0}^{n}\frac{CFt}{(1+IRR)^t} \]
Accept an independent project when its IRR exceeds the required return. For conventional cash flows, which have one initial outflow followed by inflows, NPV falls as the discount rate rises. Bisection can then find the rate that makes NPV zero.
def npv(rate, cash_flows):
return sum(cf / (1 + rate) ** t for t, cf in enumerate(cash_flows))
def irr(cash_flows, lo=-0.99, hi=1.0, iterations=200):
for _ in range(iterations):
mid = (lo + hi) / 2
if npv(mid, cash_flows) > 0:
lo = mid
else:
hi = mid
return (lo + hi) / 2
print(round(irr([-1000, 300, 400, 500, 200]), 4))| Measure | Main question | Preferred decision rule |
|---|---|---|
| NPV | How much value does the project add? | Accept if NPV > 0 |
| IRR | What return does the project generate? | Accept if IRR > required return |
Common errors and conflicts
IRR can be misleading when cash flows change signs more than once. Such nonconventional cash flows can produce multiple IRRs or no meaningful IRR. In these cases, rely on NPV.
For mutually exclusive projects, NPV is generally the better ranking measure because it measures the addition to shareholder wealth. IRR rankings can conflict with NPV because of differences in project size, timing, or cash-flow patterns. The required return at which the rankings switch is called the crossover rate.
Exercise
A project has an NPV of -$20,000 at the company’s required return. Should the company accept it if the project is independent?
Show answer
No. A negative NPV means the project is expected to reduce value relative to the required return.