The Little Book That Beats the Market: Joel Greenblatt’s Magic Formula
Joel Greenblatt runs Gotham Asset Management and has put up one of the more remarkable long-term track records in the hedge fund industry — roughly 40% annual returns over the twenty years he ran the Gotham Partners fund, by his own account. “The Little Book That Beats the Market,” published in 2005, is his attempt to distill the principles behind that performance into something an ordinary investor could use, including his own kids. What comes out the other side is short, friendly, and genuinely important — a book that hides serious intellectual content behind an unusually approachable presentation.
The book lays out what Greenblatt calls the “magic formula”: a simple, systematic strategy built on two metrics — return on capital (a measure of business quality) and earnings yield (a measure of valuation). The claim is bold. Invest systematically in companies that rank high on both, skip the qualitative judgment and the complex analysis, and you’ll beat the market over any extended stretch. Bold claim. Also substantially backed by the evidence Greenblatt presents — though understanding why it works takes more than just following the formula.
The Parable of the Gum Business
Greenblatt opens with one of the more effective teaching tools in the investment literature: a simple parable about a kid selling gum from a cart. Written for children. Contains investment logic that plenty of professional investors haven’t fully absorbed.
Imagine Jason’s gum business. Costs $20 to set up, earns $4 a year. That’s a 20% return on capital — excellent, the kind that draws competitors. At 6% interest rates, that $4 annual stream is worth something like $67 (the present value of a perpetuity yielding 6%), which means paying up to $67 for the business makes sense. The ratio of earnings to what you pay is the earnings yield.
Now two scenarios. First: a business with a terrible competitive position earns $10 on $20 invested (50% return on capital!) but you can buy it for $25 (40% earnings yield). Second: a great competitive position earns $4 on $20 invested (20% return on capital) but costs only $15 (26.7% earnings yield). Which do you want? Depends on sustainability. If the first business’s returns get competed away while the second’s hold, the second wins. If both are equally durable, the first is much better.
That simple framework carries the whole logic of the magic formula: high returns on capital (competitive advantage, quality) AND cheap prices (high earnings yield). A wonderful business at a terrible price is a mediocre investment. A mediocre business at a wonderful price is also a mediocre investment. The combination — quality business, quality price — is where the exceptional opportunities actually live.
Return on Capital: The Quality Measure
Return on capital (ROC) is Greenblatt’s quality measure, and the definition is worth pinning down precisely. He uses earnings before interest and taxes (EBIT) divided by tangible capital employed (net working capital plus net fixed assets). Strips out the effects of debt (interest expense) and taxes, and focuses purely on the operating economics of the business, independent of capital structure or tax situation.
Why does high return on capital signal a quality business? Because in competitive markets, returns should get driven down toward the cost of capital over time. A business earning 30% on invested capital, in a market where capital costs 8%, is generating extraordinary value — and extraordinary value is exactly what draws competitors, until returns get competed toward normal. If the 30% persists — if competition fails to erode it, year after year — then the business has something durable protecting it, something that blocks the competition theory says should show up.
Which is the insight: high, sustained returns on capital are a signal of a moat. They tell you the business has something competitors genuinely struggle to copy — a powerful brand, a cost advantage, a network effect, switching costs, proprietary tech, exclusive relationships. Whatever the source, the economic fact of sustained high returns proves the moat exists more reliably than any qualitative story about competitive positioning ever could.
Which makes ROC a more reliable quality indicator than any single qualitative factor, because it captures the aggregate effect of every competitive advantage a company has in one number. A qualitative analyst can be fooled by a compelling story about a moat that isn’t actually real. The ROC screen can’t be fooled that way. If returns on capital are ordinary, the moat isn’t there — no matter how good the story sounds.
Earnings Yield: The Value Measure
The second half of the magic formula is earnings yield — EBIT divided by enterprise value (market cap plus net debt). The inverse of the EV/EBIT ratio. It measures how much you’re paying for a business’s operating earnings stream relative to the total capital committed, debt and equity combined.
Using enterprise value instead of market cap matters, because it keeps the comparison apples-to-apples across companies with different capital structures. A company with $100 million in equity and $100 million in debt earning $20 million in EBIT has a 10% earnings yield on its $200 million enterprise value. A company with $200 million in equity and no debt earning that same $20 million in EBIT also has a 10% earnings yield. Different equity market caps. Same enterprise value. Same earnings yield. Which is the correct comparison — both need $200 million in total capital to earn $20 million.
Using EBIT instead of net income strips out the distortions from different tax situations and debt levels. A highly levered company shows lower net income relative to operating earnings than a debt-free one, and a company in a low-tax jurisdiction reports higher net income than an identical company somewhere with higher taxes. EBIT puts both on comparable footing, focused on the operating economics independent of financial structure.
High earnings yield means buying operating earnings cheaply. Combined with high return on capital, it means buying quality operating earnings cheaply — which Greenblatt argues is the whole essence of smart investing.
The Formula in Practice

