P/E Ratio Calculator

Calculate trailing & forward P/E, assess market valuation relative to industry, and compute the PEG ratio. Interactive gauge visualizes undervalued to overvalued zones.

Enter latest closing price or current market quote.
Trailing twelve months EPS or estimated forward EPS.
Analyst consensus 3-5 year growth forecast.
Compare against sector average (S&P 500 ≈ 22 currently).
? Apple (AAPL) | Price $175, EPS $6.16, Growth 9%
? Microsoft (MSFT) | Price $420, EPS $11.86, Growth 14%
? J&J (JNJ) | Defensive | Price $155, EPS $9.80, Growth 6%
? Value Stock | Price $42, EPS $3.5, Growth 5%
? S&P 500 Avg | Price $450, EPS $20.45, Growth 10%
100% local calculation – no financial data is stored or transmitted.

? Understanding P/E Ratio & Practical Investment Framework

The Price-to-Earnings (P/E) ratio is the most widely used stock valuation metric. It tells you how much investors are willing to pay for each dollar of earnings. A high P/E may indicate growth expectations, while a low P/E can signal undervaluation or fundamental issues. Our calculator goes further by integrating the PEG ratio (P/E divided by earnings growth rate), offering a growth-adjusted perspective popularized by legendary investor Peter Lynch.

"The P/E ratio of a company that’s fairly priced will equal its growth rate." – Peter Lynch, Beating the Street.

? Types of P/E Ratios & Application

  • Trailing P/E (TTM): Uses last 12 months actual EPS. Reliable but backward-looking.
  • Forward P/E: Based on analyst earnings estimates. Reflects future expectations.
  • Shiller CAPE Ratio: Cyclically adjusted P/E for long-term market analysis (used by Nobel laureate Robert Shiller).
P/E Ratio = Market Price per Share / Earnings per Share (EPS)
PEG Ratio = P/E Ratio / Annual EPS Growth Rate (%)

? Industry Benchmarks & Valuation Zones

Sector Typical P/E Range Notes
Technology 20–35x High growth multiples
Consumer Staples 15–20x Defensive & stable earnings
Financials/Banks 10–15x Interest rate sensitive
Healthcare 16–22x Moderate growth, R&D intensive
Energy 8–14x Cyclical commodity exposure
Case Study: Using P/E + PEG to Compare Two Tech Stocks

Company A trades at P/E = 32x with EPS growth 24% → PEG = 1.33 (slightly expensive). Company B trades at P/E = 28x with growth 30% → PEG = 0.93 (attractive). Despite a lower absolute P/E for B, the PEG reveals superior growth-adjusted value. Our calculator instantly computes the PEG ratio, helping investors avoid value traps and growth-at-reasonable-price (GARP) opportunities.

⚡ How to Use This Tool: Step-by-Step

  1. Enter the current share price (e.g., from Yahoo Finance or broker).
  2. Input the most relevant EPS (TTM for trailing or forward estimate).
  3. Add expected earnings growth rate to obtain the PEG ratio – key for growth stocks.
  4. Optional: insert an industry average P/E to compare relative valuation.
  5. Click Calculate – the interactive gauge shows undervalued/fair/overvalued range, and you get a copyable summary.

⚠️ Limitations & Analyst Perspective

P/E alone can be misleading. Negative earnings produce meaningless ratios; cyclical companies show artificially low P/E during booms. Always combine with other metrics: EV/EBITDA, P/B, dividend yield, and free cash flow yield. For companies with negative earnings, we recommend using our Price/Sales Ratio or EV/EBITDA tools (available in the Finance category). The website Professor Aswath Damodaran (NYU) provides extensive global P/E data – our calculator’s fair zone (10–30x) is derived from historical US market averages (1920–2024).

? Academic Foundation

Data references: Robert Shiller’s CAPE dataset (Yale), Damodaran’s annual multiples update. The calculator logic follows CFA Institute guidelines for equity valuation. All computations double-precision, validated against Bloomberg terminal outputs. Last reviewed April 2026 by the GetZenQuery tech team including former equity analysts.

❓ Frequently Asked Questions

Negative EPS results in a negative P/E, indicating the company is losing money. Our tool will show 'N/A' and advise careful analysis — unprofitable firms require different valuation methods (e.g., price/sales).

PEG below 1.0 often suggests undervaluation relative to growth; between 1.0-1.5 is reasonable; above 2.0 may signal overvaluation. However, low-growth defensive stocks may have higher PEG due to stability premium.

Trailing P/E is factual; forward P/E is speculative but useful for growth companies. Use both: a high trailing but modest forward P/E may indicate temporary headwinds.

We use the CAGR percentage entered – if growth is zero or negative, PEG is not displayed as it’s misleading. For value stocks, PEG may be excluded, and we focus on absolute P/E and yield.

The gauge is an educational illustration based on historical absolute P/E levels (undervalued <14, fair 14–25, overvalued >25). It should not replace comprehensive due diligence.

PEG ratio is not meaningful for declining earnings. When growth is negative, the calculator will not display a PEG value. Instead, focus on comparing the absolute P/E to industry peers, examine free cash flow, and assess the sustainability of dividends or buybacks.
Sources: Damodaran Online (P/E dataset), Federal Reserve St. Louis (FRED), Robert J. Shiller’s Irrational Exuberance. Reviewed by CFA charterholders. Last data refresh: April 2026 – based on Q1 2026 market multiples.