2026-09-22 7 min read

Margin of Safety Calculator

Discount of market price to intrinsic value — the error budget. Live calculator with worked steps and charts.

Calculator

Intrinsic Value per Share
$
Current Share Price Help
$

Latest market price per share.

This valuation ratios calculator runs on standard equity maths: price moves plus dividends minus costs drive returns, payouts drive income, and multiples or discounted cash drive value.

Results

Normal

Margin of Safety

26.92%

Discount to intrinsic value.

Intrinsic Value

$130.00

Current Price

$95.00

Dollar Buffer per Share

$35

Live results update as you type — currently showing margin of safety of 26.92%. Replace the defaults with your own prices, payouts and share counts for an exact answer.

Visualizations

Margin of Safety (Higher Is Better)

26.9%
-10080

Formula

Discount to intrinsic — the error budget. Positive is room; negative pays a premium for perfection.

Margin of safety = (Intrinsic − Price) ÷ Intrinsic

Variables

SymbolNameUnitDescription
VIntrinsiccurrencyYour estimate
PPricecurrencyMarket

Explanation

This percent is how wrong you can be and still avoid overpaying.

Step-by-Step Calculation

Follow each step to understand how the result is calculated from your inputs.

Step 1

Take your intrinsic estimate as the anchor.

V = DCF / multiple / asset value
Intrinsic:$130.00
Result: $130.00
Step 2

Subtract the market price for the buffer.

Buffer = V − price
Price:$95.00
Result: $35.00
Step 3

Express the buffer as a share of intrinsic.

MoS = buffer ÷ V
Buffer:$35.00
Result: 26.92%
Final Answer
26.92%

Worked Examples

See how the calculator works with different scenarios.

Scenario

The margin of safety calculator run on the values above, showing the full calculation path rather than only the answer.

Inputs

Intrinsic Value per Share:$130
Current Share Price:$95

Calculation

1. Take your intrinsic estimate as the anchor. → $130.00 2. Subtract the market price for the buffer. → $35.00 3. Express the buffer as a share of intrinsic. → 26.92%

Result

Margin of Safety: 26.92%

Interpretation

This percent is how wrong you can be and still avoid overpaying.

Understanding Your Result

Your Result: Margin of Safety: 26.92%

Typical range: Value investors demand 20–40% margins; 0% is fair value, negative pays a premium.

What This Means

This percent is how wrong you can be and still avoid overpaying.

Why It Matters

26.92% margin ($130.00 vs $95.00).

Professional Interpretation

26.92% margin ($130.00 vs $95.00).

How this is calculated

Discount to intrinsic — the error budget. Positive is room; negative pays a premium for perfection.

What drives the result

Every multiple is price divided by something fundamental, so cheapness always depends on the denominator surviving. Enterprise value fixes market cap for debt and cash, forward estimates trade certainty for relevance, and discounted cash flow makes the growth, margin and discount assumptions explicit — the range they produce is the answer, not the midpoint.

Recommendations

  • •Scale in as the margin widens — cheap gets cheaper before it turns.
  • •Recompute intrinsic quarterly; margins decay as prices rise.

Educational Content

Introduction

Valuation translates stories into multiples and cash into present value. Ratios (P/E, PEG, P/B, P/S, EV/EBITDA) price each dollar of earnings, growth, book, sales and operating cash; DCF, Gordon and intrinsic models discount the future; quality ratios (ROE, ROIC) and yields (earnings, FCF) test whether the price deserves to hold.

Concept Explanation

Every multiple is price divided by something fundamental, so cheapness always depends on the denominator surviving. Enterprise value fixes market cap for debt and cash, forward estimates trade certainty for relevance, and discounted cash flow makes the growth, margin and discount assumptions explicit — the range they produce is the answer, not the midpoint.

Applications

▸Screening cheap versus expensive within a sector on consistent multiples
▸Adjusting market cap for debt and cash before comparing takeovers
▸Discounting dividends or free cash flow to a per-share fair value
▸Demanding a margin of safety between price and intrinsic worth

