P/E Ratio Calculator
Calculate the Price-to-Earnings ratio and assess whether a stock is cheap, fair, or expensive relative to its earnings.
Calculator Inputs
Must be positive. Negative EPS shows N/A.
Leave at 0 to skip peer comparison
P/E Ratio
Below 15 = low • 15โ25 = fair • 25โ35 = elevated • above 35 = high
Earnings Yield
EPS รท Price ร 100
Verdict
Based on P/E range
vs Industry Average
This Stock
Premium / Discount
Industry Avg
What is the Price-to-Earnings (P/E) Ratio?
The P/E ratio is one of the most widely used valuation metrics in stock analysis. It tells you how much investors are willing to pay for each dollar of a company's earnings. A P/E of 20 means investors are paying $20 for every $1 of annual profit. Higher P/E stocks are priced for growth, while lower P/E stocks may signal value or stagnation.
Trailing P/E vs. Forward P/E
The trailing P/E uses the last 12 months of actual, reported earnings, the number you can verify because it already happened. The forward P/E uses analyst estimates of next year's earnings, which introduces forecast risk. This calculator uses trailing EPS because it reflects reality, not projections. When a company is growing rapidly, its trailing P/E can look stretched while its forward P/E (based on projected earnings increases) may appear much more reasonable, which is why fast-growing companies often appear expensive on a trailing basis but attractive on a forward basis.
Why Sector Context Matters
A P/E of 30 is ordinary for a high-growth technology company but alarming for a mature utility or steel company. Banks and energy stocks often trade at P/E ratios of 8โ14x, while software and biotech companies may trade at 40โ100x or higher. Always benchmark a company's P/E against its peers, not against the broad market. Using the peer comparison field shows you how much of a premium or discount the market assigns relative to sector norms.
Key Limitations
The P/E ratio has real blind spots. It doesn't account for growth rate. A company with a P/E of 35 growing earnings at 40% per year may actually be cheaper than a company with a P/E of 20 growing at only 5%. For growth-adjusted analysis, look at the PEG ratio (P/E divided by the annual earnings growth rate; a PEG below 1 is often considered attractive). The P/E also breaks down when earnings are negative or near zero, and can be distorted by one-time items like asset sales or write-downs. Use it as one tool among several, not as a standalone verdict.