P/E Ratio Calculator

The P/E ratio is the most widely used stock valuation metric. It tells you how much investors are paying per dollar of earnings: a P/E of 20 means $20 paid for $1 of annual earnings. Trailing P/E uses past 12 months earnings; forward P/E uses next 12 months estimates. Lower P/E = value (or distressed); higher P/E = growth premium. The PEG ratio (P/E divided by growth rate) accounts for growth — PEG under 1 is generally considered attractive.

star 4.9
auto_awesome AI
New

P/E Ratio Calculator calculator

monitoringStock Valuation

analyticsValuation Metrics

P/E Ratio
25.00
Growth
Above average P/E — growth premium
Earnings Yield
4.00%
PEG Ratio
vs Industry

tips_and_updates Tips

  • Compare P/E to industry average and historical range
  • Trailing P/E uses past earnings; forward P/E uses estimates
  • Low P/E (under 10) = value or distressed
  • Average P/E (10-20) = mature companies
  • High P/E (20-30+) = growth premium
  • PEG under 1.0 = potentially undervalued growth
  • Negative earnings make P/E undefined — use other metrics
  • S&P 500 historical average P/E: ~16; current swings 18-25

How to Use the P/E Ratio Calculator

1

Enter stock price

Current market price per share.

2

Enter EPS

Annual earnings per share.

3

Choose P/E type

Trailing (actual) or forward (estimated).

4

Optional: industry P/E + growth

For peer comparison and PEG ratio.

5

Review valuation

P/E + interpretation + category.

The Formula

P/E doesn't tell you if a stock is cheap or expensive in isolation — you must compare it to history, industry peers, growth rate, and interest rates. A 30 P/E is cheap for a 50% grower but expensive for a 5% grower. Always look at PEG and industry context.

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

lightbulb Variables Explained

  • P/E Years of earnings to recoup investment at current price
  • EPS Earnings per share — net income / shares outstanding
  • Earnings Yield 1/PE × 100 = inverse of P/E, like a bond yield
  • PEG P/E / Annual Growth Rate — adjusts for growth

tips_and_updates Pro Tips

1

Compare P/E to industry average and historical range

2

Trailing P/E uses past earnings; forward P/E uses estimates

3

Low P/E (under 10) = value or distressed

4

Average P/E (10-20) = mature companies

5

High P/E (20-30+) = growth premium

6

PEG under 1.0 = potentially undervalued growth

7

Negative earnings make P/E undefined — use other metrics

8

S&P 500 historical average P/E: ~16; current swings 18-25

The price-to-earnings (P/E) ratio is the most widely used stock valuation metric, dividing a company's current share price by its earnings per share (EPS) to indicate how much investors are willing to pay per dollar of earnings. A P/E of 20 means investors pay $20 for every $1 of annual earnings — reflecting expectations of future growth, profitability, and risk. The S&P 500's historical average P/E is approximately 15-17, but it varies significantly by market conditions and sector: technology companies often trade at P/E ratios of 25-40 reflecting high growth expectations, while utilities and banks typically trade at 10-15 reflecting stable but slower growth. Our P/E ratio calculator computes trailing P/E (using last 12 months of earnings), forward P/E (using analyst estimates), and PEG ratio (P/E divided by earnings growth rate), helping investors determine whether a stock is overvalued, fairly valued, or undervalued relative to its earnings power and growth prospects.

Trailing vs forward P/E

Trailing P/E uses actual reported earnings from the past 12 months — it is factual but backward-looking. A stock at $100 with $5 EPS over the last year has a trailing P/E of 20.

Forward P/E uses consensus analyst earnings estimates for the next 12 months — more relevant for investment decisions but dependent on forecast accuracy. If analysts project $6.25 EPS next year, the forward P/E is 16, suggesting the stock is cheaper on a forward basis.

The gap between trailing and forward P/E reveals growth expectations: forward P/E significantly below trailing suggests expected earnings acceleration.

Always check both — a stock with a low trailing P/E but high forward P/E may be facing declining earnings, not representing value.

P/E by sector and what drives differences

Sector average P/E ratios (2025-2026):

  • Technology 28-35
  • Healthcare 18-25
  • Consumer Discretionary 22-28
  • Industrials 18-22
  • Financials 12-16
  • Energy 10-15
  • Utilities 14-18
  • REITs 30-40 (distorted by depreciation — use P/FFO instead)

Growth drives P/E expansion: a company growing earnings at 25% annually justifies a higher P/E than one growing at 5% because each current dollar of earnings represents less of the company's future earnings power.

Risk compresses P/E: cyclical businesses with volatile earnings (airlines, automotive) trade at lower P/E ratios than stable businesses (consumer staples, utilities).

