To determine the PE value, companies can simply divide the prevailing market value of their shares by the earnings per share. The formula for the PE ratio is as follows: PE = Current share price/Earnings per share