P/E Ratio Calculator
Calculate the price-to-earnings ratio for any stock. Enter the current price and EPS to get trailing P/E, forward P/E, and an implied fair-value estimate based on a target multiple.
Default 15× = long-run S&P 500 avg. Adjust for sector & growth profile.
Enter price and EPS above to calculate the P/E ratio.
Sector P/E benchmarks
Average trailing P/E ratios vary significantly by sector. Compare your stock's P/E to its peer group — a P/E of 25 may be cheap for a software company and expensive for a utility.
| Sector | Avg P/E (est.) | Interpretation |
|---|---|---|
| Technology | 28× | Growth premium expected |
| Consumer Discretionary | 24× | Moderate growth priced in |
| Health Care | 22× | Moderate growth priced in |
| Industrials | 21× | Moderate growth priced in |
| Communication Services | 20× | Moderate growth priced in |
| S&P 500 Average | 19× | Near long-run average |
| Consumer Staples | 18× | Near long-run average |
| Real Estate (REITs) | 17× | Near long-run average |
| Utilities | 15× | Lower growth or higher risk |
| Financials | 14× | Lower growth or higher risk |
| Energy | 12× | Lower growth or higher risk |
| Materials | 15× | Lower growth or higher risk |
Reference estimates only. Sector averages fluctuate with interest rates and market cycles. Sources: consensus analyst data.
Formula reference
The exact formula this calculator uses to compute Price-to-Earnings (P/E) Ratio.
P/E = Price ÷ EPSPriceCurrent share priceEPSTrailing 12-month earnings per share- P/E is how many dollars are paid for each $1 of trailing earnings.
- What counts as high or low varies widely by sector and growth rate.
- Negative or near-zero EPS makes the ratio meaningless.
Educational reference only — not investment advice. See the glossary for plain-English definitions of each term.
Free Weekly Update
3,000+ stocks re-scored every week.
Delivered free every Sunday.
- Top 5 most undervalued stocks by margin of safety — with valuation breakdown
- Biggest score changes from the prior week across 3,000+ equities
- Best options setups from the screener (covered calls, cash-secured puts)
Research and educational purposes only. Not investment advice.
Frequently asked questions
Common questions about the P/E ratio and how to interpret it.
The price-to-earnings (P/E) ratio measures how much investors are paying per dollar of earnings. It is calculated by dividing the current stock price by earnings per share (EPS). A P/E of 20 means investors are paying $20 for every $1 of annual earnings.
There is no universal answer — context matters. The S&P 500 has historically traded at 15–20× earnings. A P/E below 15 is generally considered low (potentially undervalued). Above 25 is considered elevated and implies high growth expectations. Always compare a stock's P/E to its sector peers and its own historical range.
Trailing P/E uses the last 12 months of reported earnings (what actually happened). Forward P/E uses analyst estimates for the next 12 months (what the market expects). Forward P/E is more useful when a company's earnings are growing quickly, but it relies on estimates that may be wrong.
One approach to fair value is to multiply EPS by a "normal" P/E for that business. For example, if a company earns $5 EPS and similar companies trade at 18× earnings, a fair-value estimate is $90. This is not a guarantee — it is a reference point based on how the market has historically valued similar businesses.
Not usefully. The implied fair value is EPS multiplied by the target multiple, and the comparison against it divides by that figure, so a zero or negative multiple inverts the arithmetic instead of lowering the result — a negative fair value would read as a discount rather than as the nonsense it is. This calculator withholds the implied fair value and the premium line when a non-positive multiple is entered. The trailing P/E does not use that input and is still shown.
P/E is distorted by one-time gains or losses, accounting differences, and negative or near-zero earnings. It does not account for growth rate (use PEG ratio for that), debt level, or capital intensity. It is most reliable for mature, stable businesses with consistent earnings.
Equity Rank's consensus valuation blends 8–15 methods per stock — including P/E, P/B, EV/EBITDA, DCF, Graham Number, and sector-adjusted multiples. Each method is weighted by its historical accuracy for the company type. The P/E method uses a sector-calibrated target multiple rather than a one-size-fits-all 15×.
This tool is for research and educational purposes only. It does not constitute financial advice. P/E ratios and implied fair values are estimates — results depend entirely on user-provided inputs. Sector benchmarks are approximate reference points and change with market conditions. Equity Rank is not a registered investment adviser. Consult a qualified financial professional before making investment decisions.
Go deeper: multi-method valuation
P/E is a starting point, not a verdict. Combine it with the Graham Number, DCF, and Margin of Safety to get a more complete picture of fair value.
Learn more about how Equity Rank weights these models in the methodology or browse the full free tool directory. Still have questions? See the FAQ.
Read the method behind this calculator
Each explainer walks through the formula, the inputs it needs, and the cases where it stops being informative.
More write-ups in the blog, or see how the models are weighted in the methodology.