The Little Book That Beats the Market β Complete Implementation Specification
Author: Joel Greenblatt
First Published: 2005
Core Strategy: The Magic Formula β a simple, mechanical quantitative value investing strategy that combines high earnings yield with high return on capital to identify good companies at bargain prices.
Table of Contents
- Philosophy Overview
- The Magic Formula β Core Methodology
- Earnings Yield Calculation
- Return on Capital Calculation
- The Ranking and Selection System
- Entry and Exit Rules
- Portfolio Construction
- Risk Management Rules
- Behavioral Rules
- Common Mistakes
- Trade Lifecycle Example
- Key Quotes
1. Philosophy Overview
Joel Greenblatt's genius lies in distillation. He takes the essence of value investing β buying above-average businesses at below-average prices β and reduces it to two measurable variables that can be applied mechanically. The Magic Formula is designed to be simple enough for individual investors to implement, yet rigorous enough to outperform professional money managers over time.
The Core Insight
Value investing works because the market is frequently irrational in the short term. Prices deviate from intrinsic value due to emotional overreaction, institutional constraints, and behavioral biases. The Magic Formula exploits this by systematically identifying companies that are:
- Good businesses (high return on capital employed)
- Available at bargain prices (high earnings yield)
The combination is crucial. Cheap companies that are bad businesses (value traps) are filtered out by the return on capital requirement. Good companies that are expensive (growth traps) are filtered out by the earnings yield requirement. Only companies that score well on BOTH dimensions make the cut.
Why It Works β Greenblatt's Argument
| Factor |
Explanation |
| Short-term inefficiency |
Markets misprice stocks over 1-3 year periods due to overreaction to bad news, neglect, institutional selling pressure |
| Long-term efficiency |
Over 3-5 years, prices converge toward intrinsic value as fundamentals become undeniable |
| Behavioral barriers |
The formula works precisely because it is uncomfortable β it forces you to buy unloved stocks and hold through underperformance |
| Simplicity barrier |
Most professionals cannot justify a "simple" strategy to their boards and clients β complexity bias creates opportunity |
Historical Performance (Greenblatt's Backtest)
- Period tested: 1988-2004 (17 years)
- Universe: US stocks with market cap > $50 million (later extended to > $1 billion)
- Magic Formula return: ~30.8% annualized (top 30 stocks, > $50M cap)
- S&P 500 return: ~12.4% annualized over same period
- Large cap (> $1B) Magic Formula: ~22.6% annualized
- Important caveat: Past performance does not guarantee future results; the formula underperformed the market in approximately 1 out of every 4 years
2. The Magic Formula β Core Methodology
2.1 The Two Factors
| Factor |
Metric |
What It Measures |
Why It Matters |
| Earnings Yield |
EBIT / Enterprise Value |
How cheap the stock is relative to its earnings power |
Identifies bargain prices |
| Return on Capital |
EBIT / (Net Working Capital + Net Fixed Assets) |
How efficiently the business converts invested capital into earnings |
Identifies good businesses |
2.2 Why EBIT and Enterprise Value (Not P/E Ratio)
Greenblatt deliberately avoids the traditional P/E ratio because:
P/E problems:
- Ignores debt levels (a company with massive debt looks the same as a debt-free company)
- Affected by tax rate differences (different jurisdictions, tax shields)
- Distorted by non-operating income/losses
EBIT / EV advantages:
- Enterprise Value includes debt, so highly leveraged companies are penalized appropriately
- EBIT is pre-tax and pre-interest, enabling apples-to-apples comparison across companies with different capital structures and tax situations
- Focuses on core operating earnings power
2.3 Why Tangible Capital (Not Total Assets or Equity)
Traditional return on equity (ROE) is distorted by leverage β a company can have high ROE simply by taking on debt. Greenblatt's return on capital uses tangible operating assets:
- Net Working Capital = Current Assets - Current Liabilities (the capital tied up in day-to-day operations)
- Net Fixed Assets = Property, Plant & Equipment, net of depreciation (the long-term physical capital)
- This measures how efficiently the business uses its tangible operating capital to generate earnings
- Companies that generate high returns on little tangible capital are genuinely good businesses
3. Earnings Yield Calculation
3.1 Formula
Earnings Yield = EBIT / Enterprise Value
Where:
- EBIT = Earnings Before Interest and Taxes (trailing twelve months)
- Enterprise Value = Market Capitalization + Total Debt - Excess Cash
3.2 Detailed Component Definitions
EBIT:
- Start with operating income from the income statement
- Add back any unusual/one-time charges that reduced operating income
- Subtract any unusual/one-time gains that inflated operating income
- Goal: arrive at normalized, recurring operating earnings
Enterprise Value:
- Market Cap = Share price x Shares outstanding (fully diluted, including in-the-money options)
- Total Debt = Short-term debt + Long-term debt + Capital lease obligations
- Excess Cash = Total cash and equivalents - Cash needed for operations (estimate: 2-5% of revenue, or use minimum cash balance from last 5 years)
- EV = Market Cap + Total Debt - Excess Cash
3.3 Interpretation
| Earnings Yield |
Interpretation |
| > 15% |
Very cheap β strong bargain candidate |
| 10-15% |
Cheap β good value territory |
| 7-10% |
Moderate β fair value range |
| 4-7% |
Expensive β growth expectations priced in |
| < 4% |
Very expensive β requires high growth to justify |
3.4 Comparison Benchmark
Compare earnings yield to the risk-free rate (10-year Treasury yield):
- If earnings yield < risk-free rate, the stock is extremely expensive by any measure
- A meaningful spread above the risk-free rate provides a margin of safety
4. Return on Capital Calculation
4.1 Formula
Return on Capital = EBIT / (Net Working Capital + Net Fixed Assets)
Where:
- Net Working Capital = Current Assets - Current Liabilities
- Net Fixed Assets = Total Property, Plant & Equipment - Accumulated Depreciation
4.2 Tangible Capital Employed
The denominator represents the tangible capital the business needs to operate:
- If Net Working Capital is negative (common for businesses with strong supplier terms), it means the business is partially funded by suppliers β a sign of competitive strength
- Net Fixed Assets captures the physical infrastructure required
- The sum represents the minimum tangible capital investment needed to run the business
4.3 Interpretation
| Return on Capital |
Interpretation |
| > 50% |
Exceptional β likely has a strong moat (brand, network effects, or asset-light model) |
| 25-50% |
Excellent β strong competitive position |
| 15-25% |
Good β above-average business quality |
| 10-15% |
Average β typical business |
| < 10% |
Below average β commodity business or competitive challenges |
4.4 What High Return on Capital Signals
A business with consistently high return on tangible capital is telling you:
- It has pricing power (customers are willing to pay premium prices)
- It operates efficiently (low capital requirements relative to earnings)
- It likely has a competitive moat (otherwise competition would erode returns)
- It can reinvest profits at attractive rates (growth creates value)
5. The Ranking and Selection System
5.1 The Dual Ranking Process
This is the mechanical core of the Magic Formula:
Step 1: Start with the investable universe (all stocks meeting minimum criteria)
Step 2: Rank ALL companies by Earnings Yield (highest = Rank 1, lowest = Rank N)
Step 3: Rank ALL companies by Return on Capital (highest = Rank 1, lowest = Rank N)
Step 4: Calculate Combined Rank = Earnings Yield Rank + Return on Capital Rank
Step 5: Sort by Combined Rank (lowest combined rank = best overall score)
Step 6: Select the top 20-30 companies
5.2 Universe Filtering β Exclusions
Before ranking, exclude:
| Excluded Category |
Reason |
| Financial companies (banks, insurance, REITs) |
Their capital structure makes EBIT/EV and ROC meaningless |
| Utilities |
Regulated returns make ROC analysis unreliable |
| Foreign ADRs |
Accounting differences and data quality issues |
| Companies with market cap < $50M (or < $200M for conservative approach) |
Liquidity and data reliability concerns |
| Companies with negative EBIT |
By definition cannot rank on earnings yield |
5.3 Ranking Example
| Company |
EY Rank |
ROC Rank |
Combined Rank |
Selected? |
| Company A |
5 |
12 |
17 |
Yes (Top 30) |
| Company B |
150 |
2 |
152 |
No (good but expensive) |
| Company C |
3 |
200 |
203 |
No (cheap but bad) |
| Company D |
8 |
8 |
16 |
Yes (Top 30) |
| Company E |
25 |
5 |
30 |
Yes (Top 30) |
The formula naturally avoids:
- Value traps (Company C): Cheap stocks with poor returns on capital
- Growth traps (Company B): Great businesses at terrible prices
- It selects companies where BOTH factors are favorable
6. Entry and Exit Rules
6.1 Entry Rules
Timing β Staggered Entry:
Greenblatt recommends building the portfolio over time to avoid single-point-in-time risk:
- Invest approximately 20-33% of allocated capital every 2-3 months
- Over 9-12 months, you will have a fully invested portfolio of 20-30 stocks
- Each "batch" of 5-7 stocks is selected from the current top-ranked list
Alternative β All-at-Once Entry:
- Select top 20-30 ranked stocks
- Invest equal amounts in each
- Simpler but more exposed to timing risk
6.2 Exit Rules β Strict Annual Rebalancing
The exit discipline is completely mechanical:
For tax-loss positions (losing stocks):
- Sell just BEFORE the 1-year anniversary of purchase
- This captures short-term capital losses for maximum tax benefit
- Immediately reinvest proceeds in the current top-ranked stock that replaces the sold position
For winning positions:
- Sell just AFTER the 1-year anniversary of purchase
- This qualifies for long-term capital gains (lower tax rate)
- Reinvest proceeds in the current top-ranked replacement
Critical rule: Do NOT hold a stock beyond the rebalancing date just because you "like" it. The system is mechanical. If a stock is still top-ranked after one year, it will naturally be repurchased.
6.3 Rebalancing Frequency
| Approach |
Frequency |
Pros |
Cons |
| Annual (recommended) |
Once per year |
Tax efficient, low turnover, fewer transaction costs |
Full year of holding; some positions may deteriorate |
| Semi-annual |
Twice per year |
Faster adaptation to changing fundamentals |
Higher transaction costs, more short-term gains |
| Quarterly |
Four times per year |
Most responsive |
Highest costs, most taxable events, noise trading |
Greenblatt's recommendation: Annual rebalancing with staggered entry (so you rebalance roughly monthly, but each position is held for ~1 year).
7. Portfolio Construction
7.1 Position Sizing
Equal weight: Allocate equal dollar amounts to each position.
| Portfolio Size |
Stocks |
Weight Per Stock |
| Minimum viable |
20 |
5.0% each |
| Recommended |
30 |
3.3% each |
| Maximum |
30 |
3.3% each |
Why equal weight (not conviction-based):
- The formula is mechanical β there is no "conviction" to express
- Equal weighting prevents concentration risk from any single mispicked stock
- Simplicity β no subjective judgment required
7.2 Portfolio Turnover
- Expected annual turnover: ~100% (complete portfolio replacement over one year)
- With staggered entry: approximately 2-3 stocks replaced per month
- Transaction costs should be budgeted at 0.1-0.3% per round-trip trade
7.3 Cash Management
- Be fully invested in the formula at all times
- Cash should only be held temporarily between sell and buy executions
- Do NOT attempt to time the market by going to cash
- If deploying capital over 9-12 months, uninvested cash earns money market rate
7.4 Sector Concentration
The formula may produce sector-concentrated portfolios in certain market conditions (e.g., many energy stocks when oil is cheap). Greenblatt does NOT recommend sector caps, as the concentration is a feature of finding the best opportunities. However, conservative investors may choose to:
- Limit any single sector to 30% of portfolio
- If sector limit is hit, skip to next-ranked stock from a different sector
8. Risk Management Rules
8.1 Primary Risk Controls
- Diversification: 20-30 stocks eliminates single-stock risk
- Mechanical discipline: Rules-based system prevents emotional decision-making
- Annual rebalancing: Forces exit from deteriorating positions
- Quality filter: Return on capital requirement screens out low-quality value traps
- Universe filter: Minimum market cap eliminates micro-cap risks
8.2 Expected Drawdowns
Critical understanding: The Magic Formula WILL underperform the market for extended periods.
- In backtesting, underperformed the market approximately 1 in 4 years
- Can underperform for 2-3 consecutive years
- Maximum drawdown in backtesting: comparable to broad market drawdowns
- The formula's edge manifests over 3-5+ year periods, not months
8.3 Tracking Error Risk
This is the biggest practical risk β not losing money, but underperforming the market:
| Underperformance Period |
Expected Frequency |
Behavioral Challenge |
| 1 quarter |
Very common |
Mild discomfort |
| 1 year |
~25% of years |
Serious doubt |
| 2 consecutive years |
Occurs periodically |
Strong temptation to abandon |
| 3 consecutive years |
Rare but possible |
Most investors capitulate here |
The investors who succeed are those who maintain discipline through underperformance periods.
8.4 What the Formula Does NOT Protect Against
- Broad market crashes (the formula is fully invested in equities)
- Accounting fraud in individual holdings (diversification mitigates this)
- Permanent changes in market efficiency that could reduce the formula's edge
- Inflation and purchasing power erosion during sustained flat markets
9. Behavioral Rules
9.1 The Most Important Rule: Follow the System
Greenblatt emphasizes that the formula's edge comes precisely from the discomfort it creates. The stocks it selects are unloved, out-of-favor, and often have negative news flow. Buying them FEELS wrong. This is why the formula works β most people cannot do it.
9.2 Rules for Maintaining Discipline
- Do not override the formula: If a stock appears on the top-ranked list, buy it regardless of your personal feelings about the company
- Do not hold winners beyond rebalancing date: "Falling in love" with a position undermines the mechanical system
- Do not sell early due to bad news: Unless the rebalancing date has arrived, hold the position
- Do not check daily performance: Review portfolio no more than monthly; preferably quarterly
- Do not compare to the market daily: Judge results over 3-5 year periods only
- Do not tinker with the formula: Adding subjective filters degrades the system's effectiveness
9.3 The Commitment Contract
Before starting, write and sign:
"I commit to following the Magic Formula for a minimum of 3 years. I will buy the top-ranked stocks. I will rebalance annually. I will not override the system. I understand the formula will underperform in approximately 1 out of 4 years. I will judge results only after the 3-year minimum period."
9.4 What To Do When the Formula Underperforms
- Re-read Chapter 13 of the book (Greenblatt's explanation of why patience is required)
- Review the long-term historical evidence
- Remember: the formula works BECAUSE it is hard. If it were easy, everyone would do it, and the edge would disappear
- Talk to your "investment buddy" (someone who also follows the system)
- Do NOT look at what you "would have" made in the S&P 500
10. Common Mistakes
Mistake 1: Cherry-Picking from the Ranked List
- Error: "I'll skip Company X because I don't like that industry."
- Reality: Subjective filtering eliminates the formula's edge. You end up with a portfolio of stocks you "like," not the best-ranked ones.
- Fix: Buy mechanically. No exceptions.
Mistake 2: Abandoning the Strategy After 1-2 Years of Underperformance
- Error: "This doesn't work. I'm switching to index funds / growth stocks / whatever is hot."
- Reality: This is the single most common and most costly mistake. Investors quit right before the formula's reversion-to-mean payoff.
- Fix: Commit to 3-year minimum. Review the backtested data showing multi-year underperformance followed by strong recovery.
Mistake 3: Using Reported Earnings Instead of EBIT
- Error: Using net income or EPS instead of EBIT in the earnings yield calculation.
- Reality: Net income is distorted by tax rates, interest expenses, and non-operating items. Two companies with identical operating businesses can have wildly different net incomes due to capital structure.
- Fix: Always use EBIT and Enterprise Value as defined in the formula.
Mistake 4: Applying the Formula to Financials and Utilities
- Error: Including banks, insurance companies, REITs, and utilities in the ranking.
- Reality: These sectors have fundamentally different economics. Leverage is their business model, making EBIT/EV and ROC metrics unreliable.
- Fix: Strictly exclude financial and utility stocks from the universe.
Mistake 5: Running the Formula with Too Few Stocks
- Error: "I'll just buy the top 5 ranked stocks for maximum concentration."
- Reality: Individual stocks can have idiosyncratic problems (fraud, lawsuits, sudden competitive shifts). With only 5 stocks, one bad outcome destroys returns. 20-30 stocks provides necessary diversification.
- Fix: Maintain minimum 20 positions. 30 is preferred.
Mistake 6: Rebalancing Too Frequently
- Error: Selling and reranking monthly or quarterly.
- Reality: This generates excessive transaction costs and tax drag. Many of the formula's highest returns come from holding through the full year as the market recognizes value.
- Fix: Annual rebalancing with tax-aware timing (losers before 1 year, winners after 1 year).
Mistake 7: Attempting to Time Entry
- Error: "The market seems high right now β I'll wait for a crash to start the formula."
- Reality: Market timing destroys returns. The staggered entry approach over 9-12 months already mitigates timing risk.
- Fix: Start now. Use staggered entry if concerned about timing.
11. Trade Lifecycle Example
Initial Setup (January Year 1)
Capital: $100,000 allocated to the Magic Formula strategy.
Plan: Staggered entry over 3 months, ~10 stocks per batch, 30 total stocks.
Month 1: First Batch
- Screen universe: All US stocks > $200M market cap, excluding financials/utilities
- Calculate EBIT/EV and EBIT/Tangible Capital for all qualifying companies
- Rank by Earnings Yield (assign rank 1 to N)
- Rank by Return on Capital (assign rank 1 to N)
- Add ranks to get Combined Score
- Sort by Combined Score (lowest = best)
- Select top 10 stocks from current ranking
| Rank |
Company |
EY Rank |
ROC Rank |
Combined |
Allocation |
| 1 |
AutoParts Co |
8 |
3 |
11 |
$3,333 |
| 2 |
Software Inc |
15 |
1 |
16 |
$3,333 |
| 3 |
Retail Chain |
4 |
14 |
18 |
$3,333 |
| 4 |
Pharma Corp |
6 |
15 |
21 |
$3,333 |
| 5 |
Media Group |
2 |
22 |
24 |
$3,333 |
| 6 |
Tech Services |
20 |
5 |
25 |
$3,333 |
| 7 |
Consumer Brand |
12 |
16 |
28 |
$3,333 |
| 8 |
Industrial Co |
7 |
23 |
30 |
$3,333 |
| 9 |
Health Devices |
25 |
7 |
32 |
$3,333 |
| 10 |
Energy Equip |
3 |
30 |
33 |
$3,333 |
Total invested: $33,330. Remaining: $66,670 in money market.
Month 2: Second Batch
Repeat ranking process. Select next 10 stocks (may overlap with Month 1 if still top-ranked). Invest another $33,330.
Month 3: Third Batch
Repeat. Portfolio now holds 30 stocks at approximately $3,333 each. Fully invested.
Month 6: Mid-Year Review (Observation Only)
- Portfolio is down 5% vs. market up 8%
- Several holdings have negative news: Retail Chain missed earnings, Media Group announced restructuring
- Action: NONE. Do not sell. Do not buy additional positions. The formula requires annual holding.
- Emotional note: This feels wrong. This is exactly why it works.
Month 12: First Rebalancing (December Year 1)
Tax-aware rebalancing of the January batch (10 stocks):
| Stock |
Return |
Action |
Tax Treatment |
| AutoParts Co |
+22% |
Sell AFTER Jan 1 (long-term gains) |
Wait 2 more weeks |
| Software Inc |
+45% |
Sell AFTER Jan 1 (long-term gains) |
Wait 2 more weeks |
| Retail Chain |
-30% |
Sell NOW (short-term loss for tax benefit) |
Sell immediately |
| Pharma Corp |
+8% |
Sell AFTER Jan 1 (long-term gains) |
Wait 2 more weeks |
| Media Group |
-15% |
Sell NOW (short-term loss for tax benefit) |
Sell immediately |
| Tech Services |
+35% |
Sell AFTER Jan 1 (long-term gains) |
Wait 2 more weeks |
| Consumer Brand |
+12% |
Sell AFTER Jan 1 (long-term gains) |
Wait 2 more weeks |
| Industrial Co |
-5% |
Sell NOW (short-term loss for tax benefit) |
Sell immediately |
| Health Devices |
+55% |
Sell AFTER Jan 1 (long-term gains) |
Wait 2 more weeks |
| Energy Equip |
-20% |
Sell NOW (short-term loss for tax benefit) |
Sell immediately |
Sell 4 losers immediately. Wait 2 weeks to sell 6 winners. Replace all 10 with current top-ranked stocks from new screening.
Year 1 Results
- Portfolio return: +11% (underperformed S&P 500 at +14%)
- Reaction: Disappointing but expected. The formula underperforms ~25% of years.
- Action: Continue the system. No changes.
Year 3 Results
- 3-year cumulative return: +68% (vs. S&P 500 at +42%)
- The formula's edge has materialized over the multi-year period as expected
- Confidence in the system is high
13. Key Quotes
"The magic formula works because it's a systematic way of buying above-average companies at below-average prices."
"The formula will not work every year. That's a guarantee. And it's exactly WHY it works over the long term."
"Choosing individual stocks without any idea of what you're looking for is like running through a dynamite factory with a burning match. You may live, but you're still an idiot."
"If the formula worked every single year, everyone would use it, and it would stop working. The periods of underperformance are what keep it effective."
"The secret to investing is to figure out the value of something β and then pay a lot less."
"Most people rank things: they want the best. Well, the magic formula just uses two simple rankings and combines them. That's it. It's elegant because of what it leaves out."
"The formula has beaten the market averages over every measurable period of three years or more. But very few people will have the discipline to stick with it."
"Ben Graham figured out that cheaply priced stocks as a group beat the market averages over time. The magic formula just adds the insight that cheaply priced GOOD businesses do even better."
"You can either follow the formula mechanically, or you can use the formula's output as a starting point for your own research. Either way, it gives you a huge head start."
"In the short run, Mr. Market is a voting machine. In the long run, he is a weighing machine. The magic formula is designed to buy what the weighing machine will eventually reward."
Implementation based on "The Little Book That Beats the Market" by Joel Greenblatt. This specification captures the complete Magic Formula system β a mechanical, quantitative value investing strategy designed for individual investors seeking market-beating returns through disciplined, rules-based investing.