Greenblatt backs the formula with extensive historical testing. On US stocks from 1988 to 2004, the top decile of the combined ranking produced average annual returns around 30.8%, against 12.4% for the market overall. The bottom decile — the lowest-ranked companies on the combined metric — produced roughly 2.5%. That gap is large enough, and consistent enough across the testing period, that random variation looks like an unconvincing explanation.
The evidence holds up across different time periods and different markets, though the magnitude shrinks. The formula works less dramatically in more efficient markets, but it consistently lands near the top of whatever investment strategies get tested against any long historical data set. Which suggests the underlying mechanism — high-quality businesses at cheap prices outperforming over time — is real and persistent, not a fluke of data mining.
Why the Formula Works
Greenblatt’s explanation draws on both valuation theory and behavioral finance. The valuation theory side is intuitive: high-quality businesses (high ROC) available at cheap prices (high earnings yield) tend to produce better-than-average returns once the market catches up and prices them properly. A systematic exploitation of the market’s tendency to misprice quality — underweighting how durable a competitive advantage actually is, and therefore underpricing the earnings streams of genuinely excellent businesses.
The behavioral finance side fills in the rest: the formula systematically exploits the market’s overreaction to both good and bad news. Companies with high return on capital often show high earnings yields because they’ve hit some temporary setback that dragged the stock price below fair value. The market treats the setback as permanent evidence of fundamental decay — usually an overreaction. The competitive advantages are still intact. The company’s just going through a rough patch. The formula buys these temporarily depressed quality companies and holds until the market figures out the setback was temporary.
This lines up with what Benjamin Graham called the “margin of safety” — the formula is an explicit, quantitative measure of the gap between price and value. Companies in the top decile of the combined ranking aren’t just cheap. They’re the cheapest high-quality companies in the investable universe. The double screen — high quality AND high value at once — creates a population of investments where both the business fundamentals and the valuation are working in your favor simultaneously.
Why People Don’t Follow the Formula
One of the book’s most valuable sections: why the formula keeps working despite being public and fairly simple to run. Greenblatt’s answer is illuminating and a little uncomfortable. The formula requires investors to sit on positions that look and feel bad for extended stretches, and most investors — including most institutional ones — don’t have the psychological fortitude for that.
The formula typically underperforms the market three or four years out of every decade. During those stretches, the investor following it looks stupid, feels stupid, and faces enormous pressure to try something else. The individual investor faces social pressure and the discomfort of watching everyone else make money while they appear to flounder. The institutional investor faces client redemptions, performance reviews, and the professional risk of losing assets under management. The pressure to abandon the strategy hits exactly at the worst possible moment, and it’s overwhelming for most people.
Greenblatt makes a sharp observation here: if the formula worked in every single period and never underperformed, everyone would know about it, everyone would use it, and the resulting arbitrage would erase the excess returns. The periodic underperformance isn’t a bug. It’s the feature. Those stretches are what create the excess returns over the long run — by keeping most investors from consistently sticking with the strategy, which is exactly what maintains the mispricing the formula depends on.
Deep insight, and it extends well past the magic formula into value investing generally. Buying cheap, high-quality businesses produces excess returns precisely because it requires patience and fortitude most investors don’t have. If holding beaten-down value stocks through multi-year underperformance were easy, everyone would do it, and the value premium would vanish. The premium survives because the strategy is hard to maintain in practice — and it’ll likely keep surviving for the same reason.
Greenblatt’s Broader Investment Framework
The magic formula is the book’s headline, but Greenblatt’s commentary around it reveals a broader, more sophisticated framework worth understanding on its own. He’s clear that the formula isn’t his preferred way of investing — it’s a simplified version of his preferred approach, built for investors who won’t be doing deep fundamental research.
Greenblatt’s actual approach, the one practiced at Gotham, goes further. Same two-factor structure — quality and value — but with qualitative judgment layered on top of the quantitative screen. He looks for businesses whose competitive advantages are durable enough to sustain high returns on capital over the holding period, and tries to assess whether a cheap price reflects a temporary setback or a permanent decline. That extra layer is what generates returns meaningfully above what the formula alone produces.
The formula is built for investors who won’t do that extra work. And Greenblatt is honest that even without it, systematic application of the two-factor screen will produce excellent long-term returns. He’s equally honest that the extra work can produce even better returns, for investors willing to put it in. The book works as a complete strategy for the passive investor and as a starting point for the active one who wants to go deeper.
Special Situations and Greenblatt’s Earlier Work

