What Is the P/E Ratio? Formula, Examples and Limits
ATLAS Team · Updated November 2, 2026
The price-to-earnings (P/E) ratio is the share price divided by the earnings per share of the last twelve months. A P/E of 20 means investors pay $20 for every $1 of annual profit. It is a quick way to compare how expensive companies are, but only within the same industry and only if the earnings are reliable.
The formula
P/E = share price ÷ earnings per share (EPS). If a share costs $100 and the company earned $5 per share in the last twelve months, the P/E is 20. Equivalently, P/E = market capitalisation ÷ net income.
The inverse, EPS ÷ price, is the earnings yield. A P/E of 20 corresponds to an earnings yield of 5%. That makes it easy to compare with the interest on a bond: at a P/E of 20 you "buy" 5 cents of annual profit for each dollar invested.
Trailing versus forward P/E
- Trailing P/E uses the profit already reported over the last twelve months. It is factual but looks backwards.
- Forward P/E uses analysts' expected earnings for the next twelve months or fiscal year. It looks ahead but depends on forecasts that are often revised.
- Fast-growing companies usually have a forward P/E much lower than the trailing one. If the two are far apart, find out why before comparing.
Live examples
The table shows the P/E of the largest companies in the S&P 500 next to the median P/E of the companies in the same sector that ATLAS tracks inside the index. Compare each company with its own sector, not with the whole market.
Live ATLAS data · Data as of November 2, 2026
| Company | Price | P/E | Sector median P/E | Sector |
|---|---|---|---|---|
| Apple AAPL | $338.18 | 39.0 | 31.1 | Technology |
| NVIDIA NVDA | $206.95 | 25.6 | 31.1 | Technology |
| Microsoft MSFT | $520.45 | 29.5 | 31.1 | Technology |
| Alphabet GOOGL | $283.50 | 16.1 | 17.3 | Communication Services |
| Amazon.com AMZN | $250.68 | 20.3 | 19.6 | Consumer Cyclical |
| Meta Platforms META | $611.51 | 26.0 | 17.3 | Communication Services |
Figures update through the day. Fair value is an estimate with a range and a confidence level, not a price target. Educational, not advice.
What a high or low P/E means
- High P/E: investors expect strong growth, or the company is seen as safe and high quality, or earnings are temporarily depressed.
- Low P/E: the company may be undervalued, or the market expects earnings to fall, or the profits are at a cyclical peak.
- No P/E at all: the company lost money in the last twelve months. The ratio cannot be calculated.
When the P/E misleads
- Cyclical industries. A low P/E at the top of the cycle is often a warning.
- One-off items. Selling a business or writing off an asset moves net income and the ratio with it.
- Different accounting. Banks, insurers and real-estate companies are better judged with other ratios such as price-to-book.
- Debt. Two companies with the same P/E can carry very different debt. Compare net debt to earnings.
P/E versus fair value
The P/E is a comparison tool: it needs peers or history to mean anything. Fair value adds a view of the future cash flow of the company itself. They answer different questions, so ATLAS shows both on every company page and uses sector multiples as one of the two inputs to its fair value.
Continue with how to know if a stock is cheap for a full routine.
Frequently asked questions
What is a good P/E ratio?
There is no single good number. It depends on the industry, growth and interest rates. Compare a company with its peers and with its own history.
Can a P/E be negative?
When a company loses money, EPS is negative and the P/E is not meaningful, so most sites show "n/a".
What is the difference between trailing and forward P/E?
Trailing uses reported earnings of the last twelve months. Forward uses analysts' estimates of coming earnings.
Is a low P/E better?
Not always. A low P/E can signal a bargain or a business in trouble. Check why before deciding.
Does ATLAS use the P/E?
Yes. ATLAS shows the P/E next to the sector median on each page and uses the median P/E of peers as one of the two methods behind its fair value.
See this on any stock in ATLAS
Open a free accountKeep learning
More guides
- How to know if a stock is cheapIs it cheap? Valuation
- What is fair valueIs it cheap? Valuation
- How to read an earnings reportEarnings
- Dividend yield and trapsDividends