Margin of Safety Calculator
Discount of stock price to intrinsic value.
Calculate margin of safety by entering a stock's current price and intrinsic value estimate to see the percentage discount between them.
What this tool does
This calculator estimates the percentage discount between a stock's current market price and your estimate of its intrinsic value. Enter the current trading price and your calculated or researched intrinsic value estimate, and the tool computes the gap between them as a percentage. The result shows how far below your estimated fair value the stock currently trades. The intrinsic value estimate drives the calculation most significantly—small changes here shift the final percentage meaningfully. A typical scenario involves comparing a stock you've analysed against its market price to see the size of any potential gap. The calculator assumes your intrinsic value estimate is accurate and doesn't account for transaction costs, tax implications, or changes in value over time. Results are for educational illustration and comparative analysis only.
Enter Values
People also use
Startup & VC
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.
Investing
Stock Split Value Calculator
Calculate new share count and adjusted price after any stock split. Enter shares, price, and ratio — forward or reverse splits supported.
Investing
Bond Price Calculator
Calculate bond price as the present value of its coupon stream plus face value, given face value, coupon rate, market yield, and years to maturity.
Formula Used
Spotted something off?
Calculations or display — 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. Some value investors purchase shares 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.
At a current price of £100 versus an intrinsic value of £150, your margin of safety is 33.33%.
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
The calculator computes margin of safety by subtracting the current stock price from an estimated intrinsic value, then dividing the result by that intrinsic value to express the gap as a percentage. A positive result indicates the current price trades below the estimated intrinsic value; a negative result indicates the price trades above it. The model assumes the intrinsic value estimate is accurate and remains constant during the holding period. It does not account for the method used to derive intrinsic value, changes in that value over time, transaction costs, taxes, or the precision of any valuation approach. The output represents a static comparison between two price points at a single moment.
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 adjusted price after any stock split. Enter shares, price, and ratio — forward or reverse splits supported.
Bond Price Calculator
Calculate bond price as the present value of its coupon stream plus face value, given face value, coupon rate, market yield, and years to maturity.
More Investing Calculators
Investing
100 Minus Age Asset Allocation Calculator
Calculate stock-vs-bond allocation using the 100-minus-age rule of thumb — see the suggested percentage split for any age you put in.
Investing
Active vs Passive Investing Calculator
Compare active and passive investment strategies accounting for fees across long horizons — the wealth gap from a percentage point of fee drag.
Investing
Annuity Present Value Calculator
Calculate the present value of an ordinary annuity from regular payments, periodic rate, and the number of periods until the stream ends.
Investing
APR to APY Calculator
Convert APR to APY for any compounding frequency to see the true effective annual yield — what you actually earn (or pay) on a given quoted rate.
Investing
Art Investment Calculator
Calculate art investment net returns including insurance and carrying costs, given purchase price, current value, and length of holding period.
Investing
Asset Allocation Calculator
Calculate suggested portfolio asset allocation by age and risk tolerance (stocks/bonds/cash). Enter risk tolerance 1-10 to see suggested stock and bond.
Explore Other Financial Tools
Mortgage
Interest Only vs Repayment Calculator
Compare interest-only vs repayment mortgage costs side by side. See monthly payment difference and outstanding balance at end of term.
E-commerce & Marketplace
Dropshipping Profit Calculator
Calculate dropshipping profit per sale by entering supplier cost, platform fees, ad spend, and shipping to see margin and net profit.
Modern Life Events
College ROI Calculator
Calculate college degree ROI from tuition cost, expected salary uplift across career years, and the opportunity cost of skipping college.