The P/E Ratio

What the price-to-earnings ratio measures, how to compare it fairly, and where it misleads.

What the P/E ratio measures

The price-to-earnings ratio divides a stock's price by its earnings per share: P/E = share price ÷ earnings per share. It answers one question: how many dollars investors are paying today for each dollar of the company's yearly profit.

A company priced at $100 a share that earned $5 per share over the last twelve months has a P/E of 20. The same number comes out of the whole company: a $200 billion market value on $10 billion of net income is also a P/E of 20.

Trailing and forward P/E

A trailing P/E uses the last four reported quarters of earnings. It rests on real results, but it looks backward. A forward P/E uses analysts' estimates for the next twelve months. It looks ahead, but it is only as good as those estimates, which are often revised.

When you compare two P/E ratios, make sure they are the same kind. A trailing P/E of 25 and a forward P/E of 20 can describe the same stock in a year when earnings are expected to grow.

Why a P/E is high or low

A P/E reflects what the market expects. A high P/E usually means investors expect earnings to grow, or see the profits as stable and low-risk. A low P/E usually means they expect slow growth, see more risk, or think current earnings are temporarily high.

Neither is good or bad on its own. A software company growing earnings 25% a year can look reasonable at 35 times earnings, while a utility with flat earnings can look stretched at 18. The PEG ratio, P/E divided by the expected earnings growth rate, is one way to put growth into the comparison, though it inherits all the uncertainty of the growth estimate.

Compare like with like

Typical P/E levels differ widely by industry, so compare a company with its peers rather than with the whole market. They also move with interest rates and the broader mood: the same company can trade at 15 times earnings in one year and 30 in another without the business changing much.

The most direct comparison is a company against its own history. ŷRobot's Quarterly P/E card plots each stock's P/E over time against a multi-quarter average and deviation bands, so you can see whether today's multiple is unusual for that specific company.

What the P/E ratio cannot tell you

It breaks down when earnings are near zero or negative. A company with a loss has no meaningful P/E, and one with tiny profits can show a P/E in the hundreds that says little about value.

It ignores the balance sheet. Two companies with the same P/E can carry very different amounts of debt and cash. It also inherits accounting choices: one-time gains, write-downs and buybacks all move earnings per share without changing the underlying business.

A low P/E is not a bargain signal by itself. In September 2026 ŷRobot tested its AI score on ten years of history and found that a stock trading below its own P/E history kept underperforming about as often as it rebounded, because a falling P/E often means the business is changing. The P/E-history reading is now shown on the AI Scorecard for reference only and carries no weight in the score.

Where to find it on ŷRobot

Every stock page shows the Quarterly P/E card, and the fair-value estimate on the same page draws on a broader set of fundamental, growth, cash-flow and momentum inputs. Use the P/E as one piece of context next to the fair value, fundamentals and earnings record, not as a verdict.

ŷRobot is an analysis tool, not financial advice. P/E ratios describe past and expected earnings, and past results do not predict future returns.

Try it on a real stock

See ŷRobot's P/E Ratio analysis on any U.S. stock — free, no account needed.

Analyze a Stock Free

What is a good P/E ratio?

There is no single good number. A P/E is only high or low compared with the company's peers, its own history and its expected earnings growth. Compare like with like rather than against a fixed cutoff.

What does a negative P/E mean?

The company lost money over the period measured. A P/E is not meaningful then; look at revenue growth, cash flow and the path to profit instead.

ŷRobot analysis is AI-generated and quality-gated; nothing on this page is investment advice.