The connection between special situations and the magic formula matters. Greenblatt’s observation from the special situations work was that corporate events kept creating exactly the conditions the formula looks for: high-quality businesses at cheap prices, specifically because the complexity of the event made it hard for most investors to properly value what came out the other side. Spinoffs got priced cheaply because they landed on shareholders who didn’t want them and sold indiscriminately. Merger arbitrage produced cheap exposure to catalysts everyone else was ignoring. Bankruptcy claims got priced cheaply because institutional investors couldn’t hold them for regulatory reasons.
The magic formula is, in a sense, a generalization of that observation: all across the market, at all times, high-quality businesses are getting priced cheaply for reasons that have more to do with investor psychology and institutional constraints than with the businesses’ actual fundamental value. Systematic identification and purchase of those businesses, using simple but rigorous criteria, produces excellent returns. The specific source of the mispricing — corporate event, earnings disappointment, sector rotation, whatever it is — doesn’t matter to the formula. What matters is the combination: high quality, cheap price.
Accounting Considerations and the Formula’s Limitations
Greenblatt acknowledges several real limitations, and the honesty about them is one of the book’s virtues. The formula doesn’t work well for financial companies — banks, insurers, investment firms — because their business models make return on capital and earnings yield hard to apply meaningfully. Doesn’t work well for utilities either, for similar reasons. And it doesn’t adjust for differences in accounting methods across companies or across time.
The accounting limitation is worth spelling out. Companies that invest heavily in intangibles — brands, software, customer relationships — often show overstated returns on tangible capital relative to companies investing mostly in physical assets, because accounting rules expense a lot of intangible investment immediately instead of capitalizing it. A software company spending heavily on R&D (expensed right away) might show a very high return on tangible capital but a much more modest return once total invested capital, intangibles included, gets counted. Greenblatt flags this and suggests investors stay alert to situations where accounting treatment might be skewing the picture.
He’s also honest about the statistical limits of his historical evidence: twenty years isn’t a long time in the context of financial market history, and there are reasonable arguments that the specific period tested included conditions favorable to the strategy. The case for the formula’s validity rests as much on theory — the behavioral and competitive dynamics that should make it work — as on the empirical record, and investors should calibrate their conviction to the strength of both, rather than treating a backtest as a guarantee.
The Democratization of Value Investing

