DL 364 · Joel Greenblatt's Magic Formula · Lesson 5 of 5

Build the formula yourself

From a universe of stocks to a finished portfolio, step by step, with a ranking you can follow by hand and a screen you can run on Dividend Line today.

Level:Intermediate
◆
Read time:5 min
◆
Course:DL 364
The recipe

Greenblatt's steps

  1. Start with companies above a minimum size. The book used $50 million in market value; we'd use something higher if you want shares that trade easily.
  2. Remove banks, insurers and utilities. (The original also left out foreign companies listed in the US.)
  3. Calculate earnings yield (EBIT ÷ enterprise value) and return on capital (EBIT ÷ (net working capital + net fixed assets)) for every company.
  4. Rank everyone on earnings yield, highest first. Then rank everyone on return on capital, highest first.
  5. Add the two ranks together. The lowest combined score wins.
  6. Buy 20 to 30 of the top names, two or three a month over the first year.
  7. Replace each holding after about a year with the current top names, and keep going for years.
About the one-year holding period
Greenblatt suggested selling losers just before a year and winners just after, which helps with US tax rules. Investors in other countries should check their own rules before copying that detail.
Worked example

Ranking six companies by hand

Six illustrative companies. Two of them (Northfield and Sterling) are the ones from lesson 1.

CompanyEarnings yieldReturn on capitalYield rankROC rankCombined
Ardent Brands11.5%52%213
Northfield Tools10.0%30%325
Pell Shipping16.0%12%156
Corvan Retail8.0%15%448
Harlow Software3.5%28%639
Sterling Rail6.7%10%5611

Ardent wins comfortably: it's the best business on the list and the second cheapest. Northfield is a solid second. Then something interesting happens. Pell Shipping takes third place, almost entirely because it's very cheap, even though its return on capital is mediocre.

The Pell Shipping problem
Shipping is a famously cyclical business. A shipper that looks very cheap with decent returns may simply be at the top of the freight cycle, with profits about to fall. This is the formula's blind spot from lesson 1 showing up in practice. Look at five or ten years of operating profit before you trust one year's EBIT.
On Dividend Line

Running a Magic Formula screen here

The screener has a Magic Formula strategy you can load in one click. It looks for companies with ROIC of at least 20%, a P/E between 0 and 15 (an earnings yield of at least 6.7%), a market value of at least $300 million, and it leaves out financials and utilities.

Loads the preset with financials and utilities already excluded. You'll need a free account, and the free plan shows the first five results.Open the Magic Formula screen →

Be clear about what the screen is and isn't. It's a filter, while Greenblatt's method is a ranking. A filter tells you which companies pass a line; a ranking orders everyone and takes the top. And our ROIC and P/E are standard definitions, which differ from his ratios in a few ways.

Greenblatt's formulaThe Dividend Line screen
Quality measureEBIT ÷ (net working capital + net fixed assets)ROIC (after-tax operating profit ÷ invested capital)
Price measureEBIT ÷ enterprise value (debt counts)P/E (debt doesn't count)
MethodRank everyone, add the ranksPass/fail thresholds
Size≥ $50M in the book≥ $300M

To get closer to the book, sort the results by earnings yield, then glance at net debt. A company that passes on P/E but carries a lot of borrowing will look much less cheap on enterprise value, and you can drop it down your list.

Before you buy

Three checks we'd add

  • Five-year history. Is the high return on capital normal for this company, or a one-year spike? The Summary tab of any company shows the trend.
  • Debt. Check net debt to EBITDA and interest coverage. Cheap and heavily indebted is a different bet.
  • One-off profits. An asset sale or a legal settlement can inflate EBIT for a year. If the jump isn't explained by sales, read the notes.

None of these checks are in the original formula, and Greenblatt would say that adding judgement is how people talk themselves out of the right stocks. He has a point. Use the checks to remove obvious data problems and cycle-peak traps. Swapping in companies you happen to like better defeats the whole exercise.

Remember

Takeaways

“
Key takeaway
  • The recipe: exclude financials and utilities, rank on earnings yield and on return on capital, add the ranks, buy 20 to 30 of the top names over a year.
  • Cheap cyclicals at peak profits can sneak to the top. Check several years of operating profit.
  • The Dividend Line Magic Formula screen is a filter with standard ROIC and P/E. Sort by earnings yield and check debt to get closer to the book.
  • Extra checks are for catching bad data and cycle peaks. Leave your favourites out of it.
Sources

Sources for this lesson

Next lesson ◆

Back to the Academy

You've reached the end of DL 364. Pick your next course from the prospectus.
Continue
Educational disclaimer · This content is for educational and informational purposes only. It does not constitute investment advice, tax advice, legal advice, or a recommendation to buy or sell any security. Always conduct your own research before making investment decisions.