Price-Earnings (P/E) Calculator

Enter a stock's share price and earnings per share (EPS) to calculate the P/E ratio, earnings yield, implied fair value, and earnings payback period.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter Share Price

    Input the current market price of one share of the stock you are evaluating, for example, $35.

  2. 2

    Input Earnings Per Share (EPS)

    Enter the company's net profit divided by its outstanding shares, typically from the last 12 months, for instance, $3.

  3. 3

    Review Valuation Metrics

    The calculator displays the P/E Ratio, Earnings Yield, Fair Value (15x P/E), Fair Value (20x P/E), and Earnings Payback Period. The Valuation Insights panel shows derived metrics like the earnings multiplier, yield comparison to bonds, and fair value gap.

Example Calculation

An investor is evaluating a company with a share price of $35 and earnings per share of $3 to determine its valuation.

Share Price

$35

Earnings Per Share (EPS)

$3

Results

P/E Ratio

11.67

Earnings Yield

8.57%

Fair Value (15x)

$45.00

Fair Value (20x)

$60.00

Payback

11.7 yrs

Tips

Compare P/E Ratios Within Industries

Always compare a stock's P/E ratio to its peers within the same industry. A P/E of 20 might be high for a utility company but low for a high-growth tech firm, as growth expectations vary widely.

Consider Forward P/E

While this calculator uses trailing EPS, consider researching a company's forward P/E, which uses estimated future earnings. This can provide a more accurate picture of current valuation if earnings are expected to change significantly.

Use Earnings Yield to Compare Asset Classes

Compare the earnings yield to the current 10-year Treasury yield. With a $35 stock and $3 EPS, the 8.57% earnings yield significantly exceeds typical bond yields, suggesting the stock may offer better value on an earnings basis.

Deconstructing Stock Valuation with the Price-Earnings (P/E) Calculator

The Price-Earnings (P/E) Calculator is a fundamental tool for investors, allowing them to quickly assess a stock's valuation by computing its P/E ratio, earnings yield, fair value estimates, and earnings payback period. Understanding these metrics is crucial for making informed investment decisions, especially in a dynamic market where the average S&P 500 P/E ratio has historically ranged from 15x to 20x, but individual stocks can vary widely.

Understanding Equity Valuation Metrics

Equity valuation metrics are the bedrock of investment analysis, providing frameworks to determine whether a stock is overvalued, undervalued, or fairly priced. Beyond the P/E ratio, metrics like Price-to-Book (P/B), Price-to-Sales (P/S), and Dividend Yield offer different lenses through which to view a company's financial health and market perception.

Each metric provides unique insights: P/B is useful for asset-heavy industries, P/S for companies with inconsistent earnings, and dividend yield for income-focused investors. A holistic approach, combining multiple valuation tools, gives investors a more robust picture of a company's intrinsic value.

The Core Formulas for P/E and Related Metrics

The Price-Earnings (P/E) Calculator utilizes several key formulas to derive its insights:

  1. P/E Ratio: This is the most direct measure of how much investors are willing to pay for each dollar of a company's earnings.
    P/E Ratio = Share Price / Earnings Per Share (EPS)
    
  2. Earnings Yield: The inverse of the P/E ratio, useful for comparing a stock's earnings power to bond yields.
    Earnings Yield = (Earnings Per Share (EPS) / Share Price) × 100
    
  3. Implied Fair Value (e.g., at 15x P/E): This estimates what the share price should be if it traded at a specific P/E multiple.
    Implied Fair Value = Earnings Per Share (EPS) × Target P/E Multiple
    
  4. Earnings Payback Period: Essentially the P/E ratio, indicating how many years it would take for the company's earnings to equal the current share price, assuming constant earnings.
    Earnings Payback Period = P/E Ratio
    
💡 For a deeper look at a stock's underlying worth, try our Intrinsic Value of Stock Calculator which uses discounted cash flow analysis.

Valuing a Stock: A Worked Example

Let's evaluate a hypothetical stock with the following details:

  1. Share Price: $35
  2. Earnings Per Share (EPS): $3

