Interactive lesson
Margin of Safety
Room for error between value and price
Margin of safety is the gap between your estimate of value and the market price. This lesson treats valuation as uncertain — so the buffer is about being wrong less painfully, not about labeling stocks cheap.
What it is
A simple form: margin of safety ≈ (fair value − market price) ÷ fair value.
Fair value is an estimate. Widening the uncertainty range is often more honest than pretending you know a single precise number.
A positive margin of safety relative to your estimate is not a guarantee of return — markets can stay above or below estimates for a long time.
Interactive lab: Fair value, price, and uncertainty
Set a mid fair-value estimate, a market price, and an uncertainty band. The visual shows where price sits inside (or outside) your range.
What the result means
When price is below your mid estimate, the calculated margin of safety is positive. That only means price < your estimate — not that your estimate is correct.
Widening uncertainty expands the valuation range. A price inside a wide range is less decisive than a price clearly below a narrow, well-supported range.
When price exceeds fair value, margin of safety turns negative: the market is pricing more optimism than your midpoint assumes.
Estimate quality matters more than the formula
Garbage in, garbage out: a precise margin of safety on a weak valuation is false comfort.
Pair this lesson with Discount Rate / DCF and Free Cash Flow so the fair-value input is earned, not assumed.
Illustrative AAPL gap — data as of July 25, 2026
Illustrative AAPL example — data as of July 25, 2026. Figures are rounded for teaching and are not live quotes. Verify current numbers on the AAPL stock page.
- Market price (approx.)
- $333
- Example model fair value (snapshot)
- ~$259
- Implied margin vs that estimate
- Negative (price above estimate)
This is educational: one model’s midpoint can sit below market price. That does not automatically mean “sell” — it means price embeds different assumptions than that model. Change growth, margins, or discount rate and the gap moves.
Run AAPL in IV calculator →Common mistakes
- Using someone else’s target price as “fair value” without understanding assumptions.
- Demanding a huge margin of safety on a very stable cash cow (and missing compounding), or too little on a fragile story.
- Ignoring that uncertainty is asymmetric — downside scenarios matter.
- Confusing margin of safety with diversification or position sizing (related, not identical).
Apply in MarketSnap
Dictionary / Learn loop
Definitions live in the Investor Dictionary. Deep practice lives here. Tools turn understanding into a valuation on a real ticker.