Price-to-earnings ratio (P/E): calculation and limits

The price-to-earnings ratio divides share price by earnings per share. A hypothetical share priced at $40 with annual EPS of $2 has a P/E of 20. It is a description of the inputs, rather than a verdict on whether the share is attractive.
If expected EPS is $4, the same $40 price gives a forward P/E of 10. The forecast is doing the work. If actual EPS reaches only $1, the ratio based on that result is 40.
Trailing earnings describe a past period. Forward earnings depend on estimates and their chosen horizon. Check whether figures are reported or adjusted, and whether they refer to the same currency and share class.
Why comparisons need context
A cyclical company can look inexpensive when earnings are temporarily high. A one-off gain can inflate the denominator. If earnings are negative, a conventional positive P/E comparison is not available.
Debt, reinvestment needs and the durability of profits differ across companies. Two businesses with the same P/E can have different obligations and exposure to a downturn.
Keep the assumptions visible in your valuation work. Write which earnings period you used, the source of any estimate and what happens if the estimate changes.
For a small exercise, calculate ratios at $1, $2 and $4 EPS while holding the price at $40. Then identify what operational evidence would support each earnings case.
| Annual EPS | P/E |
|---|---|
| $1 | 40 |
| $2 | 20 |
| $4 | 10 |