What is a P/E ratio?

Last updated August 2026

Short answer

The price-to-earnings ratio is a company's share price divided by its earnings per share, and it answers one question: how much are you paying for a dollar of annual profit. A P/E of 20 means $20 per dollar of earnings. It is a compact summary of what the market expects, which is why it is quoted everywhere and why reading it as a verdict on value is the standard mistake.

The number is arithmetic. What it means is an interpretation, and the interpretation is where almost all the errors live.

What the ratio is telling you

A high P/E says the market expects earnings to grow. Investors pay 40 times current profit only if they expect the profit to be much larger later.

A low P/E says the opposite: the market doubts those earnings will persist, or sees a risk it wants compensating for.

In both directions the ratio is a statement about the future dressed up as a fact about the present.

Trailing, forward and the difference

Trailing P/E uses the last twelve months of reported earnings. It is auditable and it describes a period that has ended.

Forward P/E uses estimates for the coming year. It matters more and it is an opinion, which turns optimistic estimates into an apparently cheap stock.

When a headline quotes a P/E without saying which, it is usually trailing, and the gap between the two is often the entire argument.

Why comparisons go wrong

Across sectors, multiples differ for structural reasons. Software earnings scale with little extra cost; a utility's do not, and the market prices that difference permanently.

Across the cycle, ratios mislead in the opposite direction. A cyclical company looks cheapest at peak earnings and most expensive at the bottom, which is precisely backwards.

Accounting choices move the denominator. One-off charges, write-downs and different capitalisation policies all change reported earnings without changing the business.

Try it in Walnut

Walnut reads your connected brokerage and can explain the valuation of what you actually hold against its own filings, rather than a screener's summary.

What to use alongside it

Cash flow. Earnings can be shaped by accounting judgment more easily than cash can, so a large persistent gap between the two is worth understanding.

Debt. Two companies with identical P/E ratios and very different balance sheets are not comparably priced.

The company's own history. A stock trading at half its usual multiple raises a better question than one trading below the market average.

A sensible way to use it

As a starting question rather than an answer: why does the market pay this much for these earnings.

Within a peer group, against companies with similar growth and similar economics.

Alongside the filings. The explanation for an unusual multiple is generally described in the annual report, and reading it takes longer than checking a ratio but produces something worth having.

The market's own P/E

Indexes carry a P/E too, calculated from the aggregate earnings of their constituents, and it is quoted as a gauge of whether the market is expensive.

It suffers from the same problems at greater scale. Composition changes over time, so comparing today's multiple against a historical average compares different mixes of business.

It is best treated as context for expectations rather than a timing signal. High multiples have persisted for years, and low ones have gone lower.

Sources

Company earnings and the filings behind any ratio are published by the SEC through EDGAR full-text search. General guidance on researching investments is at investor.gov. Walnut is informational and is not an investment adviser. This guide is educational and not personalized investment advice.

FAQ

How is the P/E ratio calculated?

+

Share price divided by earnings per share. A stock at $50 earning $2.50 per share has a P/E of 20, meaning you pay $20 for each dollar of annual profit. It can also be calculated as market capitalisation divided by total net income, which gives the same answer.

What is a good P/E ratio?

+

There is no universal number. It depends on growth, stability and the sector: a utility and a software company should not trade at the same multiple, and neither should a company growing 3% and one growing 30%. Comparisons are only meaningful within a peer group.

What is the difference between trailing and forward P/E?

+

Trailing uses the last twelve months of actual reported earnings. Forward uses analyst estimates for the next twelve. Trailing is factual and backward-looking; forward is relevant and speculative, and it is only as good as the estimates behind it.

Why do some companies have no P/E ratio?

+

Because they have no earnings. A company losing money has a negative or undefined ratio, which is why unprofitable firms are compared on revenue multiples or cash flow instead.

Does a low P/E mean a stock is cheap?

+

It means the market pays little for current earnings, which is sometimes an opportunity and often an accurate view that those earnings will not persist. Persistently low multiples usually reflect a business the market expects to shrink.

What is the PEG ratio?

+

The P/E divided by the earnings growth rate, an attempt to compare companies growing at different speeds. It is useful as a rough sanity check and fragile in practice, because the growth figure it uses is a forecast.

Does the whole market have a P/E?

+

Yes, calculated from the aggregate earnings of an index's constituents. It is quoted as a gauge of whether the market is expensive, and it suffers from the same comparison problems, since the composition of the index changes over time.

Related guides

    What is a P/E ratio? - Walnut AI Investing App