Margin of Safety Calculator

The margin of safety is the distance between your sales and your break-even point — how much revenue you can lose before profit turns to loss. Enter your price and variable cost per unit with your volume, or just your sales and contribution margin ratio, and this calculator returns the margin of safety in dollars, in units and as a percentage of sales, together with break-even sales, operating income and your degree of operating leverage. It also tabulates exactly what a 5%, 10% or 20% sales decline would do to profit.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
What data do you have?Use per-unit data for a single product; use sales and the CM ratio for a service or multi-product business.Price and variable cost per unit
Total fixed costs for the periodRent, salaried pay, insurance, depreciation and other costs that do not move with volume.100000 $
Selling price per unitNet realised price per unit.25 $
Variable cost per unitMaterials, per-unit labour, freight out, commission and payment fees on one unit.15 $
Actual or budgeted unit salesThe volume you are measuring the cushion from — last period's actual or this period's budget.12500
Actual or budgeted sales revenueNet revenue for the period you are testing.500000 $
Contribution margin ratioContribution margin divided by sales, as a percentage. Sales minus all variable costs, over sales.40 %

It returns

  • Margin of safety — The percentage of current sales you could lose before operating income reaches zero.
  • Margin of safety in dollars
  • Margin of safety in units — Only available when you enter per-unit data.
  • Break-even sales
  • Break-even volume
  • Operating income
  • Degree of operating leverage — The reciprocal of the margin of safety ratio whenever profit is positive.

The formula

MOS %=SS0S
π=(SS0)CM ratio
DOL=1MOS ratio

In plain text: Margin of safety % = (Actual sales − Break-even sales) ÷ Actual sales

  • SActual or budgeted sales ($)
  • S₀Break-even sales = fixed costs ÷ CM ratio ($)
  • FTotal fixed costs for the period ($)
  • MOS %Margin of safety ratio — the share of sales you can lose before profit hits zero (%)

The same subtraction works in units (actual units − break-even units) and in dollars. All three forms carry the same information at different scales.

Updated Category Cost-Volume-Profit, Break-Even & Overhead Verified against published test cases Reading time 10 min

What the margin of safety measures

The margin of safety is the gap between the sales you have and the sales you need. Stated in dollars it is actual sales minus break-even sales; in units it is actual units minus break-even units; as a ratio it is that gap divided by actual sales. All three say the same thing: how much room you have before profit becomes loss.

It exists because a break-even point on its own is not a judgement. Knowing you break even at $875,000 tells you nothing until you compare it with the $1,000,000 you actually sell — and then it tells you a great deal: you are 12.5% above the line, so a sales fall of one eighth erases your entire operating profit. Two businesses with identical profit can have wildly different margins of safety, and the one with the thinner cushion is materially riskier even though the income statements look the same.

Lenders, credit analysts and boards read it as a downside test. Budget committees read it as a plausibility test: a plan whose margin of safety is 4% is a plan that assumes nothing goes wrong. And because the ratio is scale-free, it compares directly across divisions, sites and years in a way that dollar profit does not.

The formula, and its two hidden identities

Start with break-even sales, which is fixed costs divided by the contribution margin ratio. Subtract that from actual sales and you have the margin of safety in dollars. Divide by actual sales and you have the ratio. If you have unit data, the identical subtraction in units works because break-even units are fixed costs divided by contribution margin per unit.

Two identities make the measure far more useful than a simple subtraction, and both are worth checking by hand once.

Operating income equals the margin of safety in dollars multiplied by the CM ratio. Every dollar of sales above break-even contributes its margin straight to profit, because fixed costs are already covered. At $125,000 above break-even with a 40% ratio, you earn exactly $50,000. This gives you a free cross-check on any CVP calculation: if the two figures disagree, one of your inputs is wrong.

The degree of operating leverage is the reciprocal of the margin of safety ratio. A 12.5% margin of safety implies leverage of 1 ÷ 0.125 = 8.0×, so a 1% sales change moves operating income by 8%. A 50% margin of safety implies 2.0×. This is not a coincidence but the same relationship viewed twice: the closer you sit to break-even, the more violently profit reacts to volume. It also means high operating leverage is not inherently good or bad — it is a statement about how much cushion you have.

One warning on the denominator. The ratio is conventionally computed on actual or budgeted sales, not on break-even sales. Dividing by break-even instead produces a larger, flattering number that is not comparable to anyone else's. Keep sales in the denominator.

Worked example: 12,500 units at $25 with $100,000 of fixed costs

