Margin of Safety Explained: Graham's Rule for Not Losing Money
Benjamin Graham's most important principle: only buy when you have a genuine margin of safety—when price is meaningfully below your estimate of intrinsic…
Benjamin Graham's most important principle: only buy when you have a genuine margin of safety—when price is meaningfully below your estimate of intrinsic value.
A margin of safety is the gap between what you estimate a business is worth and the price you pay for it. Buy a share you value at $100 for $70 and you have a 30% margin of safety: room to be wrong and still not lose money. Benjamin Graham made it the cornerstone of sound investing, and it remains the single best defence against the mistakes every investor eventually makes.
Where this fits: margin of safety is the heart of criterion 5, reasonable price, in the Five Criteria. For the full valuation toolkit, start with what is stock valuation.
What Is a Margin of Safety?
A margin of safety is a discount. You estimate the intrinsic value of a business, meaning what its future cash flows are worth today. Then you only buy when the market price sits well below that estimate.
The discount is not there to make you rich. It is there to keep you from getting poor. Your estimate will be wrong in ways you cannot predict. Growth will disappoint, a competitor will appear, or a recession will arrive early. The margin of safety absorbs those errors before they reach your capital.
Here is the simple formula:
- Margin of safety = (intrinsic value minus price) divided by intrinsic value
If you value a business at $80 per share and it trades at $60, your margin of safety is $20 divided by $80, or 25%.
Where the Idea Comes From: Graham’s Original Concept
Benjamin Graham introduced the phrase in Security Analysis (1934) and gave it pride of place in the final chapter of The Intelligent Investor. There he wrote that if he had to distil sound investment into three words, the motto would be “margin of safety.”
It is worth reading Graham carefully, because he meant something a little broader than most summaries suggest.
Graham started with bonds
Graham first applied the idea to bonds. A safe bond, in his view, was one where the company earned several times its interest charges over a period of years. The excess earning power was the margin of safety. It meant the company could suffer a bad stretch and still pay its lenders.
Then he applied it to stocks
For stocks, Graham described the margin of safety in two ways:
- Earning power versus bond yields. If a stock’s earnings yield (earnings divided by price) was well above the yield on high-grade bonds, the extra earnings gave the owner a cushion.
- Price versus appraised value. For bargain stocks, the margin of safety was the gap between the market price and a conservative appraisal of value. His most famous version was buying companies for less than two-thirds of their net current assets: cash, receivables and inventory minus all liabilities.
Graham tied it to diversification
Graham was clear that a margin of safety does not guarantee a profit on any single stock. It tilts the odds in your favour. He argued that the benefit shows up reliably across a group of such purchases, which is why he paired it with sensible diversification.
That point matters. A margin of safety is a probability tool, not a promise.
The Bridge Analogy
Warren Buffett, Graham’s most famous student, gave the clearest image of the idea in his 1984 talk “The Superinvestors of Graham-and-Doddsville.” When you build a bridge, he said, you insist it can carry 30,000 pounds, but you only drive 10,000-pound trucks across it.
Engineers do not design a bridge to hold exactly the heaviest load they expect. They design it to hold far more, because their load estimates, material quality and weather assumptions could all be off.
Investing works the same way. If you think a business is worth $100, you do not pay $100. You pay a price that still works if the true value turns out to be $80.
Why You Need a Margin of Safety
Seth Klarman, who titled his 1991 book Margin of Safety, gives three reasons you need one. Valuation is imprecise. The future is unpredictable. And investors are human and make mistakes. I find it hard to improve on that list.
Having worked in investor relations, I can add one observation. Companies are run by capable people who genuinely believe their plans, and forecasts are made in good faith. Yet plans still miss, often for reasons nobody saw coming. If the people inside the business cannot forecast perfectly, an outside investor certainly cannot.
A margin of safety does three jobs at once:
- It protects against analysis errors. You overestimate growth or underestimate costs, and the discount absorbs it.
- It protects against bad luck. A recession or an industry shock hits a sound business, and you still paid less than it is worth.
- It improves your return. Buying at a discount means you gain when price moves back toward value, on top of any growth in the business.
That last point is often missed. The same discount that lowers your risk also raises your expected return. Our article on the largest risk to your wallet: overpaying for stocks shows the maths in detail.
Worked Example: Applying a Margin of Safety to Company A
Let’s walk through a clearly hypothetical business, Company A, using round numbers.
Step 1: Check the business first. Company A has earned a return on invested capital above 20% for eight years. It has a clear moat, modest debt and owner-minded management. It passes the first four of the Five Criteria.
Step 2: Estimate intrinsic value conservatively. Company A generates $4 of free cash flow per share. Using a discounted cash flow model with cautious assumptions, you arrive at a range of $70 to $90 per share. You use the low end, $70, as your conservative value.
Step 3: Apply the house 25% rule. Your maximum buy price is $70 multiplied by 0.75, which is $52.50.
Step 4: Cross-check with free cash flow yield. At $52.50, the free cash flow yield is $4 divided by $52.50, or about 7.6%. That comfortably clears the 5% house threshold.
Step 5: Wait. The stock trades at $68 today. You add it to your watchlist with a target of $52.50 and do nothing until the price comes to you.
Now look at what the margin of safety buys you:
| Outcome | True value | Result if you paid $52.50 | Result if you paid $68 |
|---|---|---|---|
| Your estimate was right | $70 | +33% | +3% |
| You were 15% too optimistic | $59.50 | +13% | -13% |
| You were 25% too optimistic | $52.50 | Break even | -23% |
The investor who waited can be meaningfully wrong and still not lose money. The investor who paid near full value needs everything to go right.
Notice one subtle point. A 25% discount to value means 33% upside if value is realised, because you are measuring the gain from a lower starting price.
How Big Should Your Margin of Safety Be?
There is no universal number, but the principle is simple: the less certain you are, the bigger the discount you need.
| Type of business | Predictability | Sensible margin of safety |
|---|---|---|
| Stable, high-ROIC, wide-moat business | High | 25% to 30% |
| Good business with some cyclicality | Medium | 30% to 40% |
| Turnaround, cyclical or young business | Low | 40% to 50% or more |
These are guides, not laws. The key is that the discount should reflect how wide your range of possible values is. If you cannot narrow the range much, you need a bigger cushion, or you should pass.
How We Use This in the Five Criteria
Margin of safety is the test behind criterion 5, reasonable price. The house default is that a stock passes if it meets either of these:
- A free cash flow yield of 5% or more at today’s price, or
- A price at least 25% below a conservative intrinsic value estimate, usually from a DCF.
Two features of the framework make this rule work better than it would alone.
First, price comes last. Criteria 1 to 4 filter for great businesses with moats, good management and strong balance sheets. A 25% discount on a fragile business is not much protection, because its value can fall faster than you can react. A 25% discount on a durable business is real protection.
Second, the margin of safety also shapes position sizing. A bigger discount on a well-understood business can justify a bigger position. A thin discount, or a business at the edge of your circle of competence, deserves a smaller one.
The FCF yield test and the DCF test also check each other. If a stock looks 40% undervalued on your DCF but only yields 2% on free cash flow, your assumptions are probably too generous. Our guide to price to free cash flow explains how to calculate the yield.
Common Margin of Safety Mistakes
- Using an optimistic valuation. A 25% discount to an inflated value is no discount at all. Build the estimate cautiously first, then apply the margin.
- Treating a price drop as a margin of safety. A stock that fell 50% is not necessarily cheap. Only the gap between price and value counts, not the gap between price and last year’s high.
- Buying a bad business because it is cheap. A business with falling returns can see its value shrink every year. The margin you thought you had disappears. See valuation mistakes beginners make for more on value traps.
- Moving the target price up as the stock rises. If you raise your valuation every time the price climbs, you never actually demand a discount.
- Confusing precision with accuracy. A spreadsheet that gives $73.42 per share looks exact. It is still an estimate. Work with ranges.
- Never buying anything. Some investors demand a 50% discount on every wonderful business and end up owning nothing. Match the margin to the certainty of the business.
Your Next Step
- Learn to tell cheap from expensive in when is a stock cheap? A practical framework.
- Build your own intrinsic value estimate with our investment calculators.
- See how price fits alongside quality in the Five Criteria framework.
About the author: Cameron Hayes is a senior investor relations and finance professional who has worked in IR at Nasdaq Copenhagen-listed companies including Nilfisk and Maersk Drilling. He holds an MSc from Copenhagen Business School and a BCom from the University of Ottawa, and founded Gingernomics to teach individual investors the Five Criteria framework. More about Gingernomics.
The content on Gingernomics is for educational and informational purposes only and does not constitute financial advice. Always do your own research and consult a licensed financial advisor before making any investment decisions. Past performance is not indicative of future results.
Frequently asked questions
What is a good margin of safety for stocks?
For a high-quality, predictable business, around 25% below a conservative intrinsic value is a sensible default, and it is the Gingernomics house rule. Less predictable businesses deserve 40% or more.
Did Warren Buffett abandon the margin of safety?
No. Buffett shifted from Graham's statistically cheap stocks towards great businesses at fair prices, but he has consistently described margin of safety as central to investing. For a great business, the durability of its earnings becomes part of the protection.
How do I calculate margin of safety?
Subtract the share price from your intrinsic value estimate, then divide by the intrinsic value. A stock valued at $100 and priced at $75 has a 25% margin of safety.
Is a low P/E ratio the same as a margin of safety?
Not necessarily. A low P/E can signal a bargain or a business in decline. A margin of safety only exists relative to a thoughtful estimate of value, which is why the [P/E ratio](/post/price-to-earnings-ratio-explained-how-to-use-p-e-like-a-pro) is a starting point, not a verdict.
Put this into practice
Get the Five Criteria framework and the free valuation checklist to analyze your next stock.
Explore the tools