Price to Earnings Ratio Calculator (P/E)

Quick answer

The price to earnings ratio calculator divides a stock's price by its earnings per share to give the P/E ratio, the earnings yield, and the price implied by a target P/E.

$
$
P/E ratio
20
Earnings yield
5 %
Price at the target P/E
$ 108.00

The P/E ratio tells you how much investors pay for each dollar of earnings. The S&P 500 has averaged around 15–20× over the long term. High P/Es usually reflect expected growth; low P/Es can mean value or trouble.

How to use the Price to Earnings Ratio Calculator

  1. Share price
  2. Earnings per share (EPS)
  3. Target P/E

Results update as you type, and every field accepts the units shown in its menu.

How it works

Enter the share price and earnings per share (trailing or forward), and optionally a target P/E.

Inputs explained

Field What to enter
Share price Amount in your currency
Earnings per share (EPS) Amount in your currency
Target P/E A number

What each result means

  • Earnings yield = [Earnings per share (EPS)]÷[Share price]×100
  • Price at the target P/E = [Target P÷E]×[Earnings per share (EPS)]

Example values

How the main result changes when Share price changes and everything else stays at the example values above:

Share price P/E ratio
60 10
90 15
120 20
150 25
180 30
240 40

Formula

P/E = share price ÷ earnings per share Earnings yield = EPS ÷ price Price at target P/E = target P/E × EPS

Worked example

Inputs: Share price: $120; Earnings per share (EPS): $6; Target P/E: 18.
Results: P/E ratio = 20; Earnings yield = 5 %; Price at the target P/E = $108.00.

Frequently asked questions

What is a good P/E ratio?

It depends on growth and industry; around 15–25 is typical for the S&P 500.

What is the difference between trailing and forward P/E?

Trailing uses the last 12 months of EPS; forward uses next year's estimate.

Why is P/E not meaningful for loss-makers?

Negative earnings give a negative or undefined P/E.

Sources

  1. U.S. SEC: Investor.gov compound interest and investing basics

Cite this calculator

Speedy Calculator. (2026). Price to Earnings Ratio Calculator (P/E). Speedy Calculator. https://speedycalculator.com/calculators/finance/pe-ratio/