What is a PE Ratio and How Can You Use it When Investing?

As an investor, one of your primary objectives is to determine whether a stock or fund will increase in value over time. While there is no crystal ball to provide you with any certainty, there are various tools you can use to make smarter decisions. One such example is a price-to-earnings (PE) ratio.

Key Takeaways

  • What it is: The price-to-earnings ratio equals share price divided by earnings per share — a $50 stock earning $2 per share has a PE of 25, meaning investors pay $25 for every $1 of earnings.
  • Two flavors: Trailing PE uses the last 12 months of actual earnings (objective but backward-looking); forward PE uses projected earnings (more relevant but based on estimates).
  • Market gauge: The S&P 500's historical PE averages ~16; the Shiller (CAPE) ratio smooths with 10 years of inflation-adjusted earnings for a longer-term view.
  • Context is everything: A PE only means something compared to a stock's history, industry peers, or a benchmark — value investors favor low PEs, growth investors accept higher ones.
  • Watch the traps: PEs distort across cyclical industries, aren't comparable across sectors, and can be manipulated by creative accounting — treat PE as one tool, not the whole thesis.

What is a PE ratio, and how is it calculated?

How a PE ratio is built
Take the share price, divide by earnings per share. That's it.
$50
share price
÷
$2
earnings per share
=
25
PE ratio
A PE of 25 means investors are paying $25 for every $1 of the company's annual earnings.
Illustrative example. General information, not individual investment advice.

A PE ratio (also known as the “price” or “earnings” multiple) is a metric used to value a company’s stock price. More specifically, it can help you determine if a stock’s market price is undervalued, appropriately valued, or overvalued—thereby informing your decision to buy, sell, or keep the stock.

The math behind a PE ratio is simple: just divide the stock price by its earnings per share (EPS). For example, if a stock is trading for $50 per share and that same company (referred to as “ABC” from this point forward) generates $2 per share in annual earnings, the corresponding PE ratio would be 25.

While this individual equation is straightforward, the formulas used to calculate a PE ratio can get very tricky as one can determine the EPS using various methods. While these variants are sometimes helpful, they also have their shortcomings. Let’s explore each one in more detail…

Using a PE ratio to analyze individual stocks

Trailing PE ratio

The most widely used approach is the trailing (or TTM) ratio, which uses the company’s trailing (or previous) 12 months of earnings to calculate earnings per share. Its popularity stems from its high level of objectivity—the most of any metric, in fact. Many financial websites and investment apps (e.g., Yahoo! Finance, Google Finance, and Robinhood) use the TTM method, but one of its biggest drawbacks is that past performance doesn’t guarantee future results; and investors naturally purchase stocks based on future earnings rather than past events, of course.

Two ways to measure the “E”
The same stock can show two different PE ratios, depending on which earnings you use.
Trailing (TTM)
Looks backward
Uses the last 12 months of actual, reported earnings
Highly objective — the numbers already happened
Default on Yahoo! Finance, Google Finance, and most apps
Drawback: past results don't guarantee future ones
Forward (expected)
Looks ahead
Uses projected earnings for the coming year
More relevant to why people actually buy stocks
Favored by analysts for fast-growing companies
Drawback: it's an estimate, and estimates can be wrong
Many investors watch both; a wide gap between them is a cue to dig deeper. General information, not individual advice.

Forward PE ratio

Another PE variant preferred by analysts—especially for growing companies—is the “forward” or “expected earnings” method (also known as “estimated price to earnings”). This indicator, an excellent measure of a company’s financial health, uses expected earnings for the coming year to calculate EPS (a number typically found in an earnings release). Keep in mind that expected earnings is a prediction of how the company will perform in the future; using this method to determine an EPS is therefore by no means an exact science. External analysts such as Morningstar provide earnings estimates that sometimes differ from their company counterparts, making the PE ratio even more confusing to investors.

Many investors use both trailing and forward PE ratios to analyze stocks. While these figures sometimes mirror one another, that’s not always the case. In this way, variance can serve as an impetus to dig deeper into corresponding causes.

Using a PE ratio to analyze the entire market:

S&P 500 PE ratio

To calculate this ratio, divide the sum of all stock prices in the index by the total earnings per share (EPS) of S&P 500 companies over the last 12 months or their projected EPS over the next 12 months (known as a “forward PE ratio”). The historical average PE ratio of the S&P 500—approximately 16—is an important benchmark for evaluating the current ratio. If the latter is higher than the historical average, the index is perhaps overvalued (indicating that S&P 500 stock prices are relatively high compared to their earnings). On the other hand, a lower PE ratio may imply the index is undervalued, suggesting that the stocks within the index may be priced relatively lower compared to their earnings. As with other analyses, this ratio has its own fair share of challenges; for example, the ratio sat well above its historical average for much of the mid-2010s and again through the 2020s, yet the market kept climbing for years at a stretch—a reminder that a high PE signals that stocks are expensive, not that a decline is imminent.

Reading the whole market
The same tool scales up from one stock to the entire S&P 500.
~16
the S&P 500's long-run average PE — a common benchmark
When the market's current PE sits above ~16, stocks may be richly priced relative to earnings; below ~16 may suggest the opposite. It's a gauge, not a timing signal.
The Shiller (CAPE) ratio smooths the picture
It averages 10 years of inflation-adjusted earnings instead of a single year, which evens out short-term booms and busts for a longer-term read on valuation.
Historical averages shift with the time frame used and aren't a forecast. General information, not individual advice.

Shiller PE ratio

The Shiller PE ratio (also known as the “CAPE ratio”) relies on average earnings over a 10-year period for analysis purposes (adjusted for inflation). While investors can use this method to analyze individual stocks, it is generally applied to an entire stock market index—such as the S&P 500. As with other PE ratio metrics, this one also has its drawbacks especially since it examines historical performance figures.

