The price-to-earnings (P/E) ratio is the most widely used stock valuation metric, dividing a company's current share price by its earnings per share (EPS) to indicate how much investors are willing to pay per dollar of earnings. A P/E of 20 means investors pay $20 for every $1 of annual earnings — reflecting expectations of future growth, profitability, and risk. The S&P 500's historical average P/E is approximately 15-17, but it varies significantly by market conditions and sector: technology companies often trade at P/E ratios of 25-40 reflecting high growth expectations, while utilities and banks typically trade at 10-15 reflecting stable but slower growth. Our P/E ratio calculator computes trailing P/E (using last 12 months of earnings), forward P/E (using analyst estimates), and PEG ratio (P/E divided by earnings growth rate), helping investors determine whether a stock is overvalued, fairly valued, or undervalued relative to its earnings power and growth prospects.
Trailing vs forward P/E
Trailing P/E uses actual reported earnings from the past 12 months — it is factual but backward-looking. A stock at $100 with $5 EPS over the last year has a trailing P/E of 20. Forward P/E uses consensus analyst earnings estimates for the next 12 months — more relevant for investment decisions but dependent on forecast accuracy. If analysts project $6.25 EPS next year, the forward P/E is 16, suggesting the stock is cheaper on a forward basis. The gap between trailing and forward P/E reveals growth expectations: forward P/E significantly below trailing suggests expected earnings acceleration. Always check both — a stock with a low trailing P/E but high forward P/E may be facing declining earnings, not representing value.
P/E by sector and what drives differences
Sector average P/E ratios (2025-2026): Technology 28-35, Healthcare 18-25, Consumer Discretionary 22-28, Industrials 18-22, Financials 12-16, Energy 10-15, Utilities 14-18, REITs 30-40 (distorted by depreciation — use P/FFO instead). Growth drives P/E expansion: a company growing earnings at 25% annually justifies a higher P/E than one growing at 5% because each current dollar of earnings represents less of the company's future earnings power. Risk compresses P/E: cyclical businesses with volatile earnings (airlines, automotive) trade at lower P/E ratios than stable businesses (consumer staples, utilities). Interest rates also affect P/E — higher rates make future earnings less valuable in present-value terms, compressing P/E ratios market-wide.
Limitations and alternative valuation metrics
P/E fails in several situations: companies with no earnings (many growth and biotech stocks) have undefined P/E ratios. Companies with temporarily depressed earnings show artificially high P/E, appearing expensive when actually cheap on normalized earnings. The Shiller CAPE ratio (cyclically adjusted P/E using 10-year average earnings) smooths business cycle effects — the current CAPE of approximately 33 is historically elevated but has been above 25 since 2017. Alternative metrics for specific situations: EV/EBITDA (8-12 typical) for comparing companies with different capital structures, Price-to-Sales (P/S) for unprofitable growth companies, Price-to-Book (P/B) for financial and asset-heavy companies, and Price-to-Free-Cash-Flow for capital-intensive businesses where earnings differ significantly from cash generation.