Price-to-Earnings (P/E) Ratio Calculator
Calculate P/E ratio, forward PE, PEG ratio, and earnings yield. Use the tools below to evaluate whether a stock is fairly priced relative to its earnings.
P/E Ratio Calculator
Calculate the price-to-earnings ratio using stock price & EPS, or market cap & net income.
Forward P/E Calculator
Use analyst EPS estimates to calculate the forward price-to-earnings ratio.
PEG Ratio Calculator
Adjust the P/E ratio for growth. A PEG below 1.0 may signal an undervalued stock.
Earnings Yield Calculator
The inverse of P/E — compare stock earnings yield to bond yields.
S&P 500 P/E Ratio: Historical Trend (1990–2025)
The trailing P/E ratio of the S&P 500 has swung wildly — from under 10x during the 2008 financial crisis to over 45x at the peak of the dot-com bubble.
P/E Ratio by S&P 500 Sector (2026)
Sector context matters when evaluating P/E ratios. Technology commands premium multiples due to higher growth, while energy and financials trade at lower valuations.
P/E Ratio Interpretation Guide
Use this framework as a starting point — but always consider sector, growth rate, and market conditions before drawing conclusions.
What Is the P/E Ratio?
The price-to-earnings ratio (P/E ratio) is one of the most widely used valuation metrics in investing. It tells you how much investors are willing to pay for each dollar of a company's earnings. The formula is simple:
PE Ratio Formula
P/E Ratio = Stock Price ÷ Earnings Per Share (EPS) Alternatively: P/E = Market Cap ÷ Net Income — both produce the same result.
Trailing P/E vs Forward P/E
Trailing P/E (TTM) uses actual reported earnings from the past 12 months. It's based on real data but looks backward. Forward P/E uses analyst estimates of future earnings, making it forward-looking but subject to estimation errors. For growing companies, forward P/E is usually lower than trailing P/E because expected earnings are higher.
Limitations of P/E Ratio
- Negative earnings: P/E is meaningless for companies with losses — you cannot divide by negative EPS
- Earnings manipulation: EPS can be inflated through share buybacks, one-time gains, or aggressive accounting
- Sector differences: A P/E of 25 is cheap for high-growth tech but expensive for a utility company
- Cyclical distortion: Earnings at cycle peaks make P/E look low; earnings at troughs make it look high
- No debt consideration: P/E ignores capital structure — two companies with the same P/E can have vastly different leverage
5 Key Insights About P/E Ratios
Low P/E ≠ Cheap
A stock with a P/E of 8x may be cheap — or it may be a value trap with declining earnings. Always check the trend in EPS, not just the ratio.
PEG Is More Useful Than P/E Alone
A stock with 30x P/E growing at 35% (PEG 0.86) is cheaper than one at 15x P/E growing at 5% (PEG 3.0). Growth context matters enormously.
Sector Comparison Is Essential
Tech companies routinely trade at 25-40x earnings. Comparing a tech stock's P/E to an energy company's is meaningless — always compare within sector.
Interest Rates Drive P/E Levels
When rates are low, P/E ratios expand because future earnings are worth more today. Rising rates compress multiples — the 2022 tech selloff was a P/E compression event.
Earnings Yield Bridges Stocks & Bonds
At a P/E of 20x, stocks yield 5%. If the 10-year Treasury yields 4.5%, the equity risk premium is razor-thin — historically a warning sign for returns.
P/E vs Other Valuation Ratios
No single metric tells the full story. Here is how P/E compares to other popular valuation ratios — and when to use each one.
| Metric | Formula | Best For | Limitation |
|---|---|---|---|
| P/E Ratio | Price ÷ EPS | Profitable companies with stable earnings | Useless for unprofitable firms |
| P/B Ratio | Price ÷ Book Value | Banks, REITs, asset-heavy industries | Irrelevant for asset-light tech |
| P/S Ratio | Price ÷ Revenue | Unprofitable growth companies, SaaS | Ignores profitability entirely |
| EV/EBITDA | Enterprise Value ÷ EBITDA | Capital-intensive firms, M&A analysis | EBITDA can obscure capex needs |
Frequently Asked Questions
How do you calculate the P/E ratio?
The P/E ratio is calculated by dividing the current stock price by the earnings per share (EPS). For example, if a stock trades at $150 and has EPS of $10, the P/E ratio is 15x. You can also divide total market capitalization by net income for the same result.
What is a good P/E ratio for a stock?
There is no universal "good" P/E ratio. Generally, a P/E between 15-20 is considered fair value for large-cap stocks. Below 10 may signal deep value (or trouble), while above 30 often indicates high growth expectations. Always compare P/E within the same sector and consider growth rates.
What is the difference between trailing and forward P/E?
Trailing P/E uses actual earnings from the past 12 months (TTM), making it based on real data. Forward P/E uses analyst estimates of next year's earnings, reflecting future expectations. Forward P/E is typically lower than trailing P/E for growing companies because expected earnings are higher.
What does the PEG ratio tell you?
The PEG ratio (Price/Earnings-to-Growth) adjusts the P/E ratio by the company's earnings growth rate. A PEG of 1.0 suggests the stock is fairly valued relative to its growth. Below 1.0 may indicate the stock is undervalued, while above 1.0 may signal overvaluation. It was popularized by Peter Lynch.
Why do some stocks have no P/E ratio?
A stock has no P/E ratio (or shows N/A) when the company has negative earnings (a net loss). Since dividing by negative EPS produces a meaningless number, P/E is not reported. This is common for early-stage growth companies, biotech firms, and companies in cyclical downturns. Alternative metrics like P/S ratio or EV/Revenue are used instead.