Price to Earnings (P/E) Ratio Calculator

Calculate the Price to Earnings (P/E) ratio to evaluate stock valuation relative to company earnings. Compare how much investors are willing to pay for each dollar of earnings and assess whether a stock is fairly valued.

The current market price of one share
Net income attributable to each share (can be negative)
Annual net income from income statement
Total number of shares issued
Warning: Negative Earnings P/E ratio is not meaningful when earnings are negative. Consider using Price-to-Sales or Price-to-Book ratio instead.

Price to Earnings Ratio

0.00
-

Stock Price

$0.00

Earnings Per Share (EPS)

$0.00

Earnings Yield

0.00%

Implied Growth Rate (PEG=1)

0.00%

P/E Ratio Gauge

0.00
0 (Undervalued) 25 (Fair) 50+ (Premium)

P/E Comparison to Market Benchmarks

Industry P/E Ratio Reference

Industry Typical P/E Range Notes
Technology 20 - 40+ High growth expectations; premium valuations common
Financial Services 10 - 15 Stable earnings; lower growth expectations
Healthcare 15 - 30 Varies by sub-sector; biotech can be higher
Consumer Discretionary 15 - 25 Cyclical; depends on economic conditions
Consumer Staples 18 - 25 Defensive sector with steady earnings
Energy 8 - 15 Volatile due to commodity prices
Utilities 15 - 20 Stable, regulated earnings; dividend focus
Real Estate (REITs) 30 - 50 Use FFO-based metrics instead of P/E
Industrials 15 - 22 Cyclical; tied to economic growth
Materials 10 - 18 Commodity-sensitive; cyclical earnings

What is P/E Ratio?

The Price to Earnings (P/E) ratio is one of the most widely used stock valuation metrics in fundamental analysis. It measures how much investors are willing to pay for each dollar of a company's earnings, providing insight into market expectations about the company's future growth and profitability.

The P/E ratio essentially answers the question: "How many years of current earnings would it take to recoup my investment at today's stock price?" A P/E of 20 means investors are paying $20 for every $1 of annual earnings, implying they expect the company to maintain or grow those earnings over time.

Key Insight: The P/E ratio is sometimes called the "earnings multiple" because it shows the multiple of earnings that investors are willing to pay for a stock. A P/E of 25x means the stock trades at 25 times its earnings.

The P/E Ratio Formula

The Price to Earnings ratio is calculated using a simple formula that divides the stock price by earnings per share:

P/E Ratio Formula:

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

Where:
EPS = Net Income / Shares Outstanding

There are two related metrics that derive from the P/E ratio:

Earnings Yield (inverse of P/E):

Earnings Yield = EPS / Stock Price = 1 / P/E Ratio

Expressed as a percentage, this shows the return on investment from earnings

Trailing vs Forward P/E

There are two main types of P/E ratios that investors use, each with its own advantages and applications:

Trailing P/E (TTM - Trailing Twelve Months)

The trailing P/E uses actual historical earnings from the past 12 months. This is the most commonly quoted P/E ratio because it's based on concrete, verified financial data.

Forward P/E

The forward P/E uses analyst estimates of earnings for the next 12 months. This provides a forward-looking view of valuation based on expected future performance.

Pro Tip: Compare trailing and forward P/E ratios together. If the forward P/E is significantly lower than trailing P/E, analysts expect earnings growth. If forward P/E is higher, earnings are expected to decline.

How to Calculate P/E Ratio Step by Step

Follow these steps to calculate the P/E ratio for any publicly traded company:

Step 1: Find the Current Stock Price

Look up the current market price of the stock. This is readily available on financial websites, your brokerage platform, or stock exchanges.

Step 2: Find Earnings Per Share (EPS)

You have two options:

Step 3: Calculate the P/E Ratio

P/E Ratio = Stock Price / EPS

Example:
Stock Price = $120
EPS = $6.00
P/E Ratio = $120 / $6.00 = 20.0

Step 4: Calculate Related Metrics

Earnings Yield:
Earnings Yield = $6.00 / $120 = 0.05 = 5.0%

Implied Growth Rate (assuming PEG = 1):
Growth Rate = P/E Ratio = 20% per year

Interpreting P/E Ratio Values

Understanding what different P/E ratio levels indicate about a stock's valuation:

