Joel Greenblatt's Magic Formula Investing
Joel Greenblatt’s magic formula is a rules-based stock-picking screen that combines two metrics: earnings yield (operating earnings divided by enterprise value) and return on invested capital (operating earnings divided by capital deployed). Stocks are ranked on each metric, then combined into a single ranking. The formula prioritizes companies that earn high returns on modest capital — a hallmark of durable competitive advantages — at bargain prices. Greenblatt developed it in the 1980s as a hedge fund manager and later published it in The Little Book That Beats the Market (2005), where it gained a following among both professional and retail investors.
The Two-Factor Logic: Valuation and Capital Efficiency
Greenblatt’s insight was deceptively simple: a great business at a great price beats a mediocre business at any price, and beats a great business at a high price. The magic formula operationalizes this with two metrics.
Earnings Yield = EBIT / Enterprise Value
This is the inverse of the P/E ratio, expressed using operating earnings (EBIT) rather than net income. A stock yielding 10% earnings is cheaper than one yielding 5%. In essence, this metric captures traditional value investing — buying undervalued assets.
Return on Invested Capital = EBIT / (Invested Capital)
Invested capital includes net working capital (receivables, inventory, payables) plus accumulated depreciation and net fixed assets. A firm generating 30% return on invested capital is deploying capital far more efficiently than one generating 10%. This metric captures quality — durable competitive advantages and moats.
Greenblatt ranked all stocks in a universe (e.g., U.S. large-cap) by earnings yield and by return on capital separately, then multiplied the two rankings (or averaged them, depending on implementation) to produce a composite score. Stocks combining both high yield and high returns ranked highest.
The rationale: companies with high returns on capital have sustainable competitive advantages — they can reinvest earnings at high returns, compounding value over time. When such companies trade cheaply (high earnings yield), they are mispriced. The formula exploits this by systematically buying them before the market recognizes the quality.
Example Ranking Scenario
Imagine three companies in a universe of 100:
| Company | EBIT | Ent. Value | EY Rank | ROIC | Inv. Cap | ROIC Rank | Combined Rank |
|---|---|---|---|---|---|---|---|
| Alpha | $10M | $100M | 10% (Rank 1) | $10M / $50M | 20% (Rank 50) | (1 + 50) / 2 = 25 | |
| Beta | $10M | $200M | 5% (Rank 50) | $10M / $20M | 50% (Rank 1) | (50 + 1) / 2 = 25 | |
| Gamma | $10M | $150M | 6.7% (Rank 25) | $10M / $25M | 40% (Rank 5) | (25 + 5) / 2 = 15 |
Alpha is cheap but has mediocre returns. Beta is expensive but highly efficient. Gamma — cheaper than Beta, more efficient than Alpha — ranks highest. A portfolio built on this logic aims to capture both valuation and quality.
Historical Performance and the “Outperformance Period”
In Greenblatt’s original research covering the 1988–2004 period, the magic formula outperformed the S&P 500 by several percentage points annually. Later academic work extended the backtest through 2010 with similar results. The strategy gained traction after the 2005 book launch, especially among retail investors and small value funds.
However, post-2015 performance deteriorated. Several factors contributed:
- Crowding: As more money pursued the same simple metric, the strategy’s edge diminished. Cheap stocks were no longer staying cheap long enough for the formula to work.
- Market regime change: The 2010s saw a shift to growth investing and concentration in mega-cap tech. Traditional value and “boring” cheap stocks lagged for a decade.
- Macro headwinds: Rising interest rates, quantitative easing, and passive flows (not price signals) dominated equity markets, reducing the efficacy of fundamental screens.
Since 2015, the magic formula has trailed the SP 500 consistently. This does not invalidate the logic, but it illustrates that no systematic screen is timeless. Markets adapt, valuations compress, and the historical patterns that powered outperformance may not persist.
Key Strengths of the Approach
Removes emotion: Disciplined, rules-based investing eliminates loss aversion and overconfidence bias. No individual stock picking; no hunches.
Simplicity: The screen is transparent and easy to implement. Investors can replicate it themselves with public data, fostering conviction.
Merges two critical factors: Valuation alone ignores quality (you might buy a cheap value trap). Quality alone ignores price (you might overpay). The formula balances both.
Rebalancing discipline: By recalculating rankings quarterly or annually, the portfolio forces buying losers and selling winners — a form of value-at-risk reduction and counter-cyclical positioning.
Critical Limitations
Ignores leverage and safety: The formula does not screen by debt levels, interest coverage, or free cash flow. A highly leveraged company with deteriorating earnings quality can still rank highly if ROIC remains strong.
Blind to growth and industry trends: The formula treats a mature, declining business the same as a growing one if metrics align. It might rank a shrinking manufacturer over a rising software firm.
Mechanical without judgment: The screen applies identical logic to all sectors and market conditions. A cyclical stock ranking highly at peak earnings may crash in recession, destroying returns.
Backward-looking metrics: ROIC and earnings yield are historical. They don’t forecast future returns if competitive conditions shift (e.g., new entrant disrupts the moat).
Vulnerability to reversion: High historical ROIC often mean-reverts; stocks ranking highly on past capital efficiency may be vulnerable when that efficiency declines.
How Professional Investors Adapted the Formula
Rather than using the magic formula mechanically, many professional managers treat it as a starting point:
- Screen by the two factors to build an initial candidate list.
- Apply additional filters: debt-to-EBITDA limits, free cash flow positivity, revenue growth thresholds.
- Layer on qualitative judgment: competitive moats, management quality, secular trends.
- Diversify to limit single-stock risk and sector concentration.
This hybrid approach preserves the formula’s core insight (cheap, high-return businesses are attractive) while addressing its blind spots.
Modern Variants and Factor Investing
The magic formula pre-dated factor investing as a formal discipline, but it aligns closely with value and quality factors. Modern factor-based funds often combine similar screens: buying cheap, high-quality stocks. The S&P 500 Value ETF, for instance, uses price-to-earnings and price-to-book ratios as valuation proxies, closely echoing Greenblatt’s logic.
Greenblatt himself has since advocated for broader, more dynamic models that weight factors differently by market regime, reflecting lessons learned from the post-2015 underperformance.
See also
Closely related
- Value investing — the foundational discipline combining valuation and quality
- Return on invested capital — the capital-efficiency metric central to the formula
- Price-to-earnings ratio — standard valuation multiple used in stock screening
- Earnings per share — operating earnings metric underlying the formula
- Factor investing — modern approach to systematic, factor-based portfolio construction
- Diversification — portfolio construction principle the formula must be combined with
Wider context
- Hedge fund — Greenblatt’s professional background and context for developing the approach
- Loss aversion — behavioral bias that systematic screens help mitigate
- Overconfidence bias — another behavioral error the formula addresses
- Quantitative easing — macro policy shift that may have undermined formula performance post-2010
- Growth fund — competing investment philosophy that dominated the 2010s market regime