Calculate basic and diluted EPS — a key metric for stock valuation.
EPS shows how much profit is attributable to each outstanding share. It's the foundation for the P/E ratio and is the single most watched number in quarterly earnings reports.