The price to earnings ratio, commonly known as the PE ratio is a way to value a company by comparing the price of its stocks to its revenue/earnings.