Sub topic 3
Discounted Cash Flow Valuation
This chapter assumes you know what a share and a stock exchange are, can work with percentages and compound growth, and can read a simple table of numbers.
Discounted Cash Flow Valuation
A discounted cash flow (DCF) model estimates a business's value as the cash it will produce, with each future year discounted back to today. Money received later is worth less today because you could invest it sooner. The discount rate is the annual return you require for the risk you are taking.
The function below projects free cash flow (cash left after running and maintaining the business) for a set number of years, then adds a terminal value for all later years.
def dcf_value(fcf, growth, years, discount_rate, terminal_growth):
"""Present value of projected free cash flows plus a terminal value."""
if discount_rate <= terminal_growth:
raise ValueError("discount_rate must exceed terminal_growth")
total = 0.0
cash_flow = fcf
for year in range(1, years + 1):
cash_flow *= 1 + growth
total += cash_flow / (1 + discount_rate) ** year
terminal = cash_flow * (1 + terminal_growth) / (discount_rate - terminal_growth)
total += terminal / (1 + discount_rate) ** years
return total
equity_value = dcf_value(fcf=100.0, growth=0.05, years=10,
discount_rate=0.10, terminal_growth=0.02)
print(round(equity_value, 1))Margin of Safety
The margin of safety is the gap between your estimated intrinsic value and the price you pay. The formula is (value - price) / value. An estimated value of 100 and a price of 65 give a 35% margin. Because forecasts can be wrong, a wider margin protects you more, especially for uncertain businesses.
Avoiding Value Traps
A value trap is a stock that looks cheap for a good reason. Its earnings may be falling, its debt rising, or its market shrinking, so the low price keeps falling. Check whether cash flow supports the reported earnings and whether the business keeps a durable advantage.
Temperament and Behavioral Biases
Benjamin Graham described Mr. Market as a partner who offers a new price every day, sometimes wildly high or low. You may accept his offers or ignore them. Common biases include anchoring to a past price, following the crowd, and noticing only the evidence that supports a purchase you already want. A written checklist helps you slow down.
Building a Portfolio and Sizing Positions
Limit any single holding to an amount you could watch fall by half without panicking. Own businesses you understand, inside your circle of competence. Keep the number of holdings manageable so that you can actually monitor each one.
When to Sell
Consider selling when the price rises well above your intrinsic value estimate, when the reason you bought no longer holds (for example, the advantage erodes or cash flow turns negative), or when a better opportunity needs the money. Do not sell only because the price fell.
Exercise
A business has an intrinsic value estimate of 80 per share and trades at 60. What is the margin of safety, and would you buy under a rule that requires at least 25%?
Show answer
The margin is (80 - 60) / 80 = 25%. It meets a 25% requirement, so the purchase qualifies, though a small error in the estimate would erase it.