Beginner

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

The P/E ratio is the most widely quoted stock valuation metric. Enter the current share price and earnings per share (EPS) to get the P/E multiple, earnings yield and how the number compares to long-run market averages.
Current share price in any currency
Basic or diluted EPS from the most recent annual or quarterly report
P/E Ratio
20

High — growth premium priced in

Stock price
150
Earnings per share (EPS)
7.5
Earnings yield
5 %
P/E ratio scale — S&P 500 long-run average ≈ 16–18×: Moderate
Step by step
  1. 1

    P/E ratio

    150 ÷ 7.5 = 20
  2. 2

    Earnings yield

    7.5 ÷ 150 × 100 = 5 %
    The P/E reciprocal — useful for comparing equities directly with bond yields.
Lock the current result, then change any input to compare scenarios.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. This is not financial, investment or tax advice; consult a qualified professional. Read the full disclaimer.
Quick answer

How does this calculator work?

P/E = stock price ÷ EPS. A $150 stock with $7.50 EPS has a P/E of 20× and an earnings yield of 6.67%. The long-run S&P 500 average is about 16–18×, but appropriate multiples vary by sector and interest-rate environment. The P/E is a quick relative-value signal, not an absolute buy or sell trigger.

Formula
P/E = Stock price per share ÷ Earnings per share (EPS) • Earnings yield = EPS ÷ Stock price × 100%
How this is calculated

The Price-to-Earnings (P/E) ratio answers the question: "how many years of current earnings am I paying for one share?" A P/E of 20 means investors pay 20 times last year's earnings per share. The long-run arithmetic average P/E of the US S&P 500 index is roughly 16–18, providing a historical benchmark — though the appropriate level depends on interest rates, growth expectations and sector norms.

This calculator uses trailing twelve-month (TTM) EPS by default, which is found in a company's most recent annual or quarterly report (labelled "basic EPS" or "diluted EPS"). Diluted EPS is more conservative, as it assumes all convertible instruments are exercised. For forward P/E, simply enter the analysts' consensus EPS estimate for the next 12 months in the EPS field.

The earnings yield (EPS ÷ Price × 100%) is the P/E reciprocal. It expresses equity returns as a percentage, making equities directly comparable to bond yields — a useful framework for assessing relative attractiveness across asset classes.

Frequently asked questions

The S&P 500 long-run average P/E is roughly 16–18. Below 15 may indicate undervaluation; above 25–30 typically implies high growth expectations or overvaluation. These thresholds shift with interest rates — low rates support higher P/E multiples. Always compare within sector and against the stock's own history.

Trailing P/E uses actual reported EPS over the past 12 months. Forward P/E uses analysts' consensus EPS estimates for the next 12 months. Forward P/E is more forward-looking but relies on forecasts that may prove incorrect.

Yes, when EPS is negative (the company lost money). A negative P/E is not informative — investors in loss-making companies use other metrics such as Price/Sales, Price/Book, or EV/EBITDA instead.

Also known as

pe ratio calculator
price to earnings ratio
p/e ratio formula
stock pe multiple
earnings yield calculator
trailing pe ratio
forward pe calculator

APA

TG we-Calculate Editorial Team. (2026). Price-to-Earnings Calculator (P/E Ratio) [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/price-to-earnings-calculator

Chicago

TG we-Calculate Editorial Team. "Price-to-Earnings Calculator (P/E Ratio)." TG we-Calculate. 2026. https://we-calculate.com/calculator/price-to-earnings-calculator.

IEEE

TG we-Calculate Editorial Team, "Price-to-Earnings Calculator (P/E Ratio)," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/price-to-earnings-calculator

BibTeX

@misc{wecalculate_price_to_earnings_calculator, title = {Price-to-Earnings Calculator (P/E Ratio)}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/price-to-earnings-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?