Free Stock Valuation Tool

PE Ratio Calculator

Calculate the Price-to-Earnings ratio to quickly assess whether a stock is overvalued or undervalued. Enter the stock price and EPS to get instant results with detailed interpretation.

Note: Stock data lookup uses a demo API with limited requests. For best results, enter values manually.

The current market price per share of the stock.
The company's net income divided by outstanding shares. Use TTM (trailing twelve months) or forward EPS.
P/E Ratio
Price-to-Earnings Ratio = Stock Price ÷ EPS
0.00x
Valuation
General market interpretation based on P/E benchmarks.

Formula

P/E Ratio = Stock Price ÷ EPS

$150.25 ÷ $5.50

= 0.00x

What is the Price-to-Earnings (P/E) Ratio?

The Price-to-Earnings ratio, commonly known as the 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 and relative valuation.

A P/E ratio essentially tells you: "If I buy this stock today, how many years of current earnings would it take to recoup my investment?" For example, a P/E of 20 means investors are paying $20 for every $1 of annual earnings.

How to Calculate P/E Ratio

The P/E ratio formula is straightforward:

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

Example: If a stock trades at $150 per share and the company's EPS is $5.50, the P/E ratio would be:

$150 ÷ $5.50 = 27.27x

How to Interpret P/E Ratio

Understanding what different P/E ranges typically indicate:

  • High P/E (> 25x): The market expects strong future growth. Common in tech and growth stocks. However, high expectations mean higher risk if growth disappoints.
  • Average P/E (15x - 25x): Considered fair value for many established companies. Indicates balanced market expectations with moderate growth potential.
  • Low P/E (< 15x): May indicate undervaluation or that the market has low growth expectations. Could be a value opportunity, but investigate the reasons for the low valuation.
  • Negative or N/A P/E: The company is not profitable. P/E ratio is not applicable. Use alternative metrics like P/S or EV/Revenue.

Limitations of P/E Ratio

While P/E ratio is valuable, it has important limitations:

  • Not applicable for unprofitable companies: Companies with negative earnings have no meaningful P/E.
  • Industry variations: Different sectors have vastly different average P/Es. Always compare within the same industry.
  • Earnings manipulation: Accounting practices can affect reported earnings, distorting P/E.
  • Cyclical businesses: P/E can be misleading for companies with volatile earnings cycles.
  • One metric among many: Never rely solely on P/E for investment decisions. Combine with other metrics and qualitative analysis.

Frequently Asked Questions

From Valuation to Automated Trading Strategy

Understanding P/E ratios is just the beginning. Use Pineify's AI Coding Agent to transform your fundamental analysis insights into automated Pine Script strategies—no coding required.