Home › Calculators › Margin of Safety Calculator

Margin of Safety Calculator

Two calculators in one. In business mode, see how much sales can drop before you hit break-even, in dollars, percent and units. In investing mode, compare a share price with your intrinsic value estimate and get the price to buy below for the cushion you want.

Last updated:

Type of margin of safety
$
Break-even sales
$

Rent, salaries, insurance and other costs that do not vary with sales.

%

(Sales − variable costs) ÷ sales.

$
$

Shows the margin of safety in units.

$

Your estimate, e.g. from a DCF or Graham number.

$
%

Your minimum discount to value before buying.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Margin of Safety Calculator

  1. Choose the mode: Business for break-even analysis or Investing for stock valuation.
  2. Business: enter actual or budgeted sales and either break-even sales or fixed costs and contribution margin ratio; add a unit price for units.
  3. Investing: enter your intrinsic value estimate, the market price and the margin of safety you require.
  4. Press Calculate margin of safety to see the result, the steps and the tables.
  5. Use the table to see how the cushion changes with sales or which prices meet different margins.

Margin of safety formulas

MeasureFormulaExample
Break-even salesFixed costs ÷ Contribution margin ratio$240,000 ÷ 40% = $600,000
Margin of safety ($)Actual sales − Break-even sales$800,000 − $600,000 = $200,000
Margin of safety (%)(Actual − Break-even) ÷ Actual$200,000 ÷ $800,000 = 25%
Operating incomeMargin of safety ($) × CM ratio$200,000 × 40% = $80,000
Degree of operating leverage1 ÷ Margin of safety ratio1 ÷ 0.25 = 4.0
Investing margin of safety(Intrinsic value − Price) ÷ Intrinsic value($80 − $60) ÷ $80 = 25%
Buy-below priceIntrinsic value × (1 − Required margin)$80 × (1 − 25%) = $60

Two meanings, one idea

In cost accounting, the margin of safety measures how far revenue can fall before the business stops covering its fixed costs. It is used in budgeting, pricing and deciding whether a new fixed cost (a hire, a lease) is affordable. Note that it only counts sales above break-even as profit-producing: every dollar of sales beyond break-even adds the contribution margin ratio to operating income.

In investing, the margin of safety is the gap between what you think a share is worth and what you pay. Because intrinsic value is an estimate built on forecasts, buying well below it leaves room for being wrong. The idea comes from Benjamin Graham's writing on value investing and is widely used by value investors today.

Tips

  • Use realistic sales figures: compare budgeted sales with a pessimistic case too, and see how the cushion changes in the what-if table.
  • Raise the cushion by lowering fixed costs, increasing prices or shifting the mix toward higher-margin products.
  • Be conservative with intrinsic value: use cautious growth rates and a sensible discount rate; a big margin of safety on an optimistic value is not a real margin.
  • Match the cushion to uncertainty: stable, predictable businesses may justify a smaller margin than cyclical or young companies.

Frequently asked questions

What is the margin of safety formula in accounting?

Margin of safety = (actual or budgeted sales − break-even sales) ÷ actual sales. In dollars it is simply actual sales − break-even sales, and in units it is actual units − break-even units. Example: sales of $800,000 and break-even sales of $600,000 give a margin of safety of $200,000, or 25%.

What is the margin of safety in investing?

It is the discount between a stock's estimated intrinsic value and its market price: (intrinsic value − price) ÷ intrinsic value. Popularized by Benjamin Graham, it is a cushion against errors in your valuation and unexpected bad news. A stock worth an estimated $80 trading at $60 has a 25% margin of safety.

What is a good margin of safety?

For a business, higher is safer: a 30% margin means sales could fall by almost a third before losses start, while under 10% leaves little room. For investors, many value investors require 25% to 50% depending on how predictable the business is and how confident they are in the valuation.

How is break-even sales calculated?

Break-even sales = fixed costs ÷ contribution margin ratio, where the contribution margin ratio = (sales − variable costs) ÷ sales. With $240,000 of fixed costs and a 40% contribution margin ratio, break-even sales are $600,000.

