๐Ÿ‡บ๐Ÿ‡ธ United States

Margin of Safety Calculator

Calculate the margin of safety between intrinsic value and market price, find your maximum buy price for a desired margin, or run bear/base/bull scenario analysis. Works with any currency.

All amounts displayed in selected currency
$
Your estimate of the stock's true value (DCF, multiples, etc.)
$
The stock's current trading price
โ€”
Estimates only. Intrinsic value is subjective. Consult a financial adviser before making investment decisions.

Try another scenario

Calculate for your country โ–ผ
Found an issue? Send feedback

How to Use This Calculator

Tab "Margin of Safety"

Enter the intrinsic value per share (your estimate of what the stock is truly worth) and the current market price. The calculator shows the margin of safety as a percentage, along with a rating from "Thin margin" to "Deep value." A negative result means the stock appears overvalued.

Tab "Target Buy Price"

Enter your intrinsic value estimate and the desired margin of safety (e.g. 25%). The calculator shows the maximum price you should pay to achieve that margin. Buy at or below this price to maintain your desired safety cushion.

Tab "Scenario Analysis"

Enter three intrinsic value estimates — bear case (pessimistic), base case (most likely), and bull case (optimistic) — plus the current market price. The calculator shows the margin of safety under each scenario with a risk summary showing how many scenarios are favourable.

The Formulas

Margin of safety:
Margin of Safety = (Intrinsic Value − Market Price) / Intrinsic Value × 100%

Maximum buy price:
Max Buy Price = Intrinsic Value × (1 − Desired Margin%)

Rating scale:
< 0%: Overvalued (stock trades above intrinsic value)
0 – 15%: Thin margin (minimal buffer against errors)
15 – 25%: Moderate margin (reasonable for high-quality businesses)
25 – 50%: Strong margin (classic Graham territory)
> 50%: Deep value (large discount, but verify the estimate)

Intrinsic value is always an estimate. Use multiple valuation methods (DCF, earnings multiples, asset-based) and apply the margin of safety to account for uncertainty.

Worked Examples

Example 1 — Strong margin: intrinsic $80, market $55

An analyst estimates a stock's intrinsic value at $80 per share. The stock currently trades at $55.

Intrinsic value per share$80.00
Current market price$55.00
Margin of safety($80 − $55) / $80 = 31.3%
RatingStrong margin
Discount per share$25.00

At 31.3%, this exceeds Benjamin Graham's recommended 25% minimum. The $25 discount provides a meaningful buffer against estimation errors.

Example 2 — Target buy price: 25% margin on $120 stock

An investor estimates intrinsic value at $120 and wants at least a 25% margin of safety before buying.

Intrinsic value estimate$120.00
Desired margin of safety25%
Max buy price$120 × (1 − 0.25) = $90.00
Discount per share$30.00

The investor should buy at $90 or below. If the stock trades at $95, they should wait for a pullback or look elsewhere. Patience is a core value investing discipline.

Example 3 — Bear/base/bull scenarios at $55 market price

An analyst builds three valuation estimates for a stock currently trading at $55: bear case $60, base case $80, bull case $110.

Bear case intrinsic value$60.00
Bear margin of safety($60 − $55) / $60 = 8.3%
Bear ratingThin margin
Base case intrinsic value$80.00
Base margin of safety($80 − $55) / $80 = 31.3%
Base ratingStrong margin
Bull case intrinsic value$110.00
Bull margin of safety($110 − $55) / $110 = 50.0%
Bull ratingDeep value
Positive scenarios3 of 3

All three scenarios show a positive margin of safety, which is encouraging. Even in the bear case the stock trades below intrinsic value, though the margin is thin. The base and bull cases show strong to deep value.

Understanding Margin of Safety

What Is Margin of Safety?

Margin of safety is the gap between what you believe a stock is worth (intrinsic value) and what the market is charging for it. The concept was introduced by Benjamin Graham in The Intelligent Investor and is the foundational principle of value investing. Warren Buffett has called it "the three most important words in investing."

Why Does It Matter?

Every intrinsic value estimate is inherently uncertain. You might overestimate future earnings, miss a competitive threat, or misjudge the discount rate. A margin of safety provides a buffer: if your estimate is off by 20% but you bought with a 30% margin, you still have a reasonable chance of making money.

How Much Margin Is Enough?

Graham recommended a minimum of 25-33% for individual stocks. The right margin depends on: the quality of the business (high-quality businesses warrant lower margins), the reliability of your estimate (DCF models need larger margins than asset-based valuations), and your risk tolerance (conservative investors demand more margin).

Intrinsic Value Estimation Methods

The margin of safety is only as good as the intrinsic value estimate behind it. Common methods include:

Using multiple methods and comparing results gives a range of estimates, which is exactly what the Scenario Analysis tab is designed for.

Frequently Asked Questions

Benjamin Graham recommended at least 25-33%. Below 15% is considered thin and leaves little room for error. 15-25% is moderate and may be acceptable for high-quality, stable businesses. 25-50% is the classic value investing range. Above 50% is deep value territory, but very large margins may signal that something is genuinely wrong with the business rather than a mispricing.
Yes. A negative margin of safety means the stock's market price exceeds your estimate of its intrinsic value. The stock appears overvalued. This does not guarantee the stock will fall — it could mean your intrinsic value estimate is too conservative, or that the market is pricing in growth you have not modelled.
Market price is what others are willing to pay right now — it is driven by supply, demand, sentiment, and momentum. Intrinsic value is an estimate of what the business is actually worth based on fundamentals: earnings power, assets, growth prospects, and competitive advantages. The two often diverge, creating opportunities for value investors.
Yes, but growth stocks require larger margins because their intrinsic value estimates depend heavily on future growth rates, which are inherently uncertain. A company growing at 30% per year has more estimation risk than a stable utility. Demand a higher margin of safety for growth stocks to compensate for the wider range of possible outcomes.
No. This is a universal calculator that works with any currency and any stock market. The margin of safety formula is the same regardless of country or market. Select your currency from the dropdown and enter your estimates in that currency.

Related Calculators

Embed This Calculator

Add the sum.money Margin of Safety Calculator to your website. Free, responsive, always up to date.

<iframe src="https://sum.money/embed/margin-of-safety-calculator" width="100%" height="700"></iframe>