Price to earnings ratio, or P/E, is a way to value a company by comparing the price of a stock to its earnings. The P/E equals the price of a share of stock, divided by the company's earnings-per-share. It tells you how much you are paying for each dollar of earnings.