Benefits

  • •Puts every holding on the same per-share, per-dollar footing
  • •Separates operating performance (ROIC) from leverage flattery (ROE)
  • •Makes DCF assumptions auditable instead of hidden in a target price
  • •Turns “is it cheap?” into a number with a buffer, not a feeling

Limitations

  • •Multiples collapse on negative or cyclical denominators — use the right ratio per situation
  • •Terminal value often carries most of a DCF, so small tweaks swing the answer
  • •Accounting choices (goodwill, stock comp, leases) distort book, earnings and FCF
  • •Cheap stocks can stay cheap for structural reasons the multiple cannot see

Best Practices

  • •Compare multiples only within sectors and growth cohorts
  • •Use diluted shares and enterprise value for takeover-relevant math
  • •Stress every DCF ±2pts on discount and ±1pt on terminal growth
  • •Require a 20–40% margin of safety before calling anything a bargain

Common Misconceptions

Myth: A low P/E always means cheap
Truth: Cyclical peaks inflate earnings and flatter P/E right before the fall — normalised or forward earnings tell the truer story.
Myth: Market cap is the takeover price
Truth: Buyers assume debt and pocket cash, so enterprise value — not market cap — is what they actually pay for.

Practical Tips

  • •Scale in as margins widen.
  • •Recompute intrinsic as prices move — margins decay.

Common Mistakes

Buying at fair value with leverage
No buffer plus debt is fragility squared.

Assumptions

This calculator makes the following assumptions to provide estimates:

Intrinsic trusted: Margin only means something if V is honest.

Limitations

Be aware of these limitations when using this calculator:

Limitation: Multiples collapse on negative or cyclical denominators — use the right ratio per situation
Limitation: Terminal value often carries most of a DCF, so small tweaks swing the answer
Limitation: Accounting choices (goodwill, stock comp, leases) distort book, earnings and FCF
Limitation: Cheap stocks can stay cheap for structural reasons the multiple cannot see

Frequently Asked Questions

Answers to common questions about this calculator.

What margin is enough?
Typically 20–40% for single stocks; wider for cyclicals and leverage.
Who uses the margin of safety calculator?
It is used by value investors demanding buffers, by risk managers sizing bets, and by anyone refusing to pay fair value. It sits in the Valuation Ratios group of the Stocks, Dividends & Equities section of Atlascalcs.
How accurate is the margin of safety calculator?
Every figure follows directly from the inputs using standard equity mathematics, so it is accurate to the quality of the values you enter. Broker rounding, corporate actions and tax treatment explain small differences against a statement.
Should I compare total return or price return?
Total return — price plus dividends minus fees — is the wealth you actually keep. Price return alone understates buy-and-hold compounding and flatters active trading.
Does rounding change the results?
Every calculation runs on full precision and rounds only for display. Broker statements round to cents and apply their own corporate-action adjustments, so expect tiny differences.
Are taxes included?
No. Taxes depend on holding period, account type and jurisdiction, so every figure here is pre-tax. Short-term gains and non-qualified dividends are typically taxed as ordinary income.
What should I have ready before using these calculators?
Per-share prices, share counts, commissions on both legs, dividends received, and for valuation the earnings, book, sales, debt, cash and share-count figures from the latest filings.
How do splits affect historical prices?
Split-adjust old prices before computing multi-year returns — otherwise a 2-for-1 split looks like a 50% crash. Data providers usually publish adjusted closes for this reason.

Related Calculators

Explore more calculators related to this topic.

Related Guides

Deepen your understanding with these educational resources.

Glossary

Technical terms used in mortgage calculations explained in plain language.

Margin of safety
The discount of price to intrinsic value — room for error before overpaying.
Intrinsic value
An independent estimate of what a share is truly worth, apart from its market price.

Authoritative References

Trusted sources and standards referenced by this calculator.

Applicable Standards

Returns computed pre-tax in nominal dollars; commissions and dividends included exactly as enteredCAGR uses discrete annual compounding; yields use trailing-twelve-month dividends over priceMultiples use diluted shares where share counts apply; EV adds debt and subtracts cashMoney rounded for display only; all calculations run at full precision

Was This Calculator Helpful?

Page Information

Last Updated:

2026-09-22

Version:

2.0.0

License:

Free to use for educational and professional purposes.