P/E Ratio Range Interpretation Considerations
Below 10 Potentially undervalued Could indicate problems, declining industry, or genuine bargain
10 - 15 Below market average Common for mature, slow-growth, or cyclical companies
15 - 25 Fair value range Typical for established companies with moderate growth
25 - 40 Growth premium Market expects above-average earnings growth
Above 40 High growth expectations Common for high-growth tech stocks; can indicate overvaluation
Negative or N/A Not meaningful Company has losses; use other valuation metrics
Important Warning: A low P/E ratio doesn't automatically mean a stock is a good investment. It could indicate the market expects declining earnings, business problems, or industry headwinds. Always investigate the reasons behind the valuation.

P/E vs Other Valuation Ratios

The P/E ratio is just one tool in the valuation toolkit. Here's how it compares to other common metrics:

Ratio Formula Best Used For Limitations
P/E Ratio Price / EPS Profitable companies with stable earnings Doesn't work with negative earnings
P/B Ratio Price / Book Value Asset-heavy industries (banks, manufacturing) Less relevant for service/tech companies
P/S Ratio Price / Sales Unprofitable companies, growth stocks Ignores profitability and margins
P/CF Ratio Price / Cash Flow Companies with significant depreciation Cash flow can be volatile
PEG Ratio P/E / Growth Rate Growth stocks; adjusts P/E for growth Relies on growth estimates
EV/EBITDA Enterprise Value / EBITDA Comparing companies with different capital structures Ignores capital expenditures

Real-World Examples

Example 1: Value Stock (JPMorgan Chase)

Let's analyze a typical large-cap financial stock:

Analysis: A P/E of 12 is typical for large banks, reflecting their stable but slow-growth nature. The high earnings yield of 8.3% suggests strong cash generation relative to the stock price.

Example 2: Growth Stock (Tech Company)

Consider a high-growth technology company:

Analysis: A P/E of 40 indicates investors expect significant earnings growth. At current earnings, it would take 40 years to recoup the investment, but investors believe earnings will grow substantially.

Example 3: Cyclical Stock in a Downturn

An energy company during low oil prices:

Analysis: The trailing P/E of 20 looks average, but using normalized earnings reveals the stock may be undervalued at 7.5x normal earnings. Cyclical stocks require careful analysis of earnings across economic cycles.

Limitations of P/E Ratio

When P/E Ratio Doesn't Work

Common P/E Ratio Pitfalls

Best Practice: Always use P/E ratio alongside other metrics (P/B, P/S, debt ratios, ROE) and qualitative analysis. No single ratio tells the complete story of a stock's valuation.

Frequently Asked Questions

What is a good P/E ratio?

There's no universal "good" P/E ratio. The S&P 500 historically averages around 15-17, but individual stock P/E should be compared to industry peers and the company's own historical range. A "good" P/E depends on growth expectations, risk, and industry norms.

Why do some stocks have very high P/E ratios?

High P/E ratios (30+) typically indicate that investors expect significant future earnings growth. Companies like Amazon historically traded at high P/E ratios because the market anticipated their earnings would grow rapidly to justify the premium. High P/E can also indicate overvaluation or speculative pricing.

What does a negative P/E ratio mean?

A negative P/E ratio occurs when a company has negative earnings (losses). The P/E ratio becomes meaningless in this case. For unprofitable companies, investors often use Price-to-Sales (P/S), Price-to-Book (P/B), or Enterprise Value metrics instead.

What is the PEG ratio?

The PEG (Price/Earnings to Growth) ratio adjusts P/E for the company's expected earnings growth rate: PEG = P/E / Annual EPS Growth Rate. A PEG of 1 suggests fair value; below 1 may be undervalued, above 1 may be overvalued. However, PEG relies on growth estimates which may be inaccurate.

How often does P/E ratio change?

The P/E ratio changes whenever stock prices change (continuously during market hours) or when new earnings are reported (quarterly). Trailing P/E is updated with each earnings report, while forward P/E changes as analyst estimates are revised.

Should I buy stocks with low P/E ratios?

Not necessarily. Low P/E can indicate value opportunities, but it can also signal legitimate concerns: declining industry, competitive threats, poor management, or expected earnings drops. Always investigate why a stock has a low P/E before assuming it's undervalued.

What is earnings yield and how does it relate to P/E?

Earnings yield is the inverse of P/E ratio: Earnings Yield = EPS / Price = 1 / P/E. It expresses earnings as a percentage return on the stock price. An earnings yield of 5% (P/E of 20) can be compared to bond yields to assess relative attractiveness of stocks vs. fixed income.

How do I compare P/E ratios across different countries?

International P/E comparisons are tricky due to different accounting standards, growth expectations, interest rates, and risk premiums. Emerging markets often trade at lower P/E ratios due to higher perceived risk. Always compare within similar economic regions and adjust for country-specific factors.