Slug: pe-ratio-calculator | Title Tag: P/E Ratio Calculator — Price-to-Earnings Valuation & Fair Value | Focus Keyword: pe ratio calculator | Schema: FAQPage

HomeTools › P/E Ratio Calculator

Valuation Tool

P/E Ratio Calculator

Calculate price-to-earnings ratio, earnings yield, PEG ratio, and estimate fair value. Compare against sector averages and historical benchmarks to gauge whether a stock is cheap, fair, or expensive.

📊 Stock Data
$
$
Earnings per share, trailing twelve months
$
Next 12 months analyst consensus

📈 Growth & Context
%
Annualized 3–5 year earnings growth estimate
shares
For market cap calculation
📐
Trailing P/E Ratio
Trailing P/E
price / TTM EPS
Forward P/E
price / fwd EPS
Earnings Yield
0%
EPS / price (inverse P/E)
PEG Ratio
0
P/E ÷ growth rate
Sector Avg P/E
vs Sector
EPS Growth
0%
Market Cap
Valuation Gauge — Where Does This P/E Fall?
26.9×
Deep ValueValueFairGrowthExpensive
Fair Value (Low)
$0
at sector avg P/E
Fair Value (Mid)
$0
PEG-implied
Fair Value (High)
$0
growth-premium P/E
P/E Ratios by Sector
P/E MultipleImplied Price (TTM)Implied Price (Fwd)vs CurrentEarnings Yield
EPS & Implied Price at Constant P/E (5-Year)
Implied Price (at current P/E)
EPS Growth
Target PriceRequired EPS (at current P/E)EPS Growth NeededImplied P/E (at current EPS)

How to Use This P/E Ratio Calculator

Enter the current share price and earnings per share (trailing twelve months and/or forward estimates). The calculator instantly computes the trailing P/E, forward P/E, earnings yield, and PEG ratio. Select a sector to compare against industry benchmarks — a stock trading at 20× in Technology (avg ~30×) may be cheap, while 20× in Energy (avg ~12×) looks expensive.

Enter the expected EPS growth rate for the PEG ratio, which adjusts the P/E for growth. A PEG under 1.0 suggests the stock may be undervalued relative to its growth; above 2.0 suggests it’s priced for perfection. The Fair Value tab uses these inputs to estimate a fair price range using three methods: sector-average P/E, PEG-implied, and growth-premium P/E.

The P/E Ratio Formulas

P/E Ratio
P/E = Share Price / Earnings Per Share

Earnings Yield (inverse P/E)
Earnings Yield = EPS / Price = 1 / P/E

PEG Ratio
PEG = P/E Ratio / EPS Growth Rate (%)
A PEG of 1.0 means the P/E equals the growth rate — generally considered “fair”

The P/E ratio tells you how much investors are paying for each dollar of earnings. A P/E of 25× means the stock trades at 25 times its annual earnings — or equivalently, if earnings stayed constant, it would take 25 years to “earn back” the price. Higher P/E ratios imply higher expected growth or lower perceived risk. Use the DCF calculator for a more rigorous valuation based on projected cash flows.

P/E Ratio by Sector

SectorTypical P/E RangeWhy
Technology25–40×High growth expectations, scalable business models
Consumer Discretionary20–30×Cyclical, growth-oriented (Amazon, Tesla effect)
Healthcare15–22×Steady demand, but regulatory and pipeline risk
S&P 500 (broad market)18–25×Blended average across all sectors
Industrials17–23×Cyclical, tied to economic growth
Consumer Staples19–25×Defensive, stable earnings, lower growth
Financials11–17×Heavily regulated, interest-rate sensitive
Utilities14–20×Predictable, regulated, bond-like
Energy8–15×Commodity-dependent, cyclical, capex-heavy
Real Estate30–40×High depreciation understates true earnings; use P/FFO instead
💡 P/E Is Not the Full Picture

A low P/E doesn’t automatically mean “cheap” — it might reflect declining earnings, high risk, or poor management. A high P/E doesn’t mean “expensive” — it might reflect rapid growth, strong competitive moat, or recurring revenue. Always combine P/E with other metrics: P/B ratio, P/S ratio, free cash flow yield, ROE, and a full DCF valuation. Context matters more than the number alone.

Trailing vs Forward P/E

Trailing P/E uses the last 12 months of actual reported earnings — it’s backward-looking but based on real numbers. Forward P/E uses analyst consensus estimates for the next 12 months — it’s forward-looking but based on forecasts that can be wrong. Most professional investors focus on forward P/E because stock prices reflect future expectations, not past results. The gap between trailing and forward P/E tells you whether earnings are expected to grow (forward < trailing) or shrink (forward > trailing).

⚠ P/E Limitations

