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.
Related tools
The Graham number calculator gives a quick estimate of value, and the discounted cash flow calculator values a company from its future cash flows.