Code tool

Price to Earnings Ratio Calculator

Calculate P/E from share price and same-basis EPS.

In-browser processingNo account requiredPrivacy details ↗

P/E = share price / EPS. Use matching trailing or forward and basic or diluted figures. No quote data is fetched.

Definition: NYU Stern Damodaran, Definitions.

Inputs stay in this browser.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter a nonnegative share price and finite EPS on the same basis.
  2. Choose trailing or forward EPS and basic or diluted figures consistently.
  3. Calculate P/E; zero or negative EPS produces an undefined result.

Formula and basis

P/E = share price / EPS. Use matching trailing or forward and basic or diluted figures. No quote data is fetched.

Source

Definition: NYU Stern Damodaran, Definitions.

Local processing

Inputs stay in this browser.

GOOD TO KNOW

Common questions

What if EPS is zero or negative?

The ratio is not meaningful or is undefined; this tool does not report a positive P/E for those values.