The P/E ratio: calculation and interpretation
The P/E (price-to-earnings) ratio shows how many times a company's earnings per share its stock price is. It is the quickest first look at whether a stock is “expensive” or “cheap”, and, read the wrong way, one of the most misleading ratios.
How is P/E calculated?
There are two equivalent ways:
P/E = share price / earnings per shareP/E = market capitalization / annual net income
Example: with a share price of 50 and annual earnings per share of 5, P/E = 50 / 5 = 10. If earnings stayed flat, it would take about 10 years for today's price to come back as earnings.
Earnings are usually taken as the sum of the last four quarters (TTM, trailing twelve months). The ratio calculated with analysts' forecast earnings for the coming year is called the forward P/E.
What is a good P/E?
There is no “right” P/E for every stock. What makes the ratio meaningful is what you compare it with:
- Peers in the same sector: banks and industrials usually trade at low P/Es, technology companies at high ones. Comparing a bank's P/E with a software company's tells you little.
- The company's own history: if a stock that traded around 15 times earnings for years is now at 8, either the market sees a problem or an opportunity has opened up. The quality of the earnings tells you which.
- Growth: a company growing earnings 30% a year naturally carries a higher P/E than one that doesn't grow. The PEG ratio, P/E divided by the annual earnings growth rate, is a common way to account for this; below 1 is considered cheap relative to growth.
A low P/E is not always cheap
- Cyclical companies: in sectors such as commodities, steel and autos, P/E looks lowest when earnings peak, so the stock looks cheap just as earnings are about to fall.
- One-off gains: an asset sale or a revaluation gain inflates earnings for a year and pushes P/E artificially low. Operating income reveals this.
- Shrinking businesses: if revenue and margins fall every quarter, a low P/E may simply price in falling earnings.
When P/E means little
- Loss-making companies: with negative earnings, P/E is not calculated or comes out negative; it carries no meaning.
- Earnings near zero: as the denominator shrinks, the ratio climbs into the hundreds or thousands and cannot be compared.
- High inflation: in high-inflation economies nominal earnings grow fast, and accounting restatements (IAS 29 in Turkey, for example) can affect earnings differently from period to period. Comparing P/Es directly with companies in other countries misleads.
What to read P/E with
P/E is not a decision rule on its own. It gains meaning alongside revenue growth, margins, free cash flow and leverage. Our guide to reading quarterly financials explains how to read these quarter by quarter.
P/E in Gonofin
- You can add the P/E ratio to the technical chart as a lower pane and see how it has moved over time alongside price.
- There are two earnings options: TTM (total earnings per share over the last four quarters) and Quarterly (3M). The quarterly option divides price by a single quarter's earnings without annualizing, so it comes out at roughly four times the TTM P/E. Use TTM to compare with sector averages and quarterly to follow quarter-to-quarter changes in earnings.
- You can set alerts on P/E, for example “P/E falls below 15”. See price and indicator alerts.
This guide is for information only and is not investment advice. The example figures do not belong to a real company.
Last updated: