 When youre thinking about investing in a company, one way to figure out if the stock is a good deal is to look at the price-to-earnings ratio or PE ratio. This is a number that compares how much the stock costs to how much money the company makes. 