The margin of safety: how do you build uncertainty into a valuation?
A margin of safety means buying well below your estimate of value, so mistakes do not turn into losses. Where the idea came from and how to apply it.
Every estimate of what a company is worth is uncertain. Sales may grow more slowly than expected, margins may shrink, interest rates may rise, or the analysis may simply be wrong. Wealthsimple's guide to discounted cash flow analysis warns that "the output can vary widely depending on your inputs."1 A margin of safety is the gap between your estimate of a stock's value and the price you pay. The wider the gap, the more can go wrong before you lose money. This guide explains where the idea comes from, how to apply it, and how to decide how large a margin you need.
Where the idea comes from
The phrase is most closely linked with Benjamin Graham, the investor and teacher whose book The Intelligent Investor has been read by generations of investors. In its final chapter he wrote: "Confronted with a like challenge to distill the secret of sound investment into three words, we venture the motto, MARGIN OF SAFETY."2 He went further: "Thus, in sum, we say that to have a true investment there must be present a true margin of safety."2
Graham did not treat the margin of safety as a guarantee. As GuruFocus's review of the chapter summarizes, he argued that the margin only gives the investor a better chance of profit than loss and does not make a loss impossible.2 He also tied it directly to price: "For, if the price is low enough to create a substantial margin of safety, the security thereby meets our criterion of investment."2
Graham wanted the margin to rest on evidence, not hope. Morningstar quotes him saying that "a true margin of safety is one that can be demonstrated by figures, by persuasive reasoning."3 A margin based on a hunch that a stock is cheap offers no real protection, because the hunch itself may be the mistake.
How it works in practice
Start with an estimate of what a share is worth, based on the company's future cash flows, earnings or assets. Warren Buffett defined that intrinsic value as "the discounted value of the cash that can be taken out of a business during its remaining life."4 Then decide how far below that estimate the price must be before you buy. The table shows a hypothetical stock you value at $60.
| Purchase price | Discount to estimated value | How far your estimate can be wrong before you lose money |
|---|---|---|
| $57 | 5% | 5% |
| $48 | 20% | 20% |
| $40 | 33% | 33% |
| $30 | 50% | 50% |
All figures are our arithmetic. If you buy at $40 and the stock is in fact worth only $45, because your estimate was 25% too high, you still paid less than the true value. If you buy at $57, the same mistake leaves you holding a stock worth less than you paid.
The margin also improves returns when the estimate is right. A stock bought at $40 that rises to a fair value of $60 returns 50%, before dividends. Bought at $57, the same move returns about 5%.
Graham's benchmarks
Graham gave concrete examples of how large a margin he wanted. GuruFocus's review notes that he favored undervalued shares of secondary companies only if they could be bought for "two-thirds or less of their indicated value."2 Morningstar describes his strictest test: buying companies at below 66% of their net current asset value, a conservative measure of what the company might be worth if it were wound up.3 Both tests demanded a discount of about a third or more.
Those benchmarks came from a time when many small companies traded below the value of their cash and inventory. Such bargains are rarer today, especially among larger companies. The principle still applies, even if the specific thresholds need adjusting.
Deciding how large a margin you need
There is no single correct margin. A useful way to think about it is to match the margin to how uncertain the estimate is. The harder a business is to forecast, the further your estimate could be from the truth.
Stable, predictable businesses need less. A utility or a consumer goods company with steady sales and decades of history is easier to value. A margin of 15% to 20% may be enough, as a rough guide.
Uncertain businesses need more. A young company, a cyclical business or one going through major change is much harder to value. A margin of 30% to 50% may be needed to protect against a wide range of outcomes.
Weaker balance sheets need more. A company with heavy debt has less room for error, because a fall in profits can quickly threaten its finances. Lenders are paid first, so shareholders absorb the losses.
Less knowledge needs more. If you are investing outside an industry you understand well, your estimate is more likely to be wrong in ways you cannot foresee. A specialist in the industry may spot a risk that an outsider would miss.
These ranges are our own guides, not rules. The point is that the margin should grow with the uncertainty. A single fixed discount for every stock would be too strict for some and too loose for others.
Where the margin comes from
A margin of safety is not only a lower price. It can also come from the business itself. A company with a strong balance sheet, high returns on capital and loyal customers can absorb setbacks that would hurt a weaker company. "Investment is most intelligent when it is most businesslike," Graham wrote.2 A businesslike approach looks at both the price and the quality of what is being bought.
Conservative assumptions add another layer. Using modest growth rates, a higher discount rate and margins no better than the company's history produces a lower estimate of value. A purchase that looks cheap even on cautious assumptions has a margin built into the estimate itself.
Common mistakes
Inflating the estimate. If you raise your estimate of value to make the current price look cheap, the margin disappears. The estimate should be made before looking hard at the price.
Confusing a falling price with a margin. A stock that has dropped 50% is not necessarily cheap. Its value may have fallen further. Our guide to what "priced in" means explains why the market may already reflect bad news.
Waiting forever. Insisting on a very large margin for every stock can mean never buying anything, especially high-quality companies that rarely trade at deep discounts. Matching the margin to the level of uncertainty avoids this.
How to use this
Before buying a stock, write down your estimate of its value and the assumptions behind it. Decide what discount you need, based on how stable the business is and how confident you are in the estimate. Then wait for a price at or below that level. If the price never gets there, accept that the stock may not be for you. Combine the price discount with a sound balance sheet and cautious assumptions, so that the margin protects you from more than one kind of mistake.
Notes
- Wealthsimple, "Discounted cash flow analysis: what it is and how to use it," updated September 21, 2026. https://www.wealthsimple.com/en-ca/learn/discounted-cash-flow-analysis ↩
- Robert Abbott, GuruFocus, "'The Intelligent Investor': Chapter 20 Reviewed," July 12, 2018, quoting Benjamin Graham, The Intelligent Investor (revised edition, 1973). https://www.gurufocus.com/news/707199/the-intelligent-investor-chapter-20-reviewed ↩
- Morningstar UK, "Building in a margin of safety when buying shares" (undated). https://www.morningstar.co.uk/uk/news/107923/building-in-a-margin-of-safety-when-buying-shares.aspx ↩
- Warren E. Buffett, Berkshire Hathaway, "Owner's Manual," issued June 1996 and reprinted in the 2000 annual report. https://www.berkshirehathaway.com/2000ar/ownersmanual.html ↩
This is general information, not investment advice.
Published