HomeGlossary › Price to earnings ratio

Price-to-Earnings Ratio (P/E): Definition, Formula & How to Use It

The price-to-earnings ratio (P/E ratio) measures how much investors are willing to pay for each dollar of a company’s earnings. It’s calculated by dividing the current stock price by earnings per share (EPS). A P/E of 20 means investors are paying $20 for every $1 of annual earnings — essentially pricing in their expectations for future growth, risk, and profitability.

How to Calculate the P/E Ratio

P/E Ratio Formula P/E Ratio = Stock Price ÷ Earnings Per Share (EPS)

The formula is simple, but the inputs matter. The stock price is straightforward — it’s whatever the market is quoting right now. The EPS figure, however, varies depending on which version you use, and that changes the meaning of the result significantly.

Quick Example

Company ABC trades at $150 per share and reported $6.00 in EPS over the trailing twelve months.

P/E = $150 ÷ $6.00 = 25.0x

Investors are paying 25 times earnings for each share. Whether that’s cheap or expensive depends on the company’s growth rate, the industry average, and broader market conditions.

Types of P/E Ratios

The type of EPS you plug into the denominator creates fundamentally different ratios. Mixing them up is one of the most common mistakes in equity analysis.

TypeEPS UsedBest For
Trailing P/E (TTM)Last 12 months of actual reported EPSEvaluating what you’re paying based on proven results
Forward P/EAnalyst consensus EPS estimate for the next 12 monthsPricing in expected growth; comparing fast-growing companies
Shiller P/E (CAPE)Average inflation-adjusted EPS over 10 yearsSmoothing out business cycles; assessing overall market valuation
Analyst Tip
Forward P/E is generally more useful for individual stock analysis because the market prices stocks on future expectations, not past results. But forward P/E is only as good as the analyst estimates behind it — always check how many analysts cover the stock and how wide the estimate range is.

How to Interpret the P/E Ratio

A high P/E doesn’t automatically mean “overvalued,” and a low P/E doesn’t mean “bargain.” The P/E ratio reflects what investors collectively expect about a company’s future. Here’s how to read it in context.

A high P/E (say, 35x or above) typically signals that the market expects strong future earnings growth. Investors are willing to pay a premium today because they believe earnings will catch up to the price. This is common with growth stocks — fast-growing tech companies often trade at elevated P/E multiples. The risk is that if growth disappoints, the multiple compresses and the stock drops hard.

A low P/E (say, 10x or below) usually means the market sees limited growth, higher risk, or structural problems. Value stocks often trade at lower P/E multiples. Sometimes a low P/E is genuinely cheap — the market is underestimating the company. Other times it’s a “value trap” where the low multiple is justified by deteriorating fundamentals.

A negative P/E occurs when EPS is negative (the company lost money). In this case, the P/E ratio is meaningless and shouldn’t be used. Analysts typically switch to alternative metrics like price-to-sales (P/S) or EV/EBITDA for unprofitable companies.

P/E Ratio Benchmarks

Context is everything. A P/E ratio is only useful when compared to something — the company’s own history, its peers, or the broader market.

BenchmarkTypical RangeNotes
S&P 500 average15x – 25x (trailing)Long-term historical average is roughly 15–17x; recent decade has been higher
Technology sector25x – 40x+High growth expectations justify premium multiples
Utilities sector12x – 18xSlow, stable growth with high dividend yields
Financial sector10x – 16xCyclical earnings and regulatory risk compress multiples
Consumer staples18x – 25xDefensive, predictable earnings command a steady premium
Watch Out
Comparing P/E ratios across sectors is misleading. A bank trading at 12x isn’t necessarily cheaper than a software company at 30x — they have completely different growth profiles, capital intensity, and risk characteristics. Always compare within the same industry.

P/E Ratio vs. PEG Ratio

The P/E ratio’s biggest blind spot is that it doesn’t account for growth. A company trading at 40x earnings sounds expensive — but if it’s growing EPS at 40% per year, you might argue it’s fairly valued. That’s where the PEG ratio comes in.

PEG Ratio Formula PEG = P/E Ratio ÷ EPS Growth Rate (%)

