Price-to-Earnings Ratio Calculator
Computes a stock's price-to-earnings ratio to gauge how much investors are paying for each dollar of earnings. Used by investors to compare valuations across companies or against market averages.
About this calculator
The price-to-earnings (P/E) ratio is one of the most widely used stock valuation metrics in finance. The formula is: P/E = Market Price per Share / Earnings per Share (EPS). It tells investors how many dollars they are paying today for every $1 of annual earnings a company generates. A high P/E can mean the market expects strong future growth, or that the stock is overvalued relative to its earnings. A low P/E may indicate an undervalued stock or a company facing earnings headwinds. EPS is typically the trailing twelve-month figure, though forward P/E uses estimated future earnings. The P/E ratio is most meaningful when compared to peers in the same industry or to the company's historical average, since typical ratios vary widely across sectors.
How to use
Suppose a company's stock trades at $150 per share and its earnings per share over the past year were $10. Apply the formula: P/E = $150 / $10 = 15. A P/E of 15 means investors are paying $15 for every $1 of earnings. If the industry average P/E is 20, this stock may be undervalued relative to peers. If the same company had a P/E of 30 last year, the current ratio might reflect slowing growth expectations or a recent earnings improvement.
Frequently asked questions
What is a good price-to-earnings ratio for a growth stock?
Growth stocks routinely trade at P/E ratios of 30, 50, or even higher because investors are paying for anticipated future earnings rather than current profits. A P/E that looks high by historical standards may be justified if the company is expanding revenue at 30%+ annually. However, high-P/E stocks carry more risk — if growth disappoints, the valuation can collapse quickly. Comparing P/E to the earnings growth rate using the PEG ratio (P/E ÷ growth rate) adds important context for growth investors.
Why can the P/E ratio be misleading when comparing companies across different industries?
Different industries have structurally different P/E norms because their growth rates, capital requirements, and earnings stability differ. Utility companies often trade at P/Es of 12–18 because earnings are stable but slow-growing, while technology firms may trade at 30–60 because growth expectations are much higher. Comparing a utility's P/E to a tech company's P/E leads to false conclusions. Always benchmark P/E ratios within the same industry or sector for meaningful analysis.
How does negative earnings per share affect the price-to-earnings ratio calculation?
When a company reports a net loss, its EPS is negative, making the P/E ratio negative or mathematically undefined — neither of which is useful for valuation. Analysts typically label such stocks as 'N/A' for P/E and use alternative metrics like price-to-sales (P/S) or EV/EBITDA instead. For early-stage companies or turnaround situations, forward P/E based on projected positive earnings is sometimes used. It's important not to force a P/E comparison when a company is loss-making, as it distorts analysis.