What Is Margin of Safety? Meaning and Examples

By Markets & Investing DeskUpdated Nov 10, 2026

Margin of Safety
Illustration · Fintrev

Definition

The margin of safety is the cushion between an estimate and a loss: in investing, the gap between intrinsic value and price paid; in accounting, how far sales exceed break-even.

Key takeaways

  • Investors calculate it as intrinsic value minus market price, divided by intrinsic value.
  • A stock estimated at $80 and trading at $60 carries a 25% margin of safety.
  • In CVP analysis, the margin of safety ratio equals 1 divided by the degree of operating leverage.
  • A business can have a high profit margin and still a small margin of safety near break-even.

The margin of safety is the cushion between an estimate and the point where you start losing money. In investing, it is the gap between a security’s estimated intrinsic value and the price you pay for it. In managerial accounting, it is the amount by which actual or budgeted sales exceed break-even sales. Both versions answer one question: how wrong can the numbers be before the result turns into a loss?

Margin of Safety in Investing

Benjamin Graham, often called the father of value investing, developed the concept in Security Analysis (1934, with David Dodd) and gave it a full chapter in The Intelligent Investor, where he described it as the central concept of investment. A stock priced at $1 today might be worth 50 cents or $1.50 later, and his own estimate of its value could be off. Paying less than his estimate gave him room to be wrong without losing money.

Warren Buffett, Graham’s best-known student, has been known to apply a discount of as much as 50% to his estimate of intrinsic value when setting a target price. Seth Klarman later titled his 1991 book on value investing Margin of Safety.

Formula

Margin of safety (%) = (Intrinsic value − Market price) ÷ Intrinsic value

Dividing by intrinsic value shows how far your value estimate could fall before the price you paid exceeds it. Some investors divide by the market price instead, which produces a larger percentage for the same gap, so check which convention a source uses before comparing figures.

Worked example (hypothetical)

An investor estimates that a company’s shares are worth $80 each, based on projected cash flows and earnings. The stock trades at $60.

  • Margin of safety = ($80 − $60) ÷ $80 = 25%
  • If the investor’s rule requires a 30% margin, the target buy price is $80 × (1 − 0.30) = $56

At $60, the estimate could be 25% too optimistic and the investor would still not have overpaid.

How investors set the required margin

Intrinsic value comes from both quantitative inputs (earnings, cash flow, assets, debt) and qualitative ones (management quality, governance, competitive position, industry conditions), with ratios such as the P/E ratio and earnings per share often feeding the estimate.

The required discount usually scales with uncertainty. A business with volatile earnings, heavy debt or cyclical demand justifies a wider margin than one with steady, predictable cash flow, because the range of plausible values is wider.

Margin of Safety in Accounting

In cost-volume-profit (CVP) analysis, the margin of safety tells management how much sales can drop before the business stops covering its costs. It is used for budgeting, pricing decisions and stress-testing forecasts.

Formulas

  • In dollars: Actual or budgeted sales − Break-even sales
  • In units: Actual or budgeted units − Break-even units
  • As a ratio: Margin of safety in dollars ÷ Actual or budgeted sales

Break-even units equal fixed costs divided by contribution margin per unit (selling price minus variable cost per unit).

Worked example (hypothetical)

A company sells a product for $50 with a variable cost of $30, leaving a $20 contribution margin per unit. Fixed costs are $200,000. Budgeted sales are 12,500 units.

  • Break-even = $200,000 ÷ $20 = 10,000 units, or $500,000 in sales
  • Budgeted sales = 12,500 × $50 = $625,000
  • Margin of safety = 2,500 units, or $125,000
  • Margin of safety ratio = $125,000 ÷ $625,000 = 20%

Sales could fall 20% from budget before the company records an operating loss, assuming price, variable cost per unit and fixed costs stay as modeled.

Interpreting the ratio

There is no universal “good” margin of safety. A 12% ratio means sales can fall about 12% before break-even; whether that is comfortable depends on how much sales normally swing. A business whose year-over-year sales have moved 20% in a bad year has a narrow margin at 12%, while one with very stable demand may be fine.

Revenue minus total cost is operating profit, not the margin of safety. The margin of safety compares sales with break-even sales; profit is what those excess sales earn after costs.

Margin of Safety vs. Operating Leverage

The degree of operating leverage (DOL) measures how much operating income changes for a given percentage change in sales. It equals total contribution margin divided by operating income. The two metrics are different, but under standard CVP assumptions they are mathematical inverses:

Margin of safety ratio = 1 ÷ DOL

In the example above, total contribution margin is $250,000 and operating income is $50,000, so DOL is 5. The inverse, 1 ÷ 5, equals the 20% margin of safety. A low margin of safety therefore signals high operating leverage: profits are sensitive to small changes in sales.

Limitations

  • Intrinsic value is subjective. Analysts use different methods and assumptions, and small changes in growth or discount rates can move a valuation substantially. A margin calculated from an inflated estimate gives false comfort.
  • Cheap is not the same as undervalued. A stock can trade far below a past estimate because the business is deteriorating. Graham’s logic applies when the price falls for reasons other than a collapse in the earnings outlook.
  • Opportunity cost. A strict required margin may never be met for high-quality companies, so an investor can wait indefinitely while the stock rises.
  • CVP simplifications. The accounting version assumes a constant selling price, constant variable cost per unit, fixed costs that stay fixed and, for multiple products, a stable sales mix. Real costs often step up at certain volumes.
  • No guarantee. Both versions measure a buffer against error. They do not predict whether the error will exceed it.

Terms It Is Often Confused With

Buying on margin refers to borrowing from a broker to buy securities. The cushion that matters there is the equity in the account relative to the maintenance requirement, which falls after a loss and can trigger a margin call. It is unrelated to Graham’s concept.

Profit margin is profit divided by revenue. A business can have a high profit margin and still a small margin of safety if sales sit just above break-even.

Safety factor in engineering, the ratio of a structure’s capacity to its expected load, is the origin of the phrase. The financial meaning borrows the same idea: build in more capacity than the estimate says you need.

The Bottom Line

Value investors and managers who budget or price products both use the margin of safety to see how wrong their numbers can be before a loss. The required cushion should widen with uncertainty, such as volatile earnings, heavy debt or swinging sales. The figure is only as reliable as the value estimate or cost assumptions behind it, and it measures a buffer without predicting whether errors will exceed it.

About this page

Written by Markets & Investing Desk

The Markets & Investing Desk covers investing guides, the financial dictionary, companies, people, economics and market data.

Published
Last updated

Spotted an error? Tell the editors. This page is general information, not financial advice.