A PEG of 1.0 suggests the stock is fairly valued relative to its growth. Below 1.0 may indicate undervaluation; above 1.0 may indicate overvaluation. It’s not perfect — the growth rate used is an estimate, and it breaks down for slow-growing or cyclical companies — but it adds a dimension the P/E ratio lacks.

What Makes the P/E Ratio Expand or Compress

Analysts call it “multiple expansion” when the P/E ratio rises and “multiple compression” when it falls. Understanding the drivers helps you anticipate stock price movements beyond just earnings changes.

FactorEffect on P/EWhy
Accelerating earnings growth↑ ExpansionMarket pays more per dollar of earnings when growth is improving
Falling interest rates↑ ExpansionLower discount rates make future earnings worth more today
Positive earnings surprises↑ ExpansionBeating expectations signals upside that isn’t priced in
Decelerating growth↓ CompressionMarket resets expectations downward
Rising interest rates↓ CompressionHigher discount rates reduce the present value of future earnings
Increased competition or risk↓ CompressionGreater uncertainty about future earnings

Here’s the critical insight: a stock’s price moves based on both EPS changes and multiple changes. If EPS grows 10% but the multiple compresses 15%, the stock still drops. That’s why understanding what drives the multiple is just as important as tracking earnings.

Limitations of the P/E Ratio

The P/E ratio is a starting point, not the final word. EPS can be distorted by accounting choices, one-time items, and share buybacks. Companies with significant depreciation and amortization charges may report low EPS relative to their actual cash generation — which is why analysts also look at free cash flow multiples. The P/E ratio also ignores the balance sheet entirely. A company with no debt and a company drowning in debt can have the same P/E ratio but carry very different risk levels. For a capital-structure-neutral view, consider EV/EBITDA or enterprise value-based metrics. Finally, the P/E ratio is useless for companies with negative earnings, which includes many high-growth businesses during their investment phase.

Key Takeaways

  • P/E Ratio = Stock Price ÷ EPS — it tells you what the market is willing to pay per dollar of earnings
  • Use trailing P/E for backward-looking analysis and forward P/E for pricing in expected growth
  • Always compare P/E within the same sector — cross-sector comparisons are misleading
  • The PEG ratio adjusts P/E for growth and gives a more complete picture for growth stocks
  • Multiple expansion/compression is as important as earnings growth in driving stock returns
  • Supplement P/E with cash flow metrics and balance sheet analysis for a fuller valuation

Related Terms

TermRelationship to P/E
Earnings Per Share (EPS)The denominator in the P/E formula
PEG RatioP/E adjusted for earnings growth rate
EV/EBITDACapital-structure-neutral alternative to P/E
Price-to-Book Ratio (P/B)Compares price to assets instead of earnings
Growth StockTypically trade at high P/E multiples
Value StockTypically trade at low P/E multiples

Frequently Asked Questions

What is a good P/E ratio?

There’s no one-size-fits-all answer. A “good” P/E depends on the industry, the company’s growth rate, and market conditions. Generally, a P/E below the sector average with above-average growth is attractive. The S&P 500’s long-run average trailing P/E is roughly 15–17x, but the market has traded well above that in recent years.

Why do some stocks have very high P/E ratios?

High P/E ratios reflect high growth expectations. If the market believes a company will grow earnings significantly — say, a fast-growing tech or biotech firm — investors accept paying a premium today. The risk is that if growth doesn’t materialize, the P/E compresses sharply.

Is a low P/E ratio always a good sign?

No. A low P/E can mean the stock is undervalued, but it can also signal that the market expects declining earnings, industry disruption, or balance sheet problems. This is called a “value trap” — the stock looks cheap on paper but the low multiple is justified by weak fundamentals.

What’s the difference between trailing P/E and forward P/E?

Trailing P/E uses the last 12 months of actual reported EPS. Forward P/E uses analyst consensus estimates for the next 12 months. Forward P/E is more forward-looking and generally more useful for comparing companies with different growth trajectories, but it depends on the accuracy of analyst forecasts.

Can the P/E ratio be used for all stocks?

No. The P/E ratio doesn’t work for companies with negative earnings because a negative denominator produces a meaningless result. For unprofitable companies, analysts use metrics like price-to-sales, EV/EBITDA, or price-to-book instead.