P/E ratio is the market price per share divided by the earnings per share. The market price per shar…