Free Stock Valuation Tool

    P/E Ratio Calculator: Trailing, Forward & PEG

    Calculate the Price-to-Earnings ratio to evaluate whether a stock is overvalued, undervalued, or fairly priced. Includes Forward P/E, PEG ratio, and industry benchmarks.

    By Valuefy TeamLast Updated: April 20265 min read

    Try an example:

    Stock Information
    Enter the stock price and earnings per share to calculate P/E ratio

    Optional: Advanced Metrics

    P/E Ratio Results

    Enter stock price and EPS to see your P/E ratio calculation.

    What Is the P/E Ratio and Why Does It Matter?

    The Price-to-Earnings (P/E) ratio is one of the most widely used metrics for stock valuation. It divides a company's share price by its earnings per share (EPS) to show how much investors pay for each dollar of profit. A higher P/E suggests investors expect stronger future earnings growth, while a lower P/E may signal undervaluation or weaker growth expectations. As of April 2026, the S&P 500 trades at a forward P/E of roughly 21x, compared to a 10-year average of about 18.9x, according to FactSet.

    The P/E ratio helps investors compare valuations across companies in the same industry or against the broader market. However, it should never be used in isolation. Factors like growth rate, EBITDA margins, debt levels, and cost of capital all influence what constitutes a "fair" P/E for a particular stock. Pairing P/E analysis with a DCF valuation helps confirm whether a given multiple is justified by the underlying cash flows.

    There are two main types: Trailing P/E (using past 12 months earnings) and Forward P/E (using estimated future earnings). Each provides different insights, and savvy investors often look at both to get a complete picture of a stock's valuation. Income-focused investors also weigh dividend yield alongside P/E when assessing total return potential.

    How Do You Calculate the P/E Ratio?

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

    Stock Price: The current market price per share. This is readily available from any financial website or brokerage platform.

    Earnings Per Share (EPS): The company's net income divided by the number of outstanding shares. Use our earnings per share calculator to derive this figure from net income and shares outstanding. You can also find TTM (trailing twelve months) EPS in quarterly earnings reports or financial data providers.

    Example: If a stock trades at $100 and has EPS of $5, the P/E ratio is 100/5 = 20x. This means investors are paying $20 for every $1 of annual earnings.

    What Do Real P/E Ratios Look Like by Sector?

    As of Q1 2026, sector forward P/E ratios vary widely: Information Technology trades at roughly 30x, Consumer Discretionary at 30x, while Energy sits near 15x and Financials near 16x (FactSet Earnings Insight). These differences reflect growth expectations, capital intensity, and margin profiles. Use the Valuation Multiple Calculator to explore EV/EBITDA and EV/Revenue multiples alongside P/E.

    Technology: High P/E, High Growth

    A cloud software company trading at $200 with EPS of $5 has a trailing P/E of 40x. With earnings growing 30% annually, its PEG ratio is 1.33 -- reasonable for the sector. The S&P 500 Information Technology sector trades at a forward P/E of about 30x as of early 2026. Investors accept the premium because scalable, high-margin business models can compound earnings rapidly. If earnings double in three years, the effective P/E on future earnings drops to 20x. For SaaS companies, also check the SaaS Valuation Calculator which uses revenue multiples better suited to subscription businesses.

    Utilities and Financials: Low P/E, Stable Returns

    A regulated utility trading at $50 with EPS of $5 carries a P/E of 10x. Energy and Financials forward P/E ratios sit around 15-16x, well below the S&P 500 average of 21x. The low multiple reflects modest growth (3-5% annually) and capital-heavy operations. However, a 4% dividend yield plus predictable cash flows can deliver attractive total returns for income investors. The low P/E is not a "bargain" but reflects the business reality. Pair this analysis with the Dividend Yield Calculator to assess total return potential.

    Pre-Profit Companies: P/E Not Applicable

    A biotech startup trading at $30 with negative EPS of -$2 has no meaningful P/E ratio. For unprofitable companies, investors use alternative metrics: Price-to-Sales (P/S) ratio, Enterprise-Value-to-Revenue, or Price-to-Book value. The P/E ratio simply does not work for companies not yet generating profits. For private startups, consider revenue-based valuation instead.

    When Should You Use the P/E Ratio?

    Best Use Cases

    • Comparing companies in the same industry
    • Evaluating mature, profitable companies
    • Assessing relative valuation vs. historical average
    • Quick screening for potential value opportunities
    • Combining with growth rate (PEG ratio)

    When to Avoid

    • Unprofitable or loss-making companies
    • Comparing across different industries
    • Cyclical companies at peak/trough earnings
    • Companies with significant one-time charges
    • REITs (use Price-to-FFO instead)

    Common P/E Ratio Mistakes to Avoid

    The P/E ratio is deceptively simple. Below are the most frequent errors investors make when relying on this metric, based on analysis from the Guinness Global Investors research team and Corporate Finance Institute.

    Comparing P/E across industries

    Technology stocks trade at 30x forward earnings while energy companies trade near 15x. Comparing them directly is meaningless. Always benchmark against sector peers or use the industry comparison feature in this calculator.

    Assuming low P/E always means undervalued

    A low P/E can signal declining earnings, structural industry problems, or accounting issues rather than a bargain. Check the EBITDA trend and revenue trajectory before concluding a stock is cheap.

    Trusting PEG ratio blindly

    The PEG ratio depends on growth estimates that are only as reliable as the analysts making them. Growth forecasts often prove too optimistic, and the PEG ratio does not account for the quality or sustainability of that growth.

    Ignoring capital structure

    P/E does not reflect how a company is financed. A highly leveraged firm can show high EPS (and low P/E) because debt magnifies returns in good times. Use WACC and EV/EBITDA to account for debt in the valuation.

    Using a single year of earnings

    Cyclical companies can look cheap at peak earnings and expensive at trough earnings. Use normalized or average earnings over a full business cycle (5-7 years) for a more reliable P/E estimate.

    What Are the Limitations of the P/E Ratio?

    While the P/E ratio is a useful starting point, it has significant limitations that investors should understand:

    • Earnings manipulation: Companies can use accounting tricks to inflate or smooth earnings, making P/E ratios misleading.
    • Different accounting standards: Companies in different countries may use different accounting rules, affecting EPS comparability.
    • Capital structure ignored: P/E does not account for debt levels. A highly leveraged company may have higher EPS but also higher risk.
    • One-time items: Extraordinary gains or losses can distort EPS and therefore P/E in any given period.
    • Growth not captured: A low P/E stock might be cheap for good reason (declining business), while a high P/E stock might be justified by growth.

    Key Takeaways

    • P/E ratio measures how much investors pay per dollar of earnings - lower is not always better
    • Compare within industries - tech stocks typically have higher P/Es than utilities
    • Use PEG ratio to account for growth - P/E divided by growth rate normalizes for growth expectations
    • Forward P/E uses analyst estimates and can be more relevant for growing companies
    • Earnings yield (inverse of P/E) helps compare stocks to bond yields
    • Never use P/E alone - combine with EBITDA multiples, book value, and a DCF analysis for a complete picture

    Frequently Asked Questions

    Need to Value Your Entire Business?

    While P/E ratios are great for public stocks, private business valuation requires a more comprehensive approach. Get a professional DCF valuation of your company in minutes with our AI-powered analysis.