Calculate the margin of safety percentage for an investment based on its intrinsic value and market price.
Input Data
Results
At a glance:Margin of safety is the percentage by which a stock's market price is below its estimated intrinsic value, representing a cushion against errors in valuation.
Formula
marginOfSafety = (intrinsicValue - marketPrice) / intrinsicValue × 100%
How to Use
- Enter the estimated intrinsic value per share.
- Enter the current market price per share.
- Read the resulting margin of safety percentage.
FAQ
Why should I leave a margin of safety?
Because intrinsic value is only an estimate and is bound to contain errors — assumptions about future earnings, growth and discount rates can all be wrong. The margin of safety is a buffer for those estimation errors: by buying only when the price is well below your valuation, even if you later find you were too optimistic, the discount absorbs part of the error and lowers the chance of a permanent loss. Graham and Buffett stressed that success in investing comes less from accurate forecasting and more from building protection against uncertainty. The larger the margin, the more room for error.
How much margin of safety is enough?
There is no absolute rule; it depends on the company's certainty and your confidence in the valuation. Graham traditionally looked for a discount of around one-third (about 33%) or more. For stable, highly predictable quality companies, a smaller margin (say 20%) may be acceptable; for uncertain, cyclical or hard-to-value businesses you should demand a larger margin (40%–50%) as compensation. The key is to match the margin to the risk — the more uncertain the investment, the bigger the price discount you need for protection.
How do I estimate intrinsic value?
There is no single right answer. Common methods include discounted cash flow (DCF, discounting future free cash flows at WACC), the dividend discount model (for steady dividend payers), the asset approach (net asset or replacement cost, for asset-heavy firms), and relative valuation (inferring value from peer P/E or P/B). Each has its own assumptions and scope; it is better to cross-check several methods and take a conservative range rather than a single precise number. Remember: no matter how large the margin of safety, if the intrinsic value itself is wrong, the protection is illusory — so the rigour of your valuation is what really matters.
What does a negative margin of safety mean, and what should I do?
A negative margin of safety means the market price is already above your estimated intrinsic value — for example intrinsic value HK$100 and current price HK$110 gives (100 − 110) ÷ 100 = −10%, meaning you would be buying at a premium with no downside cushion. In that case a value investor usually waits and does not act, holding out for the price to fall below intrinsic value and show enough of a discount. Of course, if you have strong reasons to believe your valuation was too conservative, you may re-examine the assumptions — but do not talk yourself into 'this time is different' just to chase a rising price; a negative margin is itself a risk warning.
What is the difference between margin of safety and a stop-loss?
Both are risk-management tools but with opposite logic. Margin of safety is a pre-purchase price protection: by buying only when the price is clearly below value, you pre-fund a buffer against valuation error — a value investor's ex-ante defence. A stop-loss is a post-purchase price discipline: you pre-set an exit at a certain drop (e.g. −15%) to cap a single loss and avoid emotional holding — a trader's ex-post defence. Value investors lean on the margin of safety, because if the entry price already carried enough discount, short-term volatility is a chance to add rather than a signal to exit; stop-losses suit trend or short-term trading. The two can be combined, but keep their logic separate.
References
Content review: Calculatorism Finance Team. Results are for reference only; please refer to the relevant authorities for the official figures.