BankopediaBankopedia

Magic Formula Investing

Definition

Magic Formula Investing — Meaning, Definition & Full Explanation

Magic formula investing is a disciplined, rules-based stock selection strategy developed by investor and author Joel Greenblatt that identifies undervalued companies with strong returns on capital and ranks them by value and profitability to build a concentrated portfolio. The strategy aims to beat broad market returns by systematically buying stocks that are cheap relative to their earnings and capital efficiency. It is based on two key metrics: earnings yield (EBIT ÷ enterprise value) and return on invested capital (EBIT ÷ tangible capital employed).

What is Magic Formula Investing?

Magic formula investing combines value investing with quality metrics to reduce emotion and guesswork from stock selection. Rather than relying on analyst forecasts or macro predictions, it applies a mathematical formula to rank companies by two dimensions: how cheaply they trade and how efficiently they deploy capital. The strategy filters for stocks with sufficient market capitalization (typically ₹250 crore or higher for Indian stocks), then ranks them by earnings yield and return on capital, holding the highest-ranked 20–30 stocks for one year before rebalancing.

The approach was popularized in Greenblatt's 2006 book The Little Book That Beats the Market, which claimed the formula outperformed the S&P 500 benchmark in roughly 96% of rolling 20-year periods when backtested historically. The appeal lies in its simplicity: it removes the need for deep fundamental analysis or macroeconomic forecasting. Instead, it enforces discipline by buying objectively cheap, profitable companies and selling them after one year regardless of price movements. The formula assumes that cheap, high-return companies are mispriced by the market and will eventually correct upward.

Free • Daily Updates

Get 1 Banking Term Every Day on Telegram

Daily vocab cards, RBI policy updates & JAIIB/CAIIB exam tips — trusted by bankers and exam aspirants across India.

📖 Daily Term🏦 RBI Updates📝 Exam Tips✅ Free Forever
Join Free

How Magic Formula Investing Works

Step 1: Screen by market capitalization Set a minimum market cap threshold (e.g., ₹250 crore). This filters out micro-cap and illiquid stocks that are difficult to trade in size. The threshold is set by individual preference; conservative investors may use ₹500 crore or ₹1,000 crore.

Step 2: Calculate earnings yield For each stock that clears the cap filter, compute earnings yield = EBIT ÷ enterprise value. Enterprise value = market capitalization + net debt (total debt minus cash). A higher earnings yield means the company's operating profit is large relative to what you pay for it. Rank all stocks by this ratio from highest to lowest.

Step 3: Calculate return on invested capital (ROIC) Compute ROIC = EBIT ÷ tangible capital employed (total assets minus non-interest-bearing liabilities). This ratio shows how much operating profit is generated per rupee of capital deployed. A high ROIC indicates the company uses its assets efficiently. Rank all stocks by ROIC.

Step 4: Combine rankings Add each stock's earnings yield rank and ROIC rank. Stocks with the lowest combined rank score are ranked highest overall (best candidates). This creates a single priority list that balances cheapness and quality.

Step 5: Build and hold the portfolio Buy the top 20–30 ranked stocks with equal or market-cap-weighted positions. Hold for exactly one year. After one year, rebalance by running the formula again, selling losers and winners alike, and replacing them with fresh top-ranked candidates.

Magic Formula Investing in Indian Banking

In the Indian equity market context, magic formula investing has gained traction among retail and institutional investors since 2010, though it is not formally mandated or recommended by the Securities and Exchange Board of India (SEBI). The approach is particularly relevant for CAIIB exam candidates studying equity valuation and portfolio construction, as it bridges quantitative screening and fundamental analysis. Several Indian brokerage platforms and wealth management firms have published magic formula screeners for BSE and NSE-listed stocks, making it accessible to individual investors.

The formula's success in India depends heavily on data quality: EBIT figures must be extracted from audited financial statements filed with the Registrar of Companies (ROC) and disclosed in quarterly (Q1–Q3) and annual results. Indian accounting standards (IndAS, aligned with IFRS) mandate transparent EBIT reporting, reducing the risk of misstatement. However, Indian equities show higher volatility and sectoral cyclicality (e.g., banking, IT, pharmaceuticals) than developed markets, which can cause the formula's rankings to shift sharply quarter to quarter.

Investors applying magic formula to Indian stocks must account for taxation: long-term capital gains (holding >1 year) attract 20% tax with indexation benefit under the Income Tax Act, while short-term gains are taxed at marginal rates. Additionally, rebalancing annually may incur brokerage and GST (18% on brokerage) costs that erode returns on portfolios smaller than ₹50 lakh. The formula works best with adequate trading liquidity; mid-cap and large-cap stocks on NSE typically offer tight spreads, whereas micro-caps may not.

Practical Example

Priya, a 35-year-old engineer in Bangalore with ₹20 lakh in savings, decides to apply magic formula investing to the Indian market. She sets a minimum market cap filter of ₹500 crore and runs a screener on 500+ NSE stocks. The formula identifies Hindustan Zinc (earnings yield 8%, ROIC 18%), Bajaj Auto (earnings yield 7.2%, ROIC 16%), and State Bank of India (earnings yield 6.5%, ROIC 12%) among her top-ranked picks. She buys equal positions of ₹2 lakh each across 10 top-ranked stocks, including these three.

Over the next 12 months, some stocks rise 25%, others fall 10%. Priya ignores daily price movements and holds firm. On the 12-month anniversary, she runs the formula again. Two of her original stocks no longer meet the earnings yield threshold (their valuations have expanded), so she sells them—some at gains, others at losses. She replaces them with newly ranked stocks. By following this disciplined, emotion-free process year after year, Priya aims to match or beat the Nifty 50's long-term return of ~12–15% annually while reducing the time she spends on stock picking.

Magic Formula Investing vs Value Investing

Aspect Magic Formula Investing Value Investing
Primary focus Quantitative ranking by two metrics (earnings yield + ROIC) Qualitative assessment of intrinsic value, moat, management
Time invested Low; largely automated screening High; requires deep analysis of financials, industry, competitors
Holding period Fixed (typically 1 year); mechanical rebalancing Variable; hold until target price reached or thesis breaks
Discipline Extremely high; removes emotion via rigid rules Moderate; investor judgment influences decisions
Suitable for Busy investors, systematic traders, exam learners Active investors, experienced analysts, long-term value hunters

Magic formula investing is a subset of value investing, not a competitor. Value investing is a philosophy; magic formula is a quantified implementation of that philosophy. Value investors may use the formula as a starting point, then layer in qualitative checks (e.g., Is the moat sustainable? Is management honest?). Magic formula users accept that the formula is imperfect but bet that its discipline and simplicity beat the performance of emotional, stock-picking crowds.

Key Takeaways

  • Magic formula investing ranks stocks by two ratios: earnings yield (EBIT ÷ enterprise value) and return on invested capital (EBIT ÷ tangible capital employed).
  • The strategy filters for stocks above a minimum market cap threshold (e.g., ₹500 crore) to ensure liquidity, then combines earnings yield and ROIC rankings into a single priority list.
  • The portfolio holds the top 20–30 ranked stocks for exactly one year, then rebalances mechanically, replacing winners and losers alike based on updated formula scores.
  • In Indian markets, magic formula works best on NSE large-cap and mid-cap liquid stocks; apply caution to illiquid micro-caps due to wide spreads and low trading volume.
  • Long-term capital gains on Indian equities held >1 year qualify for 20% tax with indexation benefit; annual rebalancing incurs brokerage and GST costs that must be factored into net returns.
  • CAIIB candidates should understand magic formula as a quantified bridge between value investing and systematic stock selection, often contrasted with discretionary fundamental analysis in exam questions.
  • Backtests claim ~96% outperformance over 20-year periods, but past performance is not guaranteed; forward results depend on data quality, sectoral mix, and market regime.
  • The formula's key discipline is mechanical annual rebalancing: investors must sell even winners if they no longer rank high, removing emotional attachment