To calculate EPS, you divide the earning left over for shareholders by the number of shares outstanding. Another reason why earnings are considered so important is that they help drive stock prices. So the greater the earnings are, the stock prices would move up and the lower the earnings are, down the stock price will go.