How the Margin of Safety Calculator works
Margin of safety is a core cost-volume-profit (CVP) metric from managerial accounting. It answers a simple question: how far can sales fall before the business stops covering its costs and starts losing money? The calculator gets there by first finding the break-even point, then comparing it to actual (or budgeted) sales.
The formula
Contribution margin per unit is what's left of each sales dollar after variable costs: CM = Selling Price − Variable Cost per Unit. Dividing that by price gives the contribution margin ratio. Break-even sales are the sales level where contribution margin exactly covers fixed costs:
Break-even Units = Fixed Costs / Contribution Margin per Unit
Margin of Safety = Actual Sales − Break-even Sales
Margin of Safety Ratio = (Actual Sales − Break-even Sales) / Actual Sales × 100
Worked example
A product sells for $50 with a variable cost of $30 per unit, fixed costs of $150,000, and 12,000 units sold. Contribution margin is $20 per unit (40% of price). Break-even volume is $150,000 / $20 = 7,500 units, or $375,000 in sales. Actual sales of $600,000 exceed that by $225,000 — a margin of safety of 37.5%, meaning sales could drop by more than a third before the business hit break-even.
Using the result
- A higher margin of safety ratio means more cushion against a sales downturn, price cut, or cost increase before the business starts losing money.
- A low or negative margin of safety signals the business is close to or below break-even at current volume — small shocks to sales or costs can turn a profit into a loss.
- Because it depends on the contribution margin, the margin of safety is sensitive to price and variable cost: a small cut in price or rise in per-unit cost can shrink the safety cushion sharply.
Assumptions and limits
This calculator assumes a single product (or a stable sales mix), a linear cost structure (fixed costs stay fixed and variable costs scale proportionally with volume within the relevant range), and that the selling price and unit variable cost you enter are constant across all units sold. It does not account for step-fixed costs, volume discounts, or multi-product sales mix shifts — for those situations, treat the result as a starting estimate rather than a precise forecast.