P/E Ratio: Formula, How to Calculate & How to Compare P/E

ValuationLast updated: 14 March 2025

The P/E ratio (price-to-earnings) is one of the most used valuation metrics. Learn the formula for PE ratio, how to calculate PE ratio, how P/E is typically compared, and what a negative PE ratio means. This guide covers the formula and how researchers read the multiple. The P/E ratio compares stock price to earnings per share so you can line it up against peers and history—it is not a cheap/expensive conclusion.

What Is the P/E Ratio?

The P/E ratio (price-to-earnings) compares a company's stock price to its earnings per share. It answers: How many dollars are investors paying for each dollar of annual earnings? A P/E of 20 means you pay $20 for every $1 of earnings.

Researchers use the P/E ratio to compare price with earnings versus peers and the company's own history. It is a starting point for that comparison—not a buy/sell signal by itself. Combine P/E with growth rates, sector context, and other metrics.

Formula for PE Ratio

The formula for PE ratio is:

P/E Ratio = Stock Price ÷ Earnings Per Share (EPS)

Stock price is the current market price. EPS can be trailing (actual past 12 months) or forward (expected future earnings). Use diluted EPS for accuracy when a company has options or convertible securities.

Example: Stock trades at $120, EPS is $6. P/E = $120 ÷ $6 = 20. The market values the company at 20× its annual earnings.

How to Calculate PE Ratio

How to calculate PE ratio: Get the current stock price (e.g., from a quote). Get EPS from the income statement, earnings release, or financial summary—use trailing 12-month diluted EPS. Divide price by EPS.

Trailing vs. forward P/E

Trailing P/E uses actual earnings from the past 12 months. Forward P/E uses estimated future earnings (analyst consensus). Trailing is factual; forward reflects expectations. Forward P/E can be lower if earnings are expected to grow.

Where to find the numbers

Stock price: any finance site. EPS: company earnings reports, income statement, or investor relations. Many sites show P/E ratios already calculated. Verify the formula for PE ratio (price ÷ EPS) matches what the site uses.

How Is P/E Typically Compared?

How is P/E typically compared? There is no universal answer. Historically, the S&P 500 has traded around a P/E of 15–20. Growth stocks often justify higher P/Es (25–50+) because investors expect earnings to grow. Value stocks may trade at P/Es below 15.

  • Compare to peers: A tech stock at P/E 30 may be a lower multiple than peers at 40—not a conclusion that the stock is cheap.
  • Compare to history: Is this stock's P/E above or below its 5-year average?
  • Consider growth: A high P/E with high growth may be reasonable—see the PEG ratio.

A useful comparison looks at industry, growth, and risk together. Tickerplace does not rate a P/E as good or bad.

What Does a Negative PE Ratio Mean?

What does a negative PE ratio mean? A negative P/E occurs when a company has negative earnings (net loss). The formula (price ÷ EPS) produces a negative result when EPS is negative.

A negative P/E is not useful for valuation. It simply indicates the company is unprofitable. Young growth companies often lose money while investing in expansion. Mature companies with negative P/E may be in trouble. Don't compare negative P/E to positive P/E—use other metrics like revenue growth, free cash flow, or EV/revenue.

What Does a P/E of 40 Mean?

What does a P/E of 40 mean? It depends on context. For a high-growth company with earnings growing 30%+ per year, P/E of 40 can be justified—investors pay for future growth. A PEG of 1 or below (P/E ÷ growth rate) suggests the valuation may be reasonable.

For a mature company growing 3–5% annually, P/E of 40 is a higher multiple than is typical for that growth rate. Compare to sector averages. Tech and healthcare often have higher P/Es than utilities or banks. The number is not good or bad on its own.

Does a High P/E Mean Overvalued?

Does a high P/E mean a stock is overvalued? There is no fixed cutoff, and Tickerplace does not issue that verdict from P/E alone. Historically, when the broad market P/E exceeded 30, subsequent index returns tended to be lower. For individual stocks, a P/E far above its sector average is a calculated gap versus peers—not a sell conclusion.

  • Benchmarks: Market P/E above 25 has often coincided with elevated valuations. P/E above 40 for the broad market is rare and historically risky.
  • Relative view: If a stock trades at 2× its sector P/E with similar growth, the multiple is twice the sector average—not a Tickerplace overvalued call.
  • Caveats: High-quality companies can sustain elevated P/Es. Use PEG, earnings quality, and competitive moats to assess.

P/E Ratio Example

Company A: Stock $80, EPS $4. P/E = 80 ÷ 4 = 20. Company B: Stock $150, EPS $3. P/E = 150 ÷ 3 = 50. Company B has a much higher P/E. If Company B is growing earnings 40% per year and Company A at 5%, Company B's PEG might be lower (50 ÷ 40 = 1.25 vs 20 ÷ 5 = 4). P/E alone doesn't tell the full story—growth matters.

Frequently Asked Questions

How is P/E typically compared?

There is no P/E that Tickerplace rates as good or bad. Observed ranges vary by industry, growth rate, and market conditions. Historically, the broad market trades around 15–20. Growth stocks often have higher P/Es (25–40+). Value stocks may trade below 15. Compare a stock's P/E to its sector average and its own 5-year range. Context matters more than a single number.

How do you calculate PE ratio?

P/E ratio = Stock Price ÷ EPS (earnings per share). Example: A $100 stock with $5 EPS has a P/E of 20. Use trailing EPS for the last 12 months or forward EPS for expected earnings. The formula for PE ratio is simple: divide the current share price by earnings per share.

What does a negative PE ratio mean?

A negative P/E ratio means the company has negative earnings (a net loss). The formula produces a negative number when EPS is negative. A negative P/E is not useful for valuation—it simply indicates the company is unprofitable. Consider other metrics like revenue growth, cash flow, or EV/revenue instead.

What does a P/E of 40 mean?

It is a multiple, not a verdict. A P/E of 40 can appear alongside high expected earnings growth; for a slow-growing company the same figure is simply a higher multiple versus history and peers. Compare to sector averages and growth rates. PEG (P/E ÷ growth rate) is another calculated comparison, not a buy or sell conclusion.

Does a high P/E mean a stock is overvalued?

No. Tickerplace does not call a stock overvalued from P/E alone. Historically, P/E above 30 for the broad market has often preceded lower subsequent index returns. For a single name, compare the multiple with sector peers and its own history. PEG and earnings quality are additional inputs, not a recommendation.

What is the formula for PE ratio?

The formula for PE ratio is: P/E = Stock Price ÷ Earnings Per Share (EPS). You can use trailing EPS (past 12 months) or forward EPS (expected). The result shows how many dollars investors pay per dollar of earnings. A P/E of 15 means you pay $15 for each $1 of annual earnings.