πŸ›Ÿ Margin of Safety Calculator

How far price sits below your estimate of value.

-%

Margin of safety

Estimates for planning only, not financial advice.

Margin of safety is the gap between what a stock is worth and what you pay, expressed as a percentage of the worth. Value the share at $120 and buy at $84, and the margin of safety is (120 - 84) / 120 = 30 percent. That discount is your protection against being wrong about the $120, which, to some degree, you always are. This calculator computes the margin from your value estimate and the market price.

Benjamin Graham's insight was psychological as much as mathematical: investors overestimate their own analysis, so the discipline is to demand a price that survives the analysis being partly wrong. The margin does not make you right; it makes being wrong affordable.

How to Use This Calculator

Enter your intrinsic value estimate per share and the current market price. The calculator returns the margin of safety, the dollar discount, the implied upside, and an assessment.

1

Enter your intrinsic value per share from your valuation work, not from an analyst target.

2

Enter the current market price.

3

Read the margin and the verdict. To value the cash flows behind your estimate, our present value calculator discounts them properly.

The Formula

Margin of safety = (intrinsic value - price) / intrinsic value x 100 Implied upside = (intrinsic value - price) / price x 100

Note the two denominators: the margin measures the discount against value, while the upside measures the gain against what you paid. A 30 percent margin of safety implies 42.9 percent upside, the asymmetry that makes value investing work when the analysis is right. When price exceeds value, the margin goes negative, which is the market's way of saying you are paying for optimism.

How Much Margin Is Enough

Margin of safetyReadingSuits
30% or moreWideClassic Graham value territory
15 to 30%AdequateQuality businesses with visible earnings
0 to 15%ThinOnly the most predictable compounders
Below 0%NonePaying above estimated value

Scale the requirement to uncertainty, not to how much you like the stock. A regulated utility's cash flows can be estimated within a narrow band, so 15 percent protects plenty. A cyclical manufacturer's value swings with the economy, so 30 percent may still prove thin. For estimating what businesses are actually worth, our ROI calculator keeps return expectations grounded.

Worked Example

With the defaults: intrinsic value $120, price $84. The margin of safety is (120 - 84) / 120 x 100 = 30.0 percent. The discount per share is $36.00, and the price sits at 70.0 percent of estimated value. If the business is truly worth $120, the implied upside is 36 / 84 x 100 = 42.9 percent. Even if the value estimate proves 20 percent too high, at $96 of true value, the $84 purchase still holds a 12.5 percent margin, which is exactly the protection the concept promises.

The Value Trap Warning

A wide margin on a deteriorating business is not safety; it is a discount on decline. Check that the intrinsic value is stable or growing before celebrating the gap: falling earnings, shrinking moats, and leveraged balance sheets turn apparent bargains into permanent losses. The margin protects against errors in a roughly-right valuation, not against valuing the wrong business entirely.

My rule: demand the margin and verify the business, in that order of importance reversed. A wonderful business at a 15 percent discount beats a terrible business at 50 percent off, because only one of them still has its value when the market notices.

How Big a Margin Is Enough

The required margin scales with uncertainty. A stable utility with predictable cash flows might warrant 20 percent; a cyclical commodity producer might need 50 percent or more. Ben Graham's original framing tied the margin to the quality of the analysis: the less certain the valuation, the bigger the discount demanded. This is why deep-value investors insist on larger margins than quality-at-a-price buyers.

Apply the margin to your inputs, not just the output. Stress the valuation: what if growth is half your estimate, what if margins revert to the industry average, what if the discount rate rises two points? If the investment still clears your hurdle under pessimistic inputs, the margin is real. False precision is the enemy: a margin computed from a fantasy valuation is decoration. For the growth assumptions feeding the valuation, our compound interest calculator keeps compounding honest.

Margin of Safety in Everyday Decisions

The concept travels well beyond stocks. Buying a house well below the maximum mortgage you qualify for is a margin of safety against rate rises and income shocks. Keeping a project deadline a week early is a margin of safety against surprises. Emergency funds are pure margin of safety.

The habit is the same everywhere: estimate what you need, then demand extra. Optimists size things exactly; survivors add the buffer. The cost of the margin is small, a little return forgone, while the cost of its absence can be catastrophic. Build it into every plan that matters.

Estimates for planning only, not financial advice.

Frequently Asked Questions

What is margin of safety in investing?

The discount of a stock's price below your estimate of its intrinsic value, expressed as a percentage: (intrinsic value - price) / intrinsic value. A $120 value estimate with an $84 price gives a 30 percent margin of safety. Benjamin Graham introduced the concept: the discount protects you when your valuation is wrong, which it partly always is.

How do you calculate margin of safety?

Estimate intrinsic value per share, subtract the current price, divide by intrinsic value, and multiply by 100. The result is the percentage cushion between what you pay and what you believe the business is worth. This calculator does the division and translates the result into a plain-English assessment.

What is a good margin of safety?

Graham-style value investors often demand 30 to 50 percent. For exceptional businesses with predictable cash flows, 15 to 20 percent can suffice. Below 10 percent the cushion is thin enough that normal valuation error wipes it out. The required margin should scale with your uncertainty, not your enthusiasm.

How do I estimate intrinsic value?

Common methods include discounted cash flow analysis, applying a reasonable multiple to normalized earnings, and asset-based valuation for holding companies. Every method needs assumptions about growth and discount rates. Because the inputs are uncertain, the margin of safety exists precisely to absorb their error.

What is the difference between margin of safety and downside protection?

Margin of safety is about price versus value at purchase; downside protection is about business resilience afterward. A cheap stock in a declining business has margin of safety on paper but no protection in reality. The concept works best on businesses whose value is stable enough to estimate.

Does margin of safety guarantee profits?

No. It improves the odds and limits the damage, but value traps, stocks cheap because the business is deteriorating, can stay cheap or get cheaper. The margin protects against valuation error, not against buying a melting ice cube. Business quality analysis comes first; the margin is the second step.

How does margin of safety relate to the Kelly criterion?

Both size positions by edge and uncertainty. A wider margin of safety implies a bigger edge, which Kelly-style thinking converts into a larger position. Practically, most value investors pair a minimum margin threshold with position limits, since even wide margins cannot cover fraud or permanent impairment.

Should the margin be bigger for volatile stocks?

Yes. Volatility signals uncertainty about the value estimate itself, and uncertain estimates deserve bigger cushions. A stable utility at a 15 percent discount can be safer than a biotech at 40 percent off, because the utility's intrinsic value is knowable and the biotech's is a guess.

What is the upside implied by a margin of safety?

If price returns to intrinsic value, the gain is the discount divided by the price paid: a 30 percent margin of safety at $84 on $120 of value implies 42.9 percent upside. That asymmetry, limited downside from the discount plus full upside to value, is the mathematical appeal of the approach.

Did Warren Buffett use margin of safety?

He learned it from Graham and still cites it, though his application evolved toward wonderful businesses at fair prices rather than fair businesses at wonderful prices. The principle survived the evolution: never pay more than a cautious estimate of value, and demand a cushion that survives your own mistakes.