What this calculator does
Margin of safety measures the buffer between what a business is actually selling and the point where it would stop making a profit altogether. It answers a specific, practical question: if sales fell, how far could they fall before the business is merely breaking even rather than losing money.
The margin of safety formula is actual sales minus break-even sales, usually then expressed as a percentage of actual sales so it can be compared across businesses of different sizes. A thin margin of safety is a warning sign even for a currently profitable business, because it means a modest sales downturn is enough to wipe out the profit entirely.
The formula
First work out the contribution margin ratio: selling price minus variable cost per unit, divided by selling price. Divide total fixed costs by that ratio to get break-even sales in dollars. Margin of safety is actual sales minus break-even sales, and the percentage version divides that gap by actual sales.
| Term | Meaning |
|---|---|
| Margin of safety | The dollar gap between actual sales and break-even sales. |
| Margin of safety % | That gap expressed as a percentage of actual sales, so it compares across businesses of different sizes. |
| Break-even sales | The sales level at which total contribution margin exactly covers fixed costs, leaving zero profit. |
| Contribution margin ratio | The share of each sales dollar left over after variable costs, before fixed costs are covered. |
The inputs explained
| Field | What to enter |
|---|---|
| Actual or budgeted sales ($) | Actual sales achieved, or a budgeted sales figure if you are testing a forecast. |
| Selling price per unit ($) | The selling price per unit. |
| Variable cost per unit ($) | The variable cost per unit, meaning costs that scale directly with each unit sold. |
| Total fixed costs ($) | Total fixed costs for the period, which do not change with sales volume. |
When to use it
Stress-testing a sales forecast
Before committing to a budget built around a sales target, checking the margin of safety shows how much room there is for that forecast to come in low before the business tips into a loss.
Comparing two product lines
A product with high sales but a thin margin of safety can be riskier than a smaller product with a wide one, since the first has less room to absorb a downturn.
Deciding whether to add fixed costs
Taking on more fixed costs, such as a lease or new equipment, raises the break-even point and narrows the margin of safety at the same sales level, which this calculator makes visible before the commitment is made.
Worked examples
Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.
How margin of safety narrows as fixed costs rise
The same sales, price and variable cost, with fixed costs stepped up.
| Fixed costs | Margin of safety | Margin of safety % |
|---|---|---|
| $20,000 | $150,000.00 | 75.00% |
| $40,000 | $100,000.00 | 50.00% |
| $60,000 | $50,000.00 | 25.00% |
| $80,000 | $0.00 | 0.00% |
| $100,000 | −$50,000.00 | -25.00% |
| $120,000 | −$100,000.00 | -50.00% |
Questions
What is the margin of safety formula?
Margin of safety = actual (or budgeted) sales minus break-even sales. Expressed as a percentage, it is that gap divided by actual sales, multiplied by 100.
How do I calculate margin of safety without knowing break-even sales directly?
Work it out from price, variable cost and fixed costs first: the contribution margin ratio is (price − variable cost) ÷ price, and break-even sales is fixed costs divided by that ratio. This calculator does that step automatically.
What counts as a healthy margin of safety?
There is no universal threshold, since it depends on how stable and predictable the business's sales are. A business with volatile demand generally wants a wider margin of safety than one with very steady, contracted revenue.
How is this different from break-even analysis?
Break-even analysis finds the sales level needed to cover costs exactly. Margin of safety takes that break-even figure and compares it against actual or budgeted sales to show the size of the cushion above it.
For the underlying contribution margin and break-even units calculation, see the contribution margin calculator.