Back to Learn

What Is the P/E Ratio? How to Use It to Screen for Undervalued Stocks

Valuation
15 min read
By ScreenerHub Team

What Is the P/E Ratio?

The price-to-earnings (P/E) ratio measures how much investors pay for each dollar of a company's earnings. It's calculated by dividing the current stock price by the earnings per share (EPS) — and it's the single most widely used valuation metric in stock screening.

P/E Ratio=Stock PriceEarnings Per Share (EPS)\text{P/E Ratio} = \frac{\text{Stock Price}}{\text{Earnings Per Share (EPS)}}

A stock trading at $100 with EPS of $5 has a P/E of 20. That means investors are paying $20 for every $1 of annual profit. A stock at $50 with EPS of $10 has a P/E of 5 — investors pay just $5 per dollar of earnings.

The P/E ratio answers one fundamental question: how expensive is this stock relative to what it earns?

TL;DR: The P/E ratio tells you how much you're paying per dollar of company earnings. Lower P/E suggests a cheaper stock; higher P/E signals the market expects faster growth. It's the starting point for almost every valuation-based stock screen — and the most popular filter on ScreenerHub.


Why the P/E Ratio Matters for Investors

Every investor — whether buying their first stock or managing a seven-figure portfolio — faces the same question: is this stock worth the price?

Revenue can grow while the stock is already overpriced. A company can be profitable yet still a bad deal at the current price. The P/E ratio cuts through the noise by directly comparing what you pay (price) to what you get (earnings).

Here's why it shows up in almost every investment decision:

  • Instant valuation check. A single number tells you whether a stock is cheap, fair, or expensive compared to its earnings.
  • Apples-to-apples comparison. You can compare a $15 stock to a $500 stock using the same metric — the absolute price is irrelevant.
  • Strategy foundation. Value investors screen for low P/E. Growth investors accept high P/E in exchange for earnings momentum. The P/E ratio is the filter that distinguishes these approaches.
  • Historical context. Tracking a stock's P/E over time reveals whether it's trading above or below its own historical average — a signal that something has changed.

How to Calculate the P/E Ratio

The formula is simple, but the inputs matter:

P/E Ratio=Market Price Per ShareEarnings Per Share (EPS)\text{P/E Ratio} = \frac{\text{Market Price Per Share}}{\text{Earnings Per Share (EPS)}}

Example:

  • Stock price: $150
  • EPS (trailing twelve months): $7.50
  • P/E ratio: $150 ÷ $7.50 = 20.0

This means the market values the company at 20 times its annual earnings.

Trailing P/E vs. Forward P/E

There are two versions of the P/E ratio — and they tell you different things:

TypeEPS UsedWhat It Tells YouBest For
Trailing P/ELast 12 months of actual earningsWhat investors paid based on proven resultsScreening for current valuation
Forward P/EAnalyst estimates for next 12 monthsWhat investors expect to pay based on forecastsEvaluating growth expectations

Trailing P/E is based on facts — real earnings already reported. Forward P/E is based on predictions — analyst consensus estimates that may or may not be accurate.

On ScreenerHub, the P/E ratio filter uses trailing twelve-month earnings by default, so your screens are grounded in actual financial results rather than projections.

Tip: When a company's forward P/E is significantly lower than its trailing P/E, analysts expect earnings to grow. When forward P/E is higher, they expect earnings to shrink. Comparing the two gives you a quick read on market sentiment.


What Is a "Good" P/E Ratio?

This is the most common question — and there's no universal answer. A "good" P/E depends entirely on context: the industry, the growth rate, market conditions, and your investment strategy.

That said, here are practical benchmarks:

General P/E ranges

P/E RangeWhat It Usually MeansTypical Examples
Below 10Deep value territory. The market expects low or declining earnings — or the stock is genuinely cheap.Cyclical stocks during downturns, turnaround candidates
10 – 15Classic value range. The stock is priced modestly relative to its earnings.Mature companies, utilities, banks
15 – 25Fair to moderate valuation. The market expects steady growth.S&P 500 average (historically ~15–18), established tech
25 – 40Growth premium. Investors pay more because they expect earnings to accelerate.High-growth SaaS, consumer brands with pricing power
Above 40High expectations. The company must deliver strong earnings growth to justify the price.Hypergrowth tech, market leaders with dominant position
NegativeThe company is losing money. P/E doesn't apply — use P/S or EV/Revenue instead.Pre-profit startups, cyclical companies in a downturn

