P/E Ratio Calculator
Use this calculator to quickly evaluate a stock's price-to-earnings ratio and compare it with a benchmark multiple.
What is the P/E ratio?
The price-to-earnings ratio (P/E) is one of the most widely used valuation metrics in investing. It tells you how much investors are willing to pay today for each dollar of a company's earnings.
Formula:
P/E Ratio = Share Price / Earnings Per Share (EPS)
A company trading at a P/E of 20 means investors are paying $20 for every $1 of annual earnings.
How to use this P/E calculator
- Enter the stock's current market price.
- Enter trailing 12-month EPS (or your preferred EPS figure).
- Optionally add an industry benchmark P/E to compare relative valuation.
- Optionally enter a target P/E to estimate a fair-value share price.
The tool returns your calculated P/E, earnings yield, and a quick interpretation to help guide analysis.
Trailing P/E vs forward P/E
Trailing P/E
Uses earnings that have already been reported, typically the last 12 months. It is objective and grounded in actual results.
Forward P/E
Uses projected future earnings. It can be more useful for fast-growing companies, but it depends on analyst estimates and assumptions.
How to interpret P/E ranges
There is no universal "good" P/E. Context matters: industry, growth rate, margins, debt levels, and interest rates all affect reasonable multiples.
- Below 10: Often viewed as low; can indicate value or elevated business risk.
- 10 to 18: Frequently seen in mature, stable businesses.
- 18 to 30: Common in companies with moderate-to-strong growth expectations.
- 30+: High expectations are priced in; valuation becomes more sensitive to disappointments.
Why earnings yield is useful
Earnings yield is the inverse of P/E:
Earnings Yield = EPS / Price
If a stock has a P/E of 20, its earnings yield is 5%. Some investors compare earnings yield with bond yields to judge relative attractiveness.
Common mistakes when using P/E
- Comparing companies from different sectors without adjustment.
- Ignoring cyclicality (commodity and industrial earnings can swing dramatically).
- Using a single-year EPS during unusual boom or recession periods.
- Forgetting that accounting earnings can differ from free cash flow.
- Applying P/E to companies with zero or negative earnings.
A better process: combine metrics
P/E is a starting point, not a complete thesis. Consider pairing it with:
- PEG ratio (P/E relative to growth)
- ROE (profitability quality)
- Debt ratios (balance-sheet risk)
- Free cash flow yield (cash generation)
- Revenue growth and margin trends (business momentum)
Quick example
Suppose a stock trades at $96 and reports EPS of $6:
- P/E = 96 / 6 = 16
- Earnings yield = 6 / 96 = 6.25%
- If industry P/E is 20, this stock trades at a discount to peers
- If your target P/E is 18, fair price estimate = 18 × 6 = $108