Metric · Valuation

P/E Ratio Formula, With Trailing and Forward P/E Worked Out

Two P/E figures often sit on one quote page and disagree. One is built on profit the company already reported, the other on what analysts expect it to earn next.

AI-assisted, reviewed by Lovely Oryza → 4 min read Published

Formula

Share price ÷ earnings per share over a stated 12-month period

P/E ratio: How many dollars buyers are paying for each dollar of a company's yearly earnings per share, using either reported profit or analyst forecasts.

Also shown as Price-earnings ratio, PE, Earnings multiple, Price/earnings.

A quote page shows two P/E figures for one stock: 25 trailing, 20 forward. Same price, same day. The gap comes from which earnings sit under the price.

Trailing P/E divides today’s share price by the earnings per share the company actually reported over its last four quarters, while forward P/E divides that same price by what analysts expect it to earn over the next 12 months or the next fiscal year, depending on the tool. Only the trailing figure can be checked against a filing.

Trailing and forward P/E, worked out

Take a hypothetical Company A trading at $50 a share. Its last four quarterly reports show EPS of $0.40, $0.50, $0.50 and $0.60. The average analyst estimate for the coming year is $2.50.

The forward number is lower because profit is expected to rise. Forecasts can miss. If the growth never arrives, analysts cut the estimate, the forward P/E drifts back up toward the trailing one, and a stock that looked cheaper on projections ends up costing what it cost on reported numbers.

Trailing P/E has its own lag. In a business that is changing quickly, a year-old quarter inside the sum can make the trailing figure describe a company that has already moved on.

Earnings yield is the same number flipped

Divide EPS by price and you get earnings yield. For Company A that works out to $2.00 ÷ $50, or 4%. A P/E of 25 and an earnings yield of 4% say exactly the same thing.

The yield form is handy because it lines up next to a bond yield or a savings rate, so you can see how much profit per dollar of price a stock offers beside a return you could lock in elsewhere, keeping in mind that earnings are not a promised payment and can shrink.

It also behaves better near zero. A company earning a penny a share can show a P/E in the thousands, which looks absurd on a screen, while its earnings yield is a tiny positive number that sorts sensibly in a spreadsheet.

When the P/E field is blank

Losses break the ratio. With negative trailing EPS the division still produces a figure, a negative P/E, and that figure is useless, because dividing a price by a loss says nothing about what you pay for profit. Most quote pages leave the field empty or print NM, short for not meaningful.

Screeners handle it in their own ways. Some drop loss-making companies from any P/E filter without saying so, so a screen for P/E under 15 also removes every unprofitable business, which may be exactly what you want or may hide the turnaround stories you were hunting for. Check the filter notes.

For companies without profit, price-to-sales usually does the job.

What P/E leaves out

Debt is the first blind spot. Two companies at a P/E of 12 can carry wildly different balance sheets, and because the ratio looks only at the share price and the profit left after interest, the one with heavy borrowing can look just as cheap as the one sitting on net cash. EV/EBITDA puts the debt back into the price.

One-off items come next. A one-time gain on selling a division lifts reported EPS, and the trailing P/E then looks low for as long as that quarter stays inside the four-quarter sum, which can mean close to a year of a misleading reading on every screen that uses reported earnings. Write-downs push the other way.

Cycles are the third problem, and the nastiest. Cyclical businesses such as carmakers and chemical producers tend to post their biggest profits near the top of their cycle, so their P/E looks lowest right before earnings fall and highest at the bottom, when profit is depressed and about to recover. On a cyclical stock, a very low P/E is often a warning. The case for treating it as a starting point for research is made in a low P/E is where digging starts.

Where to find it and how to use it

On most quote pages P/E sits in the summary block beside market cap and EPS. Check the label. If it says TTM, it’s trailing; if it says forward, next year or NTM, it rests on estimates, and if it says nothing at all, the field tooltip or the platform glossary usually tells you which version you are looking at.

Tools also differ on the EPS they use. Some take GAAP earnings, some use adjusted figures that strip out charges, and a few mix the two, which is one reason two sites can show different P/E numbers for the same stock at the same price. The versions are laid out under earnings per share.

Compare P/E against the company’s own history and against close peers. A software firm at 30 and a grocer at 30 are very different bets. Before trusting a low reading, pair it with growth through the PEG ratio, check the debt, and scan the last four quarters for one-off items that might be doing the work. To rerun the sums on a real stock, the P/E ratio calculator takes a price and an EPS figure and does the division for you.

Related questions

Is a high P/E always a bad sign?

No. A high multiple says buyers expect profit to grow, or that current profit is temporarily depressed. It becomes a problem when the growth priced in fails to arrive.