Margin of Safety Explained: Formula, How to Estimate Intrinsic Value, How Much Margin to Demand and Why It Protects You From Wrong Estimates
- November 20, 2026
- Posted by: Ankit Jaiswal
- Category: Uncategorized
Margin of safety = (intrinsic value minus market price) divided by intrinsic value. Buy only at a discount to your estimate. 25% to 40% is common. It protects against errors in your forecast.
Quick Answer
Margin of safety explained simply: it is the gap between a stock’s estimated intrinsic value and its market price, usually shown as a percentage of intrinsic value. Buying only when the price is well below your estimate gives you a buffer if your forecast turns out to be too optimistic. Many value investors look for a discount of 25% to 40%, depending on how certain the business is.
Margin of safety explained for investors who value stocks but know that every estimate can be wrong: it is the discount you demand to protect yourself from your own errors.
This guide covers the formula, a worked example, how to choose the margin and the limits. It is educational and not a recommendation.
Click Here – Get Free Investment Predictions
Margin of Safety Explained: The Formula
Margin of safety (%) = (intrinsic value minus market price) divided by intrinsic value x 100. A positive figure means the stock trades below your estimate of its worth.
| Item | Value (illustrative) |
|---|---|
| Estimated intrinsic value | Rs 500 |
| Market price | Rs 350 |
| Margin of safety | (500 – 350) / 500 = 30% |
| Price needed for a 40% margin | 500 x 0.60 = Rs 300 |
Where the Intrinsic Value Comes From
- A discounted cash flow model, which values future free cash flows at a discount rate.
- The Graham number, which uses earnings per share and book value for stable companies.
- A target price multiple, such as a fair price to earnings ratio applied to expected earnings.
- The dividend discount model, for steady dividend payers.
Use more than one method and take a conservative figure. If methods disagree widely, the business is hard to value, which means you need a bigger margin or should skip the stock.
How Much Margin to Demand
| Business type | Suggested margin (guide) |
|---|---|
| Stable, predictable cash flows | 20% to 30% |
| Average quality, some cyclicality | 30% to 40% |
| Cyclical or uncertain earnings | 40% or more |
| Turnaround or early stage | Avoid, or demand a very large margin |
These ranges are guides, not rules. The less certain your forecast, the bigger the margin you should ask for.
Use the Univest Screener to check live fundamentals before you act on any idea.
Why It Works
If you buy at fair value and your forecast is right, you earn the return of the business. If you buy at fair value and your forecast is too high, you lose. A margin gives you room: even if growth is lower than expected, you may still earn an acceptable return. It turns a precise estimate problem into a range problem.
Margin of safety is the core of value investing. A value investing approach accepts that valuation is imprecise, so the buffer does the work that precision cannot. Downside protection matters more than upside, and a stock that looks undervalued on one method may not on another.
How to Apply It Step by Step
- Estimate earnings or free cash flow for the next five years with conservative growth.
- Calculate intrinsic value with a method that suits the business.
- Apply a haircut, such as using 80% of the estimate, if you are unsure.
- Compute the buffer against the current market price.
- Buy only if the margin meets your threshold, and review when new results come.
Large and stable companies in the Nifty 50 seldom trade at big discounts, so investors often look in the mid cap space or in sell offs for margin.
Limits
- A low price is not a real buffer if the business is deteriorating. A low priced looking stock can be a value trap.
- The margin is only as good as the estimate behind it.
- Waiting for a big discount can mean missing good businesses.
- Markets can stay below fair value for a long time.
Download the Univest iOS App or Univest Android App to get daily stock research and market updates.
Conclusion
Margin of safety is the discount to your estimate of intrinsic value, and it protects you when the forecast is too optimistic. Use a conservative valuation and demand a bigger margin when the business is less certain.
Combine it with a check on the quality of the business.
Disclaimer: Data and figures in this article are sourced from publicly available information. These may or may not be accurate. Please verify all data with the official NSE (nseindia.com) and BSE (bseindia.com) websites before making any investment decision. Investments in securities are subject to market risk. This content is for educational purposes only and is not investment advice by Univest (SEBI RA INH000013776).
Frequently Asked Questions
What is margin of safety in investing?
Ans. It is the difference between a stock’s intrinsic value and its market price, shown as a percentage of intrinsic value. Buying with a margin protects you if your estimate is wrong.
How do you calculate margin of safety?
Ans. Subtract the market price from the intrinsic value, divide by the intrinsic value and multiply by 100. For example, intrinsic value of Rs 500 and a price of Rs 350 gives a 30% margin.
How much margin of safety is enough?
Ans. It depends on how certain the business is. Many investors use 20% to 30% for stable businesses and 40% or more for cyclical or uncertain ones.
Who introduced the margin of safety concept?
Ans. Benjamin Graham, the teacher of Warren Buffett, made it a core idea of value investing in his writings on security analysis.
Can a stock have a negative margin of safety?
Ans. Yes. If the price is above your intrinsic value estimate, the margin is negative, which means you would be paying more than the stock is worth by your estimate.
Does a high margin of safety mean a good buy?
Ans. Not always. A low price may signal real problems. Check the quality of the business, debt and cash flow before treating the discount as an opportunity.
Is margin of safety useful for index funds?
Ans. It is a stock picking idea, but investors sometimes apply it to index valuation using the price to earnings ratio relative to its long term average.