Learn  ›  Price and value
Lesson · 6 min read

Margin of safety: room for being wrong

Every value estimate is partly a guess. A margin of safety is the cushion between that guess and the price, so that being somewhat wrong doesn’t turn into a big loss. This lesson shows how to measure the cushion, how it protects you, and how a stock can look cheap without having one.

A cushion for the things you can’t know

Think about a long drive through empty country. You don’t plan to arrive at the next gas station with the tank exactly empty. You fill up early, because the map might be off, there might be a detour, or the car might burn more fuel than usual. The extra fuel isn’t wasted. It is what lets small surprises stay small.

Careful investors treat a price the same way. The margin of safety is the gap between a cautious estimate of what a business is worth and the price being asked, written as a percentage of the value estimate:

margin of safety = (cautious value − price) ÷ cautious value

If you think a share is worth at least $50 and the price is $35, the margin is ($50 − $35) ÷ $50 = 30%.

Why you need room to be wrong

The intrinsic value lesson showed that a reasonable set of guesses can produce values far apart. That is the first reason for a cushion. There are others:

A margin of safety does not predict which of these will happen. It just makes room for some of them.

Worked example

Lantern Hardware Inc. is a made-up chain of hardware stores. After working through its filings, an investor estimates the shares are worth somewhere between $40 and $60. A careful investor anchors on the low end: $40.

Step 1: measure the margin at three different prices.

  • At $28: ($40 − $28) ÷ $40 = $12 ÷ $40 = 30%.
  • At $36: ($40 − $36) ÷ $40 = $4 ÷ $40 = 10%.
  • At $44: ($40 − $44) ÷ $40 = −$4 ÷ $40 = −10%. There is no cushion; the price is above even the cautious estimate.

Step 2: test a bad outcome. Suppose the investor was too hopeful, and the shares turn out to be worth 25% less than the cautious estimate: $40 × 0.75 = $30.

Price paidMargin at $40Real worthGain or loss
$2830%$30+$2 (about +7%)
$3610%$30−$6 (about −17%)
$44−10%$30−$14 (about −32%)

The math for the last column: $2 ÷ $28 = 7%, $6 ÷ $36 = 17%, $14 ÷ $44 = 32%.

Step 3: read it. Same business, same mistake. At $28, the cushion absorbed the error. At $44, the error and the high price stacked on top of each other. The margin of safety didn’t make the estimate right. It made being wrong survivable.

Cheap is not the same as safe

A low price, or a low P/E from the multiples lesson, is not a margin of safety by itself. The margin is the gap between price and value. If the value is shrinking, a low price can still be too high.

A stock that looks cheap but keeps getting less valuable is called a value trap.

Worked example

Pinecone Video Rentals Inc. (made up) earns $1.00 a share, and its shares cost $4. A P/E of 4 looks like a steal. But fewer people rent videos each year, and profit is falling 20% a year.

YearEarnings per shareRunning total
1$1.00$1.00
2$0.80$1.80
3$0.64$2.44
4$0.51$2.95
5$0.41$3.36

Each year is 80% of the year before ($1.00 × 0.8 = $0.80, and so on). Even if the owners collected every cent of profit for five years, they would get back $3.36, less than the $4 they paid. And that is before discounting for time. The low P/E was measuring last year’s business, not next year’s.

Common signs of a value trap:

Where real safety comes from

A wide gap on paper is only as good as the value estimate behind it. Careful investors try to make that estimate sturdy:

None of this tells anyone what to do with their money. It is a way to judge whether a price leaves room for error, which is a question worth asking about any price.

Key terms
Margin of safety
The gap between a cautious value estimate and the price, as a percentage of the estimate.
Cautious estimate
The low end of a reasonable range of values for a business.
Value trap
A stock that looks cheap on a multiple but whose business keeps losing value.
Earnings per share
A company’s profit divided by its number of shares.

Where to see it on Filing.fyi

Filing.fyi does not calculate a margin of safety for you. It helps with the part that makes one trustworthy: checking whether the business and its numbers deserve your value estimate.

On a company page, the Piotroski F-Score shows whether profit, cash flow and debt are getting better or worse, which helps spot a shrinking business. The Beneish M-Score flags numbers that may be too good to be true. The Altman Z-Score warns about money trouble. A going-concern warning in a filing is one of the clearest value-trap signs there is. The verdict label, even when it reads Deep Value, describes financial health and accounting quality, not a price-versus-value gap. See how to read a Filing.fyi company page and the methodology.

Remember
  • A margin of safety is the gap between a cautious value estimate and the price.
  • It exists because estimates miss, luck turns and numbers can mislead.
  • The cushion doesn’t make you right; it makes being wrong less costly.
  • A low price on a shrinking business is a value trap, not a margin of safety.
  • The less certain the business, the bigger the cushion a careful investor wants.

This lesson is education, not investment advice. Examples use made-up companies and round numbers unless a real filing is named.

TI
Recommended reading The Intelligent Investor (Benjamin Graham) The book that gave the margin of safety its name and made it the organizing idea for a whole school of careful investors.
View on Amazon →