MarketPing

Margin of Safety Calculator

The margin of safety is the gap between what you think a business is worth and what the market charges for it — the buffer that absorbs your estimation errors, bad luck and the future's general refusal to cooperate. Graham called it the central concept of investment.

Enter your intrinsic value estimate (from a DCF, Graham Number or your own work), the market price, and the minimum cushion you demand. You get the current margin, and the buy-below price where the stock actually clears your bar.

Your estimate
From the DCF or Graham Number calculator — or your own work.
%
20–30% for predictable businesses; 40–50% for shaky estimates.
The cushion
Current margin of safety
25%
Buy-below price for your cushion₹560
At today's priceDoes NOT clear your bar
Upside if IV is right33.3%
The margin absorbs errors in YOUR estimate — it can't rescue a wrong valuation. A 50% discount to a broken thesis is still a value trap.

How it works

  • Margin of safety = (intrinsic value − price) ÷ intrinsic value.
  • Buy-below price = intrinsic value × (1 − required margin) — your limit order, in effect.
  • A negative margin means the price already exceeds your estimate of worth.
MoS = (IV − Price) ÷ IV

Frequently asked questions

How large a margin of safety should I demand?

Scale it to uncertainty: 20–30% for predictable, high-quality businesses; 40–50% for cyclicals, turnarounds or anything whose intrinsic value you hold loosely. The margin exists to absorb errors in YOUR estimate — the shakier the estimate, the fatter the cushion.

Margin of safety vs upside — aren't they the same?

Same gap, opposite denominators, different sizes: a stock at ₹60 with IV ₹100 has a 40% margin of safety but 67% upside. Upside markets the opportunity; margin of safety measures the protection. Investors survive on the second number.

What if my margin of safety is negative?

The market price exceeds your value estimate — by your own analysis you'd be paying more than it's worth. The honest moves are: pass, or revisit the estimate with evidence (not with a higher growth assumption reverse-engineered from the price).

Does a big margin of safety guarantee a good outcome?

No — it shifts the odds. A 50% discount to a wrong valuation is still a bad buy (value traps are exactly this), and cheap stocks can stay cheap for years. The margin buys you the right to be somewhat wrong; the valuation still has to be roughly right.

Related tools

Intrinsic Value Calculator (DCF)Graham Number CalculatorCAPM Calculator

Stop calculating. Start getting alerted.

MarketPing watches every NSE & BSE filing in real time — results, dividends, buybacks, order wins — AI-summarised with likely price impact and delivered to your WhatsApp.

Start free on WhatsApp
Free plan · No card needed

This tool is an educational estimate, not investment or tax advice. Rates and rules change — verify current figures and consult a professional before acting.