Calculate the Price-to-Earnings ratio to evaluate whether a stock is overvalued, undervalued, or fairly priced. Includes Forward P/E, PEG ratio, and industry benchmarks.
Try an example:
Optional: Advanced Metrics
Enter stock price and EPS to see your P/E ratio calculation.
The Price-to-Earnings (P/E) ratio is one of the most widely used metrics for stock valuation. It divides a company's share price by its earnings per share (EPS) to show how much investors pay for each dollar of profit. A higher P/E suggests investors expect stronger future earnings growth, while a lower P/E may signal undervaluation or weaker growth expectations. As of late July 2026, the S&P 500 trades at a forward P/E of approximately 20x, above both the 5-year average of 19.9x and the 10-year average of 19.0x, according to FactSet.
The P/E ratio helps investors compare valuations across companies in the same industry or against the broader market. However, it should never be used in isolation. Factors like growth rate, EBITDA margins, debt levels, and cost of capital all influence what constitutes a "fair" P/E for a particular stock. Pairing P/E analysis with a DCF valuation helps confirm whether a given multiple is justified by the underlying cash flows.
There are two main types: Trailing P/E (using past 12 months earnings) and Forward P/E (using estimated future earnings). Each provides different insights, and savvy investors often look at both to get a complete picture of a stock's valuation. Income-focused investors also weigh dividend yield alongside P/E when assessing total return potential.
P/E Ratio = Stock Price / Earnings Per Share (EPS)
Stock Price: The current market price per share. This is readily available from any financial website or brokerage platform.
Earnings Per Share (EPS): The company's net income divided by the number of outstanding shares. Use our earnings per share calculator to derive this figure from net income and shares outstanding. You can also find TTM (trailing twelve months) EPS in quarterly earnings reports or financial data providers.
Example: If a stock trades at $100 and has EPS of $5, the P/E ratio is 100/5 = 20x. This means investors are paying $20 for every $1 of annual earnings.
As of late July 2026, sector forward P/E ratios vary widely: Information Technology trades at roughly 28x, Consumer Discretionary at 26x, while Energy sits near 14x and Financials near 15x (FactSet Earnings Insight). These differences reflect growth expectations, capital intensity, and margin profiles. Use the Valuation Multiple Calculator to explore EV/EBITDA and EV/Revenue multiples alongside P/E.
A cloud software company trading at $200 with EPS of $5 has a trailing P/E of 40x. With earnings growing 30% annually, its PEG ratio is 1.33 -- reasonable for the sector. The S&P 500 Information Technology sector trades at a forward P/E of about 28x as of July 2026, above its 25-year average of 20.3x. Investors accept the premium because scalable, high-margin business models can compound earnings rapidly. If earnings double in three years, the effective P/E on future earnings drops to 20x. For SaaS companies, also check the SaaS Valuation Calculator which uses revenue multiples better suited to subscription businesses.
A regulated utility trading at $50 with EPS of $5 carries a P/E of 10x. Energy and Financials forward P/E ratios sit around 14-15x, well below the S&P 500 average of ~20x. The low multiple reflects modest growth (3-5% annually) and capital-heavy operations. However, a 4% dividend yield plus predictable cash flows can deliver attractive total returns for income investors. Use the CAPM Calculator to estimate the required rate of return for these lower-beta sectors. The low P/E is not a "bargain" but reflects the business reality. Pair this analysis with the Dividend Yield Calculator to assess total return potential.
A biotech startup trading at $30 with negative EPS of -$2 has no meaningful P/E ratio. For unprofitable companies, investors use alternative metrics: Price-to-Sales (P/S) ratio, Enterprise-Value-to-Revenue, or Price-to-Book value. The P/E ratio simply does not work for companies not yet generating profits. For private startups, consider revenue-based valuation instead.
The table below shows forward 12-month P/E ratios by S&P 500 sector. Data sourced from FactSet Earnings Insight and MacroMicro. Sector P/E ratios reflect consensus analyst estimates for the next 12 months of earnings.
| Sector | Forward P/E | Context |
|---|---|---|
| Information Technology | ~28x | 25-year avg: 20.3x; elevated by AI/cloud growth |
| Consumer Discretionary | ~26x | 25-year avg: 20.1x; includes mega-cap e-commerce |
| Industrials | ~22x | 25-year avg: 17.0x; cyclical, tracks capex cycle |
| Communication Services | ~22x | 25-year avg: 16.1x; includes digital advertising |
| S&P 500 (overall) | ~20x | 5-yr avg: 19.9x; 10-yr avg: 19.0x |
| Healthcare | ~18x | Below market; mix of pharma, biotech, devices |
| Consumer Staples | ~18x | Defensive; low growth but stable earnings |
| Financials | ~15x | Asset-heavy; use P/B as complementary metric |
| Energy | ~14x | Cyclical; low P/E reflects commodity price risk |
What is a good P/E ratio? A good P/E ratio depends on the sector and market conditions. As of late July 2026, the S&P 500 forward P/E is approximately 20x (20.1x per FactSet), above its 10-year average of 19.0x. Technology stocks trade around 28x forward earnings, Industrials at 22x, while Energy and Financials trade at 14-15x. A P/E below the sector median may indicate undervaluation, but investors should always pair P/E with growth rates (PEG ratio), debt levels, and a discounted cash flow analysis before drawing conclusions.
What is a good PEG ratio? The PEG ratio divides a stock's P/E ratio by its expected earnings growth rate. A PEG below 1.0 suggests the stock may be undervalued relative to its growth, a PEG near 1.0 indicates fair value, and a PEG above 2.0 may signal overvaluation. For example, a stock with a P/E of 25 and 25% earnings growth has a PEG of 1.0, while the same P/E with only 10% growth yields a PEG of 2.5. PEG works best for profitable, growing companies and should be compared within the same sector, since high-growth industries like technology sustain higher PEG ratios than mature sectors.
What is the Shiller CAPE ratio and how does it differ from P/E? The Shiller Cyclically Adjusted Price-to-Earnings (CAPE) ratio averages inflation-adjusted earnings over 10 years instead of using a single year. As of July 2026, the S&P 500 Shiller CAPE stands at approximately 40, compared to a historical median of about 16, according to Multpl. While the standard trailing P/E can be distorted by one-time charges or cyclical earnings peaks, the CAPE smooths these effects over a full business cycle. A CAPE above 30 has historically preceded lower-than-average forward 10-year returns. However, CAPE critics note that changes in accounting standards, sector composition (more asset-light tech), and persistently low real rates over the past decade can structurally raise the ratio without implying overvaluation.
The P/E ratio is deceptively simple. Below are the most frequent errors investors make when relying on this metric, based on analysis from the Guinness Global Investors research team and Corporate Finance Institute.
Technology stocks trade at ~28x forward earnings while energy companies trade near 14x. Comparing them directly is meaningless. Always benchmark against sector peers or use the industry comparison feature in this calculator.
A low P/E can signal declining earnings, structural industry problems, or accounting issues rather than a bargain. Check the EBITDA trend and revenue trajectory before concluding a stock is cheap.
The PEG ratio depends on growth estimates that are only as reliable as the analysts making them. Growth forecasts often prove too optimistic, and the PEG ratio does not account for the quality or sustainability of that growth.
P/E does not reflect how a company is financed. A highly leveraged firm can show high EPS (and low P/E) because debt magnifies returns in good times. Use WACC and EV/EBITDA to account for debt in the valuation.
Cyclical companies can look cheap at peak earnings and expensive at trough earnings. Use normalized or average earnings over a full business cycle (5-7 years) for a more reliable P/E estimate.
While the P/E ratio is a useful starting point, it has significant limitations that investors should understand:
Use this framework to interpret your P/E ratio in context. No single threshold works for every stock -- always compare within the same sector.
Potentially undervalued relative to growth. Verify the growth estimate is realistic. Check whether earnings are declining (a "value trap") or genuinely discounted. Run a DCF analysis to confirm intrinsic value supports the thesis.
Fairly valued. The market is pricing in expected growth at a reasonable rate. For income investors, check the dividend yield -- a fair P/E plus a strong dividend can still deliver attractive total returns.
Potentially overvalued unless the company has a durable competitive advantage (wide moat, network effects, regulatory barriers). Examine EBITDA margins, gross margins, and revenue growth trajectory to assess whether premium pricing is justified.
P/E analysis works best alongside other valuation approaches. Use these tools together to build a complete picture of a company's worth. Browse the Financial Ratios hub for more tools, or read our 12-month exit checklist for strategic context.
Estimate intrinsic value by discounting projected free cash flows to present value.
Calculate operating profitability and EV/EBITDA multiples for cross-company comparisons.
Determine weighted average cost of capital -- the discount rate for DCF valuations.
Compare EV/Revenue, EV/EBITDA, and P/E multiples across sectors and deal types.
Value subscription businesses using ARR multiples, growth rate, and retention metrics.
Calculate net asset value per share and Price-to-Book ratio for asset-heavy firms.
Calculate return on investment for any investment type
Measure ability to meet short-term obligations
Calculate current ratio and working capital
Calculate proportion of assets financed by shareholders
Financial Basics Guide
In-depth guide with examples, benchmarks, and interactive calculators