Margin of Safety

The gap between what an asset is worth and what you pay for it. It exists because your estimate will be wrong and the future will surprise you.

Margin of safety is the difference between what you think an asset is worth and what you actually pay for it. It is the single most useful idea in investing, and it exists because two things are unavoidable: your estimate will be wrong, and the future will surprise you.

Where the idea comes from

Benjamin Graham and David Dodd formalised it in Security Analysis in 1934, writing that the margin of safety is the central concept of investment. Graham's framing was engineering, not finance: if a bridge is rated for 30 tonnes and trucks weigh 10 tonnes, the bridge does not need to be perfectly modelled to be safe. If you had designed it for exactly 10 tonnes, you would be relying on being exactly right.

Applied to stocks, the principle says: estimate value conservatively, then demand a discount large enough that ordinary forecasting error does not wipe out your return.

The two risks it covers

Estimation error. Every valuation rests on assumptions about growth, margins and discount rates. A 2-percentage-point error in the discount rate on a long-lived business can move the answer 25%. Nothing in your analysis prevents that.

Genuine uncertainty. Even a correct model cannot anticipate a competitor's price war, a regulatory change, a key customer leaving or a currency crisis. These are not modelling failures. They are the world.

A margin of safety does not prevent either problem. It ensures that when they happen -- and they will -- the outcome is a disappointing return rather than a permanent loss of capital. That asymmetry is the whole point.

Sizing the margin: how much is enough?

There is no universal number, and anyone who gives you one is oversimplifying. The discount should scale with how confident you can be in the estimate.

Business characteristicsTypical discountWhy
Regulated utility, contracted revenue, low debt15-25%Cash flows are highly visible; the main risk is the discount rate
Stable consumer brand, pricing power, moderate debt25-35%Reasonably forecastable, but competition and tastes shift
Cyclical industrial or commodity producer35-50%Earnings normalisation is the dominant uncertainty
High-growth, pre-profit or single-product40-60%The forecast is closer to a scenario than a projection
Turnaround or distressed50%+Survival itself is uncertain

Two useful rules of thumb. First, a 25% discount covers roughly a 1-point error in the discount rate on a stable business, which is a reasonable allowance. Second, in a market where you cannot find anything offering at least 20% below a conservative estimate, the correct response is usually to hold cash rather than to lower your standard.

A worked example

You have valued a consumer staples business at $50 per share, with a plausible range of $44 to $57. Your estimate is not precise and you know it.

Now the important part: if the stock trades at $46 today, the answer is not "close enough". The answer is that you have no position. You have made a decision without buying anything, which is the most common correct decision in investing. Judging a valuation by whether it produced a trade is how people end up owning things they do not want.

The margin of safety calculator converts an estimate and a required discount into a buy ceiling; the Graham number calculator applies a similar logic using earnings and book value directly.

What margin of safety is not

It is not a stop-loss. A stop-loss exits after the price has already fallen. A margin of safety means you only enter at a price where the fall is tolerable. They operate in opposite directions: one reacts to price, the other pre-empts it.

It is not the same as "cheap". A low multiple on inflated earnings is not a margin of safety. Cheapness is a property of the price. Margin of safety is a property of the relationship between the price and a defensible estimate of value. A stock on 8x peak-cycle earnings has no margin of safety at all.

It is not a substitute for quality. A 50% discount on a business that is structurally dying is a bad purchase. Graham himself ran into this repeatedly and it is why later practitioners added a quality overlay: the discount only protects you if the value you discounted is actually there.

Applying it to different kinds of assets

Asset typeHow to build the marginCommon failure
Dividend payerDiscount a conservative dividend growth assumption; check the payout ratio can fund itAssuming the dividend is permanent through a cyclical trough
CyclicalValue on mid-cycle earnings, never peakCapitalising peak earnings at a low multiple and calling it cheap
Bank or insurerUse sustainable ROE against book value; discount for credit lossesTrusting book value when loan quality is deteriorating
High-growthValue the current business, treat new initiatives as free optionalityPaying for the growth twice -- once in the estimate, once in the discount

