The PE ratio compares a company's current share price to its earnings per share. It's a valuation metric used to…