Margin of Safety: The Most Important Idea in Investing

Value investing fundamentals · 5 min read

Benjamin Graham, the father of value investing and Warren Buffett's mentor, said the secret of sound investing could be distilled into three words: margin of safety. It is the single idea that protects you from the one certainty in investing — that some of your assumptions will be wrong.

What is a margin of safety?

A margin of safety is the gap between a stock's price and your estimate of its intrinsic value. If a business is worth roughly $100 per share and you buy at $60, you have a 40% margin of safety. That cushion is what absorbs your mistakes — an overly optimistic growth rate, an unexpected bad year, or simple bad luck.

Why you need it

Intrinsic value is always an estimate built on assumptions about an uncertain future. You will never get it exactly right. The margin of safety acknowledges that humility: instead of needing to be precise, you only need to be approximately right and buy with enough discount that you still win even if you're somewhat wrong.

How much margin should you demand?

It depends on certainty. For a stable, wide-moat business with predictable cash flows, a 20–30% discount may be enough. For a less certain or more cyclical business, demand 40–50% or more. The less confident you are in your estimate, the bigger the cushion you should require.

Price is what you pay; value is what you get

The margin of safety only works if you have a value estimate to compare price against. That's why disciplined investors do the valuation work first, then wait — sometimes a long time — for the price to fall into the buy zone. Patience is part of the method.

Know your margin of safety on every stock

Moatly calculates a fair value from three independent methods and shows your margin of safety as a clear score — plus a Value Zone alert that tells you the moment price meets value, so you never buy too early out of impatience.

See it for any stock in seconds.

Type a ticker and Moatly scores it on the 4M framework, calculates a fair value, and explains the numbers with AI.

Try Moatly free →