Where the concept breaks down

Margin of safety has a failure mode, and you should know it before you rely on it. It only works if your value estimate is roughly right and the business is not in structural decline.

The classic trap: a newspaper publisher in 2005 trading at 9x earnings with a 6% dividend yield, apparently a 40% discount to book value. Every metric said margin of safety. The industry was in the middle of being dismantled by the internet. The book value was printing presses, the earnings were classified advertising, and both were evaporating. The arithmetic was correct and the investment was a disaster.

There are three practical defences. Check whether revenue has grown over the last five years in real terms -- a genuine value trap usually shows flat or shrinking volume even while margins hold. Ask whether the assets on the balance sheet have a buyer at anything close to book. And treat an unusually large apparent discount on a mature business as a prompt to investigate the bear case harder, not as a confirmation that you have found something.

Pairing the margin with a position size

A margin of safety tells you the maximum price. It says nothing about how much to buy, and the two decisions are independent. A 50% discount on an early-stage biotech and a 25% discount on a regulated utility are not equally sized positions, because the range of outcomes is not equally wide.

The practical combination is: larger discounts justify larger positions, up to a hard cap. Many value investors cap single positions at 5-10% of the portfolio, and cyclicals lower than that. A position size calculator turns the decision into arithmetic -- define the loss you are willing to accept per position, divide by the distance to your stop, and you have the share count. Nobody should be sizing positions by feel.

The discipline problem

The mathematics of margin of safety is trivial. The application is not, because it requires doing nothing for long stretches, often while friends are making money in things you have analysed and rejected.

Two habits make it easier. First, write down your buy price in advance and treat it as a commitment rather than a suggestion; a number decided before the price moves is much harder to negotiate away in the moment. Second, count the deals you decline. If your process produces a valuation every week and a purchase once a quarter, that is a working process, not a broken one.

Where to go next

Frequently asked questions

What is a good margin of safety?

There is no universal percentage, but there is a usable definition: the amount your fair value can fall before the position loses money. On our worked example the fading-path DCF gives $41.55 against a $37.60 price -- a 9.5% gap, which is not a margin of safety at all. Apply a 30% margin and the buy limit becomes $29.08; apply 40% and it is $24.93. The size of the margin should scale with how wrong your inputs could plausibly be, not with how confident you feel.

How much margin of safety does Warren Buffett use?

He has never published a fixed percentage, and quoting one as though he had would be a fabrication. What he has said consistently is that the gap between price and value must be wide enough that being wrong about the estimate is survivable. The "fifty cents for a dollar" line is a popular paraphrase, not a disclosed rule. If you need a number, derive it from your own error range: our example's three growth scenarios span $35.70 to $45.75, a 28% spread, which is a far more honest input than anyone's rule of thumb.

Does a bigger discount always mean a better investment?

No. A wide discount is often the market pricing a risk you have not modelled. Compare the two companies used across this site. Kestrel trades at $24.20 against a Graham number of $31.46 -- a 23% discount. Stetron trades at $37.60 against $27.58, a 27% premium. On the screen Kestrel looks safer. But Kestrel carries net debt of 2.4x EBITDA against Stetron's 0.55x, and earns an 11.0% ROE against 19.9%. The thicker discount is compensation for the thinner balance sheet, not a gift.

Is a margin of safety necessary if you are confident in your estimate?

Especially then, because confidence and accuracy are different variables. On the worked example, changing five years of growth from flat 4% to a fading path moves the value from $37.60 to $41.55 -- 10% from one defensible modelling choice. Three scenarios span $35.70 to $45.75. If a point estimate can move 28% on assumptions you would happily defend, the margin of safety is not conservatism; it is arithmetic.

Related guides

More guides

Free valuation calculators