DEV Community

ZarWealth
ZarWealth

Posted on • Originally published at zarwealth.tech

What Is a P/E Ratio and How to Use It

๐Ÿ“š Part of our Complete Investing Guide

If you've ever looked at a stock and wondered whether it's cheap or expensive, the price-to-earnings ratio โ€” or P/E ratio โ€” is one of the first tools you'll reach for. It's one of the most widely used metrics in investing, and understanding it can help you make smarter decisions about which stocks deserve your money.

In this guide, we'll break down exactly what the P/E ratio is, how to calculate it, what counts as a "good" P/E, and how to use it alongside other metrics so you don't get burned by a number taken out of context.

What Is the P/E Ratio?

The price-to-earnings (P/E) ratio compares a company's stock price to its earnings per share (EPS). It tells you how much investors are willing to pay for every dollar of earnings a company generates.

P/E Ratio Formula: P/E = Stock Price รท Earnings Per Share (EPS)

For example, if a stock trades at $50 and the company earned $5 per share over the past year, its P/E ratio is 10. That means investors are paying $10 for every $1 of earnings.

Trailing P/E vs. Forward P/E

There are two common versions of the P/E ratio you'll encounter:

  • Trailing P/E (TTM): Uses earnings from the past 12 months. This is based on real, reported numbers โ€” more reliable but backward-looking.
  • Forward P/E: Uses estimated future earnings (usually next 12 months). More speculative, but gives a sense of where the market expects the company to go.

Most financial sites display trailing P/E by default. When you see "P/E" without any qualifier, assume it's trailing.

What Is a "Good" P/E Ratio?

There's no universal answer โ€” it depends entirely on context. That said, here are some rough benchmarks:

P/E Range What It Might Signal
Under 10 Potentially undervalued โ€” or the market sees problems ahead
10โ€“20 Historically "normal" for established companies
20โ€“30 Growth premium โ€” market expects higher future earnings
30+ High growth expectations โ€” or overvaluation risk
Negative or N/A Company is unprofitable โ€” P/E doesn't apply

The S&P 500's historical average P/E sits around 15โ€“20, though it has reached 30+ during bull markets. Context matters more than the raw number.

P/E Ratios Vary by Sector

Comparing P/E ratios across industries is like comparing apples to oranges. Tech companies often trade at 30โ€“50x earnings because the market prices in rapid growth. Utility companies, meanwhile, may trade at 12โ€“16x because their earnings are stable but slow-growing.

Always compare a company's P/E to its industry peers and its own historical average โ€” not to the entire market.

If you're curious how sector allocation affects portfolio returns, see our guide on sector investing and whether it's worth it.

Limitations of the P/E Ratio

The P/E ratio is powerful but incomplete. Here's what it misses:

  • Earnings can be manipulated: Accounting choices can inflate or deflate reported EPS, making the P/E look better or worse than reality.
  • It ignores debt: Two companies can have the same P/E but very different balance sheets. A company with heavy debt is riskier even at the same earnings multiple.
  • It's useless for unprofitable companies: Many high-growth companies have no earnings yet โ€” P/E literally can't be calculated.
  • It doesn't capture growth rate: A P/E of 30 could be cheap for a company growing 40% per year and expensive for one growing 5%.

The PEG Ratio: A Better Version

The PEG ratio addresses one of the P/E's biggest gaps by factoring in growth:

PEG Ratio = P/E รท Annual EPS Growth Rate A PEG under 1.0 is often considered undervalued; above 2.0 may signal overvaluation.

If Company A has a P/E of 25 and grows earnings at 25% per year, its PEG is 1.0 โ€” arguably fair value. If Company B has the same P/E but grows at only 10%, its PEG is 2.5 โ€” potentially overvalued.

How to Use the P/E Ratio in Practice

Here's a simple framework for using P/E as part of your stock analysis:

  • Compare to sector peers: Is this stock's P/E above or below comparable companies?
  • Compare to its own history: Is the stock trading at a premium or discount to its 5-year average P/E?
  • Look at forward P/E too: Does the market expect earnings to grow, shrink, or stay flat?
  • Pair it with other metrics: Use P/E alongside price-to-book (P/B), debt-to-equity, and free cash flow to get the full picture.
  • Don't buy on P/E alone: A low P/E can mean a value opportunity โ€” or a value trap where earnings are about to fall off a cliff.

For a deeper dive into index-based investing that sidesteps individual stock valuation altogether, check out our complete guide to ETF investing.

Does the P/E Ratio Matter for Index Fund Investors?

If you invest in index funds or ETFs rather than individual stocks, you don't need to analyze individual P/E ratios. But you might still hear about the S&P 500's overall P/E (or the Shiller CAPE ratio, which smooths earnings over 10 years) as a signal for whether the broad market is expensive.

Index fund investors often prefer strategies like dollar-cost averaging over market timing based on valuation metrics.

The short answer: if you're a long-term passive investor, the P/E ratio matters less than staying consistent with your contributions.

The Little Book of Common Sense Investing by John C. Bogle โ€” the definitive case for low-cost index funds over stock picking, written by the founder of Vanguard.

A Random Walk Down Wall Street by Burton G. Malkiel โ€” a classic that explains why beating the market through stock selection is harder than it looks, and why valuation metrics like P/E should be used with humility.

Both are available on Audible โ€” try it free for 30 days and get your first audiobook included.

Want the full picture? This article is part of our Complete Investing Guide โ€” covering everything from ETF basics and account types to stock analysis and building a long-term portfolio.


Originally published at ZarWealth.

Top comments (0)