16 November 2026
Reading time 4 minute(s)

What Is a P/E Ratio and How Do You Use It?

This article is for informational and educational purposes only and does not constitute financial advice or a recommendation. Examples are hypothetical. Past performance is not a reliable indicator of future results. Capital at risk.

 

This article is for informational and educational purposes only and does not constitute financial advice or a recommendation. Examples are hypothetical. Past performance is not a reliable indicator of future results. Capital at risk.

 

What Is a P/E Ratio?

The price-to-earnings (P/E) ratio compares a company’s share price with its earnings per share (EPS). It tells you how much investors are paying for each £1 of a company’s profit. A P/E of 20 means the market is paying £20 for every £1 of annual earnings.

It’s one of the most widely used valuation measures, because it turns a share price into something you can compare across companies. Investors use it to judge whether a stock looks overvalued, undervalued or reasonably priced relative to its earnings. It’s a starting point, not a verdict. 

How Do You Calculate the P/E Ratio?

P/E ratio = share price ÷ earnings per share (EPS)

 

Company A

Company B

Share price

£50

£30

Earnings per share

£2.50

£3.00

P/E ratio

20

10

Hypothetical figures.

Company A trades at 20 times earnings and Company B at 10 times. Company B’s shares look cheaper per £1 of profit, but that doesn’t make it the better investment. The ratio says nothing about why the market prices them differently.

Earnings yield is the same idea inverted: it’s earnings per share divided by the share price, the inverse of the P/E. Company A’s earnings yield is 5% and Company B’s is 10%, which makes comparison with interest rates and bond yields easier. 

Earnings per share (EPS) is a company’s profit after tax, minus any preferred dividends, divided by the average number of shares in issue. See our guide to earnings per share. 

Trailing vs Forward P/E

 

Trailing P/E

Forward P/E

Earnings used

Reported earnings

Expected (forecast) earnings

Strength

Based on actual results

Looks ahead

Weakness

Backward-looking

Depends on analysts’ forecasts, which can be wrong 

Both can mislead. A trailing P/E can look high when the share price has risen faster than reported earnings, and low when the price has fallen faster than earnings. A forward P/E moves with every change in forecasts, so a lower estimate raises it even if the price is unchanged. 

What Is a “Good” P/E Ratio?

There’s no universal good number. A P/E only means something against a benchmark:

  • The company’s own history. Is it trading above or below its usual range?
  • Its sector. Technology companies usually trade at higher multiples than banks or utilities.
  • Its competitors. Compare like with like.
  • Its growth. A higher P/E can be reasonable if earnings are growing quickly.

A high P/E suggests investors expect strong growth, while a low one may point to a bargain or to slowing growth. A high P/E means the share price is high relative to earnings, while a lower one means you pay less per unit of profit. 

 

What it might signal

What to check

High P/E

Investors expect strong growth, or the shares are expensive

Is growth likely to justify it?

Low P/E

Possible bargain, or the market expects problems

Why is the price low? Falling profits? High debt?

 

Where the P/E Ratio Can Mislead

  • Debt. The P/E ignores how a company is financed. Companies with heavy debt would usually warrant a relatively low P/E when compared with peers. Read our guide to financial leverage for how debt amplifies returns and risk. 

  • One-off items. Asset sales, write-downs or tax effects can distort earnings for a year.
  • Cyclical companies. Miners, oil companies and carmakers can look cheap at the peak of the cycle, when earnings are at their highest.
  • Negative earnings. A loss-making company has no meaningful P/E.
  • Accounting choices. Earnings can be affected by accounting treatment, so use cash flow as a cross-check.
  • Different sectors. Comparing a bank with a software company on P/E alone isn’t useful.

Related Valuation Measures

  • PEG ratio: the P/E divided by expected annual earnings growth, to factor in growth.
  • Earnings yield: the inverse of the P/E, useful for comparing with bond yields.
  • Price-to-book and price-to-sales: useful when earnings are negative or volatile.
  • Dividend yield: relevant for income investors. See our guides to investing in dividend stocks and Dividend Kings.

How to Use the P/E Ratio in Practice

  1. Find the P/E (trailing and forward) on a financial data site or in company reports.
  2. Compare it with the company’s history, its sector and its direct competitors.
  3. Check why it differs. Look at growth, debt, margins and cash flow.
  4. Use it alongside other checks, not on its own. Our guide to all you need to know about shares covers the wider research process.
  5. Think about your time horizon. A long-term investor may care more about earnings quality than the current multiple.

For examples of valuation debates in practice, see our analyses of AMD vs Broadcom, where valuation and growth were weighed against each other.

XTB’s market calendar lets you filter stocks by parameters such as EPS and dividends. 

Where Can UK Investors Use This?

You can research and invest in thousands of companies through XTB’s shares platform, or gain diversified exposure through ETFs, where valuation is spread across many holdings. For a structured, long-term approach, see Investment Plans, and consider holding investments in a Stocks & Shares ISA.

Tax treatment depends on your individual circumstances and ISA regulations which may change.

Risk Warning

Capital at risk. Investment values can rise or fall. Tax treatment depends on your individual circumstances and ISA regulations which may change.

This article is for informational and educational purposes only. It does not constitute financial advice or a personal recommendation. Past performance is not a reliable indicator of future results.

 

Delilah

Go to the expert
6 minutes

What Are Meme Stocks? Why They’re Surging

12 minutes

Taiwan Semiconductor Manufacturing Company (TSMC): A Global Semiconductor Powerhouse

4 minutes

5 Top Stocks to Watch out for Right Now

This content has been created by XTB S.A. This service is provided by XTB S.A., with its registered office in Warsaw, at Prosta 67, 00-838 Warsaw, Poland, entered in the register of entrepreneurs of the National Court Register (Krajowy Rejestr Sądowy) conducted by District Court for the Capital City of Warsaw, XII Commercial Division of the National Court Register under KRS number 0000217580, REGON number 015803782 and Tax Identification Number (NIP) 527-24-43-955, with the fully paid up share capital in the amount of PLN 5.869.181,75. XTB S.A. conducts brokerage activities on the basis of the license granted by Polish Securities and Exchange Commission on 8th November 2005 No. DDM-M-4021-57-1/2005 and is supervised by Polish Supervision Authority.