The magic formula website (magicformulainvesting.com) pushes the democratization further, handing over the ranked list of qualifying stocks and the basic mechanics for a nominal fee. The idea that a retail investor with zero financial background could run a strategy that’s consistently outperformed most professionals is genuinely radical — and Greenblatt is earnest about it in a way that reads as admirable rather than naive.
The bigger point: the core insight of value investing — buy quality businesses at cheap prices — isn’t proprietary. It’s been public since Graham, extended by Buffett, Munger, Klarman, Greenblatt, and dozens more, and it’s available to anyone willing to think carefully about investment and act with discipline. The limiting factor was never access to the insight. It’s the psychological discipline to actually apply it through periods of underperformance and doubt.
The actionable point
“The Little Book That Beats the Market” pulls off something genuinely hard: a serious, evidence-based case for a specific investment approach, told in under two hundred accessible pages. The magic formula isn’t the final word on investment wisdom — it’s a simplified version of a framework that grows more powerful once qualitative judgment gets added on top. As a starting point for thinking about what makes some investments better than others, though, it’s excellent.
The two-factor framework — return on capital as the quality measure, earnings yield as the value measure — isn’t just a screen. It’s an expression of first principles about what investing actually is: buying ownership in productive businesses at prices that reflect less than their full worth. Graham expressed that principle one way, Fisher another, Buffett and Munger another still — and now Greenblatt. Call it the unified field theory of value investing. Greenblatt’s contribution is showing that even a mechanical, systematic application of the principle — no wisdom, no judgment, just the numbers — produces impressive results. Add the wisdom and judgment back in and the returns get better still. But the foundation here holds. It’s solid.
The Empirical Evidence in Detail
Greenblatt’s backtest deserves a closer look, since the strength of the empirical claim is central to the book’s credibility. He tested the formula on roughly 3,500 of the largest US stocks from 1988 to 2004 — a stretch that includes two major bull markets, two significant bear markets, and enough variety in economic conditions to give some confidence the results aren’t purely a function of one market regime.
The results hold up. The top quintile by the combined formula produced average annual returns around 30.8%, against 2.5% for the bottom quintile and 12.4% for the market. That outperformance wasn’t driven by one year or one market condition — it held broadly across the seventeen-year period, with real year-to-year variation. The formula underperformed the market in five of those seventeen years, and in some of them, underperformed substantially. That variation matters: it shows the formula isn’t a free lunch, and investors running it have to accept multi-year stretches of underperformance.
Greenblatt also extended the testing internationally, with less dramatic but still positive results. The formula works less powerfully in more liquid, more efficiently priced markets, and keeps outperforming in less efficient markets where fewer sophisticated investors are running similar screens. Consistent with the underlying mechanism: the formula exploits the market’s tendency to misprice quality businesses cheaply, and that tendency is stronger where fewer sophisticated investors are actively hunting for it.
The academic literature has since piled up extensive testing of the formula’s components and variations. The value factor (buy cheap stocks) and the quality factor (buy profitable stocks) have each been extensively documented separately, and their combination has been shown to outperform either one alone. That combination — sometimes labeled “quality value” in the factor investing literature — is now one of the most thoroughly validated return factors in finance, which gives Greenblatt’s original intuition a strong theoretical and empirical foundation.
What the Magic Formula Misses
An honest treatment has to acknowledge the limits, several of which Greenblatt raises himself. The formula is backward-looking by construction — it ranks companies on current financial data, but the real question is whether those rankings predict future returns. True on average. Fails in specific, important cases. Companies in cyclical industries can show high current earnings yield and high current return on capital right at the top of their cycle, exactly when future earnings are most likely to disappoint. The formula will rank these companies favorably at precisely the wrong moment.
The formula also struggles with businesses whose real competitive advantages don’t show up in tangible capital employed. A software company that spends heavily on R&D — expensed immediately, not capitalized — shows high returns on the small amount of tangible capital left after the expensing, but those returns can mislead as a measure of the business’s true capital intensity. Meanwhile a capital-intensive business earning solid returns on a large deployed capital base can look less attractive on the formula than an asset-light business with the same earnings stream — even though both are equally attractive on a return-on-total-investment basis.
None of this invalidates the formula. It contextualizes it. The formula is a systematic screening tool that identifies a population where high quality and cheap price coincide. Within that population, an investor applying qualitative judgment — who can tell durable competitive advantage from temporary, cyclical earnings from normalized ones, good capital allocation from bad — will outperform the investor running the formula mechanically. Greenblatt says as much himself: the magic formula is his simplified presentation of an approach that benefits from extra sophistication, for investors capable of applying it.
Connecting the Formula to Value Investing Principles
The magic formula’s connection to the broader value investing tradition — Graham, Buffett, Munger, Klarman, Marks — is explicit and important. Return on capital is Greenblatt’s operationalization of the “wonderful business” concept Buffett took from Fisher: businesses with high, sustained returns on capital have durable competitive advantages protecting them from competition. Earnings yield is Greenblatt’s operationalization of Graham’s margin of safety: buying businesses at prices that represent a real discount to their earnings power. Put the two together and you get Buffett and Munger’s synthesis — wonderful businesses at fair prices.
What Greenblatt adds is systematization. He shows you don’t need the comprehensive qualitative analysis of Fisher’s fifteen points, or the deep fundamental research behind Buffett’s process, to capture a meaningful fraction of the benefit — a simple, mechanical application of two quantitative metrics gets you most of the way there. That democratization is Greenblatt’s most important contribution. He packaged the wisdom of value investing, which used to take years of study and exceptional judgment to apply, into a form any investor willing to follow a systematic process could use.
The core finding Revisited
“The Little Book That Beats the Market” is a masterpiece of pedagogical efficiency — a complex investment argument made accessible through plain language, concrete examples, and systematic presentation. It doesn’t oversimplify to the point of distortion. It simplifies to the point of usability while keeping the intellectual integrity of the underlying framework intact. Genuine achievement. Which is why the book has become one of the most widely read, most frequently cited introductions to value investing in the literature.
The magic formula itself may not reproduce the exact returns Greenblatt’s backtesting suggests — markets evolve, factors get crowded, and the tested period may not be fully representative going forward. But the underlying logic — buy quality businesses at cheap prices, hold systematically, ignore short-term noise — is as sound as any investment principle ever articulated. Same logic Graham put in statistical terms, Fisher put in qualitative terms, and Buffett and Munger have practiced at the largest scale in history. Greenblatt just found a way to make it accessible to everyone, and in doing so made one of the more valuable contributions to investment literature in the last twenty years.
The book’s enduring value is easiest to see through a simple thought experiment. Show a copy to an experienced value investor — someone who’s spent decades on Graham, Buffett, Munger. Everything in the magic formula would read as familiar: the emphasis on quality, the insistence on value, the patience required through underperformance, the behavioral explanation for why the approach works. What would surprise them is the compactness of the presentation. Greenblatt takes ideas that fill thousands of pages across the value investing canon and compresses them into a framework a motivated teenager could understand and apply. That compression, without meaningful loss of accuracy, is the real magic of the magic formula.
Implementation Challenges and How to Overcome Them
For an investor serious about implementing the magic formula, Greenblatt offers specific practical guidance. First and most important: implement systematically and mechanically — buy the top-ranked stocks at regular intervals, without trying to judge which ones “look better” in a given period. The temptation to override the formula with qualitative judgment is natural. It’s also consistently counterproductive for most investors, because it reintroduces exactly the behavioral biases the systematic approach was built to avoid.
Second point: holding period and turnover. Run the formula annually — buy top-ranked stocks, hold roughly a year, sell, reinvest in the new top-ranked portfolio. The one-year hold is partly tax-motivated (long-term capital gains kick in after twelve months) and partly mechanical (the formula needs time for the market to catch up to the value it identifies). Investors tempted to turn the portfolio over faster in response to short-term underperformance raise their tax burden and shrink the window the formula’s thesis needs to play out.
Third: position sizing. Greenblatt recommends twenty to thirty positions rather than concentrating heavily in the top few names. Appropriate given the mechanical nature of the screen — the formula identifies populations of attractive investments, not individual certainties, and diversifying across the population improves the odds that the population-level return advantage actually shows up in any given portfolio.
Finally, Greenblatt is emphatic about maintaining the strategy through underperformance. He lays out statistical evidence on how often and how long the underperformance stretches run — multi-year periods of trailing the market are normal, and investors should expect them going in. The investor who abandons the formula after two rough years has taken on all the risk and sacrificed most of the return. Maintaining discipline through those stretches is the price of admission. Worth paying.
The magic formula’s ultimate lesson isn’t about a specific set of metrics. It’s about the relationship between analytical discipline, psychological discipline, and long-term returns. The formula supplies the analytical discipline: a systematic, repeatable process for finding quality businesses at cheap prices. The behavioral analysis supplies the psychological context: an explanation for why it works that gives investors the conviction to stick with it through hard periods. And the historical evidence supplies the empirical grounding: demonstrated returns validated across multiple market cycles. Together those three elements make as strong a case as exists for any investment approach. Using the formula seriously means integrating all three, not just one.
The best investment books are the ones you return to at different stages of your own investment education and find new meaning in each time — not because the content changes, but because your experience does. This book is one of them. The first reading gives you the framework. Later readings, after real market cycles and real decisions with real consequences, reveal depths the framework was carrying all along. That’s the mark of a genuinely great investment book, and this one has earned the description many times over.
Investment knowledge isn’t the same as investment wisdom. Knowledge can be read into existence. Wisdom needs practice, failure, honest self-examination, and the slow development of judgment no amount of reading can shortcut. But reading is where practice begins — and reading the right books, the ones honest about both the principles and the difficulty of applying them, gives a student investor the best possible foundation to build the judgment experience will later supply. This is one of the right books.
The investor who takes these lessons seriously — who genuinely understands valuation, develops the psychological discipline to act on that understanding when conditions favor it, and maintains that discipline through the doubt and difficulty that come with any long investment career — gets access to returns that justify the effort. The evidence reviewed here is proof those returns are achievable. The path runs straight through the kind of honest, rigorous, disciplined thinking these pages describe.
Related: The Upside of Stress Summary
Related: What Got You Here Won't Get You There Summary
FROM THE LIBRARY ›
References