P/E ratio breaks down with negative earnings (negative EPS makes P/E meaningless), very low earnings (produces absurdly high P/E), one-time charges or gains (distort trailing EPS), and heavily cyclical businesses (P/E looks lowest at peak earnings — the worst time to buy). For companies with negative earnings, use price-to-sales or price-to-book instead. For cyclical companies, use the Shiller CAPE (cyclically-adjusted P/E) which averages 10 years of inflation-adjusted earnings.

Related Tools

CalculatorUse It For
DCF CalculatorFull discounted cash flow valuation — more rigorous than P/E
WACC CalculatorCompute the discount rate for DCF models
ROI CalculatorMeasure return on your stock investment
Compound Interest CalculatorProject long-term stock returns with compounding
Profit Margin CalculatorAnalyze the profitability behind the earnings
DRIP CalculatorModel total return including dividend reinvestment

FAQ

What is a good P/E ratio?

It depends entirely on context. The S&P 500 historical median is about 16–17×. Currently it trades around 20–22×. A “good” P/E for a tech stock might be 25–30× (reflecting growth), while a “good” P/E for a utility is 14–18×. Compare against the stock’s sector, its own historical range, and its growth rate (PEG ratio) rather than an absolute number.

What is the PEG ratio and why does it matter?

PEG = P/E ÷ EPS growth rate. It adjusts the P/E for growth speed. A stock with 30× P/E and 30% growth has a PEG of 1.0 — generally considered fair. PEG below 1.0 suggests undervaluation relative to growth; above 2.0 suggests the market is pricing in very high expectations. Peter Lynch popularized using PEG < 1.0 as a buy signal for growth stocks.

What is earnings yield?

Earnings yield is the inverse of P/E: EPS ÷ Price. It converts the P/E into a percentage return, making it easy to compare against bond yields and other investments. A stock with a P/E of 20× has a 5% earnings yield. If 10-year Treasuries yield 4.5%, the stock’s earnings yield premium is only 0.5% — which may not be enough to compensate for stock risk.

Why do growth stocks have high P/E ratios?

Investors are paying for future earnings, not just current ones. If a company grows earnings 25% annually, its current P/E of 40× looks expensive — but in 3 years at that growth rate, the forward P/E based on projected earnings is only ~20×. The high P/E reflects confidence that rapid growth will make today’s price look cheap in retrospect. The risk is that growth doesn’t materialize.

Can P/E be negative?

Technically yes (price is always positive, but EPS can be negative), but negative P/E ratios are meaningless and aren’t used. When a company has negative earnings, analysts use alternative valuation metrics: price-to-sales (P/S), price-to-book (P/B), or enterprise value to EBITDA (EV/EBITDA). This calculator will flag negative EPS accordingly.

What is the Shiller CAPE ratio?

The Cyclically Adjusted Price-to-Earnings ratio (CAPE or Shiller P/E) uses 10 years of inflation-adjusted earnings instead of one year. This smooths out business cycle fluctuations and gives a more stable measure of long-term valuation. The S&P 500 CAPE averages about 17× historically; it’s been above 30× during periods of market exuberance. It’s most useful for broad market valuation, not individual stocks.

How does the fair value estimate work?

The calculator provides three fair value estimates: (1) sector-average P/E applied to forward EPS — what the stock would be worth at the industry-typical multiple, (2) PEG-implied — what price gives a PEG of 1.0, and (3) growth-premium — sector P/E adjusted upward for above-average growth. These are rough estimates, not precise targets. For rigorous valuation, use the DCF calculator.

Should I use trailing or forward P/E?

Forward P/E is generally more useful for investment decisions because stock prices are forward-looking — they reflect expectations, not history. Trailing P/E is useful for verifying that forward estimates are reasonable (if forward P/E is much lower than trailing, ask: is growth really that certain?). Use both: trailing tells you where the company has been; forward tells you where it’s expected to go.

Key Takeaways

  • P/E = Price ÷ EPS — it tells you how much investors pay per dollar of earnings. Higher P/E implies higher growth expectations or lower risk.
  • Always compare within the sector — a 20× P/E is expensive for energy but cheap for tech. Context is everything.
  • PEG adjusts P/E for growth — PEG < 1.0 suggests undervaluation relative to growth; PEG > 2.0 suggests the stock may be priced for perfection.
  • Earnings yield bridges stocks and bonds — compare the earnings yield (1/P/E) against Treasury yields to gauge the equity risk premium.
  • Forward P/E is more actionable — stock prices are forward-looking, so use analyst estimates. But verify estimates are reasonable using trailing data.
  • P/E is a starting point, not the answer — combine with DCF analysis, profitability metrics, and competitive analysis for a complete picture.