The price-to-earnings ratio divides a company's market capitalization by its trailing twelve-month net income. It tells you how much investors are willing to pay for each dollar of the company's annual earnings. A P/E of 20 means investors are paying $20 for every $1 of annual earnings, or equivalently, the company's earnings yield (the inverse) is 5%.
P/E is the most widely used valuation metric and the starting point for nearly all investment analysis, but it has significant limitations. It does not account for growth (a high P/E may be justified if earnings are growing rapidly), debt levels (two companies with the same P/E but different leverage have different risk profiles), or earnings quality (companies can manage earnings through accounting choices).
P/E is undefined when earnings are negative and can be misleading when earnings are near zero (producing extremely high ratios) or depressed by one-time charges.