Margin of Safety Calculator
Discount of stock price to intrinsic value.
Calculate margin of safety: discount between current stock price and estimated intrinsic value. Enter intrinsic value estimate and see the result instantly.
What this tool does
Enter current price and intrinsic value estimate. The tool calculates margin of safety percentage.
Enter Values
Formula Used
Spotted something off?
Calculations, display, or translation — let us know.
Disclaimer
Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.
Benjamin Graham's idea in one line
Margin of safety is the gap between a security's intrinsic value and its current market price. The bigger the gap, the more protected you are against errors in your valuation, adverse business developments, and market volatility. Graham popularised the concept in The Intelligent Investor (1949) and Security Analysis (1934). Warren Buffett, who studied under Graham, called it "the three most important words in all of investing."
This calculator expresses the margin as a percentage discount. If intrinsic value is 100 and current price is 65, margin of safety is 35 per cent. Buy the asset and you have a 35 per cent buffer before your purchase price equals your estimated value — plus any upside if price eventually rises to value.
The math and what it does not tell you
(Intrinsic Value − Current Price) ÷ Intrinsic Value × 100 = Margin of safety %
The formula is trivial. The hard work is estimating intrinsic value accurately — the number you feed into the calculator is entirely dependent on the rigour behind it. Three common methods:
Discounted cash flow (DCF). Project free cash flows for 10-ish years, apply a terminal value, discount everything back at a cost of capital. Produces a specific number but sensitive to terminal growth and discount rate assumptions. A 1 per cent change in terminal growth can move the result by 20 per cent.
Earnings-based multiples. Multiply normalised earnings by a reasonable P/E for the industry and quality of the business. Simple, robust, but requires judgment about what earnings are normalised and what multiple is reasonable.
Asset-based / liquidation value. Particularly for banks, real estate, commodities businesses. Useful as a floor but often far below continuing-operation value.
Serious value investors typically run all three and look for stocks where multiple methods independently suggest the price is below fair value.
How much margin do you need
Graham advocated at least 50 per cent margin of safety in his most conservative "defensive investor" framework — buy at half of intrinsic value. Modern practitioners, working in more efficient markets, typically target 25 to 40 per cent. Buffett has operated with smaller margins when business quality is high, arguing that a great business compounds over time and rewards patience even at a slim discount.
The right margin depends on:
Confidence in your valuation. A stable utility with 30 years of predictable cash flows can be valued with higher precision than a growth stock whose profitability might triple or halve. Less confidence needs bigger margin.
Time horizon. Short horizons need larger margins because market prices may not correct quickly. Long horizons can tolerate smaller margins because fundamental value tends to dominate eventually.
Position size. Small positions can take smaller margins. Concentrated positions that will dominate your portfolio need larger margins.
Liquidity. Illiquid positions (small-caps, private equity) need larger margins because exit is harder.
The behavioural use of the concept
Beyond the math, margin of safety functions as a discipline. Many investors buy stocks near or above their own intrinsic value estimate because "the story is great" or "the momentum is there." A hard rule of "no purchases without X per cent margin" forces patience and usually means owning fewer, cheaper positions. Over long cycles this is one of the few strategies that has shown consistent excess return — though it also underperforms growth during bubbles and can look foolish for years at a time.
Context for value investing in 2026
The FTSE 100 and FTSE 250 have periodically offered deeper value than equivalents through the 2020s — markets trade at lower multiples than the S&P 500 on most measures. Sector composition differs materially: indices are heavy in energy, banks, commodities, tobacco, and pharmaceuticals; lighter in tech. For a value investor this means candidates often come with cyclical or regulatory risks that need explicit accounting for in intrinsic value estimates.
Smaller companies (AIM market) frequently show larger apparent margins of safety but also materially larger valuation uncertainty. Many apparent 50 per cent margins evaporate when forward numbers are re-examined. For less experienced investors, large-cap FTSE 100 with 25 to 35 per cent margin is often a better risk-adjusted entry point than AIM with 50 per cent.
Common ways the concept gets misused
Back-fitted intrinsic value. Starting from a target margin of safety and working backwards to an intrinsic value that justifies it. The discipline only works if intrinsic value is computed independently and honestly.
Confusing cheap with value. A stock that has fallen 40 per cent is not automatically 40 per cent margin of safety. It may have fallen because intrinsic value has also fallen 40 per cent (or more).
Ignoring quality decay. A business that was worth 100 a share in 2020 is not necessarily worth 100 today. Industries get disrupted, management changes, competitive moats erode. Intrinsic value is not a fixed point.
Value traps. Stocks that look cheap on every metric but stay cheap or go cheaper for years. Usually indicates that the market sees structural decline the valuation model misses.
What the calculator cannot do
It cannot estimate intrinsic value for you — that is the whole craft of equity analysis. It cannot tell you whether your intrinsic value is reasonable. It cannot account for liquidity, tax, position sizing, or behaviour. It gives you a clean headline number; the analysis behind it is where the real work lives.
Margin of safety produces percentage based on the inputs provided.
Inputs
This example uses typical values for illustration. Adjust the inputs above to match a specific situation and see how the result changes.
Sources & Methodology
Methodology
Percentage discount of price to estimated intrinsic value.
References
Frequently Asked Questions
How to estimate intrinsic value?
Good margin?
What if price exceeds value?
Limitations?
Related Calculators
Warrant Value Calculator
Calculate the intrinsic value of stock warrants. Enter share price, strike price and number of warrants to see total value and in-the-money status.
Stock Split Value Calculator
Calculate new share count and price after stock split (forward or reverse). Enter shares and new shares in ratio for an instant result.
Bond Price Calculator
Calculate bond price as present value of coupon payments and face value. Enter face value par and coupon rate for an instant result.
More Investing Calculators
Investing
100 Minus Age Asset Allocation Calculator
Calculate stock vs bond allocation using 100-minus-age rule. Shows stock and bond allocation percentages from the values you enter.
Investing
409A Valuation Impact Calculator
Calculate 409A valuation impact on stock option exercise and exit profits. Enter strike price and 409a fmv for an instant result.
Investing
Active vs Passive Investing Calculator
Compare active and passive investment strategies accounting for fees over long horizons. Enter initial investment to see difference and passive.
Investing
Hotel ADR Calculator
Calculate hotel ADR, RevPAR, and occupancy from revenue and rooms data. Enter room revenue and rooms sold total for an instant result.
Investing
After Repair Value (ARV) Calculator
Calculate real estate flip profit with ARV, repair costs, and the 70% rule check. Enter purchase price and after repair value arv for an instant result.
Investing
Agricultural Land Calculator
Calculate agricultural land investment IRR including lease income and appreciation. Enter land purchase price and lease rate for an instant result.
Explore Other Financial Tools
Financial Health
Font Licensing Calculator
Calculate font licensing cost from font count, license, users, and web use multipliers. Enter fonts count and licence per font for an instant result.
Budget
Annual Budget Health Check
Score your annual budget health across 50/30/20, savings rate, emergency fund, and debt ratios. Get a 0-100 score with diagnostic breakdown.
Lifestyle
Cruise vs Resort Calculator
Compare cruise vs all-inclusive resort costs after factoring inclusions value. Enter cruise total cost and cruise inclusions value for an instant result.