How the Graham Number Calculator works
The Graham Number is a screening formula devised by Benjamin Graham — Warren Buffett's teacher and the father of value investing — to estimate the maximum price a defensive (risk-averse) investor should pay for a stock. It combines two per-share fundamentals, earnings and book value, into a single ceiling price using the square root of their product.
The formula
For earnings per share EPS and book value per share BVPS, the Graham Number is:
Graham Number = √(22.5 × EPS × BVPS)
The constant 22.5 is not arbitrary — Graham capped a defensive stock at a price-to-earnings ratio of 15 and a price-to-book ratio of 1.5, and 15 × 1.5 = 22.5. Because the formula takes a square root of a product, both EPS and BVPS must be positive; it is undefined for companies with losses or negative shareholder equity, which is itself a signal that the stock falls outside Graham's defensive criteria.
Worked example
Take a company with EPS of $3.50 and book value of $22.00 per share. The Graham Number is √(22.5 × 3.50 × 22.00) = √1,732.5 ≈ $41.62. If the stock currently trades at $45.00, the price sits about $3.38 above that ceiling — a margin of safety of roughly −8.1%, meaning Graham's formula suggests the stock has limited room for error at that price. If it instead traded at $35.00, the margin of safety would be a positive ~15.9%, suggesting more of a cushion.
Margin of safety
Margin of safety is calculated as (Graham Number − Price) ÷ Graham Number, expressed as a percentage. A positive value means the market price is below the calculated fair-value ceiling; a negative value means the price has already exceeded it. Graham himself favored a substantial margin of safety, not merely a positive one, before considering a stock for a defensive portfolio.
Limitations to keep in mind
- Backward-looking inputs: EPS and book value are historical accounting figures and say nothing about future growth, competitive position, or industry trends.
- Sector fit: the formula was built around stable, asset-heavy, dividend-paying industrial companies of Graham's era. It fits capital-intensive businesses more naturally than asset-light technology or service companies with low book value.
- Not a complete valuation: the Graham Number ignores debt levels, cash flow, growth rate, and qualitative factors. It works best as one quick screen among several, not a final answer.
This calculator performs the arithmetic only. It does not constitute investment advice, and any figures you enter should be verified against a company's actual financial statements before you rely on them.