The P/E ratio explained: is a stock expensive or cheap?

The best-known valuation indicator, and how to use it without getting it wrong.

Method 7 min read By InvestIQ Team May 25, 2026Updated November 7, 2026

The P/E ratio (price-to-earnings) tells you how many times a company's annual profit the market is paying for its shares. A P/E of 20 means that at today's price the share is worth 20 years of current earnings per share. On its own the number does not say whether a stock is expensive: it only makes sense compared with the sector, the stock's own history and the growth expected.

How is the P/E calculated?

P/E = share price ÷ earnings per share (EPS)

Market capitalisation divided by net income gives the same result. Two versions coexist, and it always pays to know which one you are reading:

VersionEarnings usedStrengthWeakness
Trailing P/EEarnings of the last 12 reported monthsObserved, verifiableLooks backwards
Forward P/EEarnings analysts expect over the next 12 monthsIncludes the outlookRests on estimates, often too optimistic

The inverse of the P/E, the earnings yield (earnings ÷ price), compares directly with an interest rate: a P/E of 20 is an earnings yield of 5%. That is one reason market P/Es tend to fall when rates rise (see how interest rates affect stocks).

A worked example: a fictitious company

Take Company D, a fictitious company whose shares trade at €50.

ItemValueCalculation
EPS, last 12 months€2.50—
Trailing P/E20.050 ÷ 2.50
EPS expected in 12 months€3.00—
Forward P/E16.750 ÷ 3.00
Earnings yield5.0%2.50 ÷ 50
Expected annual EPS growth15%—
PEG1.3320.0 ÷ 15
Sector median P/E24—
P/E relative to sector0.8320.0 ÷ 24

Company D trades 17% below its sector median on past earnings, and its P/E drops to 16.7 if expected earnings materialise. These numbers do not say the stock is "cheap": they say what the market pays today, and what growth would be needed to justify that price. If the forecasts are too optimistic, the forward P/E is wrong, and so is the apparent discount.

What to compare the P/E with

ComparisonQuestionTrap
The sectorDoes the company trade above or below its peers?All the peers may be expensive, or cheap
Its own historyIs it pricier or cheaper than usual?The company may have changed (growth, margins, debt)
Growth (PEG)Is the price consistent with expected growth?Growth is an estimate
The marketIs it pricier than the index?Index composition changes

The PEG divides the P/E by expected annual earnings growth, in percent. A PEG near 1 is often read as a price consistent with growth; above 2, the market is paying a lot for each point of growth. It is a useful marker for fast growers, whose raw P/E always looks high.

Is a high P/E always bad?

No. A high P/E can reflect strong, lasting growth, high margins, little debt or a very predictable business: the market is willing to pay more for better-quality earnings. Conversely, a low P/E can signal a company whose decline the market expects: the value trap. The level of the P/E is never enough; what matters is why it sits there.

Classic traps

  • Cyclical companies. At the top of the cycle earnings are unusually high and the P/E looks low; at the bottom it is the reverse. For a carmaker, a steelmaker or a miner, a low P/E can mark peak earnings rather than a bargain.
  • One-off items. A disposal gain or a one-time impairment distorts a year's earnings. Underlying earnings, excluding non-recurring items, are a better base.
  • Negative or near-zero earnings. The P/E then means nothing. Enterprise value to EBITDA (EV/EBITDA), price to sales or a cash-flow valuation (DCF) work better.
  • Debt. The P/E ignores leverage: two companies on the same P/E, one debt-free and one heavily indebted, do not carry the same risk. EV/EBITDA corrects for this.
  • Buybacks. They shrink the share count and lift EPS without net income growing.
  • Cross-sector comparisons. A software company's P/E and a bank's do not compare.

What is a good P/E ratio? Sector medians

There is no good P/E in absolute terms, but there are orders of magnitude. On 7 November 2026, across the 589 large companies InvestIQ follows (S&P 500, CAC 40, Nasdaq-100 names), the median P/E was 23.6, and 9% of companies had no positive P/E. Sectors differ widely:

SectorCompaniesMedian P/E
Real estate3231.7
Technology11131.3
Basic materials2731.0
Healthcare6529.1
Industrials9226.1
Consumer defensive3921.9
Utilities3320.9
Consumer cyclical5919.7
Energy2815.2
Communication services2715.1
Financial services7613.6

A P/E of 20 is high for a bank and moderate for a software company. These medians are updated monthly on the stock market statistics page; for a wider universe and long series, Aswath Damodaran's data (NYU Stern) is the reference. And to see what growth a P/E implies, the reverse DCF calculator works it out from the price.

How InvestIQ uses the P/E

In InvestIQ's engine, valuation weighs 12% of the score. The P/E enters relative to the sector's (35% of the valuation group), because a raw P/E says nothing without a benchmark. For fast growers (revenue up more than 30% or a P/E above 50) the engine replaces the discounted-cash-flow measure with the PEG. Enterprise value to EBITDA completes the group. The details are in the methodology.

In short

The P/E is the best-known valuation ratio because it is simple: how many years of earnings the market is paying. That simplicity is also its limit. Know which earnings it uses, compare it sensibly, beware of cycles and one-off items, and complete it with other measures. A P/E measures a price, never the quality of the business: for that, see the Piotroski F-Score or ROIC.

Educational guidance only, not investment advice.

Free, no account

Tools and data for this topic

FAQ

Frequently asked questions

There is no good P/E in absolute terms. On 7 November 2026, the median P/E of the 589 large companies InvestIQ follows was 23.6, from 13.6 for financials to 31.7 for real estate. A P/E is compared with the sector, the stock's history and expected growth.

InvestIQ

Put this method into practice

Start with a free tool, no account. For a full analysis of a stock, InvestIQ computes a 0–100 score across five families of data and explains it.

Educational guidance only · Not investment advice

Read next

MethodInvest
DCF valuation explaineda worked example
Method7 min read

DCF valuation explained: a worked example

A DCF values a company from the cash it will produce: the formula, a full worked example, the terminal value, sensitivity and the reverse DCF.

Read article
MethodInvest
Free Cash Flow Yield ExplainedThe Cash Flow Return Metric
Method6 min read

Free Cash Flow Yield Explained: The Cash Flow Return Metric

Free cash flow yield compares the cash a company generates after investment with its market value. How to calculate it, read it and avoid its traps.

Read article
GuideInvest
How to analyze a stocka 7-step method
Guide9 min read

How to analyze a stock: a 7-step method

Seven steps to analyze a stock from its filings: the business, earnings quality, balance sheet strength, what the price implies, what changed, the trend and a written thesis.

Read article
The InvestIQ Brief

One company, researched. Every week.

A short research note in your inbox: the thesis, the numbers behind it, and what could change the story.

Weekly · free·No spam, unsubscribe anytime·Not investment advice