P/E Ratio: Formula, How to Calculate, What Is a Good PE Ratio & When It's Overvalued

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, what is a good PE ratio, and what does a negative PE ratio mean. Is PE ratio of 40 good or bad? How much PE is overvalued? This guide covers it all. The P/E ratio compares stock price to earnings per share and helps you spot expensive or cheap stocks—with important caveats.

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.

Investors use the P/E ratio to gauge whether a stock is cheap, fairly valued, or expensive relative to its earnings. It's a starting point for valuation—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.

What Is a Good PE Ratio?

What is a good PE ratio? 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 cheap if peers trade at 40.
  • 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 "good" P/E is one that makes sense for the company's industry, growth, and risk. Use what is a good PE ratio as a comparative question, not a fixed target.

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.

Is PE Ratio of 40 Good or Bad?

Is PE ratio of 40 good or bad? 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 may signal overvaluation. Compare to sector averages. Tech and healthcare often have higher P/Es than utilities or banks. "Good" or "bad" depends on growth, sector, and competitive position—not the number alone.

How Much PE Is Overvalued?

How much PE is overvalued? There is no fixed cutoff. Historically, when the broad market P/E exceeded 30, forward returns tended to be lower. For individual stocks, a P/E far above its sector average without clear growth justification can signal overvaluation.

  • 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, it may be overvalued.
  • 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

What is a good PE ratio?

A "good" P/E ratio depends on the 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.

Is PE ratio of 40 good or bad?

It depends. A P/E of 40 can be justified for a high-growth company with strong earnings expansion—investors pay up for future growth. For a mature, slow-growing company, P/E of 40 may signal overvaluation. Compare to sector averages and growth rates. A PEG ratio (P/E ÷ growth rate) under 1 may suggest reasonable valuation even at P/E 40.

How much PE is overvalued?

There's no fixed threshold. Historically, P/E above 30 for the broad market has often preceded lower returns. For individual stocks, compare to sector peers and historical norms. A stock trading at 2× its sector average P/E without clear growth justification may be overvalued. Use PEG ratio and earnings quality to assess.

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.