Margin of safety formula: calculate it in 3 quick steps
Learn the margin of safety formula to spot your buffer, set targets, and protect profit.

Written by Shaun Quarton—Accounting & Finance Content Writer and Growth Marketer. Read Shaun's full bio
Published Wednesday 25 February 2026
Table of contents
Key takeaways
- Calculate your margin of safety by subtracting break-even sales from current sales, then dividing by current sales to get a percentage that shows how far sales can drop before you start losing money.
- Aim for a margin of safety of 20-30% or higher for most small businesses, with seasonal businesses targeting 30% or more to handle demand fluctuations effectively.
- Monitor your margin of safety monthly or quarterly to spot trends early and use it as a key factor when making major business decisions like expanding staff, adjusting prices, or taking on new fixed costs.
- Combine margin of safety with cost-volume-profit analysis to get a complete picture of both your current financial buffer and how changes to costs, volume, or pricing will affect your profitability.
What is the margin of safety?
Margin of safety measures how far your sales can drop before your business hits its break-even point. It's the gap between your current revenue and the level where you'd make neither profit nor loss.
Think of it as your financial buffer against unexpected drops in demand or rising costs. The wider this margin, the more room you have to absorb market changes without falling into a loss.
What is the margin of safety formula?
The margin of safety formula calculates the percentage by which your sales can fall before reaching break-even:
(Current sales − Break-even sales) ÷ Current sales = Margin of safety
The formula has two components:
- Current sales: your total revenue from goods and services over a specific period
- Break-even sales: the exact revenue needed to cover all fixed and variable costs, where profit equals zero
Example calculation
A business has current sales of $50,000 and break-even sales of $30,000:
Margin of safety = ($50,000 − $30,000) ÷ $50,000 = 0.4 (40%)
What this means: Sales could drop by 40% before the business starts losing money. Any further decline would result in a loss.
How to calculate margin of safety
Now let's break down the margin of safety calculation.
1. Find your current sales
Determine your current sales figure, whether actual or forecasted. Actual sales should be readily available through your existing sales tools.
For forecasted sales, use one or more of these methods:
- Historical data: analyse past sales trends and seasonal patterns from your POS system, eCommerce platform, or accounting software like Xero
- Market research: study your target market, industry trends, and competitor performance
- Qualitative forecasting: gather insights from your sales team or industry experts
- Quantitative forecasting: apply statistical methods to historical and market data for more accurate predictions
The best approach depends on your business type and available data.
Example: A craft business tracks monthly sales through its POS system. Last month's sales were $5,000, which becomes the current sales figure for the calculation.
2. Calculate your break-even sales revenue point
For the margin of safety calculation, you need break-even sales as a revenue figure rather than units sold. Use this formula:
Fixed costs ÷ ((Sales price − Variable cost) ÷ Sales price) = Break-even sales
The formula requires two cost types:
- Fixed costs: expenses that stay the same regardless of sales volume, such as salaries and rent
- Variable costs: expenses that change with sales volume, such as raw materials and sales commission
Here's more on variable costs and how they differ from fixed costs. Your accountant can also help you distinguish between them.
Example calculation
The craft business has:
- Fixed costs: $2,000
- Variable costs: $5 per unit
- Sales price: $25 per unit
- Break-even sales = $2,000 ÷ (($25 − $5) ÷ $25)
- Break-even sales = $2,000 ÷ ($20 ÷ $25)
- Break-even sales = $2,000 ÷ 0.8
- Break-even sales = $2,500
The business needs $2,500 in revenue (100 units at $25 each) to break even. Learn more about your break-even point.

