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: February 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. According to the CFA Institute, the P/E ratio measures how much investors are willing to pay for each dollar of a company's earnings. A higher P/E suggests investors expect higher earnings growth in the future, while a lower P/E may indicate the stock is undervalued or that investors have lower growth expectations.

    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, profit margins, debt levels, and industry dynamics all influence what constitutes a "fair" P/E for a particular stock. Pairing P/E analysis with intrinsic value analysis 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?

    Growth Stock: High P/E Justified

    A fast-growing tech company trading at $200 with EPS of $5 has a P/E of 40x. While this seems expensive, if earnings are growing 30% annually, the PEG ratio is 1.33, which is reasonable. Investors accept paying a premium for expected future growth. In 3 years, if earnings double, the effective P/E based on future earnings would be 20x.

    Value Stock: Low P/E Opportunity

    A mature utility company trading at $50 with EPS of $5 has a P/E of 10x. The low P/E reflects limited growth expectations (3-5% annually). However, if the company pays a 4% dividend yield and has stable cash flows, it may be attractive for income-focused investors. The low P/E is not a "bargain" but reflects the business reality.

    Negative Earnings: 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 analysis of cash runway and pipeline value. The P/E ratio simply does not work for companies not yet generating profits.

    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)

    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 - always combine with other metrics like book value per share, debt levels, free cash flow, and growth rates

    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.