Skip to content
Finance

Margin of Safety Calculator

Enter a stock price and intrinsic value to instantly see your margin of safety as a percentage, and whether it meets the classic value-investing threshold. Switch to the EPS growth model to derive the intrinsic value from earnings, growth, and your required return. A separate break-even mode covers the business version of the formula.

Your details

Choose how you want to calculate the margin of safety.
The price per share you would pay today.
USD
Your estimate of the true per-share value of the business.
USD
Margin of safetyAdequate margin of safety
0.4%

How far the current price is below intrinsic value, as a percentage of intrinsic value

Price discount35USD
Future EPS-
Future stock value-
Sticker price (intrinsic value)100USD
MOS buy price (50% of sticker)-
Safety buffer-
0.4% %
Overvalued<0At fair value0-0.15Thin MOS0.15-0.3Adequate MOS0.3-0.5Strong MOS0.5+

Margin of safety: 35.0%.

  • A 35.0% margin of safety meets the common 30% threshold many value investors require before committing capital.
  • Margin of safety does not guarantee a profit; it reduces the probability of a permanent capital loss, not the certainty of a gain.

Next stepCross-check the intrinsic value estimate with at least one other method (DCF, EV/EBITDA multiples) before committing capital.

Formula

MOS=Intrinsic ValueCurrent PriceIntrinsic Value×100%(Sticker Price model: FV=EPS0×(1+g)n×PE,  SP=FV(1+r)n)\text{MOS} = \dfrac{\text{Intrinsic Value} - \text{Current Price}}{\text{Intrinsic Value}} \times 100\%\quad\text{(Sticker Price model: }FV = EPS_0 \times (1+g)^n \times PE,\;SP = \dfrac{FV}{(1+r)^n}\text{)}

Worked example

Suppose a stock trades at $65 and you estimate fair value at $100. MOS = (100 - 65) / 100 = 35%, which clears the common 30% threshold. Using the EPS model: current EPS = $4.50, 12% annual growth for 10 years gives future EPS = $4.50 x 1.12^10 = $13.96; at a P/E of 20 the future price is $279.12; discounted at 15% for 10 years the sticker price = $279.12 / 1.15^10 = $68.99. The MOS buy price (50% of sticker) is $34.50.

What is margin of safety?

Margin of safety (MOS) is the gap between the current market price of an asset and your estimate of its intrinsic value, expressed as a percentage of intrinsic value. Coined by Benjamin Graham in "The Intelligent Investor" (1949), the concept is the cornerstone of value investing: by only buying at a meaningful discount to fair value, an investor builds in a buffer against estimation errors, accounting irregularities, and general market uncertainty. Warren Buffett later described it as the three most important words in investing. In a business context, MOS measures how far actual revenue exceeds the break-even point, giving management a sense of how much sales could fall before the business slips into a loss.

How to use this calculator

Choose one of three modes from the drop-down at the top:

  • Price vs intrinsic value: the simplest form. Enter the current stock price and your estimate of intrinsic value (from a DCF model, asset valuation, or comparable analysis). The calculator returns the margin of safety percentage and the dollar discount.
  • EPS growth (sticker price) model: popularised by Phil Town's Rule #1 method. Enter current EPS, an annual growth rate, a target P/E ratio, your minimum acceptable annual return, and the investment horizon in years. The calculator projects future EPS and stock price, discounts back to present value to find the sticker price (intrinsic value), and then halves it to get the MOS buy price - the maximum price at which you have a 50% safety buffer.
  • Break-even analysis: enter actual (or projected) revenue and the revenue level at which total costs are exactly covered. The calculator returns the MOS as a percentage of actual revenue and the dollar safety buffer.

All three modes update in real time as you type. The show-your-work panel beneath the results walks through each arithmetic step with your own numbers substituted in.

The EPS growth (sticker price) model explained

The sticker price model turns a growth forecast into a present fair value in four steps:

  1. Project future EPS: multiply today's EPS by (1 + growth rate)^years. Use the lower of the historical earnings growth rate or analyst consensus estimates, and most practitioners cap the rate at 15% to avoid overly optimistic projections.
  2. Estimate the future stock price: multiply projected EPS by the P/E ratio you expect the company to trade at. A common rule of thumb is to use twice the growth rate as a rough P/E proxy, or to use the historical average P/E.
  3. Discount back to present value: divide the future price by (1 + required return)^years. A 15% annual return is a popular benchmark; it roughly doubles money every five years.
  4. Apply the safety margin: halve the sticker price. The result is the MOS buy price - the price at which you have a 50% cushion against your own valuation errors.

Margin of safety for business break-even analysis

