Krest
See it live →
The Krest Test · Magic Formula
We took it to Krest.

The Magic Formula beat the Indian market. That's the least interesting thing about it.

A famous stock picking formula did outrun the market over the last decade. But the headline number is a story about an average almost nobody actually earned, and the backtest, read honestly, is stranger than the book.

Educational8 min readNifty 500 · 2016 to 2026
₹10 lakh, invested the Magic Formula way in 2016
Growth of the portfolio · vs Nifty 500
Broad basketBook's 30Best 10Nifty 500

Ten years ago you put ₹10 lakh into the thirty stocks the Magic Formula picks and rebuilt the list once a year, exactly as the book says. Today it's worth about ₹40 lakh. The same money in a plain Nifty 500 index fund would be around ₹37 lakh. So the formula worked: roughly 14.8% a year against the market's 13.9%. If that's all you wanted to know, you can close the tab.

But those smooth lines are the most reassuring thing in this whole analysis, and reassurance is exactly the problem. There's a clue already hiding in the chart. See the orange line, the one that lagged everything? That's the best ten stocks the formula could find. Hold that thought; we'll come back to it. First, the bigger blind spot.

The average nobody earned

You didn't invest for exactly ten years starting in June 2016. Nobody did. Real people start whenever the money shows up and hold for as long as their nerve lasts. So the honest question was never "what did the decade return." It's "what would I have gotten, starting when I actually started, holding as long as I actually held." Ask the backtest that, one bar for every start month, and the smooth 14.8% shatters.

Return by the month you happened to start
Each bar = one start date · held one year · top 30
Magic FormulaNifty 500
Same thirty stocks, same rules. Start in early 2020 and you lost roughly half your money in a year; start months later and you nearly doubled it.

Toggle the holding period, or just watch it cycle, and the panic drains out of the picture. That figure in the corner is the win rate: out of every 100 start dates, how many actually beat the index. Over one year outcomes ran from losing half your money to more than doubling it, and the formula beat the market in only 53 of 100 starts, barely better than a coin toss. Stretch to three years and the swings compress, yet the win rate slips to 45. By five years almost every start date made money, but it still edged the index in fewer than half. Read that carefully: holding longer made you calmer and richer, but it never made the formula reliably better than simply owning the market. Time did the work, not the stock picking.

The edge came with a bill

Go back to the first chart and watch the dips, not the climb. To collect that thin decade long edge you had to sit through a fall of about two thirds from the peak, nearly twice what the index gave up, then spend more than three years clawing back to even. Most investors don't survive that. They sell near the low, which means the people who earned the 14.8% are rarely the ones who lived through the middle of it.

How far below its own peak it fell
Drawdown · top 30 · vs Nifty 500
Magic FormulaNifty 500
The top 30 portfolio, measured against its own running peak. One line, but the depth of the hole was never fixed.

Because a single line understates it. How deep you fell depended entirely on how you built the portfolio from the same formula. Concentrate into the book's handful of names and the hole got far deeper; spread the idea wider and it softened. This is the same strategy, four ways to hold it.

Worst fall from the peak, by how you held it
Maximum drawdown · each Magic Formula variant vs Nifty 500
Concentrate into the best 10 names and roughly three quarters of your money evaporated at the low. The index gave up 38%.
−68%
worst fall for the book's 30 · the index fell −38%
3.5 yrs
underwater, below your own high water mark
−75%
if you held only the best 10 · the more you concentrated, the deeper the hole

What it actually owned

Strip away the theory and a strategy is just the stocks it holds. Over the decade this one kept coming back to the same handful of names. Hindustan Zinc survived 87 of about 98 rebuilds, effectively a permanent holding. It leaned heavily into materials, metals and industrials, and it lived overwhelmingly in small and mid cap companies, not the household large caps most people picture when they think "quality."

The stocks it kept buying
Share of ~98 yearly rebuilds each name survived
Where the money sat · average sector weight

The extent of the check

None of this rests on a single run. The formula was drawn from a universe of more than 5,000 listed companies, with roughly 3,000 to 3,800 clearing the filters at each yearly rebuild. It was then tracked across 260 rolling portfolios and 2,792 tranches over four horizons, one, three, five and ten years, reconstructed every year and rebalanced quarterly in between. Every chart on this page is one view of that same body of work.

The full teardown

This was the gentle version. Underneath, the formula's ranking barely works: the top ranked stocks were not the best, half the formula turns out to be statistical noise, and the harder you trusted the pick the less you made. We took the whole engine apart.

Read the full teardown

A strategy is a claim, not a number

None of this makes the Magic Formula a bad idea, and this isn't a case against it. It's a case for one habit. Every strategy you inherit, whether from a book, a guru, or a confident friend, arrives as a single number and hides its range, its bill, its lumpiness, and the ordinary companies it actually owns. The only way to see them is to run the idea against real history, in the market you actually invest in. You've believed things for years. The freeing question is simply whether you ever checked.

And it bends to every setting you change

There is no single Magic Formula. Hold only the best 10 names and it lagged the index, 8.3% a year against 13.9%, through a 75% fall. Widen to the full top decile, about 50 stocks, and it did best of all at 16.4%. Trim the most volatile sectors and the ride smooths again. Each is a choice, and the choice changed everything. The settings matter as much as the idea, and the only way to find the ones you could actually live with is to move them yourself and watch what happens.

So we took it to Krest, and ran it through the whole test.

KREST TESTED · RUN ON REAL HISTORY ·
Method mark
Krest Tested
We ran the Magic Formula through the test on a decade of Indian data. The rigour is ours; the verdict is yours.

Free · no account needed

Test before you trust.

Every figure on this page came from a few clicks on Krest. See this exact analysis live and interactive, or point the same test at any strategy you have ever believed.

For education only. Not investment advice or a recommendation to buy, sell, or hold any security, strategy, or product. Past performance does not guarantee future results, and all investing carries risk, including the possible loss of capital. Make your own decisions, and consider consulting a SEBI registered investment adviser.

Best effort analysis. Prepared on a best effort basis from historical data and may contain errors, omissions, or assumptions. Shared for information and discussion only, and should be independently verified before you rely on it. Krest accepts no liability for any decision made or loss incurred based on it.

Figures reflect a top-30 portfolio from the Magic Formula ranking (returns on capital + earnings yield, market cap above ₹1,000 cr, positive free cash flow), rebalanced yearly, over the last ten years of Indian data (since June 2016), measured against the Nifty 500 total return index. US figures as reported by Joel Greenblatt in The Little Book That Beats the Market (1988 to 2004).

Krest · mykrest.com