PE Ratio Calculator

Calculate the Price-to-Earnings ratio for any stock. Compare trailing and forward P/E, understand valuation context, and evaluate if a stock is overvalued or undervalued.

$
Past 12 months
$
Next 12 months
$
Annual, for PEG
%
Trailing P/E Ratio
26.9ร—
Growth Territory
Trailing P/E
26.9ร—
S&P 500 avg: ~22ร—
Forward P/E
22.4ร—
Based on estimates
Earnings Yield
3.71%
Inverse of P/E
PEG Ratio
1.79
Fair relative to growth

Valuation Context

CategoryTypical P/EEarnings Yield
Deep Value< 10> 10%
Value10 โ€“ 156.7 โ€“ 10%
Fair / Market Avg15 โ€“ 224.5 โ€“ 6.7%
Growth22 โ€“ 352.9 โ€“ 4.5%
High Growth / Premium35+< 2.9%
Planning notes, formulas, and examples

About the PE Ratio Calculator

The Price-to-Earnings (P/E) ratio is the most widely used stock valuation metric in the world. It tells you how much investors are willing to pay for each dollar of a company's earnings, making it a quick gauge of whether a stock is cheap, fairly valued, or expensive relative to its earnings power.

Our PE Ratio Calculator computes both trailing P/E (based on past 12 months of earnings) and forward P/E (based on estimated future earnings). It also shows the earnings yield โ€” the inverse of P/E โ€” which makes it easy to compare stock valuations to bond yields and other asset classes.

A low P/E may signal a bargain โ€” or a company in trouble. A high P/E may indicate overvaluation โ€” or a high-growth company worth the premium. Context is everything, and this calculator gives you the numbers to start the analysis. Comparing P/E across sector peers and historical averages highlights relative value more reliably than looking at any single number in isolation.

When This Page Helps

P/E is the common language of stock valuation. Whether you are comparing two companies in the same industry, evaluating a stock against its historical average, or deciding if the market is expensive, the P/E ratio is where the conversation starts. This calculator makes the math instant so you can focus on interpretation.

How to Use the Inputs

  1. Enter the stock price.
  2. Enter the trailing earnings per share (last 12 months).
  3. Optionally enter the forward EPS estimate for forward P/E.
  4. Review the trailing P/E, forward P/E, and earnings yield.
  5. Compare to sector and market averages provided for context.
  6. Use the PEG ratio input to factor in growth rate.
Formula used
P/E Ratio = Stock Price / Earnings per Share. Earnings Yield = EPS / Price ร— 100 (inverse of P/E). PEG Ratio = P/E / Annual EPS Growth Rate.

Example Calculation

Result: Trailing P/E: 26.9, Forward P/E: 22.4, Earnings Yield: 3.7%, PEG: 1.8

A stock at $175 with $6.50 trailing EPS has a P/E of 26.9 โ€” above the S&P 500 average of ~22. The forward P/E of 22.4 (based on $7.80 estimated EPS) is more reasonable, suggesting analysts expect earnings growth. The PEG ratio of 1.8 indicates the stock may be slightly overvalued relative to its 15% growth rate (PEG of 1.0 is considered fair).

Tips & Best Practices

  • Always compare P/E within the same sector โ€” tech stocks naturally trade at higher P/Es than utilities.
  • A P/E below 15 is generally considered value territory; above 25 is growth territory.
  • Negative earnings make P/E meaningless โ€” use price-to-sales or price-to-book instead.
  • The Shiller P/E (CAPE) uses 10-year average inflation-adjusted earnings for a smoother view.
  • PEG ratio adjusts P/E for growth โ€” a PEG below 1.0 may indicate an undervalued growth stock.
  • Earnings yield (1/PE) lets you compare stocks to bond yields directly.

P/E in Market Context

When the overall market P/E is high, it often signals elevated valuations โ€” but not necessarily an imminent crash. The market traded at a trailing P/E above 20 for most of the historical 2010s and continued to rise. P/E is a valuation compass, not a timing tool.

Sector Matters

Technology companies routinely trade at P/Es of 25-40 because investors expect rapid earnings growth. Banks and utilities trade at 10-15ร— because growth is slower and more predictable. Comparing a tech stock's P/E to a utility's is meaningless โ€” always benchmark within the same industry.

Limitations of P/E

P/E can be distorted by one-time charges, accounting adjustments, or cyclical earnings peaks. The Shiller CAPE ratio (cyclically adjusted P/E) smooths these issues by averaging 10 years of inflation-adjusted earnings. For cyclical industries like energy or materials, normalized earnings provide a better valuation benchmark than a single year.

Sources & Methodology

Last updated:

Methodology

This calculator divides the entered stock price by trailing EPS and, if provided, forward EPS to compute trailing and forward P/E ratios. It also inverts the trailing multiple into an earnings-yield figure and, when a growth assumption is entered, derives a simple PEG ratio as a valuation-to-growth shortcut.

The result is a valuation worksheet, not a buy-or-sell signal. P/E comparisons are most meaningful when the companies being compared operate in similar industries and under similar accounting and capital-structure conditions.

Sources

Frequently Asked Questions

  • There is no universal "good" P/E. Broad-market averages vary over time, growth stocks often trade at much higher multiples than slower-growing sectors, and cyclical companies can look cheap or expensive depending on where they are in the earnings cycle. Compare the ratio to sector peers and the company's own history for context.