Easy CalculatorsOnline
A little less guesswork.

Finance · EVERYDAY CLARITY

Price-to-earnings ratio calculator

Compare a share price with positive earnings per share.

Units & number format

Number formatting changes the display; the interface and guides are in English. Dates use calendar controls; numeric lists use decimal points and comma or space separators.

01 · CALCULATE

Work out your numbers

Your inputs stay in this browser.

Example result · using the values shown

Price-to-earnings ratio
20 ×
See visual ↓

Choose a consistent trailing or forward EPS convention. Nonpositive EPS is excluded.

02 · SEE THE RESULT

Your numbers, pictured

Example visualization

Inputs to the ratio

Share price50
Earnings per share2.5
0Shared scale50

The two inputs have the same currency or measurement units; the ratio is unitless.

03 · UNDERSTAND THE METHOD

How the price-to-earnings ratio calculator works

The price-to-earnings ratio, or P/E, divides a share’s market price by earnings per share. It reports the price multiple paid for each currency unit of the entered earnings measure. The meaning changes when EPS is trailing, forecast, adjusted, or prepared under another convention, so the input choice should be stated when making comparisons. This tool accepts a nonnegative share price and positive EPS. Nonpositive earnings are excluded because a conventional positive earnings multiple is not meaningful in the same way for zero earnings or a loss.

The formula and its variables

P/E ratio = share price / positive earnings per share.
Price
Entered market share price
EPS
Positive per-share earnings using a stated period and convention

The calculation, step by step

  1. Enter the share price and identify the pricing date. Use the same currency and share basis as the EPS figure.
  2. Enter positive EPS and decide whether it represents trailing results or a forecast. Keep that choice consistent across comparisons.
  3. Divide price by EPS and read the multiple. Review growth, risk, leverage, accounting adjustments, and the earnings period before treating the ratio as valuation evidence.

A worked example

A share price of $50 and EPS of $2.50 give P/E of 20 ×. The price equals twenty times the entered per-share earnings amount. If EPS is annual, that still does not guarantee a twenty-year payback because earnings can change and need not be distributed. At EPS of $5 with price unchanged, the multiple would be ten.

Example inputs and calculated output
Share price50
Positive earnings per share2.5
Price-to-earnings ratio20 ×

How to read the result and visual

The output summarizes price relative to one earnings input. A lower number is not automatically a bargain; it may reflect lower expected growth, greater risk, or unusual earnings. A higher number can arise from a high price, temporarily depressed positive earnings, or optimistic expectations. The ratio does not estimate intrinsic value by itself.

Assumptions, rounding, and limitations

Loss-making companies and zero EPS are outside this calculator’s positive-denominator domain. Share classes, stock splits, currency mismatch, one-time gains, and accounting adjustments can distort comparisons. A forward P/E depends on uncertain forecasts. The tool retrieves no live prices and does not recommend an investment.

Frequently asked questions

Can I use forward EPS?

Yes if it is positive, but clearly label the forecast convention and its uncertainty.

Why reject zero or negative EPS?

Zero is undefined in division, and a loss does not yield a conventional positive earnings multiple.

Reference sources

How we check calculations and what verification covers