The price-to-earnings (P/E) ratio divides a company's share price by its earnings per share over the last four quarters: it shows how many dollars investors pay for each dollar of a year's profit. A high P/E is not automatically expensive and a low one is not automatically cheap, as a side-by-side comparison below shows.
How it works
The formula is simple: share price divided by earnings per share (EPS), the company's profit allocated across each share outstanding. The most common version is "trailing" P/E, meaning EPS is added up from the last four reported quarters, so the figure always reflects actual results that have already happened rather than a guess about the future.
In plain words, the P/E tells you how many dollars of share price you are paying for each dollar of profit that company generated over the past year. As an illustration using round numbers: a company whose shares trade at $50, and that earned $2.50 a share over the last year, has a P/E of 20, found by dividing $50 by $2.50. If that same company's earnings per share doubled to $5.00 while the share price stayed at $50, its P/E would fall to 10. The ratio moves whenever either the price or the earnings move, so the same P/E can show up for very different reasons.
P/Es differ widely between companies, and that difference is not automatically a verdict on cheapness. Investors often pay more for each dollar of current profit when they expect that profit to grow faster, when a company's earnings are steadier and less likely to swing year to year, or simply because of the norms of its industry, where some sectors have historically traded at higher or lower multiples than others.
The measure also breaks down in specific situations. A company that lost money over the trailing period has negative earnings per share, so there is no meaningful P/E to calculate at all. Earnings can also be distorted by one-off events, such as a large asset sale or a one-time charge, that temporarily inflate or depress the "E" without reflecting the business's ongoing profitability, which can make the resulting P/E misleading for that period.
There is also a forward version of the ratio. Trailing P/E, described above, divides price by earnings already reported. Forward P/E instead divides price by analysts' estimates of the next year's earnings, so it reflects expectations rather than history. Because it relies on estimates rather than confirmed results, forward P/E can change as those estimates are revised, and it can differ from the trailing figure for the same company at the same time.
What the P/E cannot tell you on its own is whether a stock is a good or bad investment. It says nothing about debt levels, cash flow, competitive position, or whether the expected growth behind a higher multiple will actually materialize. It is one data point among many, not a complete verdict.
A worked example with real figures
The worked example compares two real companies using their trailing P/E ratios. Apple (AAPL) traded at $340.66 a share with earnings per share of $8.73 over the last four quarters, producing a P/E of 39.0, found by dividing the two figures. JPMorgan Chase (JPM) traded at $338.79 a share, a price nearly identical to Apple's, but with earnings per share of $23.23, giving it a much lower P/E of 14.6.
The two share prices are almost the same, so the entire gap in P/E comes from the earnings side of the formula: JPMorgan's EPS is roughly two-and-a-half times Apple's. That means investors paid about 39 dollars for each dollar of Apple's trailing annual profit, versus about 15 dollars for each dollar of JPMorgan's. The comparison shows how two companies with similar share prices can carry very different multiples once their underlying profit per share is accounted for, reflecting differences in growth expectations and industry norms between a technology company and a bank.
Recent earnings reporting adds context to JPMorgan's figures specifically. MarketWatch reported that JPMorgan's third-quarter 2026 results fell short of Wall Street estimates even as the bank's return on tangible common equity stayed above its own long-term target, a reminder that a single quarter's results can move the earnings figure that feeds into a P/E calculation.
| Figure | AAPL | JPM |
|---|---|---|
| Share price | $340.66 | $338.79 |
| Earnings per share, last four quarters | $8.73 | $23.23 |
| P/E (price ÷ earnings per share) | 39.0 | 14.6 |
Source: Market quotes and per-share figures · as of October 16, 2026 at 2:55 PM ET