P/E ratios by sector (U.S. market averages)

P/E ratios vary dramatically by sector. Comparing a tech stock's P/E to a utility's P/E is meaningless without sector context.

SectorTypical P/E RangeWhy
Technology25 – 40+High growth expectations, scalable business models
Healthcare20 – 35Pipeline value, patent-protected revenue
Consumer Discretionary18 – 30Cyclical, tied to economic conditions
Financials10 – 18Regulated, lower growth, asset-heavy
Utilities12 – 20Stable cash flows, dividend-oriented investors
Energy8 – 18Cyclical, commodity-dependent, volatile earnings
Real Estate (REITs)15 – 25P/E is less useful here — use FFO-based ratios
Industrials15 – 22Moderate growth, cycles tied to capex spending

The takeaway: Always compare a stock's P/E to its sector average, not to the market as a whole. A P/E of 30 in technology is normal. A P/E of 30 in utilities signals something unusual.

On ScreenerHub, you can combine the P/E filter with sector and industry filters to screen within a specific sector — so your valuation comparisons are meaningful.

<!-- [SCREENSHOT: ScreenerHub Studio — P/E ratio filter set to 5–15, combined with a Sector filter set to "Financials", showing filtered results] -->


How to Use the P/E Ratio in Stock Screening

The P/E ratio becomes powerful when you combine it with other metrics inside a stock screener. Here are four practical screens you can build on ScreenerHub:

Screener 1: Classic value stocks

Find established companies trading at a discount to their earnings.

FilterSetting
P/E ratio5 – 15
Market cap> $1B
ROE> 10%
Debt-to-equity< 0.5

This screen targets profitable, financially healthy companies that the market has priced conservatively. Start here if you follow a value investing approach.

<!-- [SCREENSHOT: ScreenerHub Studio — value screen with P/E 5–15, Market Cap > $1B, ROE > 10%, Debt/Equity < 0.5 applied, showing matching results] -->

Screener 2: Growth at a reasonable price (GARP)

Identify companies growing fast but not yet trading at nosebleed valuations.

FilterSetting
P/E ratio10 – 25
Revenue growth (1Y)> 15%
Earnings growth> 10%
Gross margin> 40%

GARP sits between value and growth investing. You accept paying more than a deep-value investor, but you insist on real earnings growth to justify the price.

Screener 3: Dividend value

Find dividend-paying stocks that are also valued attractively.

FilterSetting
P/E ratio8 – 20
Dividend yield3% – 7%
Payout ratio< 70%
Debt-to-equity< 1.0

A low P/E combined with a sustainable dividend yield can signal a stock that pays you to wait. The payout ratio filter ensures the dividend isn't being funded by debt. Perfect for a dividend investing strategy.

Screener 4: Sector comparisons

Compare P/E ratios within a single sector to find the cheapest stocks in an industry.

FilterSetting
SectorTechnology (or any sector)
P/E ratioBelow sector average
Revenue growth (1Y)> 5%
Market cap> $500M

This approach is especially useful for investors who already have sector conviction — you know where you want to invest, and you're using the P/E ratio to find the best value within that sector.

Try it now: Open the Screener Studio and add a P/E ratio filter. Set it to 5–15, then add a Market Cap filter above $1B. You'll have a running value screen in under 30 seconds.


The P/E Ratio's Blind Spots

The P/E ratio is the most popular valuation metric for a reason — it's intuitive, widely available, and useful across most industries. But it has real limitations you need to understand:

1. Earnings can be manipulated

Companies have significant discretion in how they report earnings. Accounting choices around depreciation, stock-based compensation, one-time charges, and revenue recognition all affect the EPS number — and therefore the P/E ratio.

Mitigation: Pair P/E with Price-to-Free-Cash-Flow (P/FCF), which is harder to manipulate because cash flow is an objective measure.

2. Negative earnings break the metric

When a company loses money, its EPS is negative, and the P/E ratio becomes meaningless (or negative). Many high-growth tech companies and early-stage businesses have no usable P/E.

