Skip to content
Omnikalc

Margin of safety calculator: how far below intrinsic value is the price?

Enter the intrinsic value and the market price to get the margin of safety, the maximum price for your required margin and a stress test of your estimate.

Updated on
Your inputs
$

Value out of range

$

Value out of range

%

Value out of range

%

Value out of range

Results

Margin of safety

28.24 %

The margin meets your requirement
Highest price to pay for your required margin
$63.75
Upside to intrinsic value
39.34 %
Margin of safety if your estimate is too high
10.29 %
Price as a share of intrinsic value
71.8 %

Value investors buy at a discount to what they think a business is worth. The margin of safety calculator takes your intrinsic value estimate, the market price, the margin you require and a possible error, and gives the margin of safety, the highest price you should pay, the upside to intrinsic value, the margin if the estimate is too high and the price as a share of value.

How the calculation works

  • Enter your estimate of the intrinsic value per share, from a discounted cash flow or another method, and the current market price.
  • The margin of safety is the gap between value and price as a share of value: (intrinsic value − price) ÷ intrinsic value.
  • Enter the margin of safety you require. The calculator gives the highest price that meets it: value × (1 − required margin).
  • Enter a possible error in your estimate to see the margin if your value is too high by that share. This stress test shows how much cushion you really have.

Example

You estimate a stock to be worth $85 and it trades at $61. The margin of safety is (85 − 61) ÷ 85 = 28.2 %, and the upside to your estimate is 39.3 %. For a required margin of 25 %, you would pay at most $63.75. If your estimate is 20 % too high, the value is $68 and the margin falls to 10.3 %.

Why it matters

The margin of safety protects against mistakes in the estimate and against bad luck. Checking it against a stressed value shows if a cheap-looking stock is still attractive when your assumptions turn out too optimistic.

Good to know

The result is only as good as the estimate of intrinsic value, which is uncertain and rests on forecasts. Prices can stay below value or fall further. This is an educational calculation and not investment advice.

The Graham number calculator gives a quick estimate of value, and the discounted cash flow calculator values a company from its future cash flows.

Frequently asked questions

What is the margin of safety?

It is the difference between the intrinsic value of an investment and its market price, expressed as a share of the value. Benjamin Graham made it the central idea of value investing: buy only when the price is well below your estimate of value, so errors and bad luck do not cost you.

How large a margin should I require?

There is no fixed rule. Many value investors ask for 25 to 50 %, more for riskier or less predictable companies and less for stable ones. The less certain your estimate of the value, the larger the margin you should require.

How do I estimate the intrinsic value?

Common approaches are a discounted cash flow, a multiple of earnings or book value based on comparable companies, and Graham's formulas. All depend on assumptions about growth and discount rates, so the stress test in this calculator shows what happens if you are too optimistic.

Does a large margin of safety guarantee a profit?

No. It reduces the chance of a loss but the market price can stay below the value for a long time, and your estimate can be wrong by more than the margin. Diversification and a long horizon are still needed.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.