PE Ratio Calculator: How to Use It to Find Overvalued Stocks (With Examples)
PE Ratio Calculator: How to Use It to Find Overvalued Stocks (With Examples)
If you've spent more than five minutes reading about investing, you've encountered the price-to-earnings ratio. Everyone quotes it. Analysts argue about it. CNBC anchors throw it around like it's gospel.
But most investors don't actually know how to use it.
They know that a PE of 40 sounds high and a PE of 10 sounds cheap. What they don't know is whether that matters β and what to compare it against. This guide fixes that.
We'll cover exactly what the P/E ratio measures, how to calculate it yourself, what counts as "high" or "low" by sector, and then walk through four real stocks from our pipeline to show you how it works in practice.
What Is the PE Ratio?
The price-to-earnings ratio (P/E ratio) answers one simple question: how much are investors paying for each dollar of a company's earnings?
It's calculated like this:
P/E Ratio = Stock Price Γ· Earnings Per Share (EPS)
So if a stock trades at $100 and the company earned $5 per share last year, the P/E is 20. You're paying $20 for every $1 of earnings.
There are two common versions:
- Trailing P/E β uses the last 12 months of actual earnings. More reliable, but backward-looking.
- Forward P/E β uses analyst estimates for the next 12 months. More useful for fast-growing companies, but dependent on estimates that often prove wrong.
Most financial sites (including ours) default to trailing P/E. When someone just says "the PE ratio," assume they mean trailing.
How to Calculate It Yourself
You don't need a fancy calculator. You need two numbers: the current stock price and diluted EPS from the income statement.
Example:
- Apple (AAPL) stock price: $227.00
- Apple's trailing EPS: ~$7.08
- P/E = $227 Γ· $7.08 = 32.1
That's it. The math is straightforward β the hard part is knowing what to do with that number.
What Is a "Good" PE Ratio?
Here's the trap most investors fall into: they look at a P/E ratio in isolation and declare the stock cheap or expensive. That's almost always wrong.
A P/E of 15 might be expensive for a utility company and cheap for a fast-growing software business. A P/E of 30 might signal extreme overvaluation in one sector and fair value in another.
Context is everything. You need to compare against:
- The stock's own historical P/E (is it above or below its normal range?)
- The sector average (is it cheap or expensive relative to peers?)
- The S&P 500 historical average (what is the market broadly pricing in?)
Let's look at each.
Historical S&P 500 P/E Context
The S&P 500's long-run average P/E ratio sits around 15β17x earnings going back to 1871. That's the historical "fair value" baseline for the broad US market.
Here's how different eras compare:
| Period | S&P 500 Average P/E | |---|---| | Long-run historical average (1871βpresent) | ~15β17x | | Dot-com peak (1999β2000) | ~44x | | Post-financial crisis lows (2009) | ~13x | | 2020 pandemic recovery | ~38x | | 2024β2025 (elevated) | ~22β27x |
When the market P/E is well above its historical average, it doesn't mean a crash is imminent β but it does mean expected future returns are probably lower than historical norms, and individual stocks need to be held to a higher standard.
In today's environment (S&P 500 trading around 22β25x), a stock with a P/E of 35+ needs a strong growth story to justify that premium. A stock with a P/E of 12 might genuinely be cheap β or it might be a value trap in a declining business.
P/E Ratio by Sector: The Benchmarks That Actually Matter
Different sectors command different valuation multiples for legitimate reasons. Technology companies can justify high P/Es because they have asset-light models, high margins, and strong growth. Banks, by contrast, trade at lower multiples because their earnings are more cyclical and capital-intensive.
Here's a practical reference table for 2025β2026:
| Sector | Typical P/E Range | Why It's Different | |---|---|---| | Technology | 25β40x | High growth, scalable margins, IP moats | | Consumer Discretionary | 20β35x | Brand power + cyclical sensitivity | | Healthcare | 18β28x | Defensive + patent-driven profitability | | Consumer Staples | 18β25x | Slow growth but highly predictable earnings | | Industrials | 16β24x | Capital-intensive, moderate growth | | Real Estate (REITs) | 30β50x* | Use FFO/AFFO instead β P/E is misleading | | Utilities | 15β22x | Slow, regulated growth; valued for yield | | Financial Services | 10β15x | Cyclical; P/B often more useful | | Energy | 8β18x | Highly cyclical; normalized earnings matter | | Communication Services | 10β20x | Wide range: mature telecoms vs. media growth |
*REITs report low net income due to depreciation rules; P/E is not the right metric here. Use Price/FFO instead.
The key insight: Never compare a tech stock's P/E to a bank's P/E and conclude one is "cheap." Compare within sectors.
How to Use PE Ratio to Spot Overvalued Stocks
A stock is potentially overvalued when its P/E is:
- Significantly above its 5-year historical average β the market is pricing in high growth that may not materialize
- Well above its sector peers with no clear competitive advantage to justify the premium
- Above the market multiple with deteriorating earnings β a dangerous combination
A stock is potentially undervalued when its P/E is:
- Below its sector average without an obvious reason for the discount
- Near its historical lows during a sector-wide selloff or temporary earnings dip
- Low relative to its earnings growth rate β this is where the PEG ratio (P/E Γ· Growth Rate) becomes useful
The PE ratio doesn't tell you everything β but it tells you whether you need to dig deeper.
Real Stock Examples: PE Ratio in Action
Let's apply this to four stocks currently in our pipeline. These are real numbers.
1. Apple (AAPL) β Technology
Price: $227.00 | P/E: 32.1x
Apple's trailing P/E of 32x sits at the lower end of the tech sector range but is still nearly double the S&P 500's historical average. Is it overvalued?
Not necessarily. Apple has exceptional pricing power, a services revenue stream growing at 15%+ annually, $60+ billion in buybacks per year compressing share count, and one of the most loyal customer bases on earth. The market is paying a premium for predictability.
That said, at 32x, Apple is priced for continued execution. Any stumble β a major product miss, a slowdown in China, regulatory pressure on the App Store β could reset expectations quickly. This isn't a "cheap" stock. It's a quality stock at a quality price.
Verdict: Fairly valued for its quality; not a bargain hunter's pick at current levels.
2. JPMorgan Chase (JPM) β Financial Services
Price: $245.00 | P/E: 12.8x
At first glance, JPM looks cheap: 12.8x is at the high end of the financial sector range but well below the broader market. Does that mean it's undervalued?
JPMorgan is arguably the best-managed large bank in America. Its PE of ~13x reflects the structural reality of the financial sector β capital requirements, interest rate sensitivity, and cyclical earnings compress multiples. This is normal, not a discount.
Compared to regional banks in our pipeline (Truist at 11.5x, US Bancorp at 11.1x, KeyCorp at 12.7x), JPM actually trades at a slight premium to peers β which makes sense given its superior franchise.
The right question for a bank stock isn't "is 12.8 cheap vs. the S&P 500?" It's "is 12.8 cheap vs. other banks, and is the business above-average?" In JPM's case: yes and yes.
Verdict: Fairly priced to modestly undervalued within the financial sector.
3. Amazon (AMZN) β Consumer Discretionary / Technology
Price: $208.00 | P/E: 42.8x
At 42.8x trailing earnings, Amazon looks expensive by almost any historical measure. But here's where surface-level P/E analysis gets dangerous.
Amazon's headline earnings are famously suppressed. The company runs AWS β one of the most profitable businesses on earth β alongside a lower-margin retail operation and a rapidly growing advertising business. For years, Amazon reinvested nearly all profits into growth, keeping reported net income artificially low.
The forward P/E tells a different story, as analysts expect earnings growth to continue accelerating as AWS margins expand. The question isn't whether 42.8x is "high" β it is β but whether future earnings growth justifies it.
This is a case where P/E alone gives you the wrong answer. You'd want to layer in the PEG ratio, forward earnings estimates, and free cash flow yield to get a clearer picture.
Verdict: Optically expensive; needs a forward earnings lens to properly evaluate.
4. Coca-Cola (KO) β Consumer Staples
Price: $64.00 | P/E: 23.1x
Coca-Cola sits at the upper end of the consumer staples range (18β25x typical). Is that expensive for a slow-growth beverage company?
Historically, KO has commanded a premium multiple because of its unmatched distribution network, brand power, and earnings stability. Investors pay up for certainty. During recessions, Coke keeps selling β that reliability gets priced in.
At 23x, KO is priced at roughly 1.5x its long-run historical average P/E (historically ~16β18x). That's not alarming, but it's not a screaming value either. For income investors, the dividend yield (~3%) provides some compensation. For pure value hunters, there are likely better opportunities in this environment.
Verdict: Slightly elevated vs. historical norms; appropriate for income/quality-focused investors, not a value play.
PE Ratio Limitations: What It Can't Tell You
The P/E ratio is useful but incomplete. Here's what it misses:
Debt levels. Two companies with the same P/E β one with no debt, one levered 5x β are not equally risky. The enterprise value/EBITDA ratio adjusts for this.
Capital intensity. A business that must reinvest $0.80 of every dollar of earnings into new equipment isn't worth the same as one that keeps all $1.00.
Earnings quality. Accounting earnings can be manipulated through depreciation schedules, one-time items, and revenue recognition timing. Free cash flow is often more reliable.
Growth rate. A PE of 30 for a company growing earnings at 30% per year (PEG = 1.0) is actually cheap. The same PE for a company growing at 5% (PEG = 6.0) is extremely expensive.
Use P/E as the first filter β the question that prompts further investigation β not the final verdict.
Try Our PE Ratio Analyzer
Want to see the P/E ratio for any stock alongside sector benchmarks, historical context, and valuation scores β without doing the math yourself?
π Use the PE Ratio Analyzer β
Our tool pulls live pipeline data to show you where a stock's P/E stands relative to its sector, its own history, and the broader market β so you can make the comparison in seconds rather than hours.
If you're interested in deeper valuation analysis, also check out our Graham Number Calculator β which uses Benjamin Graham's formula to estimate intrinsic value based on earnings and book value.
The Bottom Line
The P/E ratio is the most-quoted metric in investing for a reason: it's a fast, intuitive snapshot of how expensive a stock is relative to its earnings. But like any single number, it's only useful in context.
Use it to answer the first question β is this stock cheap or expensive relative to its sector and history? Then dig deeper with growth rates, free cash flow, and balance sheet quality to confirm your read.
The market will always give you stocks that look cheap on P/E and turn out to be value traps, and stocks that look expensive and go on to triple. The P/E ratio doesn't replace thinking β it focuses it.
Data sourced from the ValueOfStock.com pipeline. Stock prices and P/E ratios reflect recent market data and may have changed. Always do your own research before investing.
Get Weekly Stock Picks & Analysis
Free weekly stock analysis and investing education delivered straight to your inbox.
Free forever. Unsubscribe anytime. We respect your inbox.