A single-product manufacturer sells 12,500 units a year at $25. Variable cost is $15 a unit. Fixed costs are $100,000.

  1. Contribution margin per unit. $25 − $15 = $10, so the CM ratio is $10 ÷ $25 = 40%.
  2. Break-even volume. $100,000 ÷ $10 = 10,000 units.
  3. Break-even sales. 10,000 × $25 = $250,000. Cross-check: $100,000 ÷ 0.40 = $250,000.
  4. Actual sales. 12,500 × $25 = $312,500.
  5. Margin of safety in units. 12,500 − 10,000 = 2,500 units.
  6. Margin of safety in dollars. $312,500 − $250,000 = $62,500.
  7. Margin of safety ratio. $62,500 ÷ $312,500 = 20.0%.
  8. Verify with the identity. $62,500 × 0.40 = $25,000 of operating income. Check the long way: 12,500 × $10 = $125,000 of contribution margin, minus $100,000 of fixed costs = $25,000. The two agree.
  9. Operating leverage. 1 ÷ 0.20 = 5.0×. Confirm: $125,000 ÷ $25,000 = 5.0×.

Now use it. A 10% sales fall costs 10% × 5.0 = 50% of operating income — profit drops from $25,000 to $12,500. A 20% fall wipes it out entirely, which is exactly what the 20% margin of safety told you. And a $20,000 increase in fixed costs, say a new salaried supervisor, pushes break-even to 12,000 units and cuts the margin of safety from 20% to 4%: the same sales, the same price, but a business that now has almost no room for a bad quarter.

What margin of safety is healthy?

There is no accounting standard that sets a level, so judge it against volatility, cost structure and the horizon you are planning over.

Under 10% is fragile. A single lost customer, a wet summer or a delayed project can take the period into a loss. Businesses can operate here — many start-ups and turnarounds do — but it requires cash reserves and a plan to move the number.

10–20% is workable for a business with predictable, contracted revenue and low seasonality. It corresponds to operating leverage between 5× and 10×, so expect profit to swing hard on modest volume changes.

20–30% is the range most established operators aim at. It absorbs a normal bad quarter without a loss and keeps leverage between about 3× and 5×.

Above 40% is comfortable, and it usually reflects either strong margins or a light fixed-cost base. If your cushion is very large and profit is still thin, the constraint is the contribution margin ratio, not the fixed costs — look at price and variable cost.

Read the ratio alongside three other numbers. Compare it with your historical revenue volatility: if monthly sales routinely vary 25%, a 15% cushion is not a cushion. Compare it with the cash you hold, because the margin of safety is an accounting measure and a loss-making month is survivable if you have the working capital. And separate a seasonal business into seasons — an annual 25% margin of safety can hide four months of guaranteed losses.

Margin of safety, operating leverage and the profit hit from a sales fall

Each row is the same $1,000,000 of sales at a 40% contribution margin ratio, with only fixed costs changing.
Fixed costsBreak-even salesMargin of safetyOperating incomeOperating leverageProfit after a 10% sales fall
$200,000$500,00050.0%$200,0002.0×$160,000 (−20%)
$250,000$625,00037.5%$150,0002.7×$110,000 (−27%)
$300,000$750,00025.0%$100,0004.0×$60,000 (−40%)
$320,000$800,00020.0%$80,0005.0×$40,000 (−50%)
$350,000$875,00012.5%$50,0008.0×$10,000 (−80%)
$380,000$950,0005.0%$20,00020.0×−$20,000 (−200%)

Operating leverage is 1 ÷ margin of safety ratio in every row. The last row shows the danger: a 5% cushion turns a 10% sales miss into a loss twice the size of the original profit.

This is not Benjamin Graham's margin of safety

Two different disciplines use the same phrase. In managerial accounting — the calculation on this page — the margin of safety is the gap between sales and break-even sales, measured in units, dollars or percent. In value investing, following Benjamin Graham, it is the gap between a security's intrinsic value and its market price, expressed as a discount.

They share only the idea of a buffer against being wrong. If you are looking for the investing version, you want an intrinsic-value model, not a cost-volume-profit model.

Mistakes that distort the margin of safety

  • Dividing by break-even sales instead of actual sales. It inflates the ratio and makes it incomparable. Actual or budgeted sales is always the denominator.
  • Mixing budget and actual. Compute the cushion either on budgeted sales with budgeted costs, or on actual with actual. Comparing budgeted sales against a break-even built from last year's costs measures nothing.
  • Using an annual figure for a seasonal business. Average out the seasons and you hide the months that lose money. Run it by quarter or by season.
  • Ignoring step costs. If growth requires a second shift or a bigger lease, break-even jumps at that point and the cushion you calculated disappears exactly when volume arrives.
  • Assuming the CM ratio is stable. Discounting, mix shift and input inflation all move it, and the margin of safety moves with the reciprocal.
  • Treating it as a cash cushion. Depreciation sits in fixed costs but consumes no cash, while debt principal consumes cash and is not a cost. A positive margin of safety is not a guarantee of liquidity.
  • Reading a negative result as a rounding problem. A negative margin of safety is a precise statement: sales must rise by that amount before you make any profit at all.