Here's how the calculations unfold:

  • P/E Ratio: $35 / $3 = 11.67
    • Assessment: This P/E ratio of 11.67 is "Fairly valued — within 10–15x range" for an established company.
  • Earnings Yield: ($3 / $35) × 100 = 8.57%
    • Assessment: An 8.57% earnings yield is considered a "Strong yield — above 8% benchmark," suggesting good value.
  • Fair Value (15x P/E): $3 × 15 = $45.00
    • Assessment: The current share price of $35 is at a 22.2% discount to this 15x fair value.
  • Fair Value (20x P/E): $3 × 20 = $60.00
    • Assessment: The current share price of $35 is at a 41.7% discount to this 20x fair value.
  • Earnings Payback Period: 11.7 years
    • Assessment: This is a "Moderate payback — 10–20 years at current earnings."
💡 Comparing investment options? Our Investment Gain/Loss Calculator can help you track actual returns on stock purchases.

Analyzing Investment Opportunities in 2026

When analyzing investment opportunities, a comprehensive approach is vital, combining quantitative metrics with qualitative factors. Beyond P/E, investors should consider a company's competitive advantage (moat), management quality, industry trends, and macroeconomic environment.

A low P/E might signal an undervalued gem or a "value trap" if the company faces structural challenges. Conversely, a high P/E could be justified by disruptive innovation or a vast addressable market. In 2026, tech companies with strong AI integration might command P/E ratios well above 30x, while mature industrial firms might trade closer to 10–12x. Always compare a stock to its direct competitors and industry averages, and look at trends in its P/E over time to identify significant shifts in market sentiment or business performance.

Limitations of the P/E Ratio in Valuation

While the P/E ratio is a widely used valuation metric, it has several critical limitations that investors must consider. The P/E ratio is unreliable for companies with negative or erratic earnings. If a company is unprofitable (negative EPS), its P/E ratio will be negative or undefined, rendering it useless for comparison.

It does not account for debt — two companies with the same P/E might have vastly different financial risk profiles if one is heavily leveraged. It is backward-looking if using trailing EPS and may not reflect future growth prospects. Accounting practices can distort EPS, as different methods for depreciation, inventory valuation, or one-time gains/losses can impact reported earnings. These factors necessitate using the P/E ratio in conjunction with other financial metrics and qualitative analysis.

Frequently Asked Questions

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

The Price-Earnings (P/E) ratio is a fundamental valuation metric used by investors to determine the relative value of a company's shares. It is calculated by dividing the current market price per share by the company's earnings per share (EPS). For example, a $35 stock with $3 EPS has a P/E of 11.67. A high P/E ratio can indicate that investors expect higher earnings growth in the future, while a low P/E ratio might suggest a company is undervalued or has slower growth prospects.

What does an earnings yield tell you?

Earnings yield is the inverse of the P/E ratio, calculated by dividing EPS by share price, expressed as a percentage. A $3 EPS on a $35 stock produces an 8.57% earnings yield. It represents the percentage of each dollar invested that was earned by the company, offering a way to compare the earnings power of a stock to other investments like bonds. Yields above 8% are often considered strong.

Is a high P/E ratio always bad?

No, a high P/E ratio is not always bad; it often reflects investor optimism about a company's future growth prospects. Companies in rapidly expanding industries frequently trade at higher P/E ratios because the market anticipates significant earnings increases. However, a very high P/E can also signal that a stock is overvalued, especially if future growth expectations are not met.

What is a 'fair value' P/E ratio?

A 'fair value' P/E ratio is a subjective benchmark, often considered to be around 15x to 20x earnings for established companies with stable growth. This range reflects historical averages for broad market indices like the S&P 500. With $3 EPS, a 15x fair value implies a $45 stock price, while 20x implies $60. However, fair value depends heavily on industry, growth rates, and interest rates.

How does this calculator help with investment decisions?

The calculator provides multiple perspectives on valuation: the P/E ratio shows how much you pay per dollar of earnings, the earnings yield lets you compare stocks to bonds, and the fair value estimates at 15x and 20x P/E show whether the stock trades at a premium or discount to historical benchmarks. For example, a $35 stock with $3 EPS is 22.2% below the 15x fair value of $45, suggesting potential undervaluation.