Margin of Safety Calculator

Margin of safety is the gap between what a business is worth and what it costs. It exists because every valuation is an estimate — the buffer is what protects you when the estimate turns out to be wrong.

Margin of safety
—
Upside to your fair value—
Buy price for your target cushion—
Dollar gap per share—

Estimates only, not investment advice. Nothing you type leaves your browser.

The buffer is the whole point

Benjamin Graham's core insight was that valuation is an art of approximation. You cannot know a company's exact worth, so you demand a discount large enough that being wrong does not cost you money. That discount is the margin of safety.

How much is enough depends on confidence. A stable utility with predictable cash flows may warrant a 15% cushion; a cyclical or a company in technological transition warrants 40% or more, because the range of possible outcomes is far wider.

The most useful output here is the third one — the buy price for your target cushion. Decide the discount you require before you look at the quote, write the number down, and wait. That converts a vague intention into an actual rule, which is what stops people paying up during rallies.

What Graham meant by it

Benjamin Graham introduced the term in the 1934 edition of Security Analysis and used it as the central concept of his investment philosophy. The idea is simple: estimate intrinsic value, then buy at a meaningful discount to that estimate, so that even if your estimate is wrong, the asset is still likely to be worth more than you paid. The size of the required discount depends on how confident you are in the estimate and how volatile the underlying business is.

Graham never specified a universal percentage. He used 50% as a default for an unaudited estimate of a cyclical industrial, less for a high-confidence stable business, and he explicitly said that the margin of safety "is not a fixed percentage" but a function of price stability, asset coverage, dividend record and the analyst's confidence.

Where the calculation breaks

The calculator needs a defensible intrinsic value to compare against. If you have used a single-stage DCF with an aggressive growth rate, the "intrinsic value" is itself an aggressive number and the safety margin becomes the gap between two optimistic estimates. The honest way to use the tool is to compute intrinsic value with conservative assumptions and accept that the resulting margin is smaller than a single-stage calculator might suggest.

Why a margin of safety is not optional

Forecasting is hard. Most companies' actual long-run returns are dominated by a small number of years — the best and the worst. A wide-enough margin gives you room to be wrong about the next two quarters and still end up with a return worth having. Narrow margins work only when the underlying estimate is unusually robust, and almost no public-market estimate meets that standard.

Formula

Margin of Safety = (Intrinsic Value − Price) ÷ Intrinsic Value × 100

FAQ

What margin of safety should I require?

Graham suggested around 30% for defensive investors. Practically, scale it to uncertainty: 15-20% for stable businesses with predictable cash flows, 30-50% for cyclicals, turnarounds or anything facing technological change.

How do I estimate intrinsic value?

Most commonly with a discounted cash flow model, or for dividend payers a dividend discount model. Use conservative growth assumptions and a realistic discount rate — an aggressive DCF produces a fake margin of safety.

Is margin of safety the same as upside?

No, and the difference matters. A $100 stock you value at $150 has 33% margin of safety but 50% upside — the first divides by value, the second by price. Margin of safety is the risk measure; upside is the return measure.

What if the margin is negative?

The market disagrees with your estimate. That is not automatically a sell signal — your inputs may be too conservative — but it is a prompt to re-examine your growth and discount rate assumptions honestly before acting.

Related calculators

More calculators

Guides