The margin of safety is the third step in a standard CVP sequence. First establish the contribution margin with the contribution margin calculator. Then find the break-even point, in units with the break-even point in units calculator or in dollars with the break-even sales revenue calculator. The margin of safety then measures the distance between that point and reality, and the degree of operating leverage calculator converts the same information into a sensitivity multiplier.

Use a profit target rather than break-even when the question is “how much do we need to sell to hit the plan” — that is the target profit sales volume calculator, and the gap between actual sales and target sales is a planning gap rather than a safety margin. For downside risk that comes from debt rather than from operating costs, the relevant tests are the interest coverage ratio and the debt service coverage ratio, which measure the cushion above obligations rather than above break-even.

One structural point worth carrying away: you can widen the cushion in only three ways. Raise volume, improve the contribution margin ratio through price or variable cost, or cut fixed costs. The third is the most immediate and the most often overlooked — every dollar of fixed cost removed lowers break-even sales by a dollar divided by your CM ratio, which at a 40% ratio is $2.50 of revenue you no longer need to find.

Frequently asked questions

Can the margin of safety be negative?

Yes, and it is a precise measurement rather than an error. A negative margin of safety means current or budgeted sales are below break-even, and the figure tells you exactly how much additional revenue is needed to reach zero profit. Multiply the negative dollar figure by your contribution margin ratio and you get the operating loss you are running. Degree of operating leverage is undefined in that situation, because there is no positive profit for a sales change to be measured against.

Do I use budgeted or actual sales?

Either, as long as costs come from the same set of books. Budgeted sales answer “how risky is this plan”, which is the more common use in a budget review. Actual sales answer “how much room did we have last period”, which is what a lender or a board reads after the fact. What you must not do is mix them — budgeted revenue against a break-even built from prior-year costs produces a number with no meaning.

Why is my margin of safety exactly the inverse of my operating leverage?

Because both are ratios between the same two quantities. Operating income equals margin-of-safety dollars times the CM ratio, and total contribution margin equals sales times the CM ratio. Divide the second by the first and the CM ratio cancels, leaving sales divided by margin-of-safety dollars — which is one over the margin of safety ratio. So a 25% cushion is always 4.0× leverage, and a 10% cushion always 10.0×.

How do I calculate margin of safety for several products?

Work in dollars using a blended contribution margin ratio built from your actual sales mix, then compute the cushion against total sales. Units are not meaningful across dissimilar products — a margin of safety of 2,500 “units” spanning tables and teaspoons tells you nothing. If the mix is unstable, run the calculation at both a favourable and an unfavourable mix; the difference is often larger than the volume risk.

How can I improve my margin of safety quickly?

Cut fixed costs, because that works immediately and does not depend on the market. Every dollar removed from fixed costs lowers break-even sales by one dollar divided by your CM ratio — $2.50 at a 40% ratio, $5.00 at 20%. Raising price improves the ratio and the cushion together, but risks volume. Chasing volume is the slowest route, because it widens the gap without changing where the break-even point sits.

Does the margin of safety account for debt payments?

Only the interest, and only if you included it in fixed costs. Principal repayments are not an expense, so they never appear in break-even, which means a business can hold a comfortable accounting margin of safety and still be unable to service its loans. For that question use coverage ratios instead: interest coverage compares operating profit with interest, and debt service coverage compares cash flow with the whole payment including principal.

Is a very high margin of safety always good?

Not necessarily — it can mean you are under-investing. A 70% cushion with thin absolute profit usually indicates a business that has avoided fixed commitments and is therefore not converting its margin into scale: no salaried sales team, no owned capacity, no marketing spend. Adding fixed cost deliberately lowers the margin of safety and raises operating leverage, which is the correct trade when demand is reliable. The measure describes risk, not quality.

References

  • Managerial Accounting, 17th ed. — Cost-Volume-Profit Relationships — McGraw-Hill (Garrison, Noreen & Brewer)
  • Cost Accounting: A Managerial Emphasis — Cost-Volume-Profit Analysis — Pearson (Horngren, Datar & Rajan)
  • Management and Cost Accounting — Cengage (Drury)
  • Statements on Management AccountingInstitute of Management Accountants