Magic Formula Investing
Magic Formula Investing is a mechanical screen developed by hedge fund manager Joel Greenblatt that ranks stocks by two factors: earnings yield and return on invested capital. The formula’s appeal lies in its simplicity—it removes emotion and forces discipline, buying the cheapest businesses earning the highest returns on capital.
The philosophy underlying Magic Formula is that most investors either chase growth (paying premium multiples for compounders) or ignore profitability while hunting cheap valuations. Greenblatt’s insight was that the highest odds belong to businesses that are both cheap relative to earnings and efficient at deploying capital. A company generating 20% returns on capital trading at a 10% earnings yield is more attractive than a growth story trading at 30% of sales, and cheaper than a “value trap” with low returns on capital deteriorating in slow decline.
The two factors explained
Earnings yield is the inverse of price-to-earnings-ratio. If a stock trades at P/E of 10, its earnings yield is 10% (one-eleventh of current earnings per dollar invested). High earnings yield means the business is cheap relative to its earnings generation today.
Return on invested capital (return-on-invested-capital) measures how much profit the company generates on the capital it deploys. A 20% ROIC means the business earns $0.20 on every dollar of shareholder equity and debt. High ROIC signals a durable competitive advantage—strong pricing power, efficient operations, or high barriers to entry.
Greenblatt’s formula ranks companies on both metrics, typically taking the top 20–30 highest-ranked stocks by combined score. The signal: cheap AND good businesses tend to outperform both cheap but mediocre ones and expensive but good ones.
Why the formula works—when it does
The Magic Formula sidesteps several classic value traps. It avoids value stocks with deteriorating fundamentals (cheap because they deserve to be cheap). It also avoids paying bubble multiples for “quality” growth with no margin of safety. Instead, it forces a discipline: show me a business that is both reasonably priced relative to earnings AND proves it can compound capital efficiently.
Historically, the formula has delivered excess returns over long periods. Greenblatt documented strong outperformance across markets and time periods in his writing and later research. The returns are not spectacular—5–10% annualized outperformance versus broad indices is realistic—but they are consistent, achievable without active management skill, and grounded in sound economic logic.
The formula also acts as a behavioral anchor. Disciplined screens prevent overconfidence-bias, self-serving cherry-picking of metrics, and the curse of falling in love with a single company story. Investors forced to rank candidates mechanically are less prone to rationalizing expensive quality or catching falling knives.
Limitations and pitfalls
Magic Formula is not a perpetual money machine. Several headwinds limit its edge:
Market efficiency: As the formula becomes well-known, more investors adopt it, reducing mispricing. Crowded strategies often underperform.
Recency and mean reversion: The formula screens on recent ROIC and earnings yields. A company with temporarily high ROIC due to a one-off advantage (pending loss of a major contract, or near-peak margins before competition arrives) will score well despite deteriorating prospects. Greenblatt acknowledges this; conservative practitioners screen for sustainable ROIC by averaging ROIC over multiple years.
Size and liquidity: The formula often identifies small-cap and micro-cap opportunities that are harder to build positions in without market impact. Transaction costs, bid-ask spreads, and position-sizing constraints can eat returns.
Sector concentration risk: The formula may load into cyclical sectors during late-cycle booms (high ROIC, cheap valuations) just before downturns. Without sector discipline, portfolio construction can skew toward concentrated bets.
Earnings quality: The formula uses earnings-per-share at face value. It does not distinguish between sustainable earnings (backed by free-cash-flow) and accounting earnings boosted by one-off gains, aggressive revenue-recognition, or non-recurring items. Pairing the formula with cash-flow-statement discipline is essential.
Implementing the formula
True Magic Formula discipline requires:
- Consistent screening: Run the same ranked list quarterly or monthly; do not cherry-pick names that “feel right” and discard those that don’t.
- Holding discipline: The formula assumes a long holding period (typically 1–2 years) to allow mean reversion and compounding. Trading in and out defeats the purpose.
- Diversification: Buy the top-ranked 20–30 names, not just the top 5. Diversification smooths the inevitable individual misses.
- Audit for sustainability: Before buying, verify that the high ROIC is structural (defensible moat, recurring customer base) not accidental (temporary pricing power, peak margins).
- Sector and position sizing: Cap individual positions (e.g., 5%) and avoid over-concentration in single sectors or market caps.
The formula works best as a starting point—a discipline that identifies candidates worth deeper analysis—rather than a standalone decision rule.
Variants and evolution
Greenblatt and others have extended the original formula. Some screens add a third factor (e.g., earnings quality measured against free-cash-flow conversion), use six-month or two-year ROIC averages to smooth cyclicality, or rank by free cash yield-to-maturity instead of earnings yield. The core principle remains: identify stocks that are both cheap and efficient capital deployers.
See also
Closely related
- Value Investing — Disciplined buying of undervalued companies with margin of safety
- Owner-Operator Value Investing — Favoring founder-led firms with aligned incentives
- Insider Buying Value Strategy — Using executive purchases as conviction signals in deep-value candidates
- Capex-Light Value Investing — Targeting asset-light franchises with high free cash conversion
- Return on Invested Capital — Core Magic Formula metric measuring capital deployment efficiency
- Free Cash Flow — Cash earnings metric; essential to verify against accounting earnings
Wider context
- Price-to-Earnings Ratio — Valuation multiple; inverse is earnings yield
- Earnings Per Share — Per-share profit; base for earnings yield calculation
- Earnings Quality — Reliability of reported earnings; GAAP vs. cash earnings distinction
- Overconfidence Bias — Investor psychology; systematic screens mitigate this
- Sector Rotation — Dynamic sector allocation; Magic Formula may concentrate unintentionally