6 min read

Price-to-Earnings (P/E) Ratio Calculator

Calculate P/E ratio, forward PE, PEG ratio, and earnings yield. Use the tools below to evaluate whether a stock is fairly priced relative to its earnings.

S&P 500 P/E (TTM) 24.2x As of March 2026
Historical Median P/E 16.8x S&P 500 since 1950
Shiller CAPE Ratio 33.5x Cyclically adjusted
Highest P/E Stock TSLA ~170x trailing P/E

P/E Ratio Calculator

Calculate the price-to-earnings ratio using stock price & EPS, or market cap & net income.

$
$
P/E Ratio 20.00x
Fair Value
Earnings Yield 5.00%
Interpretation Fair Value (15-20x)

Forward P/E Calculator

Use analyst EPS estimates to calculate the forward price-to-earnings ratio.

$
$
Forward P/E Ratio 16.67x
Fair Value
Forward Earnings Yield 6.00%
Implied EPS Growth

PEG Ratio Calculator

Adjust the P/E ratio for growth. A PEG below 1.0 may signal an undervalued stock.

x
%
PEG Ratio 1.33
Overvalued
Assessment Slightly overvalued vs growth
Fair P/E (PEG=1) 15.00x

Earnings Yield Calculator

The inverse of P/E — compare stock earnings yield to bond yields.

x
%
Earnings Yield 5.00%
Above Bond Yield
Equity Risk Premium 0.75%
Verdict Stocks offer slim premium

S&P 500 P/E Ratio: Historical Trend (1990–2025)

The trailing P/E ratio of the S&P 500 has swung wildly — from under 10x during the 2008 financial crisis to over 45x at the peak of the dot-com bubble.

P/E Ratio by S&P 500 Sector (2026)

Sector context matters when evaluating P/E ratios. Technology commands premium multiples due to higher growth, while energy and financials trade at lower valuations.

P/E Ratio Interpretation Guide

Use this framework as a starting point — but always consider sector, growth rate, and market conditions before drawing conclusions.

< 10x Deep Value May indicate distress, cyclical lows, or overlooked bargains. Common in energy and financials.
10–15x Value Historically cheap. Typical of mature, slow-growth industries. Often utilities, banks, and industrials.
15–20x Fair Value Near the long-term S&P 500 average. A reasonable price for stable, moderate-growth companies.
20–30x Growth Investors expect above-average earnings growth. Common in tech, healthcare, and consumer discretionary.
> 30x Expensive High expectations priced in. Could be justified by rapid growth — or a sign of euphoria. Tread carefully.

What Is the P/E Ratio?

The price-to-earnings ratio (P/E ratio) is one of the most widely used valuation metrics in investing. It tells you how much investors are willing to pay for each dollar of a company's earnings. The formula is simple:

PE Ratio Formula

P/E Ratio = Stock Price ÷ Earnings Per Share (EPS)

Alternatively: P/E = Market Cap ÷ Net Income — both produce the same result.

Trailing P/E vs Forward P/E

Trailing P/E (TTM) uses actual reported earnings from the past 12 months. It's based on real data but looks backward. Forward P/E uses analyst estimates of future earnings, making it forward-looking but subject to estimation errors. For growing companies, forward P/E is usually lower than trailing P/E because expected earnings are higher.

Limitations of P/E Ratio

  • Negative earnings: P/E is meaningless for companies with losses — you cannot divide by negative EPS
  • Earnings manipulation: EPS can be inflated through share buybacks, one-time gains, or aggressive accounting
  • Sector differences: A P/E of 25 is cheap for high-growth tech but expensive for a utility company
  • Cyclical distortion: Earnings at cycle peaks make P/E look low; earnings at troughs make it look high
  • No debt consideration: P/E ignores capital structure — two companies with the same P/E can have vastly different leverage

5 Key Insights About P/E Ratios

1

Low P/E ≠ Cheap

A stock with a P/E of 8x may be cheap — or it may be a value trap with declining earnings. Always check the trend in EPS, not just the ratio.

2

PEG Is More Useful Than P/E Alone

A stock with 30x P/E growing at 35% (PEG 0.86) is cheaper than one at 15x P/E growing at 5% (PEG 3.0). Growth context matters enormously.

3

Sector Comparison Is Essential

Tech companies routinely trade at 25-40x earnings. Comparing a tech stock's P/E to an energy company's is meaningless — always compare within sector.

4

Interest Rates Drive P/E Levels

When rates are low, P/E ratios expand because future earnings are worth more today. Rising rates compress multiples — the 2022 tech selloff was a P/E compression event.

5

Earnings Yield Bridges Stocks & Bonds

At a P/E of 20x, stocks yield 5%. If the 10-year Treasury yields 4.5%, the equity risk premium is razor-thin — historically a warning sign for returns.

P/E vs Other Valuation Ratios

No single metric tells the full story. Here is how P/E compares to other popular valuation ratios — and when to use each one.

Metric Formula Best For Limitation
P/E Ratio Price ÷ EPS Profitable companies with stable earnings Useless for unprofitable firms
P/B Ratio Price ÷ Book Value Banks, REITs, asset-heavy industries Irrelevant for asset-light tech
P/S Ratio Price ÷ Revenue Unprofitable growth companies, SaaS Ignores profitability entirely
EV/EBITDA Enterprise Value ÷ EBITDA Capital-intensive firms, M&A analysis EBITDA can obscure capex needs

Frequently Asked Questions

How do you calculate the P/E ratio?

The P/E ratio is calculated by dividing the current stock price by the earnings per share (EPS). For example, if a stock trades at $150 and has EPS of $10, the P/E ratio is 15x. You can also divide total market capitalization by net income for the same result.

What is a good P/E ratio for a stock?

There is no universal "good" P/E ratio. Generally, a P/E between 15-20 is considered fair value for large-cap stocks. Below 10 may signal deep value (or trouble), while above 30 often indicates high growth expectations. Always compare P/E within the same sector and consider growth rates.

What is the difference between trailing and forward P/E?

Trailing P/E uses actual earnings from the past 12 months (TTM), making it based on real data. Forward P/E uses analyst estimates of next year's earnings, reflecting future expectations. Forward P/E is typically lower than trailing P/E for growing companies because expected earnings are higher.

What does the PEG ratio tell you?

The PEG ratio (Price/Earnings-to-Growth) adjusts the P/E ratio by the company's earnings growth rate. A PEG of 1.0 suggests the stock is fairly valued relative to its growth. Below 1.0 may indicate the stock is undervalued, while above 1.0 may signal overvaluation. It was popularized by Peter Lynch.

Why do some stocks have no P/E ratio?

A stock has no P/E ratio (or shows N/A) when the company has negative earnings (a net loss). Since dividing by negative EPS produces a meaningless number, P/E is not reported. This is common for early-stage growth companies, biotech firms, and companies in cyclical downturns. Alternative metrics like P/S ratio or EV/Revenue are used instead.

Data Sources & Methodology

P/E ratio data and historical S&P 500 earnings sourced from S&P Global, Robert Shiller's CAPE dataset, and financial data providers. Sector P/E ratios reflect trailing twelve month (TTM) earnings as of Q1 2026. Calculator results are for educational purposes only.

Cite This Page

Westmount Fundamentals. "P/E Ratio Calculator." westmountfundamentals.com/price-to-earnings-calculator, 2026.

Related Pages

What Is the P/E Ratio? Complete Guide P/E Ratio by Sector (2026) S&P 500 P/E Ratio History EV/EBITDA by Sector Price-to-Book (P/B) Ratio Guide Bond Calculator — Price, YTM & Duration