P/E Ratio Calculator

Evaluate stock valuation using price-to-earnings ratio.

Your data stays in your browser. Nothing is stored or sent to any server.
Built by Abiot Y. Derbie, PhD — Postdoctoral Research Fellow. Quantitative researcher specializing in statistical modeling and data-driven decision systems.
Mathematical models independently verified by Eskezeia Y. Dessie, PhD (Indiana University School of Medicine) and Armin Allahverdy, PhD (LinkedIn) — Data Scientist, Machine Learning & Data Mining.

Enter Your Details

0
helpful
Create a free account to save and compare your results across devices.

This calculator is for informational and educational purposes only. Results are estimates based on the information you provide and standard financial formulas. This is not financial advice. Consult a qualified financial advisor for decisions specific to your situation. Full Disclaimer

Things to Know

Essential concepts for understanding your results

Interpretation
What does the P/E ratio tell you?

P/E = Stock Price ÷ Earnings per Share. A $100 stock earning $5/share: P/E = 20, meaning investors pay $20 for every $1 of earnings. Higher P/E suggests investors expect faster future growth (paying a premium). Lower P/E suggests lower growth expectations or undervaluation. The S&P 500 average P/E is approximately 20-22. Individual stocks range from 5 (deep value) to 100+ (high-growth tech). P/E is the most widely used valuation metric but should never be used in isolation.

Forward vs Trailing
Which P/E should you use?

Trailing P/E uses the last 12 months of actual earnings — backward-looking and verifiable. Forward P/E uses analyst estimates for the next 12 months — forward-looking but uncertain. Trailing P/E is more reliable; forward P/E is more relevant for fast-changing companies. Shiller CAPE (cyclically adjusted P/E) uses 10 years of inflation-adjusted earnings — smooths out business cycles and is the best predictor of long-term market returns.

Sector Comparison
Why can you only compare P/E within the same sector?

Different industries deserve different P/Es based on growth rates, capital requirements, and risk profiles. Technology: 25-40 P/E (high growth, scalable). Utilities: 15-20 (stable, low growth). Banks: 10-15 (cyclical, regulated). REITs: P/E is misleading — use P/FFO instead. A bank at 20 P/E is expensive; a tech company at 20 P/E may be cheap. Always compare a stock's P/E to its industry median, its own historical range, and the market average.

What Is the P/E Ratio?

The Price-to-Earnings ratio (P/E) is the most widely used stock valuation metric. It tells you how much investors are willing to pay for each dollar of a company's earnings: P/E = Stock Price ÷ Earnings Per Share (EPS).

A P/E of 20 means investors pay $20 for every $1 of annual earnings. Think of it as: if you bought the entire company at today's price, it would take 20 years of current earnings to recoup your investment (assuming earnings stay constant). Lower P/E suggests cheaper valuation; higher P/E suggests investors expect significant growth.

The S&P 500's historical average P/E is approximately 15-17. In 2026, it has been trading at 20-25 — elevated by historical standards, reflecting strong earnings growth expectations, low interest rate environments, and the dominance of high-growth tech companies in the index. A P/E significantly above or below 15-17 signals that the market is pricing in either optimism or pessimism about future earnings.

Types of P/E Ratios

Trailing P/E (TTM — Trailing Twelve Months): Uses actual earnings from the past 12 months. This is the most commonly reported P/E and the most reliable because it is based on real, reported numbers. When you see "P/E ratio" without qualification, it is usually trailing P/E.

Forward P/E: Uses estimated earnings for the next 12 months (analyst consensus). Forward P/E is always lower than trailing P/E for growing companies because projected future earnings are higher. A stock with 25 trailing P/E and 20 forward P/E: analysts expect 25% earnings growth. Forward P/E is useful for growth companies but depends on analyst estimates, which are often wrong.

Shiller P/E (CAPE — Cyclically Adjusted P/E): Uses the average of the last 10 years of inflation-adjusted earnings. Smooths out business cycle effects and one-time events. The CAPE ratio is the best predictor of long-term (10-year) stock market returns. The S&P 500's current CAPE of approximately 33-36 suggests lower-than-average future returns (historically, CAPEs above 30 have preceded below-average 10-year returns).

How to Use P/E for Investment Decisions

Compare within the same industry: P/E ratios vary enormously by sector. Tech companies average P/E of 25-40; utilities average 12-18; banks average 8-14. Comparing a tech stock's P/E to a utility's is meaningless — compare it to other tech stocks.

Understand why P/E is high or low: A high P/E can mean the stock is overvalued OR that investors expect strong future growth (justified premium). Amazon traded at 100+ P/E for years — seemingly overvalued, but earnings growth eventually justified the price. A low P/E can mean the stock is cheap OR that earnings are expected to decline (value trap).

Use P/E alongside other metrics: P/E alone does not tell you whether to buy or sell. Combine it with: PEG ratio (P/E ÷ earnings growth rate — below 1.0 suggests undervaluation relative to growth), revenue growth, debt levels, free cash flow, and competitive position. A stock with 30 P/E and 35% annual earnings growth (PEG = 0.86) may be cheaper than a stock with 12 P/E and 5% growth (PEG = 2.4).

Negative P/E: Companies with losses have no meaningful P/E (some sources show "N/A" or "negative"). For unprofitable companies, use Price-to-Sales (P/S) or Price-to-Book (P/B) as alternative valuation metrics.

Frequently Asked Questions

What is a good P/E ratio?
Depends on the industry and growth rate. The S&P 500 historical average is 15-17. Below 15 is often considered "cheap," above 25 is "expensive" — but context matters. A 30 P/E with 30% earnings growth is reasonable (PEG = 1.0). A 15 P/E with declining earnings may be a value trap. Always compare P/E within the same industry and consider growth prospects.
Is a high P/E good or bad?
Neither automatically. High P/E means investors expect strong future earnings growth — if the growth materializes, the high P/E was justified and the stock performs well. If growth disappoints, the stock can crash as the P/E contracts. High P/E = high expectations. The risk is that expectations are not met. Companies with P/E above 50 need exceptional growth to justify the premium.
What is the PEG ratio?
P/E divided by the expected annual earnings growth rate. PEG = 1.0 means the P/E matches the growth rate (fairly valued). Below 1.0 suggests undervaluation relative to growth (potential bargain). Above 2.0 suggests the price may be ahead of fundamentals. A stock with P/E of 25 and 20% growth: PEG = 1.25 — slightly premium but reasonable. Same P/E with 10% growth: PEG = 2.5 — potentially overvalued.
Why do tech stocks have high P/E ratios?
Investors pay premium multiples for high growth rates, scalable business models, and large addressable markets. A tech company growing earnings 25-40% annually justifies a higher P/E because future earnings will be dramatically larger than current earnings. The high P/E reflects the present value of those expected future earnings. Mature, slow-growth companies have low P/E because future earnings are not expected to differ much from today.
What is the Shiller P/E (CAPE)?
The cyclically adjusted P/E uses 10 years of inflation-adjusted earnings instead of just the last 12 months. It smooths out business cycles and one-time events. The S&P 500's CAPE is approximately 33-36 in 2026 — well above the historical average of 17. Historically, CAPE above 30 has preceded below-average 10-year stock returns, though it has remained elevated for extended periods during bull markets.
Powered by FinCalcs — Free Financial Calculators