What is a P/E Ratio? Definition, Formula, and Example
The P/E ratio is a stock's share price divided by its earnings per share, showing how many dollars investors are paying today for each dollar of a company's annual profit.
What Is a P/E Ratio?
The price-to-earnings (P/E) ratio is a company's share price divided by its earnings per share (EPS). It expresses valuation in a single number: how many dollars the market pays for each dollar of annual profit. A P/E of 25 means investors pay $25 for every $1 of trailing earnings. It is the single most quoted valuation metric on Wall Street because it standardizes comparison across companies of wildly different share prices and share counts.
How the P/E Ratio Is Calculated
P/E Ratio = Price per Share / Earnings per Share (EPS)
Two variants dominate practice:
- Trailing P/E (TTM): uses the most recent four reported quarters of GAAP or non-GAAP diluted EPS. This is backward-looking but based on actual, audited results.
- Forward P/E: uses analyst-consensus EPS estimates for the next four quarters or next fiscal year. This is forward-looking but depends on estimates that can be wrong.
EPS itself is Net Income Available to Common Shareholders / Diluted Weighted-Average Shares Outstanding. Diluted share counts include the effect of options, RSUs, and convertible securities, which is why diluted EPS is always equal to or lower than basic EPS.
Worked Example: AAPL
Apple's fiscal year 2024 (ended September 28, 2024) diluted EPS was $6.08 on GAAP net income of $93.7 billion. With shares trading around $195:
Trailing P/E = $195 / $6.08 = 32.1x
Analysts modeling roughly $7.30 in FY2025 EPS produce:
Forward P/E = $195 / $7.30 = 26.7x
The gap between the two — 32.1x trailing versus 26.7x forward — reflects the market pricing in double-digit earnings growth. A stock trading at a lower forward P/E than trailing P/E is priced for earnings expansion; the reverse pattern signals the market expects earnings to shrink.
When Traders Use It
P/E is a first-pass screen for relative value: comparing AAPL at 32x against peers like MSFT or against its own 5-year average P/E flags whether a stock is expensive or cheap relative to its own history and sector. Value investors hunt for low absolute P/E names trading below sector or market averages. Growth investors pair P/E with growth rate to compute the PEG ratio (P/E divided by expected EPS growth rate), since a high P/E can be justified by high growth. Sector comparisons only work within the same industry — a 12x P/E is expensive for a slow-growth utility but cheap for a mature bank.
Limitations and Common Misconceptions
P/E is meaningless for companies with negative or near-zero earnings — a company earning $0.01 per share on a $50 stock prints a P/E of 5,000x, a number that tells you nothing. It also ignores debt load entirely: two companies with identical P/E ratios can carry very different enterprise risk if one is debt-free and the other is leveraged 5x EBITDA, which is why EV/EBITDA is often preferred for capital-structure-sensitive comparisons. Buybacks mechanically lower share count and inflate EPS without any operating improvement, making trailing P/E compression look like fundamental progress when it's financial engineering. Cyclical businesses (semiconductors, homebuilders, commodities) show their lowest P/E right before an earnings peak and their highest P/E right before a trough — buying the "cheapest" cyclical P/E print is a classic value trap. Finally, GAAP vs. non-GAAP EPS can diverge sharply when companies exclude stock-based compensation or restructuring charges, so the same ticker can show two very different "P/E ratios" depending on the data source.