Margin of Safety Calculator
- Benjamin Graham's margin of safety is the gap between what a business is worth and what you pay: intrinsic value $150.00 minus price $100.00 leaves a discount of $50.00 per share.
- Margin of safety = $50.00 ÷ $150.00 = 33.33%.
- The price could rise 50.00% to reach intrinsic value before the cushion disappears; Graham looked for discounts of roughly a third or more on net-current-asset bargains.
A margin of safety calculator measures how much cushion separates a price from a benchmark, and it handles two related uses. In investing, it shows the discount of price below intrinsic value using the formula (intrinsic value - market price) / intrinsic value x 100. If intrinsic value is $150 and price is $100, the result is 33.33%, with a discount of $50.00 per share and 50.00% implied upside to value. If intrinsic value is $80 and price is $92, the result is -15.00%, a negative margin of safety meaning the price already exceeds the estimated value. In cost accounting, it shows the excess of actual sales over break-even sales using (actual sales - break-even sales) / actual sales x 100. With actual sales of $500,000 against break-even sales of $350,000, the margin of safety is 30.00%, or $150,000.00 of sales headroom. A negative break-even margin of safety means the business is currently operating below break-even.
The method is the accepted standard because Benjamin Graham introduced the investing concept in Security Analysis (1934, written with David Dodd) and called it the central concept of The Intelligent Investor (1949). His bargain purchases typically demanded prices roughly a third or more below estimated value. The investing figure is only as good as the intrinsic value estimate behind it; Graham's point was that the discount protects the investor when the estimate turns out wrong. This page shows the formula, step-by-step workings, worked examples, and sources.
Worked examples
A Graham-style bargain
Primary result: 33.33% — a $150 value bought at $100 leaves a $50.00 per-share cushion, right at Graham's classic one-third discount. (Investing: intrinsic value vs price · 150 $ · 100 $ · 500000 $ · 350000 $)
| Margin of safety | 33.33% |
| Discount to intrinsic value | $50.00 per share |
| Implied upside to intrinsic value | 50.00% |
Paying above value
Primary result: -15.00% — paying $92 for an $80 value gives a negative margin of safety: the buyer needs the estimate to be wrong in their favour. (Investing: intrinsic value vs price · 80 $ · 92 $ · 500000 $ · 350000 $)
| Margin of safety | -15.00% |
| Discount to intrinsic value | $-12.00 per share |
| Implied upside to intrinsic value | -13.04% |
Operating headroom
Primary result: 30.00% — sales of $500,000 against a $350,000 break-even leave $150,000.00 of room before losses begin. (Break-even: actual vs break-even sales · 150 $ · 100 $ · 500000 $ · 350000 $)
| Margin of safety | 30.00% |
| Margin of safety in sales | $150,000.00 |
| Sales can fall by | 30.00% before losses begin |
Two meanings of one idea
Margin of safety is used in two related senses: in investing, the discount of price below intrinsic value; in cost accounting, the excess of actual sales over break-even sales. Though the settings differ, the underlying logic is the same. Both forms measure how much room you have before an estimate turns out to be wrong. A margin of safety calculator can handle either version, but it helps to understand what each one tells you.
In the investing form, the formula is: margin of safety = (intrinsic value - market price) / intrinsic value x 100. Benjamin Graham introduced this concept in Security Analysis (1934, written with David Dodd) and called it the central concept of The Intelligent Investor (1949). His bargain purchases typically demanded prices roughly a third or more below estimated value. Take intrinsic value $150, price $100: (150 - 100) / 150 = 33.33%, with a discount of $50.00 per share and 50.00% implied upside to value. The figure can go negative: intrinsic value $80, price $92 gives -15.00% — a negative margin of safety, meaning the price already exceeds the estimated value. The investing figure is only as good as the intrinsic value estimate behind it; Graham's point was that the discount protects the investor when the estimate turns out wrong.
In the break-even form, the formula is: margin of safety = (actual sales - break-even sales) / actual sales x 100. Consider actual sales $500,000 against break-even sales of $350,000: that gives a margin of safety of 30.00%, or $150,000.00 of sales headroom. A negative break-even margin of safety means the business is currently operating below break-even. In that case, the cushion has disappeared and the company is losing money at current sales levels.
Both forms express the same idea in different dress. The investor asks how far the price can fall before the purchase thesis is underwater. The manager asks how far sales can drop before the business stops covering its costs. Each answer is a cushion against error, and each is only as trustworthy as the numbers feeding it.
Graham and the investing form
Benjamin Graham introduced the investing form of margin of safety in Security Analysis (1934, written with David Dodd) and later called it the central concept of The Intelligent Investor (1949). In this setting, margin of safety is the discount of price below intrinsic value, and the formula is: margin of safety = (intrinsic value - market price) / intrinsic value x 100. A margin of safety calculator built for investing applies this formula directly, taking your intrinsic value estimate and the current market price as inputs and returning the percentage cushion between them.
Graham's bargain purchases typically demanded prices roughly a third or more below estimated value, a rule of thumb that still anchors how many value investors use the figure. The worked example makes the heuristic concrete: an intrinsic value of $150 against a price of $100 gives (150 - 100) / 150 = 33.33%, with a discount of $50.00 per share and 50.00% implied upside to value. The one-third threshold is not magic, but it reflects Graham's insistence on a substantial gap before committing capital. When the numbers run the other way, the calculator flags trouble: an intrinsic value of $80 against a price of $92 gives -15.00%, a negative margin of safety meaning the price already exceeds the estimated value.
The investing figure is only as good as the intrinsic value estimate behind it. Graham's point was that the discount protects the investor when the estimate turns out wrong. Intrinsic value is an estimate, not a fact, and every input carries uncertainty about future earnings, growth, and risk. A large margin of safety exists precisely so that if the estimate proves too optimistic, the purchase price remains low enough to limit the damage. The calculator quantifies that buffer, but the judgment behind the estimate is what makes the buffer meaningful.
This is where the investing form diverges from its cost accounting cousin. In cost accounting, margin of safety is the excess of actual sales over break-even sales, and the formula becomes: margin of safety = (actual sales - break-even sales) / actual sales x 100. The worked example shows actual sales of $500,000 against break-even sales of $350,000, giving a margin of safety of 30.00%, or $150,000.00 of sales headroom. A negative break-even margin of safety means the business is currently operating below break-even. Both forms measure cushion against error, but the investing form guards against valuation error while the break-even form guards against a sales shortfall.
The worked examples
The worked examples below show how a margin of safety calculator handles both the investing form and the break-even form. Each walk-through reproduces the formula step by step so you can see where the percentage comes from and what the dollar cushion behind it represents.
Start with the investing form: margin of safety equals intrinsic value minus market price, divided by intrinsic value, multiplied by 100. Suppose you estimate a stock's intrinsic value at $150 per share while it trades at $100. Plug in the numbers: (150 - 100) / 150 = 0.3333, which becomes 33.33% when multiplied by 100. The dollar cushion is the $50.00 per share discount of price below intrinsic value. Expressed from the opposite direction, the price sits 50.00% below value, giving 50.00% implied upside to value. Benjamin Graham, who introduced this concept in Security Analysis (1934, written with David Dodd) and called it the central concept of The Intelligent Investor (1949), typically demanded prices roughly a third or more below estimated value — so this result lines up with his bargain-hunting standard.
The same formula can return a negative number. Take an intrinsic value of $80 with a market price of $92. The calculation is (80 - 92) / 80 = -0.1500, or -15.00%. Here the margin of safety is negative, meaning the price already exceeds the estimated value by $12.00 per share. Rather than a cushion, the investor is paying a premium. Remember that the investing figure is only as good as the intrinsic value estimate behind it; Graham's point was that the discount protects the investor when the estimate turns out wrong, and a negative result offers no such protection.
Now switch to the cost-accounting form: margin of safety equals actual sales minus break-even sales, divided by actual sales, multiplied by 100. A business with actual sales of $500,000 against break-even sales of $350,000 produces (500,000 - 350,000) / 500,000 = 0.3000, or 30.00%. The dollar cushion here is $150,000.00 of sales headroom — the amount by which revenue could fall before the operation crosses into losses. A negative break-even margin of safety, by contrast, means the business is currently operating below break-even.
Limits: the estimate is the weak point
Every margin of safety calculator shares one unavoidable weakness: the answer it produces is only as trustworthy as the estimate fed into it. In investing, the formula is margin of safety = (intrinsic value - market price) / intrinsic value x 100. The market price is a known, observable figure, but intrinsic value is a judgment call. Discount the price below intrinsic value too aggressively and the calculator will dutifully report a large, comforting percentage that may still be wrong. Benjamin Graham introduced the concept in Security Analysis (1934, written with David Dodd) and called it the central concept of The Intelligent Investor (1949). His bargain purchases typically demanded prices roughly a third or more below estimated value. His point was not that the estimate would be precise, but that the discount protects the investor when the estimate turns out wrong.
Sensitivity to assumptions is what makes the estimate the weak point. A small change in the inputs behind intrinsic value — a growth rate, a discount rate, a cash flow projection — can swing the output dramatically. Consider a worked example: intrinsic value $150, price $100 gives (150 - 100) / 150 = 33.33%, with a discount of $50.00 per share and 50.00% implied upside to value. That looks like a strong margin of safety. But if the intrinsic value estimate drops to $92, the same $100 price produces -8.70%, a negative reading. The stock did not change; the estimate did. This is why users of a margin of safety calculator should test several intrinsic value scenarios, not just one, before trusting the result.
Negative readings can appear in both modes, and they carry different meanings. In the investing form, a worked example: intrinsic value $80, price $92 gives -15.00% — a negative margin of safety, meaning the price already exceeds the estimated value. The asset is trading above what the user believes it is worth, so there is no cushion against error. In the break-even form, margin of safety = (actual sales - break-even sales) / actual sales x 100. A negative break-even margin of safety means the business is currently operating below break-even. A worked example: actual sales $500,000 against break-even sales of $350,000 gives a margin of safety of 30.00%, or $150,000.00 of sales headroom. Flip the numbers — actual sales $350,000 against break-even sales of $500,000 — and the result is -42.86%, signaling that the business is losing money at current volume.
None of this makes the calculator useless; it makes the inputs decisive. Treat the intrinsic value estimate as the variable most likely to be wrong, and the margin of safety as the buffer designed to absorb that wrongness.
FAQs
What is the margin of safety?
The margin of safety is the cushion between value and price in investing, or between actual and break-even sales in accounting. It is expressed as a percentage, giving you a quick way to see how much room you have before an investment or business operation loses money.
How do you calculate the margin of safety?
For investing, calculate it as (intrinsic value - price) divided by intrinsic value. For break-even analysis, calculate it as (actual sales - break-even sales) divided by actual sales. Both formulas produce a percentage that tells you how large your cushion is.
What margin of safety did Graham look for?
Benjamin Graham looked for substantial discounts in his classic bargain purchases. He typically sought prices roughly a third or more below intrinsic value. This large buffer was meant to protect against errors in estimation and unforeseen downturns, making it a cornerstone of his value investing approach.
What does a negative margin of safety mean?
A negative margin of safety means trouble. For a stock, it indicates you are paying more than your value estimate for the investment. For a business, it means sales are below break-even, so the company is operating at a loss rather than generating profit.
Is a high margin of safety always good?
A high margin of safety signals a cushion, but it rests on the value estimate. A wrong estimate can manufacture a fake margin that looks safe but is not. The percentage only matters if the numbers behind it are sound, so always question the inputs.
How do I estimate intrinsic value?
Common routes to estimate intrinsic value are discounted cash flow and dividend discount models. This site has a dividend discount model calculator you can use to work through the numbers. Choosing the right approach depends on the type of asset and the data available.