Mitigation: For unprofitable companies, use Price-to-Sales (P/S) or EV/Revenue as alternative valuation metrics.

3. Cyclical businesses distort the ratio

For companies in cyclical industries (energy, mining, automotive), earnings swing dramatically with economic cycles. A low P/E at the peak of a cycle can actually signal that earnings are about to decline.

Mitigation: Use the Shiller P/E (CAPE ratio) which averages 10 years of inflation-adjusted earnings, or evaluate the full cycle rather than a single year.

4. It ignores debt

Two companies can have identical P/E ratios, but one is debt-free while the other is leveraged to the hilt. The P/E ratio only looks at equity value and earnings — it doesn't account for how the company is financed.

Mitigation: Add a Debt-to-Equity filter to your screen, or use EV/EBITDA which factors in debt through the enterprise value calculation.

5. It says nothing about growth

A P/E of 10 could be a bargain — or a value trap. Without knowing whether earnings are growing, stable, or declining, the P/E ratio is incomplete.

Mitigation: Combine with revenue growth and earnings growth filters. On ScreenerHub, you can layer growth criteria directly into your P/E-based screens.

An investor analyzing financial statements and charts spread across a desk, with a calculator and coffee cup nearby The P/E ratio is a starting point, not the complete picture. Always combine it with other metrics.


P/E Ratio vs. Other Valuation Metrics

The P/E ratio is the most common starting point, but it's not the only tool. Here's how it compares to other valuation metrics you can use on ScreenerHub:

MetricFormulaBest ForP/E AdvantageP/E Limitation
P/E RatioPrice ÷ EPSMost stocks with positive earningsSimple, universal, easy to compareBreaks with negative/volatile earnings
P/B RatioPrice ÷ Book ValueAsset-heavy industries (banks, REITs)P/E ignores asset base
P/S RatioPrice ÷ Revenue per ShareUnprofitable or early-stage companiesP/E accounts for profitabilityP/E can't be used when earnings are negative
EV/EBITDAEnterprise Value ÷ EBITDAComparing companies with different capital structuresP/E is simplerP/E ignores debt
Price/FCFPrice ÷ Free Cash Flow per ShareCash-flow-focused analysisP/E uses accounting earnings, not cash
PEG RatioP/E ÷ Earnings Growth RateGrowth-adjusted valuationP/E doesn't factor in growth rate

When to use what:

  • Start with P/E for broad screening of profitable companies
  • Add P/B when screening banks, insurance, or real estate
  • Switch to P/S when screening high-growth companies that aren't yet profitable
  • Use EV/EBITDA when comparing companies with significantly different debt levels
  • Layer in P/FCF to verify that reported earnings are backed by actual cash generation

On ScreenerHub, you can combine any of these metrics in a single screen. A typical quality screen might use P/E and EV/EBITDA and Price/FCF together — each one catches what the others miss.


Real-World P/E Examples

Abstract ratios become concrete with real examples. Here are the kinds of P/E profiles you'll encounter when screening:

The deep-value candidate (P/E: 6)

A mid-cap industrial company trading at $30 with EPS of $5.00. The low P/E suggests the market expects flat or declining earnings. Worth investigating: is this genuinely cheap, or is the market pricing in problems you haven't seen yet?

Next steps: Check revenue growth trend, debt levels, and recent earnings calls. Add the stock to a watchlist if the fundamentals look solid.

The fair-value stalwart (P/E: 16)

A large-cap consumer goods company trading at $80 with EPS of $5.00. The P/E is right in line with the S&P 500 average. The market is pricing this as a reliable, moderate-growth business.

Next steps: Compare to its own 5-year average P/E. If it usually trades at 20+ and now sits at 16, something may have temporarily depressed the stock.

The growth premium (P/E: 35)

A high-growth tech company trading at $175 with EPS of $5.00. Investors are willing to pay 35x earnings because they expect those earnings to double or triple over the next few years.

Next steps: Check forward P/E. If analysts expect EPS to reach $10 next year, the forward P/E is only 17.5 — much more reasonable. Growth can justify a high trailing P/E.

The value trap warning (P/E: 4)

