Joel Greenblatt’s Magic Formula method of investing has outperformed the S&P500 over time. Understanding the metrics used in the Magic Formula can be instructive when investing in individual stocks.