Calculate the P/E ratio to assess a company's market value relative to its earnings, helping investors gauge stock price valuation.