Margin of safety formula
Margin of safety (%) = (expected sales − break-even sales) ÷ expected sales × 100. Break-even sales come from your fixed costs and contribution margin: break-even units = fixed costs ÷ (price − variable cost per unit).
How to calculate margin of safety: an example
- A product sells for $50 with $30 of variable cost, so each unit contributes $20.
- Fixed costs are $25,000 a month, so break-even is $25,000 ÷ $20 = 1,250 units, or $62,500 of sales.
- You expect to sell 2,000 units, which is $100,000 of sales.
- Margin of safety: 2,000 − 1,250 = 750 units, or $37,500, which is 37.5% of expected sales.
Sales could fall by 37.5% before the business stops making money. The contribution margin side of this math is on the contribution margin calculator.
How to raise your margin of safety
- Lower fixed costs, which brings the break-even point down.
- Raise prices or cut variable costs, so each unit covers more of the fixed costs. The margin calculator shows what a price change does to margin.
- Sell more, which moves expected sales further above break-even.
Margin of safety in investing
Investors use the same phrase differently: the gap between a stock's estimated intrinsic value and its market price, popularized by Benjamin Graham. Buying at a 30% discount to your value estimate gives a 30% margin of safety against errors in that estimate. This calculator covers the accounting version used in break-even analysis.