P/E Ratio Calculator

Price-to-earnings ratio, earnings yield and price at your P/E range

$
$
Net income per share; use diluted EPS if available.
×
Your own assumptions – e.g. the stock's historical range or peers.
×
×
P/E ratio—
Earnings yield (E/P)—
Price at low / middle / high P/E—
Current price vs middle-P/E price—
Years of current earnings to "pay back" the price—
🎰 15 Global Lotteries + 12 Smart Number Pickers
Powerball · Mega Millions · EuroMillions · UK Lotto — Zodiac, Birthday, Dream, AI & more

What is the price-to-earnings (P/E) ratio?

The P/E ratio divides the share price by earnings per share. Investor.gov (SEC) describes it as a way of gauging whether a stock's price is high or low compared with its own past or with other companies, and defines EPS using the earnings for the past 12 months.

  • P/E = share price ÷ EPS
  • Earnings yield = EPS ÷ share price (the inverse, handy for comparing with bond yields)
  • Trailing P/E uses the last 12 months of reported earnings; forward P/E uses analysts' estimates for the next 12 months, which can turn out wrong.

Example (fictional company)

Acme Widgets trades at $85 and earned $4.25 per share over the last 12 months. P/E = 85 ÷ 4.25 = 20.0×, and the earnings yield is 5.00%. If you think 12–25× is a reasonable range for this business, the matching prices are $51.00, $76.50 (at 18×) and $106.25. At $85 the stock is 11.1% above the middle estimate.

How to use P/E sensibly

  • Compare like with like: fast-growing sectors usually trade at higher multiples than slow-growing or cyclical ones.
  • Watch the "E": one-off gains or write-offs can make earnings, and therefore P/E, look unusually low or high.
  • Negative earnings make P/E meaningless; the calculator flags this instead of showing a negative number.
  • Cyclical companies often look cheapest (lowest P/E) at the peak of their earnings cycle.
  • The valuation range you enter is your own assumption. Nothing here is a recommendation to buy or sell.

Related tools

Work out EPS first with the EPS calculator, compare income stocks with the dividend yield calculator, or track a position with the stock gain/loss calculator.

Sources

Last checked: 2026-10-29

Frequently Asked Questions

How do you calculate the P/E ratio?
Divide the current share price by earnings per share. A $85 stock with $4.25 of EPS has a P/E of 20.
What is a good P/E ratio?
There is no single good number. Compare a stock's P/E with its own history, with similar companies and with its expected growth.
What is the difference between trailing and forward P/E?
Trailing P/E uses the last 12 months of reported earnings; forward P/E uses estimates for the next 12 months, which may not materialize.
What does a negative P/E mean?
The company lost money over the period. P/E is not meaningful then, so investors look at other measures such as price-to-sales or cash flow.
What is earnings yield?
EPS divided by share price, the inverse of P/E. A P/E of 20 equals an earnings yield of 5%.

Bookmarks