Skip to main content
ilovecalcs logoilovecalcs.

Financial · Live

Is this stock cheap or expensive?

Compute a stock’s price-to-earnings ratio, classify its valuation vs. the S&P 500 average, and flip to implied-price mode to model what a stock should trade at for a given P/E multiple.

How it worksTwo modes

Inputs

Stock valuation

Uses actual EPS from the last 12 months. More reliable — based on reported figures.

$
$
P/E ratio
30×
S&P 500 avg
16.5×
vs market
+81.8%

Trailing P/E ratio

30×

This stock trades at a 81.8% premium to the S&P 500 historical average of 16.5×.

Classification

High Growth

1.82× market

Significantly above average. Reflects strong growth expectations. A growth shortfall can cause sharp price drops.

S&P avg (16.5×)60×+
Value Trap?Deep ValueUndervaluedFair ValueGrowthHigh GrowthSpeculative
Stock price
$150.00
EPS
$5.00
S&P 500 avg P/E
16.5×
P/E ratio
30×
High Growth
vs S&P 500 avg
+81.8%
Market avg: 16.5×
Earnings yield
3.33%
EPS ÷ Price × 100

Context

Sector P/E benchmarks

SectorTypical P/E
S&P 500 (historical avg)16–18×
Technology25–35×
Consumer Discretionary20–30×
Healthcare18–25×
Consumer Staples15–22×
Industrials18–24×
Financials10–15×
Utilities14–18×
Energy10–20×
Real Estate (REITs)30–50×

Field guide

How to actually read a P/E ratio.

The price-to-earnings (P/E) ratio is the most widely cited valuation metric in equity markets. It answers a simple question: how much are investors willing to pay for each dollar of a company’s current earnings?

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

A P/E of 20 means investors are paying $20 for every $1 of annual earnings. A P/E of 10 means they’re paying $10. Higher ratios imply higher expectations for future growth; lower ratios may mean the stock is cheap, mature, or facing headwinds.

Trailing vs. Forward P/E

The ratio changes depending on which earnings figure you use:

  • Trailing P/E (TTM) — uses actual earnings from the last 12 months. Fully based on reported, audited results. More reliable but backward-looking.
  • Forward P/E — uses analyst consensus estimates for the next 12 months. More relevant for fast-growing companies where past results understate the current business, but based on forecasts that can be wrong.

A stock with a high trailing P/E but a lower forward P/E is expected to grow earnings significantly — the forward ratio is more flattering. If the forward P/E is higher than the trailing, analysts expect earnings to shrink.

The S&P 500 historical average

The S&P 500 has traded at an average trailing P/E of roughly 16–18× over the long run (Robert Shiller’s CAPE data going back to 1871 shows a long-run average around 16.5×). This is the benchmark the calculator uses:

  • Below 15×: below the market average — may be undervalued, or may reflect a low-growth / cyclical business.
  • 15–20×: in line with the historical average — “fairly valued” relative to the market.
  • Above 25×: growth premium — investors expect earnings to expand faster than the market.
  • Above 50×: speculative territory — very high growth expectations, or earnings are temporarily depressed.

P/E varies enormously by sector

Comparing P/E ratios across sectors without context is misleading. Technology companies routinely trade at 25–35× because of high growth and capital-light business models. Banks trade at 10–15× because they’re capital-heavy and cyclical. A utility at 30× is expensive; a tech company at 30× may be reasonable.

Always compare a stock’s P/E to:

  1. Its own historical P/E range (5-year average)
  2. Its sector or industry peers
  3. The overall market (S&P 500)

When P/E is not meaningful (N/M)

When a company reports a net loss, EPS is negative and the P/E ratio is mathematically undefined — dividing by a negative number produces a negative ratio that means nothing. This is why unprofitable companies are often valued on alternative metrics:

  • Price/Sales (P/S): market cap ÷ annual revenue
  • EV/EBITDA: enterprise value ÷ operating earnings
  • Price/Book (P/B): market cap ÷ book value of equity
  • PEG ratio: P/E divided by earnings growth rate

Implied price mode — reverse-engineering a fair value

The calculator’s second mode flips the formula:

Implied Price = Target P/E × EPS

This is relative valuation in practice. If a company earns $8 EPS and you believe it deserves a 20× multiple based on its sector and growth rate, the implied fair value is $160. Analysts use this to set price targets: pick an appropriate P/E for the business, multiply by forward EPS, and get a target price.

Limitations of the P/E ratio

  • Earnings can be manipulated. Companies can use accounting choices (depreciation schedules, one-time charges, revenue recognition timing) to inflate or deflate reported EPS. Always check if earnings are based on GAAP or non-GAAP figures.
  • Backward-looking by default. A trailing P/E based on last year’s earnings may look cheap for a cyclical company at the peak of the cycle — right before earnings collapse.
  • Doesn’t account for debt. Two companies with the same P/E may have vastly different balance sheets. EV/EBITDA is better for capital structure comparisons.
  • Interest rate context matters. When risk-free rates are high (e.g., 5% on 10-year Treasuries), stocks compete more directly with bonds — lower P/Es are rational. When rates are near zero, high P/Es are more defensible.

Disclaimer

This calculator is an educational tool only and does not constitute investment advice, a recommendation to buy or sell any security, or a solicitation of any investment decision. P/E ratios are one of many metrics used in equity analysis and should never be the sole basis for an investment decision. Past market averages are not guarantees of future results. Always conduct independent due diligence and consult a licensed financial advisor before making investment decisions.