Skip to content
OverCalculator
  1. Home
  2. Financial
  3. Price-to-Earnings (P/E) Ratio Calculator
Financial

Price-to-Earnings (P/E) Ratio Calculator

Calculate a stock's price-to-earnings ratio and earnings yield from price per share and earnings per share, with interpretation guidance and limitations.

By OverCalculator Editorial Team, Updated

P/E ratio
Price-to-earnings ratio
13.89×
Price per share
$25.00
Earnings per share
$1.80
Earnings yield
7.2%

At $25.00 per share and $1.80 EPS, investors pay 13.89 times earnings.

$
$

Results update as you type.

Price-to-Earnings (P/E) Ratio Calculator

The price-to-earnings ratio calculator divides a stock’s price per share by earnings per share. The result is a valuation multiple: how much the market is paying for each dollar of per-share earnings. It is one of the most quoted stock metrics because it connects a market price with the company’s profitability. The calculator also returns earnings yield, which shows EPS as a percentage of price.

This page is about valuation, not trade profit, dividend income, or company size. Use the stock calculator for a buy-and-sell profit or loss, the dividend calculator for income projections, the EPS calculator to compute earnings per share from net income and shares, and the market capitalization calculator to estimate equity market value. The P/E result is informational, not investment advice.

Formula and what it means

The calculator uses the standard P/E formula:

P/E ratio=price per shareearnings per share\text{P/E ratio} = \frac{\text{price per share}}{\text{earnings per share}}

It also calculates earnings yield:

earnings yield=earnings per shareprice per share×100\text{earnings yield} = \frac{\text{earnings per share}}{\text{price per share}} \times 100

P/E and earnings yield tell the same story from opposite directions. A P/E of 20 means the price is twenty times EPS. The earnings yield would be 5%, because one dollar of earnings is 5% of a twenty-dollar price. Lower P/E ratios correspond to higher earnings yields, all else equal. Higher P/E ratios correspond to lower earnings yields, all else equal.

The form requires earnings per share above zero. That is important because a company with negative EPS does not have a meaningful positive P/E ratio. A very small positive EPS can also create an unusually high multiple, so review whether earnings were depressed by temporary charges, a recession, startup investments, or accounting adjustments.

Worked example matching the calculator

Assume the default inputs: $25.00 price per share and $1.80 earnings per share.

StepCalculationResult
P/E ratio$25.00 ÷ $1.8013.89
Earnings yield$1.80 ÷ $25.00 × 1007.20%
Price per shareEntered value$25.00
Earnings per shareEntered value$1.80

Those values match the form output: a 13.89× price-to-earnings ratio and a 7.20% earnings yield. The note behind the result means investors are paying about 13.89 times the current earnings represented by each share. If price rose to $36.00 while EPS stayed $1.80, the P/E would increase to 20.00. If EPS improved to $2.50 while price stayed $25.00, the P/E would fall to 10.00.

How investors use P/E

Investors use P/E to compare valuation with peers, history, and expectations. A company trading at 12 times earnings may look cheaper than one trading at 30 times earnings, but the lower multiple is not automatically better. The market may expect slower growth, lower margins, greater debt risk, weaker governance, cyclicality, or a coming earnings decline. Likewise, a high multiple can be justified only if future growth and profitability are strong enough to support it.

P/E is especially useful when comparing companies with similar business models. Grocery chains can be compared with grocery chains, banks with banks, and software firms with software firms. Cross-sector comparisons often mislead because capital intensity, reinvestment needs, regulation, interest-rate sensitivity, and accounting choices differ.

Investors also compare a company’s current P/E with its own historical range. If a stock normally trades between 15 and 25 times earnings and now trades at 10, the market may be pricing in a problem worth investigating. If it trades far above its own history, expectations may already be demanding. Pair this analysis with the EPS calculator, because EPS quality is the denominator of the ratio.

Benchmarks and limitations

There is no universal good P/E. Broad market averages change with interest rates, inflation expectations, profit margins, sector composition, and investor risk appetite. A mature utility may carry a lower multiple than a fast-growing software business. A cyclical company may look cheap near peak earnings and expensive near trough earnings, even when the stock is doing the opposite of what the simple ratio suggests.

P/E can be distorted by one-time gains, restructuring charges, asset sales, tax changes, buybacks, and accounting estimates. Basic EPS and diluted EPS can differ when options, convertible securities, or warrants are material. Forward P/E depends on forecasts, and those forecasts can change quickly after earnings reports or guidance updates.

Practical tips

Use a consistent EPS definition. Do not compare one company’s trailing P/E with another company’s forward P/E unless you label the difference. Check whether EPS is GAAP, adjusted, basic, diluted, annual, quarterly annualized, or trailing twelve months. Review cash flow to see whether reported earnings translate into cash generation.

Finally, use P/E as a starting point, not a verdict. Combine it with dividend policy through the dividend yield calculator, trade outcomes through the stock calculator, and size context through market capitalization. A thoughtful valuation view uses several measures because no single ratio captures the full business.

Sources

Frequently asked questions

What does the P/E ratio show?
The P/E ratio compares a stock's price per share with earnings per share. It shows how many dollars investors are paying for one dollar of per-share earnings. A higher multiple can reflect growth expectations, quality, optimism, or overvaluation; a lower multiple can reflect value or risk.
How do I calculate price-to-earnings ratio?
Divide price per share by earnings per share for the same company. For example, a $25.00 share price and $1.80 EPS produce a P/E ratio of 13.89. The calculator also shows earnings yield, which flips the relationship by dividing EPS by price.
Is trailing or forward EPS better?
Trailing EPS is based on reported earnings, while forward EPS is based on forecasts. Trailing P/E is usually more objective, but it may be stale after a major business change. Forward P/E can be useful, but it depends on estimates that may prove too optimistic or too conservative.
What if earnings per share is negative?
A negative EPS usually makes a positive P/E ratio not meaningful. This calculator requires EPS above zero, matching the form logic. For loss-making companies, investors often review revenue growth, cash burn, book value, enterprise value, unit economics, or expected future profitability instead.
Can I compare P/E ratios across sectors?
Sector comparisons need care. Banks, utilities, retailers, software firms, cyclical manufacturers, and commodity producers often deserve different valuation ranges because margins, growth, balance sheets, and earnings cyclicality differ. Peer comparisons inside the same industry are usually more informative than broad cross-sector rankings.
Is the P/E result investment advice?
No. The calculation is informational, not investment advice. It helps express valuation as a multiple, but it does not evaluate accounting quality, growth durability, debt, cash flow, competitive position, management, portfolio fit, or whether a stock is suitable for you.

Related calculators

Price-to-Earnings (P/E) Ratio Calculator updated at