Equity investing

Price-to-Earnings Ratio Calculator

Divide the share price by earnings per share to find the P/E ratio, how much investors pay for each dollar of a company's earnings.

  • Free
  • No sign-up
  • Updated for 2026

Price & earnings

$
$

Enter the share price and EPS to see the P/E ratio.

Worked example

With these example inputs:

  • Share price$50
  • Earnings per share$3

P/E ratio: 20

  • Share price$50
  • Earnings per share$3

Add this calculator to your site

Free to embed. Copy the snippet below, it drops the live calculator straight into any page.

What this price to earnings ratio calculator does

This calculator finds the P/E ratio. You enter the share price and earnings. The tool then shows the ratio. It reveals what you pay per dollar of earnings. This is a key valuation measure. You can plug in other values. The result helps you judge a stock.

What the P/E ratio is

The P/E ratio compares price to earnings. It is the share price over earnings per share. It shows what the market pays for profit. A high P/E means a pricey stock. A low one can mean a cheap stock. It is the most common valuation tool. It reflects market expectations.

How it is calculated

The math behind it is straightforward. You take the share price. Then you divide by earnings per share. The result is the P/E ratio. A figure of fifteen means fifteen times earnings. The tool handles the math for you. It saves you the manual sums.

Why the P/E ratio matters

The P/E ratio shows a stock's valuation. It puts the price in context. It reveals how much profit you buy. It lets you compare different stocks. A high P/E reflects high hopes. A low one can signal doubt. It is central to stock analysis.

A high versus low P/E

A high P/E means a pricey stock. The market expects strong growth. But it can also mean it is overvalued. A low P/E can mean a bargain. Or it can signal real trouble. Context decides which it is. Never judge on the number alone.

P/E and growth

The P/E ratio reflects expected growth. A fast grower earns a high P/E. Investors pay up for future profit. A slow grower has a low P/E. So you must weigh growth too. A high P/E is not always dear. Compare it to the growth rate.

The limits of the P/E ratio

The P/E ratio has real limits. It relies on the earnings figure. One-off items can distort it. It ignores debt on the books. It says little about cash flow. A loss makes it meaningless. Use it with other measures.

How to use it

Enter the share price. Add the earnings per share. Read the P/E ratio at once. Then try a different price. See how the ratio changes. Compare a few stocks. Use it to judge value.

Comparing stocks by P/E

The P/E lets you compare stocks. It puts each on the same scale. But compare within the same sector. P/E levels differ widely by industry. Weigh the growth behind each. A higher P/E may be justified. Use it alongside other checks.

Common mistakes to avoid

A common mistake is judging on the P/E alone. It ignores growth and debt. Another is comparing across sectors. Normal levels vary by industry. Some trust distorted earnings. Others ignore the cash flow. A clear number keeps you from these slips.

A final tip

Use the P/E to gauge a stock's value. But never judge on it alone. Weigh the growth behind the number. Compare it within the same sector. Check the earnings are not distorted. Pair it with other measures. The P/E is one tool, not the whole story.

Frequently asked questions

What does the P/E ratio tell me?

It shows how many dollars investors pay for each dollar of annual earnings. A P/E of 20 means the price is 20 times earnings per share.

Is a high P/E good or bad?

Neither on its own. A high P/E can signal strong growth expectations or an expensive stock, so compare it with peers and the company's own history.