When you buy a share of stock, you are buying a small slice of a company's future profits. The price-to-earnings ratio, or P/E, is the most common way to ask a simple question: how much am I paying for each dollar of those profits?

The P/E ratio is easy to calculate and appears on nearly every stock quote page. It is also easy to misread. This guide explains what P/E tells you, what it hides, and how related measures such as earnings yield and the PEG ratio fill in the gaps.

Key takeaways

  • P/E = share price ÷ earnings per share (EPS). It shows how many dollars investors pay for one dollar of annual earnings.
  • Trailing P/E uses the last 12 months of reported earnings; forward P/E uses analysts' estimates for the next 12 months.
  • Earnings yield (EPS ÷ price) is the P/E flipped upside down and makes it easier to compare stocks with bond yields.
  • The PEG ratio divides P/E by the expected earnings growth rate to account for how fast profits are growing.
  • A low P/E can signal value or trouble. Always ask why the market is pricing a company the way it is.

What the P/E ratio measures

The formula is:

P/E = Share price ÷ Earnings per share

EPS is the company's net income divided by its shares outstanding. If a company earned $1 billion and has 500 million shares, its EPS is $2.

A P/E of 20 means investors are paying $20 for every $1 of annual earnings. Put another way, if earnings stayed flat forever and all profits were paid out, it would take about 20 years of earnings to "earn back" the price. Of course, earnings rarely stay flat, which is why growth expectations matter so much.

A worked example

Suppose a stock trades at $50 and the company earned $2.50 per share over the last 12 months.

  • Trailing P/E = $50 ÷ $2.50 = 20
  • Earnings yield = $2.50 ÷ $50 = 5%

Now suppose analysts expect EPS to rise to $2.80 over the next 12 months, which is 12% growth.

  • Forward P/E = $50 ÷ $2.80 = 17.9 (rounded)
  • PEG ratio = trailing P/E ÷ expected growth rate = 20 ÷ 12 = 1.67 (rounded)

Compare that with a second hypothetical company trading at $30 with EPS of $1.00 and expected growth of 25%:

  • P/E = $30 ÷ $1.00 = 30
  • PEG = 30 ÷ 25 = 1.2

The second stock looks more expensive on P/E alone (30 versus 20). Adjusted for growth, it looks cheaper (PEG of 1.2 versus 1.67). Neither number settles the question, but together they frame a better conversation than either does alone.

Trailing vs forward P/E

Trailing P/E

Trailing P/E (often labelled "TTM," for trailing twelve months) uses earnings the company has already reported. Its strength is that the numbers are real and audited. Its weakness is that it looks backward. If a business is shrinking or about to grow quickly, last year's earnings may say little about next year.

Forward P/E

Forward P/E uses estimated earnings for the next 12 months or the next fiscal year. It reflects expectations, which is what prices are built on. But estimates can be wrong, and they are often revised. A low forward P/E based on optimistic estimates can be misleading.

A practical habit: look at both. If forward P/E is much lower than trailing P/E, the market is expecting strong earnings growth. Ask whether that growth is plausible.

Earnings yield: the P/E flipped

Earnings yield is EPS divided by price, or 1 ÷ P/E. A P/E of 20 equals a 5% earnings yield; a P/E of 10 equals 10%.

Expressing valuation as a percentage makes it easier to compare stocks with other assets. For example, you can set a stock's earnings yield beside the yield on a Treasury bond. The comparison is imperfect, since a company's earnings are not paid to you directly, can grow or shrink, and carry business risk that a Treasury does not, but it helps you think about what return you are being offered for the risk you are taking.

The PEG ratio

The PEG ratio adjusts P/E for expected growth:

PEG = P/E ÷ annual EPS growth rate (as a whole number)

A common rule of thumb treats a PEG near 1 as "fairly priced" relative to growth, but this is a heuristic, not a law. PEG depends entirely on the growth estimate, which is the least certain number in the formula. It also tends to break down for slow-growing companies, cyclical businesses and firms with negative earnings.

Why a low P/E is not automatically cheap

  • Earnings may be about to fall. Cyclical companies often show their lowest P/E near the peak of their profit cycle, just before earnings decline.
  • One-time gains can inflate EPS. An asset sale can temporarily boost earnings and make P/E look low.
  • Debt is ignored. Two companies with the same P/E can have very different balance sheets. Measures such as enterprise value to EBITDA include debt.
  • Industry norms differ. Utilities, banks and software companies have historically traded at very different P/E ranges. Compare a company with its peers and its own history, not with the whole market.
  • Negative earnings make P/E meaningless. When EPS is below zero, the ratio cannot be interpreted. Price-to-sales or cash flow measures may be more useful.

Other valuation measures to know

  • Price-to-sales (P/S): useful for companies with little or no profit.
  • Price-to-book (P/B): compares price with the accounting value of net assets; often used for banks and insurers.
  • Price-to-free-cash-flow (P/FCF): focuses on cash generated after investment spending.
  • EV/EBITDA: includes debt and cash, making it better for comparing companies with different capital structures.

Frequently asked questions

What is a "good" P/E ratio?

There is no universal number. A reasonable P/E depends on the company's growth, profitability, risk and industry, and on prevailing interest rates. Compare a stock with its peers and its own history rather than with a single benchmark.

Is forward P/E more reliable than trailing P/E?

Not necessarily. Forward P/E reflects expectations but relies on estimates that can change. Trailing P/E uses actual results but looks backward. Using both gives a fuller picture.

Can P/E be negative?

Mathematically yes, if the company lost money. In practice, a negative P/E is usually reported as "not meaningful," and investors turn to other measures such as price-to-sales.

Does a high P/E mean a stock will fall?

No. A high P/E means investors expect strong future earnings. It raises the bar the company must clear, but it does not predict short-term price moves.

This guide is educational and not a recommendation to buy or sell any security.

Sources and further reading

This guide is for education only and is not personalized financial, tax or legal advice. Rules and limits change; confirm current figures with official sources. Spotted an error? Tell us and we'll correct it.