Price-to-Earnings Ratio: The One Number Every Investor Must Understand
The PE ratio is the most widely used metric in stock analysis — and the most commonly misunderstood. Learn how to calculate it, interpret it, and use it to find undervalued stocks.

AAPL ranks #99 of 169 · score 47. These 3 lead the sector:
Here is a number that will either make you very rich or very poor, depending on whether you understand it: 34.7. That is the current average price-to-earnings ratio of the S&P 500. Most investors hear that and nod politely. A smaller group actually knows what it means. An even smaller group knows how to use it to make money.
The PE ratio is the single most quoted number in all of stock analysis. It appears on every financial website, in every analyst report, and in every CNBC segment about whether the market is overvalued. Yet most investors use it wrong. They treat it like a speed limit — anything above some magic number is "too expensive" and anything below it is a "bargain." That approach will cost you money.
Let us fix that. Here is everything you actually need to know about the PE ratio, explained the way a smart friend would explain it over drinks.
What the PE Ratio Actually Tells You
The price-to-earnings ratio answers one simple question: how much are investors willing to pay for each dollar of a company's earnings?
If a stock trades at $100 per share and earns $5 per share annually, its PE ratio is 20. Investors are paying $20 for every $1 of current earnings. Think of it as a payback period — at current earnings, it would take 20 years to "earn back" the stock price through profits alone.
That is the textbook definition. Here is the practical one: the PE ratio is a measure of expectations. A high PE means the market expects strong future growth. A low PE means the market expects slow growth, declining earnings, or significant risk. The PE ratio does not tell you whether a stock is good or bad. It tells you what the crowd thinks about its future.
This distinction is critical. A stock with a PE of 50 is not automatically overpriced. It might be growing earnings at 40% per year, which means that PE could compress to 15 within three years even if the stock price does not move. Conversely, a stock with a PE of 8 might be cheap for a reason — maybe the company's industry is shrinking or its competitive moat is eroding.
How to Calculate It (Both Ways)
There are two versions of the PE ratio, and confusing them is one of the most common mistakes investors make.
Trailing PE (TTM) uses the last twelve months of actual reported earnings. This is the number you see on most financial websites. It is backward-looking and tells you what investors are paying for earnings that have already been generated.
Forward PE uses analyst estimates for the next twelve months of expected earnings. This is arguably more useful because stocks are priced on future expectations, not past results. However, it relies on analyst estimates, which can be wrong — sometimes spectacularly so.
The formula is identical for both:
PE Ratio = Stock Price / Earnings Per Share
Let us run through a real example. Apple (AAPL) trades at approximately $245 per share. Over the trailing twelve months, Apple earned about $7.10 per share. That gives us a trailing PE of roughly 34.5x. Analysts expect Apple to earn about $7.80 per share over the next twelve months, which gives a forward PE of about 31.4x.
The gap between trailing and forward PE tells you something important: the market expects earnings to grow. When forward PE is significantly lower than trailing PE, it means analysts are projecting meaningful earnings growth. When they are close together or forward PE is higher, it means earnings are expected to stagnate or decline.
Real-World Examples: What PE Ratios Actually Look Like
Here is where it gets practical. Let us compare the PE ratios of some of the most widely held stocks in the market and see what the numbers tell us about market expectations.
| Company | Ticker | Stock Price | Trailing PE | Forward PE | What It Signals |
|---|---|---|---|---|---|
| Apple (AAPL) | AAPL | ~$245 | 34.5x | 31.4x | Premium for ecosystem + AI potential |
| Microsoft (MSFT) | MSFT | ~$470 | 36.2x | 32.1x | AI cloud growth justifies premium |
| NVIDIA (NVDA) | NVDA | ~$950 | 42.8x | 28.5x | Massive expected earnings growth |
| Amazon (AMZN) | AMZN | ~$225 | 38.1x | 29.3x | AWS + retail margin expansion |
| Alphabet (GOOGL) | GOOGL | ~$195 | 22.4x | 19.8x | Relatively cheap among Big Tech |
| Meta Platforms (META) | META | ~$620 | 25.3x | 22.1x | Ad revenue growth + efficiency |
| ExxonMobil (XOM) | XOM | ~$128 | 11.2x | 10.5x | Cyclical, oil-price dependent |
Notice the range. NVIDIA at 42.8x trailing PE and Exxon at 11.2x are both large, profitable companies. The difference in PE is entirely about growth expectations. The market expects NVIDIA's earnings to grow dramatically (notice the gap between trailing 42.8x and forward 28.5x), while Exxon's earnings are tied to oil prices, which are inherently volatile and hard to predict.
Also notice GOOGL at 22.4x. Among the Big Tech companies, Alphabet trades at a meaningful discount. That could mean it is undervalued, or it could mean the market has specific concerns about its business — perhaps competition in AI search or regulatory risk. The PE ratio identifies the question; your research answers it.
The Sector Problem: Why You Cannot Compare Across Industries
This is the mistake that burns more beginner investors than any other: comparing PE ratios across different sectors.
A technology company with a PE of 30 is not inherently more expensive than a utility company with a PE of 15. They operate in completely different businesses with different growth rates, capital requirements, and risk profiles. Technology companies typically trade at higher PEs because they grow faster, have higher margins, and require less physical capital. Utilities trade at lower PEs because they grow slowly but generate stable, predictable cash flows.
The only valid PE comparison is within the same industry. Is AAPL at 34.5x expensive compared to MSFT at 36.2x? That is a reasonable comparison. Is Apple at 34.5x expensive compared to XOM at 11.2x? That comparison is meaningless.
Here is a rough guide to what "normal" PE ranges look like by sector:
- Technology: 25x to 45x (high growth, high margins)
- Healthcare: 18x to 30x (innovation-driven, regulatory risk)
- Financials: 10x to 16x (rate-sensitive, cyclical)
- Energy: 8x to 14x (commodity-driven, volatile)
- Utilities: 14x to 20x (stable, dividend-focused)
- Consumer Staples: 18x to 25x (defensive, steady growth)
If you want to go deeper into comparing companies within sectors, our guide on investment strategies covers relative valuation frameworks in detail.
The Five Most Common PE Ratio Mistakes
Mistake 1: Ignoring the E in PE. A stock with a PE of 10 is not cheap if earnings are about to fall 50%. Always check whether earnings are sustainable before getting excited about a low PE.
Mistake 2: Using PE on unprofitable companies. If a company has no earnings, it has no PE ratio. Trying to apply PE analysis to pre-profit growth companies is like trying to measure the temperature of a cloud. Use price-to-sales or price-to-book instead.
Mistake 3: Comparing across sectors. We covered this above, but it bears repeating. A bank at 12x PE and a SaaS company at 40x PE are not comparable on this metric alone.
Mistake 4: Ignoring the growth rate. A PE of 40 with 50% earnings growth is arguably cheaper than a PE of 15 with 2% earnings growth. This is why Peter Lynch invented the PEG ratio (PE divided by earnings growth rate). A PEG below 1.0 suggests a stock may be undervalued relative to its growth.
Mistake 5: Treating PE as the only metric. The PE ratio is one tool in your toolkit, not the entire toolkit. It tells you nothing about a company's debt, cash flow, competitive position, or management quality. Always use it alongside other metrics.
When the PE Ratio Lies to You
There are situations where the PE ratio is actively misleading, and you need to know when to ignore it.
One-time charges or gains. If a company took a massive write-down last quarter, its trailing earnings will be artificially depressed, making the PE ratio look sky-high. Conversely, if a company sold a division and booked a huge one-time gain, trailing PE will look artificially low. Always check whether earnings are "clean" or distorted by unusual items.
Cyclical businesses. Companies in cyclical industries like energy, mining, and construction often have their lowest PE ratios at the peak of the cycle — right before earnings collapse. A low PE on a cyclical stock during a boom can actually be a sell signal, not a buy signal. This is the opposite of what most investors intuit.
Accounting differences. Companies in different countries use different accounting standards, which can make PE comparisons across borders unreliable. Even within the U.S., different depreciation methods, stock compensation treatment, and revenue recognition policies can distort earnings and therefore PE ratios.
For these edge cases, you should look at alternative valuation metrics. Check out our super investors section to learn how legendary investors like Warren Buffett use owner earnings and other adjusted metrics instead of simple PE ratios.
The PEG Ratio: PE's Smarter Cousin
Peter Lynch, the legendary Fidelity fund manager, popularized the PEG ratio as a way to account for growth when evaluating PE ratios. The formula is simple:
PEG Ratio = PE Ratio / Annual Earnings Growth Rate
A PEG of 1.0 means the PE ratio equals the earnings growth rate — the stock is "fairly valued" relative to its growth. A PEG below 1.0 suggests potential undervaluation. A PEG above 2.0 suggests the stock may be overpriced relative to its growth prospects.
Let us apply this to our table. NVDA has a trailing PE of 42.8x, but analysts expect 50%+ earnings growth. That gives it a PEG of roughly 0.86 — arguably cheap despite the headline PE looking expensive. AAPL at 34.5x PE with around 10% earnings growth has a PEG of about 3.5 — which suggests Apple's premium valuation requires continued multiple expansion or accelerating growth to be justified.
The PEG ratio is not perfect — it assumes a linear relationship between growth and valuation, which breaks down at extremes — but it is a much better tool than raw PE for comparing companies with different growth profiles.
How to Use PE in Your Investment Process
Here is a practical framework for incorporating PE analysis into your stock research:
Step 1: Check the forward PE and compare it to the industry average. Is the stock trading at a premium or discount to its peers?
Step 2: Calculate the PEG ratio. Is the premium (or discount) justified by the company's growth rate?
Step 3: Look at the PE trend over the last five years. Has the PE been expanding (getting more expensive) or contracting? A rising PE often signals that the market is becoming more optimistic about a company's prospects.
Step 4: Compare forward PE to trailing PE. A big gap means analysts expect significant earnings growth. A small gap or inverse relationship (forward > trailing) is a warning sign.
Step 5: Cross-reference with other metrics. Use price-to-free-cash-flow, price-to-book, and return on equity to build a complete picture.
If you want to see PE ratios analyzed alongside valuations from six legendary investors — including Buffett, Graham, and Lynch — search any ticker on MainRatios. We automatically calculate and display the metrics that matter most for intelligent stock analysis.
Quick Recap
The PE ratio is not a magic number that tells you whether to buy or sell. It is a starting point for deeper analysis. A high PE is not automatically bad, and a low PE is not automatically good. Context matters — industry, growth rate, cycle position, and earnings quality all affect how you should interpret the number.
The best investors use PE as a screening tool, not a decision tool. They use it to identify stocks that warrant further research, then dig into the qualitative factors that the PE ratio cannot capture. If you can master this distinction, you will already be ahead of most market participants.
Ready to analyze these stocks yourself? Search any ticker on MainRatios to see valuations from 6 legendary investors - free.
See Peter Lynch's PEG framework in action
Growth-adjusted valuations that reveal what Lynch would call cheap.
View Lynch's valuations

