Earnings per share (EPS) is a key financial metric indicating a company's profitability allocated to each outstanding share of common…