Skip to main content
Calcimator

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

Calculate a stock's price-to-earnings (P/E) ratio — share price divided by earnings per share. The P/E tells you how much investors pay for each dollar of earnings.

About this calculator

The price-to-earnings ratio divides a stock's current share price by its earnings per share, producing a single multiple that describes how many dollars investors are willing to pay for each dollar of the company's annual profit. It's the most widely used valuation shorthand in equity investing precisely because it compresses a lot of implicit information — expected growth, business quality, risk, interest rates — into one comparable number, letting you glance at whether a stock looks cheap or expensive relative to its own history or its peers.

What a P/E ratio can't do is stand entirely on its own: a low ratio can mean genuine undervaluation, or it can mean the market correctly expects earnings to decline; a high ratio can mean overvaluation, or it can mean the market is pricing in real, sustained growth that a static snapshot of current earnings doesn't capture. This calculator uses whatever EPS figure you supply, whether trailing (based on the last twelve months' actual results) or forward (based on analyst estimates for the year ahead), and the choice matters — trailing P/E reflects known history while forward P/E reflects a forecast that may or may not pan out, so comparing a trailing P/E on one stock against a forward P/E on another mixes two different things.

Inputs

$
$

Results

P/E ratio

20

How to Use This Calculator
  1. Enter the current share price.
  2. Enter the company's earnings per share (EPS).
  3. A higher P/E means investors pay more per dollar of earnings.

Recommended for this calculation

We may earn a commission if you sign up through these links.

J L Collins

The classic roadmap to financial independence

The Simple Path to Wealth, by J L Collins

See on Amazon
HP

The finance calculator professionals trust

HP 12C Platinum Financial Calculator, 130+ Functions

See on Amazon
Bogleheads

A proven, low-cost plan for retiring well

The Bogleheads' Guide to Retirement Planning

See on Amazon

J L Collins: As an Amazon Associate I earn from qualifying purchases.

HP: As an Amazon Associate I earn from qualifying purchases.

Bogleheads: As an Amazon Associate I earn from qualifying purchases.

How the result changes with Earnings per share (EPS)

Earnings per share (EPS)P/E ratio
$1.0149.5
$3.5114.25
$6.507.69
$9.005.56

How this is calculated

Worked example, using the default values

  1. peRatio
    sharePrice / eps
    sharePrice / eps = 20

Engine last updated . Checked against 1 independently-derived test how we verify calculators.

Frequently Asked Questions

What counts as a 'normal' P/E ratio?

There's no universal number — it depends heavily on the industry, growth expectations, and prevailing interest rates at the time, with the long-run historical average for broad stock indexes sitting somewhere in the high teens to low twenties. Comparing a company's P/E to its own sector peers and its own history tells you far more than any single benchmark figure would.

What's the difference between trailing and forward P/E?

Trailing P/E uses actual reported earnings from the past twelve months, so it's grounded in known results, while forward P/E uses analyst estimates for the coming year, making it forward-looking but dependent on forecasts that can turn out wrong. A stock can look expensive on trailing P/E but cheap on forward P/E if strong earnings growth is genuinely expected.

Why do growth stocks often trade at much higher P/E ratios than mature companies?

Investors are willing to pay more today for each dollar of current earnings when they expect that earnings figure to grow substantially in future years, effectively pricing in profits that haven't happened yet. A mature, slow-growing company with the same current earnings typically commands a lower multiple because its future profit trajectory looks far flatter.

Can a company have a negative or meaningless P/E ratio?

Yes — if a company posts a net loss, EPS turns negative, and the resulting P/E ratio becomes negative or is typically reported as 'not meaningful' since the ratio no longer describes a sensible valuation multiple. Investors usually switch to other metrics like price-to-sales or price-to-book for companies without positive earnings.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Investing & Retirement.