Price-to-earnings (P/E) ratio: what it tells you and what it does not

The price-to-earnings ratio compares a stock's price with the profit the company earns for each share. It is the most quoted valuation number in investing because it is quick to calculate and easy to compare, which is also why it is so often misused. This article explains how it is built, how to read it, and where it breaks down.
What the P/E ratio measures
P/E = share price / earnings per share (EPS)
= market capitalization / net income
The two forms agree as long as both use the same share count. A P/E of 20 means investors are paying $20 for every $1 of annual earnings. Another way to say it: if earnings stayed flat forever, it would take about 20 years of profit to equal today's price. Real earnings do not stay flat, which is exactly why the ratio needs context.
The inverse of P/E is the earnings yield, which is EPS divided by price. A P/E of 20 is an earnings yield of 5%. Some readers find this easier to compare with other returns, such as a bond yield, but keep in mind that earnings are not all paid out and can grow or shrink.
Which earnings?
The "E" can be defined several ways, and the choice changes the answer.
- Trailing earnings are the last four reported quarters. This is the version people usually mean by "the P/E". See forward vs trailing P/E for the difference from the estimate-based version.
- GAAP vs adjusted earnings. Companies often publish an adjusted figure that excludes items such as restructuring charges. Know which one your source uses.
- Basic vs diluted share counts. Diluted EPS accounts for options and convertibles and is usually the more careful choice. See basic vs diluted EPS.
Example (illustrative numbers)
Two companies trade at the same price but earn different amounts per share.
| Company A | Company B | |
|---|---|---|
| Share price | $60 | $60 |
| EPS (trailing) | $3 | $6 |
| P/E | 20 | 10 |
At first glance B looks half as expensive. Now add context. Suppose A's earnings have been growing about 15% a year and are steady, while B is a cyclical business whose profit this year is at a peak and is expected to fall. B's "cheap" ratio rests on earnings that may not last, and A's higher ratio may be paying for growth that is real. The numbers alone cannot tell you which is better priced.
How to read it
A P/E ratio is a compressed statement about several things at once: how fast earnings are expected to grow, how risky and durable those earnings are, and how much profit the business earns on the capital it uses. Higher expected growth, lower risk and stronger returns on capital all tend to justify a higher P/E. Weak growth, high risk or fragile profits tend to go with a lower one.
Some rules of thumb for putting a P/E in context:
- Compare within a sector. Typical P/E ranges differ widely between, say, software and utilities, so a sector-relative view is more informative than a single cut-off.
- Compare with the company's own history, while asking whether the business has changed.
- Pair it with growth. The PEG ratio is one simple way to do this, with its own limits.
- Treat "low" as a question, not an answer. A low P/E can mean a bargain, or it can mean the market expects earnings to fall.
There is no universal "good" P/E. Any single threshold you see quoted is a convenience, not a law.
Common mistakes and limits
- Negative or tiny earnings. If EPS is negative the ratio is not meaningful. If EPS is barely positive, the P/E can be enormous without telling you much. For these cases consider price-to-sales or a cash-flow measure instead.
- Cyclical earnings. For cyclical companies, the P/E often looks lowest near peak profits and highest near the trough. Using normalized earnings avoids reading the cycle as value.
- One-off items. Gains on asset sales, write-downs and unusual tax effects can distort a single year's EPS.
- Capital structure. P/E is a "levered" measure: it reflects the effect of debt on profit. Two otherwise identical businesses with different debt loads will show different P/Es. Enterprise-value multiples are designed to avoid this.
- Accounting choices. Depreciation methods, stock-based pay and revenue timing all affect reported profit. Earnings are an accounting number, not cash.
- Ignoring the balance sheet. The ratio says nothing about cash held, debt owed or how the business is financed.
Where to see it on StocksXray
On StocksXray, every valuation metric is graded as a percentile rank within the company's own sector, rather than against one market-wide cut-off. The peer-multiples model behind fair value also uses the sector median P/E alongside EV/EBIT and P/FCF. The methodology page explains how these pieces fit together.
Key takeaways
- P/E is price divided by earnings per share, or market cap divided by net income.
- It bundles growth, risk and profitability into one number, so it needs context from peers, history and growth.
- It breaks down with negative earnings, cyclical profits, one-off items and very different debt levels.
- A low P/E is a prompt to investigate, not a signal that a stock is cheap.
Related reading
Educational only, not financial advice. Examples use illustrative numbers.