What Is P/E Ratio?
What is the P/E ratio? Learn price-to-earnings math, how to compare stocks, and limits of using P/E alone in valuation.
The price-to-earnings ratio, or P/E ratio, compares a company's stock price to its earnings per share. It answers a simple question: how many dollars are investors willing to pay for each dollar of profit the business generates? A P/E of 20 means the market prices the stock at twenty times annual earnings at current levels.
How to Calculate P/E
The basic formula divides share price by earnings per share (EPS). If a stock trades at $100 and reported EPS of $5 over the last four quarters, trailing P/E is 20. EPS comes from net income divided by shares outstanding, though diluted EPS accounts for stock options and convertible securities that could increase the share count.
Indices and screeners often display P/E for you, but knowing the inputs matters. One-time write-offs, tax benefits, or asset sales can inflate or deflate earnings for a single quarter. Adjusted EPS figures from company presentations may exclude items management considers non-recurring. Comparing P/E across companies requires consistent earnings definitions, not just headline numbers.
When earnings are negative, P/E becomes meaningless or displays as "NM" for not meaningful. Loss-making growth companies are often valued on revenue multiples or cash flow instead. That is not a flaw in P/E; it reflects that the metric assumes profitable operations.
Trailing vs Forward P/E
Trailing P/E uses past reported earnings, typically the last twelve months. It is grounded in facts already filed with regulators, which makes it stable but backward-looking. Forward P/E uses analyst estimates for the next twelve months. It incorporates expectations about growth, margins, and macro conditions, but estimates can be wrong, especially around inflection points.
A stock with trailing P/E of 30 and forward P/E of 22 suggests the market expects earnings to rise. The reverse pattern warns of anticipated slowdown. Always label which version you are using when comparing two names side by side. Mixing trailing for one stock and forward for another skews conclusions.
During recessions, trailing P/E can look artificially high if earnings just collapsed, or low if earnings were temporarily boosted. Cyclical industries like autos, materials, and banks often look cheapest on P/E near peak earnings and most expensive near troughs. Some investors prefer normalized or Shiller-style earnings to smooth the cycle.
Sector Comparison and Context
P/E is most useful when comparing peers in the same industry and growth stage. A mature utility with steady dividends might trade at 15 times earnings while a fast-growing software firm trades at 40 or more. The spread reflects expected growth, risk, and return on reinvested capital, not automatic overvaluation.
Interest rates influence acceptable P/E levels across the market. When risk-free yields rise, future earnings are discounted more heavily, often compressing multiples. Sector rotation can leave one group expensive relative to history even when individual company fundamentals look fine.
Pair P/E with market capitalization to understand size, and with balance sheet metrics to see whether low P/E signals a bargain or a value trap loaded with debt. A cheap multiple on a company whose earnings are about to decline is not the same as a cheap multiple on a temporarily depressed cyclical earner.
Limits of P/E Alone
P/E ignores cash, debt, and capital spending needs. Two firms with identical P/E can have very different enterprise values once you net cash against liabilities. It also says nothing about quality of earnings: accounting choices, revenue recognition policies, and stock-based compensation affect EPS without showing up in the ratio itself.
High-growth investors sometimes accept sky-high P/E because they expect earnings to catch up. If growth stalls, multiples can fall even without bad news in the latest quarter. Conversely, a low P/E stock can stay cheap for years if the market doubts management, industry outlook, or governance.
Use P/E as a starting point, not a verdict. Combine it with cash flow yields, return on equity, debt ratios, and qualitative business analysis. The ratio distills a complex business into one number, which is exactly why it is popular and exactly why it can mislead when used without context.
Common questions
What is a good P/E ratio?
There is no universal number. Growth tech often trades higher than mature utilities. Context matters.

