how do you calculate magic formula 
the key metrics for investing with the magic formula method are the earnings yield and return on capital earnings yield is determined by dividing each company s earnings before interest and taxes by the total value of the enterprise return on capital is determined by dividing the company s ebit by the sum of its net fixed assets and working capital 