Magic Formula Guide

Joel Greenblatt's simple yet powerful value investing system

What is the Magic Formula?
A systematic approach to value investing

The Magic Formula, developed by Joel Greenblatt, is a simple yet effective stock selection system that identifies undervalued companies with strong earnings yields and high returns on capital. Despite its name, there's nothing magical about it—it's a disciplined, quantitative approach to finding quality companies at reasonable prices.

Greenblatt's research showed that stocks scoring well on these two metrics (earnings yield and return on capital) significantly outperformed the market over long periods. The system is designed to find companies that are both cheap and good.

The 2 Magic Formula Metrics

1
Earnings Yield

EBIT (Earnings Before Interest and Taxes) divided by enterprise value. Higher earnings yield means the company generates more earnings relative to its market price.

2
Return on Capital

EBIT divided by invested capital. Higher ROIC means the company efficiently deploys capital to generate returns.

The Ranking System
How the Magic Formula ranks stocks

The Magic Formula uses a percentile-based ranking system. Each stock is ranked from 1-100 on both earnings yield and return on capital. The final Magic Formula score is the average of these two rankings.

1

Rank by Earnings Yield

Stocks with higher earnings yield get higher rankings (1-100).

2

Rank by Return on Capital

Stocks with higher ROIC get higher rankings (1-100).

3

Calculate Final Score

Average the two rankings to get the Magic Formula score. Lower scores are better.

Historical Performance
Proven track record of beating the market

Greenblatt's research showed that the Magic Formula has beaten the S&P 500 by 3-4% annually over long periods. The system works by finding companies that are both cheap (high earnings yield) and good (high ROIC).

The beauty of the Magic Formula is its simplicity and consistency. It doesn't require complex analysis or market timing—just disciplined stock selection based on two fundamental metrics.

How to Use the Magic Formula Scanner
Step-by-step guide to analyzing stocks
1

Enter a Stock Symbol

Type the ticker symbol of any US stock you want to analyze.

2

Review the Metrics

The scanner calculates earnings yield and return on capital rankings.

3

Check the Magic Formula Score

Lower scores are better. Scores below 50 are generally attractive.

4

Compare to Industry

See how the stock ranks compared to its industry peers.

5

Identify Entry Points

Use the suggested entry price and stop loss for position sizing.

Key Principles
Essential concepts for successful Magic Formula investing

Cheap AND Good

Look for stocks that are both undervalued (high earnings yield) and have strong fundamentals (high ROIC).

Simplicity Works

The Magic Formula proves that simple, quantitative approaches often beat complex analysis.

Discipline Matters

Stick to the system. Don't try to pick winners or time the market.

Long-Term Focus

The Magic Formula works best over 3-5 year periods. Be patient with your investments.