P/E Ratio Calculator

The P/E ratio is share price divided by earnings per share — how many dollars you pay for one dollar of annual profit. This calculator also flips it into earnings yield, adjusts it for growth with PEG, and shows what the stock would be worth at a different multiple.

P/E ratio
—
Earnings yield (1 ÷ P/E)—
PEG ratio—
Price at your target P/E—

Estimates only, not investment advice. Nothing you type leaves your browser.

What the P/E ratio actually tells you

The P/E ratio is a payback period. A 20× P/E means you are paying 20 years of current profit to buy the whole company. Flip it and you get the earnings yield — 5% in that case — which is directly comparable to a bond yield, and is the more intuitive way to think about it.

The P/E ratio is meaningless without growth, which is what PEG fixes. A 35× multiple on a company growing earnings 35% a year is cheaper than 15× on a business growing 3%. PEG divides the multiple by the growth rate; under 1.0 is conventionally cheap, though the measure breaks down when growth is volatile or negative.

The last output — price at your target P/E — is the practical one. Take the multiple the stock has historically traded at, or the sector average, multiply by current EPS, and you get a defensible price target without building a full model.

The "E" is the whole problem

A P/E ratio looks like a single fact and is actually three different numbers depending on which earnings you divide by. Trailing P/E uses the last four reported quarters. Forward P/E uses analyst estimates for the next four. A third variant — sometimes called adjusted or normalised P/E — strips out one-off items like restructuring charges, impairment writedowns and gains on asset sales.

These can diverge wildly. A company that took a large writedown might show a trailing P/E of 60× and an adjusted P/E of 22×. Neither is a lie; they answer different questions. The trailing figure tells you what the market is paying for what the business actually earned. The adjusted figure tells you what it is paying for what the business might earn in a cleaner year. If you use the adjusted number, be clear about what you excluded and why you think it will not recur — companies with a habit of "one-off" charges every year are telling you something.

Three situations where P/E misleads

Negative or near-zero earnings. A company that lost money has no meaningful P/E at all; a company that earned one cent per share has a P/E in the hundreds that carries no information. Screen these out rather than trying to interpret them.

Cyclicals at the turn. Commodity producers, semiconductors and shipping companies earn the most at the top of the cycle, when their P/E looks cheapest. That low multiple is a warning, not a bargain — earnings are about to fall. Check EV/EBITDA or price-to-book across the cycle instead.

Different capital structures. Two identical businesses, one funded with debt and one with equity, will show different P/E ratios because interest expense reduces the leveraged company's earnings. Enterprise-value multiples sidestep this. P/E does not.

What to compare against

A P/E is only meaningful relative to something: the company's own history, its closest competitors, or the sector median. A 25× multiple sounds expensive until you learn the sector median is 30× and this company has the highest return on capital in the group. Absolute rules like "never pay more than 20×" ignore both growth and quality, and will systematically exclude the best businesses.

Formula

P/E = Price ÷ EPS  ·  Earnings Yield = 1 ÷ P/E  ·  PEG = P/E ÷ EPS Growth Rate

FAQ

What is a good P/E ratio?

There is no universal answer — it depends entirely on growth and interest rates. The S&P 500 has averaged roughly 16× over the long run, but a 25× multiple on a company compounding earnings at 20% is better value than 12× on a stagnant one. Always compare within the same sector.

Why is the P/E ratio negative or blank for some stocks?

When earnings are negative, the P/E ratio has no meaning — you cannot divide by a loss. Screens usually display it as N/A. For loss-making companies, use price-to-sales or enterprise value to revenue instead.

Forward P/E or trailing P/E?

Trailing uses the last twelve months of actual earnings: factual, but backward-looking. Forward uses analyst estimates for the next year: more relevant, but depends on forecasts that are often wrong. Serious analysis looks at both plus the trend.

How does the PEG ratio mislead?

PEG assumes growth is steady and sustainable, which rarely holds. It also ignores debt, margins and capital needs, and it looks artificially cheap for a company coming off a depressed earnings base. Treat it as a screening filter, not a valuation.

Related calculators

More calculators

Guides