The Value Toolkit · Module 07

The Magic Formula

Warren Buffett's whole philosophy — a wonderful company at a fair price — boiled down to two numbers, applied to every stock at once, and ranked. No forecasts, no narratives, no judgment calls. Just: how cheap is it, how good is the business, and how do the two combined stack up against everything else? A hedge-fund manager turned that into a strategy that beat the market for two decades.

~7 min readFor the experienced investorQuick reference: Methodology →

01Where it comes from

Joel Greenblatt ran Gotham Capital to a reported ~40% a year from 1985 to 2005 — one of the great track records in investing. Then he did something unusual: he tried to distill it into a rule a teenager could follow, and published it in The Little Book That Beats the Market(2006). He called it the Magic Formula, half tongue-in-cheek, because it's really just discipline wearing a catchy name.

The insight is Buffett's, made mechanical. Buffett buys wonderful businesses at fair prices. Greenblatt asked: what if you scored every stock on exactly those two dimensions — quality and cheapness — ranked them, and simply bought the top of the list? No opinions required.

02The two ingredients

The Magic Formula · two rankings, combined
Cheapness — Earnings Yield
EBIT ÷ Enterprise Value
Operating profit over the whole cost to buy the business (equity + debt − cash). Uses EBIT and EV instead of P/E so debt-heavy and debt-free companies compare fairly.
Quality — Return on Capital
EBIT ÷ (Net working capital + Net fixed assets)
How much operating profit the business throws off per dollar of real capital it actually needs. High return on capital is the fingerprint of a good business.
Then rank. Score every stock on each measure — say #40 cheapest and #180 best business out of 3,000. Add the two ranks (40 + 180 = 220). Sort the whole market by that sum, lowest first. The lowest combined ranks are the Magic Formula stocks — the best blend of cheap and good.

It doesn't look for the cheapest stock or the best business. It looks for the best combination — and that corner of the market is where the bargains with a future tend to hide.

03The two axes, on real stocks

Plot our two recurring names on the quadrant the formula is really searching — cheapness up the side, business quality across the bottom:

Cheap × Good
EBIT, EV & capital: Aug 23, 2026 snapshot (last close) — not live data
Earnings yield — cheapness →
Cheap but
weak business
(value trap)
CHEAP & GOOD
the sweet spot
Expensive
& weak
(avoid)
Wonderful but
expensive
Linamar
Constellation
Return on capital — quality →
Linamar — EBIT/EV ≈ 13.8%, solid returns → the sweet spot
Constellation — EBIT/EV ≈ 3.3%, elite returns → great, but you pay for it

Linamar is the Magic Formula's ideal: genuinely cheap on operating earnings and a decent return on capital — high on both axes, so it ranks well. Constellation is a superb business (returns most companies can only dream of) but a low earnings yield — it wins the quality contest and loses the price one, so its combinedrank suffers. The formula isn't wrong about Constellation's quality; it's just unwilling to pay up for it. That's the whole discipline in one picture.

04When the Magic Formula lies

It's a ranking engine, not an oracle, and treating it like a stock picker is where people get hurt.

⚠ How to use it honestly

Four things the ranking won't tell you

  • It's a basket, not a pick. Greenblatt's method is to buy the top 20–30 and hold a year, then rotate — the edge is statistical across the group. Any single name on the list can still be a disaster.
  • It's blind to financials and utilities.Banks, insurers, and regulated utilities have balance sheets that distort EBIT/EV and return on capital, so the app (like Greenblatt) excludes them — the ranking simply doesn't apply there.
  • Trailing EBIT can be a peak.A cyclical at the top of its cycle looks cheap and high-return right before earnings roll over. The formula can't see the cycle; you have to.
  • It only works if you can endure it.Since the 2006 book, the strategy has had long stretches of underperformance. It “works” partly becauseit's psychologically hard to hold through those stretches — most people quit at the worst time.

Used as Greenblatt intended — a disciplined shortlist of cheap, high-quality businesses to research further — it's one of the most elegant ideas in investing. The app runs the ranking across the whole universe so you don't have to, then hands each name to the rest of the toolkit — the Graham checks, the F-Score, the Altman Z — because a high rank is where the work starts, not where it ends.

◆ Run it yourself

Rank the market by the Magic Formula

The screener scores the full North American universe on earnings yield and return on capital and sorts by the combined rank — the Magic Formula shortlist, updated from current data, with each name one click from its full valuation.

Source: Joel Greenblatt, The Little Book That Beats the Market (2006). EBIT, enterprise value, and capital figures for LNR.TO and CSU.TO are from the Aug 23, 2026 snapshot (last market close) and are not live; return-on-capital is shown approximately (Greenblatt's exact definition excludes goodwill and excess cash). The live screener recomputes the ranking from current data.

For educational use. This is not financial, investment, or tax advice, and nothing here is a recommendation to buy or sell any security. Every model has known blind spots — always verify against a company's primary filings before acting. · travisvaluation.ca