About the Margin of Safety Calculator
This margin of safety calculator measures the cushion between the sales you expect (or already have) and your break-even point. Enter your selling price, variable cost per unit, fixed costs and unit sales, and it returns the margin of safety in units, in sales dollars and as a percentage of sales — the classic cost-volume-profit (CVP) risk measure taught in managerial accounting.
It is useful for business owners stress-testing a budget, managers comparing products or locations, lenders judging how much a downturn a business can absorb, and students checking homework. If you already know your break-even sales figure, switch to the sales-dollar mode and enter actual and break-even sales directly.
The calculation assumes a constant selling price and variable cost per unit and fixed costs that do not change within the volume range analyzed. A negative margin of safety means sales are already below break-even, and the figure shows the shortfall instead.
With the default inputs, the margin of safety (%) is 33.33%. Change any value above to recalculate instantly.
How to use the margin of safety calculator
- 1Choose whether to work from unit price and costs or from sales dollars.
- 2Enter selling price, variable cost per unit and fixed costs for the period.
- 3Enter actual or budgeted units sold for the same period.
- 4Read the margin of safety in percent, dollars and units.
- 5Compare actual sales with break-even sales in the chart.
Formula and method
First the calculator finds break-even: fixed costs divided by the contribution margin per unit (price minus variable cost) gives break-even units, and multiplying by price gives break-even sales. The margin of safety is simply how far actual or budgeted sales sit above that point, expressed in units, in dollars and as a percentage of current sales.
Because operating income equals the contribution margin earned on sales above break-even, the margin of safety ratio is the reciprocal of the degree of operating leverage. A 25% margin of safety means DOL of 4, so a 1% fall in sales cuts operating profit by about 4%. The model assumes a constant price, constant variable cost per unit and fixed costs that stay flat over the range.
- P
- Selling price per unit
- VC
- Variable cost per unit
- FC
- Fixed costs for the period
- Q
- Actual or budgeted units sold
- MOS
- Margin of safety
- DOL
- Degree of operating leverage
Worked examples
$40 product, 4,500 units budgeted
Each unit contributes $40 − $24 = $16, so break-even is $48,000 ÷ $16 = 3,000 units ($120,000). Budgeted sales of 4,500 units ($180,000) beat that by 1,500 units or $60,000, a 33.3% margin of safety. Operating income is $24,000 and DOL is 1 ÷ 0.333 = 3.
Thin cushion: $25 item, 7,000 units
A $10 unit margin needs 6,000 units to cover $60,000 of fixed costs. Selling 7,000 units ($175,000) leaves only 1,000 units or $25,000 of cushion — 14.3% — and a DOL of 7, so a 10% sales dip would wipe out about 70% of profit.
From sales dollars
With $500,000 of sales and break-even at $425,000, sales can fall $75,000 before profit hits zero. That is a 15% margin of safety and implies operating leverage of 1 ÷ 0.15 ≈ 6.67.
Below break-even
Selling 2,500 units is 500 short of the 3,000-unit break-even. The negative margin of safety (−$20,000, or −20% of the $100,000 in sales) shows the shortfall, and the business loses $8,000.
Frequently asked questions
What is the margin of safety in accounting?+
It is the amount by which actual or budgeted sales exceed break-even sales. It can be stated in units, in sales dollars or as a percentage of sales, and shows how much sales can drop before the business makes a loss.
What is the margin of safety formula?+
Margin of safety = actual (or budgeted) sales − break-even sales. The margin of safety ratio divides that difference by actual sales. In units, subtract break-even units from units sold.
What is a good margin of safety percentage?+
There is no universal benchmark, but many analysts are comfortable above roughly 20–30%, while under 10% signals that a small sales decline would push the business into a loss. Seasonal or cyclical businesses usually need a bigger cushion.
How is margin of safety related to operating leverage?+
The degree of operating leverage equals 1 divided by the margin of safety ratio. A business with a 20% margin of safety has a DOL of 5, so each 1% change in sales changes operating profit by about 5%.
Is this the same as margin of safety in investing?+
No. In value investing, margin of safety is the gap between a stock’s estimated intrinsic value and its market price. This calculator covers the managerial accounting meaning based on break-even sales.
How can a business increase its margin of safety?+
Raise sales volume, increase prices, lower variable cost per unit or cut fixed costs. Anything that lowers the break-even point or lifts sales widens the cushion.
Results are estimates for educational purposes and are not financial advice. Rates, fees and terms vary — confirm with your lender or a licensed advisor before making decisions.