P/E Ratio Calculator
Calculate the Price-to-Earnings (P/E) ratio from stock price and earnings per share. Compare valuations and assess whether a stock is over- or
Reviewed for accuracy by Sahil, Senior Finance & Tax Editor
P/E Ratio Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: PE Ratio = Stock Price / Earnings Per Share (EPS)
Worked example โ PE: 23.08 | PEG: 1.54 | Industry Fair Value: $143.00 | 4.9% premium to industry
Formula
PE Ratio = Stock Price / Earnings Per Share (EPS)
The PE ratio divides the current market price of a share by the earnings per share. A higher PE suggests investors expect higher future growth. The PEG ratio further adjusts by dividing PE by the expected growth rate, where PEG = 1.0 is considered fair value. Earnings yield (EPS/Price) is the inverse of PE and can be compared directly to bond yields.
Worked Examples
Example 1: Tech Stock Valuation Analysis
Problem:A tech company trades at $150/share with EPS of $6.50, expected growth of 15%, and industry average PE of 22. Analyze the valuation.
Solution:PE Ratio = $150 / $6.50 = 23.08 Earnings Yield = $6.50 / $150 = 4.33% PEG Ratio = 23.08 / 15 = 1.54 Fair Value (Industry PE) = $6.50 x 22 = $143.00 Premium = ($150 - $143) / $143 = 4.9% overvalued Forward PE (Year 1) = $150 / ($6.50 x 1.15) = $150 / $7.48 = 20.07 Forward PE (Year 2) = $150 / ($6.50 x 1.15^2) = $150 / $8.60 = 17.45
Result:PE: 23.08 | PEG: 1.54 | Industry Fair Value: $143.00 | 4.9% premium to industry
Example 2: Value Stock Screening
Problem:A bank stock trades at $45/share with EPS of $5.00, 5% growth, industry PE of 12. Is it undervalued?
Solution:PE Ratio = $45 / $5.00 = 9.0 Earnings Yield = $5.00 / $45 = 11.11% PEG Ratio = 9.0 / 5 = 1.80 Fair Value (Industry PE) = $5.00 x 12 = $60.00 Discount = ($45 - $60) / $60 = -25% undervalued Forward PE = $45 / ($5.00 x 1.05) = $45 / $5.25 = 8.57 Payback period = ln(9) / ln(1.05) = 45.0 years at current growth
Result:PE: 9.0 | 25% below industry fair value of $60 | Earnings yield: 11.11%
Frequently Asked Questions
What is the price-to-earnings ratio and why does it matter?
The price-to-earnings (P/E) ratio is one of the most widely used valuation metrics in stock analysis, calculated by dividing a company stock price by its earnings per share. It tells you how much investors are willing to pay for each dollar of earnings, essentially measuring the market expectations for a company future growth and profitability. A PE of 20 means investors are paying $20 for every $1 of current annual earnings. The PE ratio matters because it provides a standardized way to compare valuations across different companies, industries, and time periods. Without relative metrics like PE, it would be nearly impossible to determine whether a $500 stock is expensive or a $5 stock is cheap, as absolute price alone tells you nothing about value.
What is considered a good PE ratio for a stock?
There is no universally good PE ratio because appropriate valuations vary significantly by industry, growth stage, and market conditions. Historically, the S&P 500 average PE has been around 15-17, so stocks trading below this range are often considered value opportunities while those above are considered growth premiums. Technology and high-growth companies routinely trade at PEs of 25-50 or higher because investors expect rapid future earnings growth. Utility companies, banks, and mature industrials typically trade at PEs of 10-18 due to slower growth. A PE below 10 might signal deep value or serious problems with the company. The key principle is that a high PE is not automatically bad nor a low PE automatically good. Context matters enormously, and PE should always be evaluated alongside growth rates, industry norms, and competitive positioning.
What is the PEG ratio and how does it improve on PE?
The PEG (Price/Earnings-to-Growth) ratio addresses the major limitation of the PE ratio by incorporating expected earnings growth. It is calculated by dividing the PE ratio by the annual earnings growth rate percentage. A PEG of 1.0 is generally considered fair value, meaning the PE ratio equals the growth rate. A PEG below 1.0 suggests the stock may be undervalued relative to its growth, while a PEG above 1.0 suggests potential overvaluation. For example, a company with a PE of 30 and 30% growth has a PEG of 1.0, while a company with a PE of 15 and 5% growth has a PEG of 3.0. Despite the second company having a lower PE, the PEG ratio reveals it is actually more expensive relative to its growth prospects. Peter Lynch popularized this metric in his investment approach.
What is the difference between trailing PE and forward PE?
Trailing PE uses the company actual earnings per share from the past 12 months, providing a factual, backward-looking valuation based on reported financial results. Forward PE uses analyst estimates of future earnings, typically for the next 12 months, offering a prospective valuation based on expected performance. Trailing PE is more reliable because it uses audited financial data, but it may not reflect recent changes in business conditions. Forward PE is more forward-looking and useful for rapidly growing or declining businesses, but depends on the accuracy of analyst estimates, which can be significantly wrong. Most financial websites display both metrics. The Shiller PE (or CAPE ratio) uses inflation-adjusted earnings averaged over 10 years to smooth out cyclical fluctuations, providing yet another perspective on valuation.
Why do some companies have extremely high or negative PE ratios?
Companies with very high PE ratios, sometimes exceeding 100 or even 1000, typically fall into several categories: early-stage growth companies with minimal current earnings but massive expected future growth (like many tech startups after IPO), companies experiencing a temporary dip in earnings that investors expect to recover, or companies with one-time charges that depressed earnings artificially. Negative PE ratios occur when a company has negative earnings (losses), and many financial services display these as N/A rather than a negative number since a negative PE has limited analytical value. Amazon traded at PEs exceeding 1000 for years because investors correctly anticipated massive future earnings growth. In contrast, a mature company with a PE above 50 and low growth might genuinely be overvalued.
How do interest rates affect PE ratios across the stock market?
Interest rates have an inverse relationship with PE ratios because they affect the discount rate used to value future earnings. When interest rates are low, future earnings are worth more in present value terms, justifying higher PE multiples. This is why PE ratios expanded significantly during the 2010-2021 era of near-zero interest rates, with the S&P 500 PE exceeding 30 at times. When rates rise, the present value of future earnings decreases, putting downward pressure on PE ratios. The Federal Reserve rate hikes in 2022-2023 contributed to meaningful PE compression across the market, particularly in growth stocks. Theoretically, the earnings yield (inverse of PE) should be compared to the risk-free rate (10-year Treasury yield) to determine whether stocks offer adequate compensation for the additional risk of equity ownership.
How should PE ratios be compared across different industries?
Comparing PE ratios across industries requires understanding why different sectors trade at structurally different valuations. Technology companies typically command higher PEs (20-40) due to higher growth rates, asset-light business models, and scalability. Financial institutions like banks trade at lower PEs (8-15) due to regulatory constraints, cyclicality, and capital-intensive operations. Utility companies trade at moderate PEs (12-20) reflecting stable but slow growth. Healthcare and pharmaceutical companies vary widely (15-40) depending on pipeline potential. The correct approach is to compare a company PE to its own industry peers and its own historical PE range, not to the broader market average. A tech company with a PE of 25 might be cheap relative to peers at 35, while a utility at PE of 25 might be expensive relative to peers at 15.
What is the earnings yield and how does it relate to PE?
The earnings yield is simply the inverse of the PE ratio, calculated as EPS divided by stock price, expressed as a percentage. A stock with a PE of 20 has an earnings yield of 5% (1/20 = 0.05 = 5%). The earnings yield is useful because it can be directly compared to bond yields and other fixed-income returns. If the 10-year Treasury yields 4.5% and a stock has an earnings yield of 5%, the stock offers only a slim premium for the additional risk of equity ownership. The historical average equity risk premium (earnings yield minus risk-free rate) has been approximately 3-5 percentage points. When this premium narrows significantly, stocks may be overvalued relative to bonds. Warren Buffett and other value investors frequently reference earnings yield as a more intuitive way to think about stock valuations.
Can PE ratio predict stock market returns?
Research shows that aggregate market PE ratios have moderate predictive power for long-term (10+ year) returns but virtually no predictive power for short-term returns. The Shiller CAPE ratio (cyclically adjusted PE using 10-year average earnings) has historically shown an inverse relationship with subsequent 10-year returns. When the CAPE ratio is above 30, subsequent 10-year returns have historically averaged around 3-5% annually. When below 15, subsequent returns have averaged 10-12% annually. However, the timing is unreliable. Markets can remain overvalued or undervalued for years before reverting. The CAPE ratio signaled overvaluation for much of the 2015-2024 period, yet markets continued rising. PE-based valuation is best used as one input among many for setting return expectations rather than as a precise market timing tool.
How do stock buybacks and share dilution affect PE ratios?
Stock buybacks directly reduce the number of shares outstanding, which increases earnings per share even if total company earnings remain unchanged. This mechanically lowers the PE ratio, making the stock appear cheaper relative to earnings. Many companies have used buybacks aggressively to boost EPS growth, sometimes funded by debt, which can mask slower underlying business growth. Conversely, share dilution from stock option exercises, secondary offerings, or acquisitions paid with stock increases shares outstanding and reduces EPS, inflating the PE ratio. Investors should examine total net income growth alongside EPS growth to determine whether EPS improvements come from genuine business growth or financial engineering through buybacks. Companies that consistently buy back shares at high PE ratios may be destroying shareholder value by overpaying.
References
Reviewed for accuracy by Sahil, Senior Finance & Tax Editor ยท Editorial policy
Related Calculators
๐งฎSharpe Ratio Calculator
Calculate sharpe ratio with inputs, formulas, and instant results.
๐งฎETF Expense Ratio Impact Calculator
See how ETF expense ratios erode returns over 10, 20, and 30 year holding periods.
๐งฎCrypto P&L Calculator
Calculate cryptocurrency profit and loss including trading fees, leverage, ROI, break-even price, and liquidation price for spot and margin trades.
๐งฎDSCR Calculator
Calculate the debt service coverage ratio by comparing net operating income to total debt obligations for loan qualification and investment analysis.
๐งฎDisability Insurance Calculator
Calculate disability insurance needs based on income replacement ratio, waiting period, and benefit duration.
๐งฎIndex Fund Calculator
Project long-term index fund returns with monthly contributions and expense ratio impact.
๐งฎUnit Economics Calculator
Calculate CAC, LTV, LTV:CAC ratio, and payback period for SaaS and subscription businesses.
๐งฎBond Duration Convexity Calculator
Calculate bond duration convexity with inputs, formulas, and instant results.