Sub topic 15
From Moat to Valuation and Margin of Safety
This chapter assumes you can read an income statement and balance sheet, know what ROIC and WACC mean, and have seen a discounted cash flow (DCF) model. It covers how a moat rating changes the numbers in a valuation, why a strong moat does not justify any price, and how to set a margin of safety that reflects your uncertainty.
What a moat changes in a valuation
A moat is a claim about the future: the company will keep earning returns on invested capital above its cost of capital. A valuation needs that claim as numbers. The moat rating affects three inputs.
- Length of the advantage period. This is how many years ROIC stays above WACC before competition pulls it back.
- Return on new investment. This is the return the company earns on the capital it adds from now on, often called RONIC (return on new invested capital). It decides whether future growth creates value.
- Uncertainty. A wide moat narrows the range of plausible outcomes. A moat that is only claimed widens it.
The moat does not replace the valuation. It tells you which forecast to write down. Two analysts can agree that a company has a wide moat and still disagree on value, because they disagree on growth, margins, or WACC.
Why growth only creates value above the cost of capital
The clearest link between a moat and value is the value driver formula for a business in steady growth:
Value = NOPAT × (1 − g / RONIC) / (WACC − g)
NOPAT is next year's after-tax operating profit. The term g / RONIC is the share of profit the company must reinvest to grow at rate g. When RONIC equals WACC, growth costs exactly what it returns, and the value is NOPAT / WACC no matter how large g is. Only when RONIC exceeds WACC does growth add value. That condition is what a moat guarantees.
def steady_state_value(nopat, wacc, growth, ronic):
"""Value of a business growing forever at `growth`, reinvesting at `ronic`."""
reinvestment_rate = growth / ronic
return nopat * (1 - reinvestment_rate) / (wacc - growth)
nopat, wacc, growth = 100.0, 0.08, 0.03
for label, ronic in [("no moat, RONIC = WACC", 0.08),
("narrow moat, RONIC 12%", 0.12),
("wide moat, RONIC 15%", 0.15)]:
print(f"{label}: {steady_state_value(nopat, wacc, growth, ronic):.0f}")
# no moat, RONIC = WACC: 1250
# narrow moat, RONIC 12%: 1500
# wide moat, RONIC 15%: 1600The no-moat value of 1,250 equals 100 / 0.08. The moat adds 250 to 350 on top, which is 20% to 28% of the no-moat value. The same formula shows that a no-moat company growing fast is worth no more than one standing still.
Translating a rating into forecast assumptions
Ratings are a shorthand. The table shows one common convention. Treat the numbers as starting points to adjust for each company, not as rules.
| Rating | Advantage period | Forecast ROIC path | Typical margin of safety |
|---|---|---|---|
| None | 0 to 3 years | Fades to WACC almost at once | 30% to 40% or more |
| Narrow | About 10 years | Stays above WACC, then fades | 20% to 30% |
| Wide | 20 years or more | Stays above WACC for a long time | 10% to 20% |
Two points keep this table from being misused.
- The trend matters as much as the level. A narrow moat that is strengthening deserves a longer fade than a wide moat that is eroding. Use the durability and threats work from earlier chapters to move the period up or down.
- The fade is the forecast. After the advantage period, set the return on new investment to WACC. Do not hold it at today's ROIC forever. A perpetual 25% return on new capital implies the company grows into a share of the economy that no industry structure supports.
Margin of safety: why the discount depends on the moat
A margin of safety is the gap between your fair value estimate and the price you are willing to pay. It protects you against errors in the estimate, and the moat rating tells you how large those errors are likely to be. For a wide-moat company, cash flows are easier to predict, so a smaller discount is acceptable. For a no-moat company in a changing industry, your forecast has a wide error band, so you need a larger discount or you should pass.
Write down the margin before you look at the price. If you pick it afterwards, you will tend to choose whatever makes the current price acceptable.
Weighing scenarios instead of trusting one number
A single fair value hides the main risk, which is that the moat thesis fails. A more honest approach values several scenarios and weights them by probability. This turns "I am fairly confident in the moat" into a number.
def expected_value(scenarios):
"""scenarios: list of (probability, value_per_share). Probabilities must sum to 1."""
total_probability = sum(p for p, _ in scenarios)
if abs(total_probability - 1.0) > 1e-9:
raise ValueError("probabilities must sum to 1")
return sum(p * v for p, v in scenarios)
def buy_price(fair_value, margin_of_safety):
return fair_value * (1 - margin_of_safety)
scenarios = [
(0.60, 120.0), # moat holds for the full advantage period
(0.30, 80.0), # moat fades faster than expected
(0.10, 40.0), # moat breaks, returns fall to WACC quickly
]
fair_value = expected_value(scenarios)
print(f"expected value: {fair_value:.0f}") # 100
print(f"buy below, wide moat (20%): {buy_price(fair_value, 0.20):.0f}") # 80
print(f"buy below, narrow moat (30%): {buy_price(fair_value, 0.30):.0f}") # 70
print(f"buy below, no moat (40%): {buy_price(fair_value, 0.40):.0f}") # 60Scenario weighting and a margin of safety overlap, because both pay for uncertainty. If your scenarios already include a bad outcome with real weight, you can use a smaller margin. Do not stack a harsh scenario set on a large margin without noticing. That combination makes every stock look overpriced and you will never act.
Common mistakes when connecting moat to price
- Paying for the moat twice. If the forecast already holds ROIC high for 20 years, applying a premium multiple on top counts the same advantage again.
- Treating a rating as a price signal. A wide moat is a statement about the business. A stock bought at twice fair value can lose money for a decade even if the moat holds the whole time.
- Ignoring the terminal value. In a long-advantage forecast, most of the value often sits in the terminal value. Check what share of your fair value comes from years beyond the explicit forecast, and test how much it moves when the fade period changes by five years.
- Using one WACC. The spread between ROIC and WACC drives everything. A WACC that is 1 point too low raises every valuation and shrinks the apparent need for a margin. Test values around your estimate.
- Forgetting the moat trend. The same rating needs different prices when the trend is improving, stable, or declining.
- Anchoring on the current price. A falling price is not evidence of a margin of safety. The margin comes from your estimate of value, not from how far the stock has dropped.
A checklist for using a moat in a valuation
- State the rating and the moat trend in one sentence each, with the evidence behind them.
- Choose the advantage period and the RONIC path, and say why they differ from the default for that rating.
- Build the forecast and check the share of value that comes from the terminal value.
- Run at least three scenarios, including one where the moat fails, and weight them.
- Set the required margin of safety from the rating, before you look at the price.
- Compute the buy price and compare it with the market price.
- Write down what evidence would make you change the rating, and revisit when it appears.
Exercise
A company earns NOPAT of 100 next year. WACC is 8% and long-run growth is 3%. Using the value driver formula, what is its value if RONIC equals WACC, and what is it if RONIC is 15%? How much of the higher value comes from the moat?
Show answer
With RONIC = 8%, the reinvestment rate is 0.03 / 0.08 = 0.375, so value = 100 × 0.625 / 0.05 = 1,250. This equals NOPAT / WACC, so growth adds nothing. With RONIC = 15%, the reinvestment rate is 0.03 / 0.15 = 0.20, so value = 100 × 0.80 / 0.05 = 1,600. The moat accounts for 1,600 − 1,250 = 350, or 28% of the no-moat value.
Exercise
Your scenarios for a narrow-moat company are 50% at 110 per share, 35% at 80, and 15% at 40. You require a 30% margin of safety. What is the expected value, and what is the highest price you would pay? The stock trades at 75. What do you do, and why?
Show answer
Expected value = 0.50 × 110 + 0.35 × 80 + 0.15 × 40 = 55 + 28 + 6 = 89. The buy price is 89 × 0.70 = 62.3. At 75 the stock is above your threshold, so you pass or wait. It trades about 16% below your fair value, which is not enough margin for a narrow moat. You would revisit if the price fell to about 62, or if new evidence strengthened the moat and justified a smaller required margin.