Interest rates also affect P/E — higher rates make future earnings less valuable in present-value terms, compressing P/E ratios market-wide.

Limitations and alternative valuation metrics

P/E fails in several situations: companies with no earnings (many growth and biotech stocks) have undefined P/E ratios. Companies with temporarily depressed earnings show artificially high P/E, appearing expensive when actually cheap on normalized earnings.

The Shiller CAPE ratio (cyclically adjusted P/E using 10-year average earnings) smooths business cycle effects — the current CAPE of approximately 33 is historically elevated but has been above 25 since 2017.

Alternative metrics for specific situations:

  • EV/EBITDA (8-12 typical) for comparing companies with different capital structures
  • Price-to-Sales (P/S) for unprofitable growth companies
  • Price-to-Book (P/B) for financial and asset-heavy companies
  • Price-to-Free-Cash-Flow for capital-intensive businesses where earnings differ significantly from cash generation

How to Calculate the P/E Ratio

The price-to-earnings (P/E) ratio is a stock's share price divided by its earnings per share (EPS). A stock trading at $50 with $2.50 EPS has a P/E of 20, meaning investors pay $20 for every $1 of annual earnings.

EPS comes from net income divided by shares outstanding, reported in company filings.

This calculator returns the P/E from price and EPS, and lets you choose trailing (past 12 months) or forward (projected) earnings.

What Is a Good P/E Ratio

There is no single 'good' P/E — it depends on growth, sector, and the market. Historically the S&P 500 has averaged a P/E in the mid-teens to low-twenties.

According to Investopedia, a low P/E can signal a bargain or a declining business, while a high P/E can mean rich valuation or high expected growth.

Judge a P/E against the company's own history, its sector peers, and its earnings-growth rate rather than an absolute threshold.

Trailing vs Forward vs Shiller CAPE P/E

Trailing P/E uses the last 12 months of actual earnings; forward P/E uses analysts' projected earnings, so it reflects expectations but can be wrong.

The Shiller CAPE (cyclically adjusted P/E) uses 10 years of inflation-adjusted earnings to smooth out the business cycle and is widely watched for judging whole-market valuation.

Each answers a different question — use trailing for what happened, forward for expectations, and CAPE for long-run market context.

PEG Ratio: P/E Adjusted for Growth

A high P/E is not expensive if earnings are growing fast. The PEG ratio divides P/E by the expected earnings-growth rate to normalize for growth: a PEG near 1.0 is often considered fairly valued, below 1.0 potentially undervalued.

A stock with a P/E of 30 growing 30% a year has a PEG of 1.0 — reasonable — while a P/E of 30 with 5% growth (PEG 6) is expensive.

PEG helps compare growth stocks that raw P/E makes look overpriced.

Why High-Growth Stocks Have High P/E Ratios

P/E reflects expectations about the future, not just current earnings. Fast-growing companies command high P/Es because investors pay today for much larger earnings tomorrow; a firm expected to triple earnings justifies a P/E far above a no-growth peer.

This is why technology stocks often trade at high multiples and utilities at low ones.

A high P/E is a bet on growth — reasonable if the growth materializes, costly if it disappoints.

Earnings Yield: The Inverse of P/E

Flipping the P/E gives the earnings yield — EPS divided by price, expressed as a percentage. A P/E of 20 equals a 5% earnings yield.

This lets investors compare a stock's earnings return directly against bond yields: when the earnings yield sits well above the 10-year Treasury, equities look relatively attractive, and vice versa.

Earnings yield is the same information as P/E in a form that is easy to compare with fixed-income alternatives.

P/E vs P/B, P/S, and EV/EBITDA

P/E is one of several valuation multiples:

  • Price-to-book (P/B) compares price to net assets and suits banks and asset-heavy firms
  • Price-to-sales (P/S) works for unprofitable or early-stage companies with no earnings
  • EV/EBITDA accounts for debt and is favored in acquisitions

P/E breaks down when earnings are negative or distorted by one-off items. Use a basket of multiples rather than P/E alone for a robust valuation.

Common P/E Ratio Mistakes

The frequent errors are:

  • comparing P/E across unlike industries
  • using P/E on companies with negative or volatile earnings
  • ignoring whether earnings are trailing or forward
  • treating a low P/E as automatically cheap (it can be a value trap)

Investors also overlook one-time items that distort EPS and inflate or deflate P/E.

Normalize earnings, compare within sector, check the growth rate via PEG, and pair P/E with other multiples before concluding a stock is cheap or expensive.

Frequently Asked Questions

sell

Tags

verified

Data sourced from trusted institutions

All formulas verified against official standards.