A popular way to compare stocks selling at various price levels. The P/E ratio is the price of a share of stock divided by earnings per share for a 12-month period. For example, a stock selling for $50 a share and earning $5 a share is said to be selling at a price-to-earnings ratio of 10.