How does margin of safety relate to operating leverage?

The degree of operating leverage equals 1 ÷ margin of safety ratio. A 25% margin of safety means a DOL of 4, so a 10% change in sales changes operating income by about 40%. Businesses with high fixed costs have low margins of safety and high operating leverage.

Why do investors use intrinsic value instead of price in the denominator?

Dividing by intrinsic value expresses the cushion as the share of value you are not paying for, which is how Graham framed it. The calculator also shows upside, (value − price) ÷ price, which is the gain if the price rises to your estimate; it is always larger than the margin of safety.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Break Even CalculatorFind break-even units and revenue, contribution margin, margin of safety and a cost-volume chart.Contribution Margin CalculatorContribution margin per unit, CM ratio, operating profit and break-even point.DCF CalculatorDiscounted cash flow model: projected FCF, terminal value and intrinsic value per share.DuPont Analysis CalculatorSplit ROE into profit margin, asset turnover and leverage, with 3-step and 5-step models.Profit Margin CalculatorGross margin, markup, cost or price: solve for any one, single or bulk.Receipt MakerFill in a receipt template with items and tax, then print or save PDF.Car Depreciation CalculatorEstimate your car's value over time and its projected resale price.CTR CalculatorCalculate click-through rate and compare it with industry benchmarks.Conversion Rate CalculatorCalculate e-commerce conversion rate, revenue per visitor and goals.CPM CalculatorSolve CPM, cost, impressions, CTR and CPC for ad campaigns.Quote Estimate GeneratorCreate a quote or estimate with line items and tax, then save as PDF.ROAS Calculator (Return on Ad Spend)Calculate ROAS, break-even ROAS and profit for each ad channel.Customer Lifetime Value CalculatorCalculate customer lifetime value, LTV:CAC ratio and CAC payback from ARPU and churn.Churn Rate CalculatorCalculate customer churn and retention rates and convert monthly churn to annual.YouTube Money CalculatorEstimate YouTube earnings per day, month and year from views and RPM by niche.Instagram Engagement Rate CalculatorCalculate Instagram engagement rate by followers or reach and compare it to benchmarks.Ecommerce Profit CalculatorNet profit, margin, markup and break-even ROAS per order after fees, ads and returns.Amazon FBA CalculatorEstimate Amazon FBA fees, profit per unit, margin, ROI and break-even price.Etsy Fee CalculatorEtsy listing, transaction, processing and Offsite Ads fees, payout and net profit.eBay Fee CalculatoreBay final value fee, per-order fee, ad fees, payout and net profit on any sale.Stock Profit CalculatorStock trade profit and % return after commissions, plus the break-even sell price.Dollar Cost Averaging CalculatorSee units bought, average cost, value and profit for regular buys at your own price list.Startup Runway CalculatorProject cash, burn rate and runway month by month, with growth, break-even and zero-cash date.SaaS Pricing CalculatorModel flat, per-seat, tiered and volume plans with annual discounts to get MRR, ARR and ARPU.Employee Cost CalculatorWork out the true cost of an employee: payroll taxes, benefits, overhead and real hourly cost.Inventory Turnover CalculatorInventory turnover ratio and days inventory outstanding from COGS or sales and average stock.Markup CalculatorFind the selling price from cost and markup, or the markup and margin from cost and price.Unit Price CalculatorCompare up to 4 products by price per ounce, pound, liter or item and find the best deal.Cap Rate CalculatorCalculate a rental property's NOI, cap rate and optional cash-on-cash return.Depreciation CalculatorStraight-line, declining balance, double declining and sum-of-years depreciation schedules.Crypto Profit CalculatorCalculate crypto trade profit, ROI and break-even price after buy and sell fees.PayPal Fee CalculatorWork out PayPal fees, what you receive, and how much to ask for to get an exact amount.Stripe Fee CalculatorCalculate Stripe fees and payouts, or how much to charge to receive an exact amount.Net Promoter Score CalculatorCalculate NPS from promoter, passive and detractor counts or pasted 0–10 survey scores.CPC CalculatorCalculate cost per click from ad spend and clicks, plus CPM, CTR, CPA and ROAS.P/E Ratio CalculatorPrice-to-earnings ratio, earnings yield and PEG ratio from share price, EPS and growth.WACC CalculatorWeighted average cost of capital from equity, debt, their costs and the tax rate.Payback Period CalculatorPayback and discounted payback period for an investment with even or uneven cash flows.ARR CalculatorAnnual recurring revenue from MRR or contracts, with an ARR bridge, NRR and GRR.Asset Turnover Ratio CalculatorRevenue ÷ average total assets, plus fixed asset turnover, ROA and a benchmark check.Burn Multiple CalculatorNet burn divided by net new ARR, with a rating from amazing to bad and runway.CPV Calculator (Cost Per View)Cost per view from spend and views, views from a budget, and CPV to CPM conversion.Crypto Liquidation Price CalculatorLiquidation price of a leveraged long or short crypto position with isolated margin.Depreciation Recapture CalculatorTax on selling depreciated property: §1250 gain at up to 25%, §1245 recapture and capital gain.Discount Impact on Profit CalculatorHow many more sales you need after a discount to keep the same profit, from your margin.Email Marketing Metrics CalculatorOpen rate, CTR, click-to-open, bounce, unsubscribe and revenue per email from campaign counts.Enterprise Value CalculatorEV from market cap, debt, preferred, minority interest and cash, plus EV/EBITDA and EV/Sales.Financial Advisor Fee CalculatorSee what a 1% (or tiered) AUM advisor fee costs your portfolio over the years.Forex Margin CalculatorRequired margin for any forex trade from lot size, leverage and price, in your account currency.Founder Equity Split CalculatorWeight idea, time, role, risk and cash to suggest a fair co-founder equity split.Free Shipping Threshold CalculatorFind the minimum order for free shipping that covers its cost, from AOV, shipping and margin.GMROI CalculatorGross margin return on inventory: gross margin ÷ average inventory cost, with turnover.Graham Number CalculatorGraham number √(22.5 × EPS × BVPS), Graham intrinsic value and margin of safety.Impermanent Loss CalculatorImpermanent loss of a 50/50 liquidity pool, LP vs HODL value and the fees needed to break even.Inventory Carrying Cost CalculatorAnnual cost of holding inventory: capital, storage, insurance and obsolescence and the rate.Inventory Valuation Calculator (FIFO/LIFO)Compare ending inventory and COGS under FIFO, LIFO and weighted average from purchases and sales.Invoice Factoring CalculatorAdvance, reserve rebate, factoring fees and effective APR for selling an invoice.Leverage CalculatorPosition size, margin required, effective leverage and leveraged P&L for any market.MACRS Depreciation CalculatorUS tax depreciation schedule with MACRS GDS tables, half-year, mid-quarter or mid-month.Margin Call CalculatorPrice at which a margin call triggers for long or short stock, plus cash needed to meet one.Margin Interest CalculatorInterest on a margin loan by balance, rate and days, plus the return needed to break even.Market Cap CalculatorMarket capitalization from share price × shares, size class and the price for a target market cap.Market Share CalculatorMarket share %, relative market share, share change and HHI from sales figures.Marketing ROI CalculatorROMI from campaign revenue, baseline sales, gross margin and marketing cost, by channel too.Maximum Drawdown CalculatorPaste prices or balances to find the max drawdown, peak and trough dates and recovery time.Apartment Move-In Cost CalculatorTotal upfront cash to rent an apartment: rent, deposits, fees, movers and utility setup.Car Negative Equity CalculatorSee how upside down your car loan is and what rolling it into a new loan adds to the payment.Net Income CalculatorRevenue minus COGS, expenses, interest and tax: gross, operating and net income with margins.
See all 209 Business & Marketing Calculators →