3. Apply the margin of safety formula
Apply the margin of safety formula to find the percentage by which sales can fall before your business operates at a loss:
(Current sales − Break-even sales) ÷ Current sales = Margin of safety
Example calculation
The craft business has current sales of $5,000 and break-even sales of $2,500:
Margin of safety = ($5,000 − $2,500) ÷ $5,000Margin of safety = $2,500 ÷ $5,000Margin of safety = 0.5 (50%)
What this means: The craft business has a 50% margin of safety. Sales could drop by half before the business reaches its break-even point.
The importance of the margin of safety for your small business
Margin of safety is essential to your risk management strategy because it reveals how much buffer you have before losses begin. For companies with high operating leverage, even a small drop in sales can result in a significant decrease in net income.
- High margin of safety: lower risk, with room to absorb market shifts without disruption
- Low margin of safety: higher risk, operating close to break-even with limited flexibility (for example, one company with $4.2M in revenue and a $3.95M breakeven point had a very narrow margin of safety of 5.8%)
External shocks can quickly erode your buffer. For example, a jump in supplier prices increases your variable costs, pushing up your break-even point. This shrinks your margin of safety and leaves your business more exposed to further cost increases or sales dips.
How the margin of safety supports your business decisions
Your margin of safety helps you make smarter decisions across key areas of your business:
- Setting performance targets: calculate your break-even point to set clear, achievable sales goals that keep you profitable
- Setting prices: review pricing when your margin shrinks to ensure each sale covers costs adequately
- Controlling costs: treat a low margin as a signal to cut expenses and protect your financial buffer, as strategic changes to your cost structure, such as reducing variable costs, can lead to a significant increase in net operating income
- Evaluating new products: assess how proposed costs affect your margin before launching to ensure profitability
Other metrics to use with margin of safety
Margin of safety works best when combined with other financial metrics. You can use a variety of measures to assess performance; for instance, a CFA Institute survey found that 46% of buy-side analysts use EBIT in their analysis.
As another example, pairing it with CVP analysis gives you a clearer view of both profitability and risk than either metric provides alone.
Margin of safety and CVP analysis
Cost-volume-profit (CVP) analysis is a forward-looking exercise that models how changes to your cost structure, sales volume, and pricing affect profitability. It shows what happens to your bottom line when you adjust any of these factors.
Margin of safety shows your current financial buffer, while CVP analysis helps you plan for different scenarios. Used together, they guide your planning by giving you a clearer view of both profitability and risk.
Learn more about management accounting and decision-making.
Master your margin of safety with Xero
Calculating your margin of safety is faster when you have the right tools instead of tracking down figures, updating spreadsheets, and piecing together reports manually.
Xero automates the process. You get quick access to the financial data and reports you need to calculate your margin of safety faster and make informed decisions with confidence.
Get one month free and see how easy it is to track your business's financial health.
FAQs on margin of safety
Here are answers to common questions about calculating and using the margin of safety for your business.
How do I calculate margin of safety?
Subtract your break-even sales from your current sales, then divide by current sales. The result is a percentage showing how far sales can drop before you start losing money.
What is a good margin of safety percentage?
A margin of safety of 20–30% or higher is generally healthy for most small businesses. Businesses with stable demand may operate comfortably with 15–20%, while seasonal businesses should aim for 30% or more to weather demand fluctuations.
What does a 50% margin of safety mean?
A 50% margin of safety means your sales could drop by half before reaching the break-even point. This indicates a strong financial position with substantial room to absorb market changes or unexpected costs.
How can I use margin of safety effectively in my business?
Monitor your margin of safety monthly or quarterly to spot trends early. Use it when making major decisions like expanding your team, adjusting prices, or taking on new fixed costs. A shrinking margin signals a need to cut costs or boost sales.
What's the difference between margin of safety and break-even point?
The break-even point is the specific sales level where revenue exactly covers costs, resulting in zero profit or loss. Margin of safety measures the distance between your current sales and that break-even point, expressed as a percentage.
Disclaimer
Xero does not provide accounting, tax, business or legal advice. This guide has been provided for information purposes only. You should consult your own professional advisors for advice directly relating to your business or before taking action in relation to any of the content provided.
Start using Xero for free
Access Xero features for 30 days, then decide which plan best suits your business.