Skip to content
FinToolSuite
Updated 2026-05-14 · Investing · Educational use only ·
Privacy

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.

Quick answer: with the default values, the result is 33.33% (Margin of Safety). Adjust the values below for your own figures.


Enter Values

People also use

Formula Used
Intrinsic value
Current price

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. Buying at that price would leave a 35 per cent buffer before the purchase price equals the estimated value — plus any upside if the price eventually rises to that 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. Even a small change in the terminal growth or discount rate assumption can shift the result substantially.

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 is commonly associated with margins from around a third up to 50 per cent — for example buying at roughly two-thirds of intrinsic value, and at a deeper discount for his most conservative, asset-based purchases. 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.

How market context shapes the margin

Different markets and sectors trade at different valuation multiples, so a given headline discount means different things depending on where it appears. Sectors with cyclical earnings or heavy regulation — energy, banks, commodities, some industrials — can show wide apparent margins that partly reflect those risks rather than a pure bargain. Those risks belong inside the intrinsic value estimate, not outside it.

Smaller and less liquid companies frequently display larger apparent margins of safety alongside materially larger valuation uncertainty. A wide margin built on shaky forward numbers can shrink quickly once those numbers are re-examined. A smaller margin on a large, stable business and a wide margin on a volatile small-cap are not the same risk, even when the percentages suggest otherwise.

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.

Example Scenario

At a current price of £100 versus an intrinsic value of £150, your margin of safety is 33.33%.

Inputs

Current Price:£100
Intrinsic Value Estimate:£150
Expected Result33.33%
Expected Result breakdown
Discount$50.00
Current Price$100.00
Intrinsic Value$150.00
VerdictStrong margin

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.

Frequently Asked Questions

How to estimate intrinsic value?
DCF analysis, earnings power valuation, asset-based methods. Graham used various. All require assumptions — margin protects against being wrong.
Good margin?
Graham is commonly cited around a third or more, with deeper discounts for his most conservative approach. Modern value investors often use 30-50%. A larger margin offers more protection but surfaces fewer opportunities.
What if price exceeds value?
The margin of safety is negative, and the tool shows a negative percentage. That means the current price sits above your intrinsic value estimate, so there is no discount cushion on these inputs.
Limitations?
Only as good as intrinsic value estimate. Garbage in garbage out. Requires fundamental analysis skill.

Related Calculators

More Investing Calculators

Explore Other Financial Tools

Spotted something off?

Calculations or display — let us know.