Calculate the P/E ratio to gauge a company's valuation, indicating how much investors are willing to pay per dollar of earnings. A key metric for value investing.