Sub topic 4
The P/E ratio: price paid per dollar of earnings
This chapter assumes you know what a share is, can read an income statement at a high level, and are comfortable with division and percentages. Earlier chapters covered share price, market cap, and earnings per share (EPS). Here we build on them to cover the price-to-earnings (P/E) ratio. Trailing versus forward P/E and the PEG ratio each get their own later chapter, so this chapter only touches on them.
What the ratio says
The P/E ratio divides a stock's price by the company's earnings per share:
P/E = price per share / EPS
The result is the number of dollars you pay for each dollar of annual earnings. A stock at $60 with EPS of $5 has a P/E of 12. You are paying $12 for every $1 the company earns in a year.
You can also compute the ratio for the whole company:
P/E = market capitalization / net income available to common shareholders
Both forms give the same answer when you use consistent share counts. This works because market cap is price times shares, and EPS is net income divided by shares. The share count cancels out.
A way to read it
If earnings stayed flat forever and the company paid them all out, a P/E of 12 would mean about 12 years to earn back your purchase price. Companies do not behave this way, so treat this as an intuition and not a forecast. A high P/E usually means investors expect earnings to grow. A low P/E usually means they expect slow growth, high risk, or a decline.
The inverse: earnings yield
Flipping the ratio gives the earnings yield:
earnings yield = EPS / price = 1 / P/E
A P/E of 12 is an earnings yield of about 8.3%. A P/E of 25 is 4%. Earnings yield lets you compare a stock with other uses of money, such as a bond's interest rate. It also avoids a problem with P/E, which is that it becomes huge or undefined as earnings approach zero. Earnings yield just approaches zero smoothly.
| P/E | Earnings yield | Years of current earnings in the price |
|---|---|---|
| 8 | 12.5% | 8 |
| 12 | 8.3% | 12 |
| 20 | 5.0% | 20 |
| 40 | 2.5% | 40 |
Calculating it
Start with the figures from the earlier EPS chapter. The code below uses net income, preferred dividends, and the weighted average share count.
price = 60.00
net_income = 500_000_000
preferred_dividends = 0
weighted_avg_shares = 100_000_000
eps = (net_income - preferred_dividends) / weighted_avg_shares
pe = price / eps
print(f"EPS: {eps:.2f}") # EPS: 5.00
print(f"P/E: {pe:.1f}") # P/E: 12.0Preferred dividends come out because preferred shareholders are paid before common shareholders. The weighted average share count smooths over buybacks and issuance during the year.
In practice you will want a function that refuses to give a misleading answer. This version returns None when earnings are zero or negative, and it also reports the earnings yield.
def pe_metrics(price, eps):
"""Return (pe, earnings_yield_pct). P/E is None if EPS <= 0."""
earnings_yield_pct = eps / price * 100
if eps <= 0:
return None, earnings_yield_pct
return price / eps, earnings_yield_pct
for name, price, eps in [
("SteadyCo", 60.00, 5.00),
("GrowthCo", 120.00, 3.00),
("LossCo", 15.00, -0.80),
]:
pe, ey = pe_metrics(price, eps)
pe_text = "n/m" if pe is None else f"{pe:.1f}"
print(f"{name}: P/E {pe_text}, earnings yield {ey:.1f}%")This prints:
SteadyCo: P/E 12.0, earnings yield 8.3%
GrowthCo: P/E 40.0, earnings yield 2.5%
LossCo: P/E n/m, earnings yield -5.3%"n/m" means "not meaningful". That is the standard label for a P/E computed from negative earnings.
Which EPS goes in the denominator
The same stock can show several different P/E values, depending on which earnings figure is used. Check these choices before you compare any two numbers.
- Basic versus diluted EPS. Diluted EPS counts shares that could be created by options, convertible bonds, and similar instruments. It is always equal to or lower than basic EPS, so a P/E built on diluted EPS is equal to or higher. Diluted is the more conservative choice, and most data providers default to it.
- GAAP versus adjusted EPS. GAAP EPS follows accounting rules and includes one-time items such as write-downs and legal settlements. Adjusted EPS removes items management calls non-recurring. Adjusted figures can be more representative of ongoing earnings, but companies decide what to exclude, and some exclude costs that recur every year, such as stock-based compensation or restructuring.
- Period covered. Trailing P/E uses the last four reported quarters. Forward P/E uses analyst estimates. Both are covered in the next chapter, but note now that a quoted P/E is meaningless until you know which one it is.
- Share class and currency. If a company has several share classes, use the EPS for the class whose price you are using. For foreign listings, make sure price and earnings are in the same currency.
The diagram shows the decision flow for getting a usable P/E.
Interpreting a P/E
A P/E has no universal good or bad level. It tells you something only against a reference point. The next chapters develop this fully. For now, keep these three ideas.
- Growth. Two companies with the same earnings today are worth different amounts if one will earn twice as much in five years. In the example above, GrowthCo at a P/E of 40 is not necessarily more expensive than SteadyCo at 12. It depends on whether its earnings grow fast enough to justify the gap.
- Risk and stability. Predictable earnings tend to command higher P/Es than volatile ones. Investors pay more for earnings they trust.
- Interest rates. When bond yields are high, an 8% earnings yield looks less attractive than when bonds yield 2%. Market-wide P/Es tend to fall when rates rise, all else being equal.
A rough long-run market average is often quoted in the mid to high teens for large US stocks, but that figure moves with the period and the index. Treat any single "fair" P/E with suspicion.
Edge cases you will meet
Negative or near-zero earnings
A loss gives a negative P/E, which has no sensible reading. A stock with EPS of -$0.80 at $15 does not trade at "-18.8 times earnings" in any useful sense. Treat it as not meaningful. When earnings are barely positive, the P/E can be 300 or more. That reflects a tiny denominator, not an expensive company. Check EPS before you react to a huge P/E.
Low P/E that is a trap
A low P/E can mean the market expects earnings to fall. If a company earns an unusually high profit this year, for example from a peak in commodity prices, its P/E looks low exactly when earnings are about to drop. The chapter on pitfalls returns to cyclical companies and value traps.
One-time gains
A company that sells a division may report a large gain. GAAP EPS jumps, and the P/E looks low. The earnings did not come from the business you are buying. Look at the income statement for gains on asset sales, tax benefits, and settlements.
Accounting differences
Companies make different choices about depreciation, inventory, and revenue timing. Companies in different countries follow different accounting standards. P/Es are most comparable between firms in the same industry and country.
Very high payout of earnings is not required
P/E does not care whether profits are paid as dividends or kept in the business. It compares price with earnings either way. That is one reason it needs partners such as dividend yield and price-to-book.
Common mistakes
- Comparing a trailing P/E for one stock with a forward P/E for another.
- Averaging P/Es across stocks. Because a few extreme values dominate, use the median, or take the harmonic mean, which is the same as averaging earnings yields.
- Treating a low P/E as proof of a bargain, or a high P/E as proof of overvaluation.
- Ignoring that the "E" is an accounting number, which management can influence within the rules.
Exercises
Exercise
A company has net income of $240 million, pays $20 million in preferred dividends, and has a weighted average of 55 million shares. Its stock trades at $44. Compute EPS, P/E, and the earnings yield.
Show answer
EPS = (240 - 20) / 55 = $4.00. P/E = 44 / 4.00 = 11.0. Earnings yield = 4.00 / 44 = about 9.1%, which is also 1 / 11.
Exercise
Company A has a P/E of 9 and Company B has a P/E of 30. A colleague says A is clearly the better value. Give two reasons the conclusion may not follow, and one check you would run before deciding.
Show answer
First, B may have much faster expected earnings growth, so its higher price may be justified. Second, A's earnings may be at a cyclical peak or inflated by a one-time gain, so its low P/E could disappear when earnings fall. Before deciding, check that both P/Es use the same kind of EPS (diluted, same period), then compare each with its own industry peers and history.