Here's how to calculate earnings per share: The formula uses the average outstanding shares. Typically, an average number is used because companies may issue or buy back stock throughout the year ...