Margin of Safety Calculator
Compare current price with an intrinsic value estimate to calculate the discount, price ratio, and implied upside.
Earlier editorial review
- Reviewed
- 2026-09-25
- Methodology
- 1.1
Sources
How it works
Enter an intrinsic value estimate and current price per share in the same currency. The tool calculates their difference, the difference as a percentage of intrinsic value, and current price as a percentage of the estimate.
The discount is divided by intrinsic value. Implied upside is divided by current price, so the two percentages use different denominators. The discount bands are illustrative display ranges. They are not risk grades, buy signals, recommendations, or forecasts.
Change the intrinsic value estimate to compare scenarios while holding current price fixed, or change the price to see how the ratios respond. The tool does not produce or validate either input.
Keep the estimate date, method, and assumptions with your own notes. The tool does not fetch market prices or update intrinsic value estimates.
Step by step
- Enter intrinsic value and current price per share.
- Use the same currency and share basis for both inputs.
- Compare the discount, price ratio, and implied upside.
Worked example
With an intrinsic value estimate of 120 and a current price of 78, the difference is 42 per share. Price is 65% of the estimate, so the discount is 35%. These are arithmetic results, not evidence that the estimate is correct.
At the same price of 78 and a lower estimate of 90, the discount is 13.33% and price is 86.67% of the estimate. The implied upside to 90 is 15.38%. A changed estimate changes each ratio.
When to use this calculator
Use this calculator to compare a current price with an intrinsic value estimate you have already produced. Test more than one estimate to see how dependent the discount is on your assumptions.
Record why scenarios differ in your own research notes. The calculator does not recommend buying, selling, or sizing a position.
Common mistakes
Do not compare enterprise value with a per share price. Enter values for the same claim, on the same per share basis, and in the same currency.
Do not treat a larger discount as proof of lower risk or as a position sizing rule. An estimate can be wrong even when the arithmetic is correct.
The formulas
Per Share Difference = Intrinsic Value − Current Price
Discount = Per Share Difference / Intrinsic Value × 100
Price as % of Estimate = Current Price / Intrinsic Value × 100
Implied Upside = Per Share Difference / Current Price × 100
Intrinsic value must be positive and current price cannot be negative. Both inputs must use the same currency and per share basis. Implied upside is unavailable when current price is zero. The calculation does not estimate intrinsic value or loss probability.
Limitations and assumptions
Every output depends on the user supplied estimate and price. The tool does not value a company, verify inputs, assess uncertainty or business risk, or predict returns. The discount bands are illustrative only and do not indicate safety or suitability. Both inputs must refer to the same share claim and currency.
Key terms
- Margin of safety
- The difference between an intrinsic value estimate and current price, divided by the estimate.
- Implied upside
- The difference divided by current price. It is undefined when current price is zero.
- Model inputs
- The price and intrinsic value entered by the user, on a per share basis.
Compare related measures
DCF Valuation can help produce an intrinsic value estimate. Free Cash Flow Yield compares price with cash generation. The calculator only compares the values you enter.
Altman Z Score examines accounting measures of financial distress. It addresses a different question from the price discount shown here.
FAQ
What does margin of safety measure?
Margin of safety is the difference between an intrinsic value estimate and current price, expressed as a percentage of the estimate. For example, a price 35% below an estimate has a 35% margin of safety. It is a relationship between two entered values, not a measure of investment quality or protection from loss.
How do discount and upside percentages differ?
The margin percentage divides the difference by intrinsic value. The price to intrinsic ratio divides price by intrinsic value. Upside to the estimate uses current price as its denominator, so it is not the same percentage as the discount. If current price is zero, that upside ratio is undefined.
How are the displayed values calculated?
Subtract current price from intrinsic value for the per share difference. Divide that difference by intrinsic value for the discount percentage. Divide current price by intrinsic value for price as a percentage of the estimate. Divide the difference by current price for implied upside when current price is above zero.
What is a good margin of safety percentage?
There is no universal discount threshold that makes a security safe or suitable. The displayed ranges are fixed illustrative bands for comparing entered scenarios. They are not historical rules, ratings, recommendations, or evidence that a security is undervalued.
What does a negative margin mean?
A negative margin means the entered price is above the entered intrinsic value estimate. It describes the difference between those inputs. It does not predict whether the price will rise or fall.
Related tools
Use DCF Valuation to build an estimate, Free Cash Flow Yield to compare price with cash generation, or Altman Z Score to examine accounting based distress measures.