An energy company trading at $20 with EPS of $5.00. Extremely low P/E — but EPS was $8 the prior year and $12 the year before that. Earnings are declining fast, and the low P/E reflects collapsing profitability, not hidden value.

Next steps: This is why you should never screen on P/E alone. Add earning growth, revenue trend, and margin filters to separate genuine bargains from companies in distress.


How to Screen for P/E Ratio on ScreenerHub

Setting up a P/E-based screen takes about 30 seconds:

1. Open the Screener Studio

Go to the Screener Studio. If you're new, the interface starts clean — no filters applied.

<!-- [SCREENSHOT: ScreenerHub Studio — clean starting state with the "Add Filter" button prominent] -->

2. Add the P/E ratio filter

Click Add Filter, then either search for "P/E" or browse the Valuation category. Select P/E Ratio.

<!-- [SCREENSHOT: ScreenerHub Studio — filter selection panel with Valuation category expanded, P/E Ratio highlighted] -->

3. Set your range

Slide the range to match your strategy:

  • Value screen: 5 – 15
  • GARP screen: 10 – 25
  • Broad screen: 0 – 30 (excludes negative earnings)

<!-- [SCREENSHOT: ScreenerHub Studio — P/E ratio filter configured with range 5–15, showing real-time result count updating] -->

4. Layer additional filters

Add 2–3 more criteria to narrow results meaningfully:

  • Market cap — to filter company size
  • ROE — to ensure profitability quality
  • Debt-to-equity — to check financial health
  • Sector — to compare within an industry

5. Review and save

Sort results by P/E ratio (ascending) to see the cheapest stocks first. Save promising candidates to a watchlist, or save the entire screen setup for regular re-runs.

Pro tip: Set up monitoring for your watchlist stocks to track whether their P/E ratio drifts outside your target range. ScreenerHub's Monitoring Lab alerts you when criteria change — so you can act on valuation shifts early.

<!-- [SCREENSHOT: ScreenerHub Monitoring Lab — monitoring set tracking watchlist stocks with P/E ratio as a monitored criterion, showing delta changes] -->


Frequently Asked Questions

What is a good P/E ratio for stocks?

There's no universal "good" P/E. Context matters: a P/E of 12 is excellent for a stable utility company but unremarkable for a high-growth tech firm. As a general guideline, a P/E between 10 and 20 is considered moderate for U.S. large-cap stocks. Compare to the sector average rather than the market average for a meaningful assessment.

Is a high P/E ratio good or bad?

Neither inherently. A high P/E (above 25) means investors expect strong future earnings growth. If the company delivers that growth, the high P/E was justified. If it doesn't, the stock is overvalued. High P/E = high expectations. The risk is whether those expectations are met.

Is a low P/E ratio always a bargain?

No. A low P/E can signal genuine undervaluation, but it can also indicate declining earnings, structural problems, or an industry in secular decline. This is why investors call some low-P/E stocks "value traps." Always combine P/E with growth and quality metrics to distinguish bargains from traps.

Why do some stocks have no P/E ratio?

When a company has negative earnings (net loss), the P/E ratio is either negative or undefined — it's not meaningful. Pre-profit companies, startups, and cyclical businesses at the bottom of a cycle often have no usable P/E. Use Price-to-Sales or EV/Revenue as alternatives.

Should I use trailing P/E or forward P/E?

Use trailing P/E (based on actual reported earnings) for screening — it's grounded in facts. Use forward P/E (based on analyst estimates) as a supplementary check to understand growth expectations. If trailing P/E is high but forward P/E is much lower, analysts expect significant earnings growth ahead.

How is the P/E ratio different from the PEG ratio?

The PEG ratio adjusts the P/E for growth: PEG = P/E ÷ Earnings Growth Rate. A PEG below 1.0 suggests the stock is cheap relative to its growth. The P/E ratio alone doesn't account for growth speed — the PEG ratio does.

Can I screen for P/E ratio on ScreenerHub?

Yes. P/E ratio is one of the most popular filters on ScreenerHub. You can set exact ranges, combine it with 50+ other criteria, and save your screen to re-run anytime. Start screening now →


Keep Learning

The P/E ratio is the most important single valuation metric — but it works best when combined with other measures. Explore these related topics: