Finance

P/E Ratio Calculator

Calculate the Price-to-Earnings (P/E) ratio and earnings per share (EPS).

CALCULATOR

Enter your numbers

Instant results
30.00xP/E Ratio
Earnings Per Share$5.00
Implied Price (at P/E)$150.00
FormulaPrice ÷ EPS

THE NUMORIX GUIDE

How to use the P/E Ratio Calculator

Last reviewed September 14, 2026

What this calculator does

The engine calculates price-to-earnings ratio as stock price / earnings per share.

Formula and method

The engine calculates price-to-earnings ratio as stock price / earnings per share. It then calculates priceGivenPE as earnings per share x the computed ratio, which returns the original stock price whenever EPS is nonzero; when EPS is zero, both the ratio and implied price are returned as zero.

Variables and inputs

Enter a stock price in dollars per share and earnings per share in dollars. The view updates immediately. EPS can represent a trailing or forward measure, but the calculator does not label or distinguish which accounting period was used.

Worked example

For a $150 stock price and $5.00 EPS, P/E = 150 / 5 = 30.00x. The displayed implied price at that same multiple is $5.00 x 30.00 = $150.00, so it is an arithmetic check rather than a forecast.

How to interpret the result

P/E expresses how many dollars of price investors are paying for one dollar of the selected earnings measure. A high or low multiple only becomes meaningful when the earnings definition, growth outlook, industry, leverage, and peer set are comparable.

Common mistakes to avoid

Use per-share earnings, not total company earnings, with a per-share price. Keep price and EPS from the same reporting period and share class. Do not read a P/E multiple as an expected annual return or a buy/sell signal.

Assumptions and limitations

The route has no input for trailing versus forward EPS, diluted shares, negative earnings, growth, debt, cash, cyclicality, industry, or peer valuation. A zero EPS guard returns 0 instead of an informative not-meaningful label, and no validation prevents negative values.

Sources and references

COMMON QUESTIONS

Frequently asked questions

What kind of EPS should I enter?

Use the trailing or forward EPS that matches the valuation question, and keep that choice consistent across companies. This calculator accepts the number but does not identify its source period.

Why does zero EPS produce 0x?

The engine avoids division by zero by returning a zero ratio and zero priceGivenPE. A company with zero or negative earnings generally needs a different valuation measure rather than a literal 0x conclusion.

Is implied price a target price?

No. The view multiplies the entered EPS by the ratio calculated from the same entered price, so it reproduces that price. A target requires an independently selected comparable multiple.