How the P/E ratio is calculated
The P/E ratio is calculated by dividing the current share price by earnings per share (EPS). If a stock trades at 50 and the company earned 5 per share over the last twelve months, the trailing P/E is 10. Investors also use a forward P/E, which relies on analyst estimates of future earnings rather than reported results. Because the two versions use different earnings figures, they can differ meaningfully for the same company. Always check which version a data source is quoting and what earnings period it covers before comparing figures. Definitions of related terms are available in the Glossary at /glossary.
- Trailing P/E uses reported earnings from the most recent twelve months.
- Forward P/E uses estimated future earnings, which may prove inaccurate.
- Companies with negative earnings have no meaningful P/E ratio.
- One-off items such as asset sales can distort a single year's earnings and the ratio built on them.

