Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Finance
  3. /Accounting & Financial Ratios
  4. /Price-to-Earnings (P/E) Ratio Calculator

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

Last updated: March 28, 2026

Calculator

Results

P/E Ratio

20

x

Earnings Yield

5

%

Implied Payback Period

20

years

Results

P/E Ratio

20

x

Earnings Yield

5

%

Implied Payback Period

20

years

The Price-to-Earnings (P/E) Ratio Calculator computes the most widely used stock valuation metric in the investment world. The P/E ratio tells you how much investors are willing to pay for each dollar of a company's earnings, effectively quantifying the market's expectations for a company's future growth and profitability. Every financial news broadcast, stock screener, and brokerage platform prominently features the P/E ratio.

The calculation is simple: P/E = Stock Price / Earnings Per Share. A stock trading at $120 with EPS of $6 has a P/E of 20x, meaning investors pay $20 for every $1 of current earnings. This can also be interpreted as the number of years it would take to recoup your investment from earnings alone (assuming constant earnings), which is why the calculator shows the implied payback period.

The earnings yield (EPS / Stock Price, expressed as a percentage) is the inverse of the P/E ratio and provides a useful comparison to bond yields. If a stock has a P/E of 20, its earnings yield is 5%. If 10-year Treasury bonds yield 4%, the stock's premium (1%) represents the additional compensation investors require for equity risk. This comparison framework is central to asset allocation decisions.

Understanding what P/E ratios imply about growth expectations is crucial. A high P/E (above 25-30x) signals that the market expects strong future earnings growth. If that growth materializes, the stock is fairly valued. If it doesn't, the stock is overpriced and vulnerable to a correction. Conversely, a low P/E (below 10-15x) may indicate a value opportunity or it may reflect justified skepticism about the company's prospects — the classic "value trap" risk.

The S&P 500's historical average P/E is approximately 15-17x trailing earnings. However, this average masks enormous variation. Growth stocks (technology, biotech) routinely trade at 30-50x+ earnings, while value stocks (financials, energy, utilities) often trade at 8-15x. Interest rates, inflation expectations, and economic conditions all influence market-wide P/E levels. This calculator helps investors quantify these valuation relationships for individual stocks and compare them to market and industry benchmarks.

Visual Analysis

How It Works

The formula is: P/E Ratio = Stock Price / Earnings Per Share (EPS). Use trailing EPS (last 12 months) for trailing P/E, or analyst estimates for forward P/E. The earnings yield (inverse of P/E) equals (EPS / Stock Price) × 100. P/E cannot be calculated for companies with negative or zero EPS.

Understanding Your Results

S&P 500 historical average: ~15-17x. Growth stocks: 25-50x+. Value stocks: 8-15x. Compare the P/E against the company's own history, industry peers, and the market average. A stock's P/E relative to its growth rate is captured by the PEG ratio (P/E / EPS growth rate), where PEG around 1.0 is considered fair.

Worked Examples

Fairly Valued Blue Chip

Inputs

stock price120
eps6

Results

pe ratio20
earnings yield5
payback years20

P/E of 20x is near the market average. Earnings yield of 5% competes with bond yields.

High-Growth Tech Stock

Inputs

stock price300
eps5

Results

pe ratio60
earnings yield1.67
payback years60

P/E of 60x implies very high growth expectations. The stock must deliver exceptional earnings growth to justify this valuation.

Frequently Asked Questions

No single P/E is universally 'good.' Compare against the industry average, the company's historical P/E, and the market average (~16-18x). Growth companies warrant higher P/E; mature companies should have lower P/E.

Trailing P/E uses the last 12 months of actual EPS. Forward P/E uses analyst consensus estimates for the next 12 months. Forward P/E is more relevant for valuation because it reflects future expectations.

High P/E reflects investor willingness to pay a premium today for expected strong future earnings growth. If a company is growing EPS at 30% annually, today's high P/E may be justified by tomorrow's higher earnings.

PEG = P/E / Annual EPS Growth Rate. A PEG of 1.0 is considered fairly valued relative to growth. Below 1.0 suggests undervaluation; above 2.0 suggests overvaluation relative to growth.

The cyclically adjusted P/E uses the average of inflation-adjusted earnings over the past 10 years, smoothing out business cycle fluctuations. It is widely used for market-level valuation assessment.

When EPS is negative, P/E is meaningless or negative. Analysts typically use Price-to-Sales or Price-to-Book for companies with negative earnings.

Earnings yield = EPS / Stock Price (or 1/P/E). It expresses stock valuation as a yield comparable to bond yields. A 5% earnings yield (P/E of 20) competes with a 5% bond yield.

Higher interest rates reduce P/E ratios because: (1) bonds become more attractive relative to stocks, and (2) future earnings are discounted at higher rates. Falling rates support higher P/E multiples.

P/E expansion means the market pays higher multiples (optimism). P/E compression means lower multiples (pessimism). A stock can rise from both EPS growth AND P/E expansion — the "double whammy" of great returns.

International P/E comparison must account for different accounting standards, tax rates, growth rates, and interest rate environments. Emerging markets typically have lower P/E than developed markets due to higher perceived risk.

Sources & Methodology

Shiller, R. — Irrational Exuberance; CFA Institute — Equity Valuation (2023); Damodaran, A. — The Little Book of Valuation; S&P Dow Jones Indices
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Current Ratio Calculator

Accounting & Financial Ratios

Quick Ratio Calculator

Accounting & Financial Ratios

Debt-to-Equity Ratio Calculator

Accounting & Financial Ratios

Debt-to-Income Ratio Calculator

Accounting & Financial Ratios

Interest Coverage Ratio Calculator

Accounting & Financial Ratios

Return on Assets (ROA) Calculator

Accounting & Financial Ratios