In management accounting the margin of safety answers a different question: how much can sales decline before the business starts losing money? The formula is MOS = (Actual Revenue - Break-even Revenue) / Actual Revenue. A company with $500,000 in revenue and a break-even point of $350,000 has an MOS of 30% - sales could drop by 30% before the business turns a loss. This is a key metric for scenario planning, debt capacity analysis, and pricing decisions. A thin MOS in this context typically triggers cost-reduction initiatives or a push to raise the contribution margin per unit.

Limitations and caveats

Margin of safety is only as reliable as the intrinsic value estimate underpinning it:

  • Intrinsic value is subjective. Two analysts using the same inputs but different growth assumptions or discount rates can arrive at wildly different sticker prices.
  • The EPS growth model works best for mature, predictable businesses with stable earnings. It is poorly suited to early-stage companies, cyclicals, or firms that rely on non-EPS metrics (free cash flow, book value, EBITDA).
  • A large MOS does not guarantee a profit. If the intrinsic value estimate is wrong (for example, because a competitive threat was missed), even a 50% discount to the estimated value may not protect against permanent capital loss.
  • Margin of safety is a starting filter, not a complete investment thesis. Always pair it with qualitative analysis of the business model, competitive moat, management quality, and balance sheet strength.

This calculator is for educational purposes. Consult a qualified financial adviser before making investment decisions.

Margin of safety interpretation guide

MOS rangeInterpretationTypical action
Above 50% Strong Buy with confidence
30% to 50% Adequate Generally acceptable for most value investors
15% to 30% Thin Proceed with caution; revisit valuation assumptions
0% to 15% At fair value Hold if already owned; wait for dip before buying
Below 0% Overvalued No margin of safety; downside risk if valuation is wrong

Common thresholds used by value investors and analysts.

Frequently asked questions

What is a good margin of safety percentage?

Most value investors look for at least 30% before buying, and many (including followers of the Rule #1 / Phil Town method) target 50%. The right threshold depends on how confident you are in your intrinsic value estimate: the less certain you are, the wider the margin you should demand. For very predictable, asset-heavy businesses, 20-25% may suffice; for fast-changing technology companies, 50%+ is more prudent.

How is intrinsic value different from market price?

Market price is what other investors are currently willing to pay for a share. Intrinsic value is what a business is actually worth based on its future earning power, assets, and competitive position. The two can diverge dramatically in the short run due to sentiment, macroeconomic news, or liquidity needs - which is precisely what value investors exploit.

What growth rate should I use in the EPS model?

The conservative approach is to use the lower of the company's average EPS growth over the past 5-10 years and the current analyst consensus estimate. Most practitioners also impose a ceiling of 15%: a very high projected growth rate creates a misleadingly large sticker price and can give false confidence in a large MOS. When in doubt, run the calculator with two or three different growth rates to see how sensitive the sticker price is.

Can margin of safety be negative?

Yes. A negative MOS means the current price is above your intrinsic value estimate, i.e., the stock appears overvalued. In the break-even version, a negative MOS means revenue is below the break-even point and the business is operating at a loss. In both cases the number tells you there is no cushion and that further adverse movement increases the risk of a permanent loss.

How does margin of safety relate to Benjamin Graham?

Benjamin Graham introduced the concept in his 1934 book "Security Analysis" and elaborated on it in "The Intelligent Investor" (1949). His insight was that an investor who insists on buying only at a discount to fair value is protected in two ways: errors in valuation are absorbed by the cushion, and market fluctuations are less likely to force a sale at a loss. Warren Buffett, Graham's most famous student, has cited margin of safety as the central principle of his investment approach.

Why does the sticker price model halve the intrinsic value?

The 50% MOS buy price is a rule of thumb introduced by Phil Town to give investors a very wide buffer against mistakes in the growth rate or P/E assumptions. At 50% below sticker price, you are essentially betting that your growth estimate could be off by half and you would still earn a reasonable return. This is conservative by design: it means you will miss many stocks that turn out to be good investments at prices above the 50% threshold.

Is margin of safety the same as a discount to book value?

No, though they are related. A discount to book value (price-to-book below 1) was Graham's preferred measure for his "net-net" deep value strategy. Modern margin of safety calculations more often use earnings-based intrinsic value (as in this calculator's EPS model) or a full discounted-cash-flow valuation. For capital-light businesses with strong brand value or intellectual property, book value can badly understate intrinsic value, so an earnings-based approach is usually more appropriate.

Sources

Written by Sarah Klein, CFP Certified Financial Planner · Chicago, USA

Fifteen years translating mortgage tables and amortization schedules into decisions that actually help real borrowers.

How we build & check our calculators

This tool provides general information and education, not professional advice. For decisions about your health or finances, consult a qualified professional.

Search 3,500+ calculators

Loading search…