Investing Basics

P/E Ratio Explained: How to Value a Stock

6 min read · Updated June 30, 2026

The price-to-earnings ratio — P/E for short — is the single most-quoted number in stock valuation. It answers a deceptively simple question: how much are you paying for each dollar of a company’s profit?

Used well, it is a fast sanity check on whether a stock is cheap or expensive relative to its earnings. Used carelessly, it is one of the easiest ways to draw the wrong conclusion. This guide covers both.

What the P/E ratio actually measures

The P/E ratio is the current share price divided by earnings per share (EPS) over the last twelve months. If a stock trades at $100 and earned $5 per share last year, its P/E is 20.

A P/E of 20 means investors are paying $20 for every $1 of annual profit. Flipped around, it implies the company would take roughly 20 years to earn back its current price at today’s profit level — a rough payback period, not a promise.

Trailing vs. forward P/E

Trailing P/E uses earnings already reported. It is factual but backward-looking — it tells you nothing about a business whose profits are about to change.

Forward P/E uses analysts’ estimates for the next twelve months. It is more relevant for fast-growing or recovering companies, but it is only as good as those estimates, which are routinely revised.

A useful habit: glance at both. When the forward P/E is far below the trailing P/E, the market expects earnings to rise. When it is far above, the market expects them to fall.

What counts as a "good" P/E?

There is no universal threshold. A P/E only means something next to a reference point: the company’s own history, its direct competitors, and its sector average. A 30x P/E is unremarkable for fast-growing software and alarming for a utility.

High-growth companies routinely trade at high P/Es because investors are pricing in future earnings, not current ones. Mature, slow-growth companies trade lower. Comparing a software firm’s P/E to a bank’s tells you almost nothing.

Where the P/E ratio misleads

Earnings can be distorted by one-off events — asset sales, write-downs, tax changes — that make the ratio temporarily meaningless. Always check whether the "E" reflects the ongoing business.

Companies with no profit have no meaningful P/E at all; the ratio is undefined or negative. For those, investors lean on price-to-sales or other measures.

And a low P/E is not automatically a bargain. It often signals that the market expects earnings to deteriorate — the so-called value trap. The ratio is a starting question, not an answer.

Frequently asked questions

What is a good P/E ratio?

There is no single good number. A P/E is only meaningful relative to the company’s history, its competitors, and its sector. High-growth sectors like technology sustain higher P/Es than mature sectors like utilities.

Is a high P/E ratio bad?

Not necessarily. A high P/E usually reflects expectations of strong future earnings growth. It becomes a concern only if the company fails to deliver that growth, leaving the price unsupported.

What does a negative P/E mean?

A negative or undefined P/E means the company reported a net loss over the period, so there are no positive earnings to divide the price by. Investors typically use other metrics, such as price-to-sales, for unprofitable companies.

Keep reading