Investing Education · 13 min read

How to Calculate the P/E Ratio and What It Tells Investors

The price-to-earnings ratio compares a company’s share price with its earnings per share. It can help frame valuation, but only when the earnings, period and comparison are understood.

Calculator and financial documents used to analyze company valuation
Editorial image: Kelly Sikkema / Unsplash
Educational information

This article explains public financial information. It does not recommend buying, selling or holding any investment.

01

The P/E ratio formula

The price-to-earnings ratio is calculated by dividing the current market price of one common share by earnings per share. If a share trades at $60 and the company earned $3 per diluted share over the relevant period, its P/E ratio is 20.

The same result can be calculated by dividing total market capitalization by earnings attributable to common shareholders, provided the numerator and denominator use consistent share classes and periods. The ratio is usually written as 20× rather than 20%.

Key pointP/E ratio = share price ÷ earnings per share.
02

Start by checking the earnings per share

Earnings per share, or EPS, connects company profit with the weighted average share count. Diluted EPS includes the potential effect of instruments such as options and convertible securities and is commonly used for valuation comparisons.

Confirm whether the source uses GAAP earnings or an adjusted measure. Adjusted EPS definitions vary between companies and may exclude costs that remain economically important. A comparison becomes unreliable when one company uses GAAP EPS and another uses a different adjusted definition.

Key pointA P/E ratio is only as comparable as the earnings figure beneath it.
03

Trailing P/E versus forward P/E

A trailing P/E normally uses earnings reported for the latest twelve months. Because those earnings have already been reported, the denominator is observable, although it can include unusual events that may not recur.

A forward P/E uses estimated future earnings, often for the next twelve months or fiscal year. It reflects expectations rather than completed results. Forecasts can change quickly, so every forward P/E should identify the estimate period, provider and observation date.

Key pointTrailing P/E uses reported earnings; forward P/E depends on forecasts.
04

What a high or low P/E may indicate

A higher P/E can indicate that investors expect faster growth, more durable profits or lower business risk. It can also signal that expectations are demanding relative to current earnings. A lower P/E may reflect slower expected growth, cyclically high current profit, financial risk or temporary uncertainty.

The ratio does not independently reveal which interpretation is correct. Read the company’s filings, margins, cash flow, debt, competitive position and earnings outlook before explaining why its multiple differs.

Key pointA valuation multiple describes what the market is paying; it does not explain why.
05

How to compare P/E ratios properly

Compare companies with similar business economics, accounting treatment and earnings cycles. A software company and a bank can have very different reinvestment needs and risk structures, making a direct multiple comparison less informative.

Use the same date, currency basis, EPS definition and trailing or forward period. Then compare the company with its own history, close peers and a relevant broad index. Even these comparisons require context because interest rates, growth expectations and business mix change over time.

Key pointConsistency of period, earnings definition and peer group matters more than finding one market average.
06

When the P/E ratio does not work well

A conventional P/E is not meaningful when earnings are negative because the denominator is below zero. It can also become extremely high when profit is close to zero, producing a dramatic ratio from a small change in earnings.

Cyclical companies may appear cheapest near the top of an earnings cycle, when profits are temporarily strong, and expensive near the bottom. One-time gains, impairments, tax effects and acquisitions can also distort the figure. In these cases, revenue, cash flow, balance-sheet measures and normalized earnings may provide additional context.

Key pointDo not force a P/E interpretation when earnings are negative, unusually small or cyclically distorted.
07

P/E does not measure growth or quality by itself

Two companies can share the same P/E while having different revenue growth, margins, debt, capital requirements and competitive advantages. The ratio compresses many expectations into one number but does not separate them.

Measures such as earnings growth, return on invested capital, free cash flow and balance-sheet strength answer different questions. No single metric establishes fair value or predicts future returns.

Key pointUse P/E as one valuation lens within a broader company analysis.
08

A disciplined P/E checklist

Record the share price date, EPS period and whether earnings are GAAP, adjusted, trailing or forecast. Recalculate the ratio where possible and investigate any large difference between data providers.

Next examine earnings quality, unusual items, dilution, debt, cash flow and the company’s stage in its business cycle. Compare only with relevant peers and state clearly that a low or high ratio is an observation—not a buy or sell instruction.

Key pointDate → EPS definition → calculation → earnings quality → peer context → limitations.
COMMON QUESTIONS

Frequently asked questions

What is a good P/E ratio?

There is no universal good P/E. Appropriate comparisons depend on the company’s industry, growth, risk, earnings quality, interest-rate environment and stage in the business cycle.

Is a lower P/E always better?

No. A low ratio may reflect weak growth expectations, high debt, declining earnings or temporary risks. It can also result from unusually high cyclical earnings.

Can a company have a negative P/E ratio?

Some data services display a negative result, but conventional P/E analysis is generally considered not meaningful when earnings are negative.

What is the difference between trailing and forward P/E?

Trailing P/E uses already reported earnings, usually for the latest twelve months. Forward P/E uses estimated future earnings and therefore depends on forecasts.

PRIMARY REFERENCES

Official sources

Definitions and methodology were checked against these primary resources. Consult the current documents for complete details.

Investor.gov — Price-Earnings (P/E) RatioInvestor.gov — How to Read a 10-KSEC — Beginners' Guide to Financial Statements