How to use a PE ratio in your own investment strategy

A PE ratio tells you how much a buyer is willing to pay for $1 of a company’s earnings. Using our earlier example, the current number suggests investor willingness to pay $25 for every $1 of ABC’s earnings. However, merely knowing ABC’s PE ratio is useless in the absence of something to compare it to: such as ABC’s historical PE range, peers within the sector, or a benchmark index (e.g., the Dow Jones or S&P 500 index).

Let's assume ABC and its competitor, XYZ, are peers within the energy sector. Furthermore, imagine ABC has a stock price of $50 and a PE ratio of 25 while XYZ also trades at $50 but has a PE ratio of 10. In this scenario, you'd pay $25 for every $1 of earnings for ABC stock while paying much less for XYZ stock—just $10 for every $1 of earnings, even though the two cost the same per share.

Same price, very different value
Two energy-sector peers at the same $50 share price. A PE only means something next to a comparison.
ABC
$50 per share
25
PE ratio
You pay $25 for every $1 of earnings
XYZ
$50 per share
10
PE ratio
You pay just $10 for every $1 of earnings
Now the real question: is ABC pricey because investors expect big growth—or overvalued? Is XYZ a bargain—or a company the market has doubts about? The ratio starts the investigation; it doesn't end it.
Hypothetical companies, for illustration only. General information, not individual investment advice.

From there, you’ll need to research PE ratios a little bit more—learning why investors are willing to pay so much more for ABC stock and, by the same token, why XYZ stock is relatively inexpensive. For example, do investors expect higher future earnings for ABC since it’s a growing company? Alternatively, the stock is perhaps overvalued—especially if ABC’s earnings fell but its stock price did not. XYZ’s low PE ratio, meanwhile, could imply the stock is undervalued—especially if company earnings increased but the stock price didn’t follow suit. A low PE ratio could also mean investors are pessimistic about XYZ’s future earnings.

As you’ve probably figured out already, PE ratios offer a good starting point for stock valuation but don’t give you all the answers and information you’ll need to invest in a stock. You can therefore consider them just one tool in your investment toolbox.

What is a “good” PE ratio?

There's no single “good” PE
What counts as attractive depends on what kind of investor is looking.
Value investors
Lean toward a below-average PE
They're hunting for stocks the market may have underpriced relative to current earnings.
Growth investors
Accept an above-average PE
They'll pay more today for a company they expect to grow its earnings quickly tomorrow.
The takeaway: a number is only “high” or “low” against something—the stock's own history, its industry, or a benchmark like the S&P 500.
General information, not individual investment advice.

Because PE ratios are used to compare stocks, a single ratio on its own is not easily defined as either “good” or “bad.” Generally speaking, however, many value investors consider a below-average PE ratio preferable whereas an above-average figure is ideal for growth investors.

Other details to know about PE ratios

⚠ Three ways a PE ratio can mislead
A low or high number isn't the whole story. Watch for these traps.
1
Cyclical industries distort it
In a boom, inflated earnings can make a homebuilder or oil producer look cheap; in a slump, depressed earnings make the same stock look expensive. The cycle, not the value, is moving the ratio.
2
It doesn't travel across sectors
Fast-growing industries carry higher PEs than mature ones as a matter of course. Comparing a tech name's PE to a utility's tells you little.
3
Earnings can be massaged
Creative accounting, shifting depreciation policies, and one-time gains or losses all bend the “E.” Always ask how a company arrived at its earnings number.
Treat a PE as one tool among many—not a verdict. General information, not individual investment advice.

As some industries grow much faster than other, more mature sectors, investors shouldn’t use PE ratios to compare stocks across industries.

Heavily cyclical industries—with performance often directly tied to the strength of the economy—sometimes have deceptive PE ratios, depending on the economic cycle. For example, if profits are booming, an inflated EPS can make a stock seem cheap. Alternatively, in a recession or slow-growing economy, profits are depressed—making a stock appear expensive. Examples of such industries include homebuilders and commodity producers of resources such as oil and gas.

Moreover, earnings aren’t always so clear-cut. Some companies use creative accounting methods (such as shifting depreciation policies) to meet earnings expectations. Unusual gains or losses can also affect earnings. Therefore, investors should always remain wary of methods used to derive company earnings numbers—which can impact PE ratios.

In sum

It’s important to know that while PE ratios can offer a quick stock valuation, it’s important to evaluate a variety of other metrics (e.g., company fundamentals, industry metrics, and overall economic indicators) before deciding to invest. That’s why—at least for most of us—leaving the decisions to the experts is often the most prudent approach when investing.

New to this? Our guide on how to start investing walks through the fundamentals from the ground up.

Still have questions about PE ratios and how to use them? Schedule a FREE Discovery call with one of our financial advisors.

Reviewed for accuracy

Benjamin Stark, CFP®

Financial Advisor and Director of Client Experience at Vision Retirement, with 10+ years as a financial advisor.

Read full bio →

FAQs

Disclosures:
This document is a summary only and is not intended to provide specific advice or recommendations for any individual or business. 

Bill Stavros, Reviewed by Benjamin Stark, CFP®

Bill Stavros is the Chief Operating Officer of Vision Retirement. He oversees the firm's editorial content and writes regularly on retirement planning, investing, and personal finance. Read more about Bill →

Previous
Previous

IRMAA Brackets 2026, 2027 & 2028: How to Avoid Medicare Surcharges

Next
Next

Want to Keep More of Your Investment Returns? Nine Strategies to Minimize Tax Drag