TickerLeague

P/E Ratio Calculator

Compute a stock’s price-to-earnings ratio after entering its share price and EPS — or pick a ticker to populate both straight from filings.

The P/E ratio tells you how many dollars investors are paying for every dollar of annual earnings. Compare a stock’s P/E against its own history, peers in the same sector, and the broader market to judge whether it is reasonably valued.

New to the multiple? Read P/E ratio explained: trailing vs forward, normal ranges.

Optional. Pick a stock to auto-fill price and EPS from filings.

P/E Ratio Calculator: How to Read Price to Earnings

Updated April 2026

Key Points

  • P/E ratio shows how many dollars investors pay today for each dollar of annual earnings.
  • Calculate it as Share Price / Earnings Per Share (EPS).
  • Compare a stock’s P/E to its history, sector peers, and the broader market — never in isolation.

What is the price-to-earnings ratio?

The P/E ratio is the single most-quoted valuation metric in equity markets. It compresses two pieces of information — what the market is paying for a share and what the company earns per share — into one number. A P/E of 25 means investors are paying $25 today for every $1 of annual earnings the company currently generates.

Formula for the P/E ratio

P/E Ratio = Share Price / EPS. The price is the current market quote per share. EPS is usually trailing twelve months (TTM) for the standard P/E, or analyst-estimated next-twelve-months EPS for the forward P/E. Pick consistent inputs — comparing a forward price to a trailing EPS gives a misleading number.

How to calculate the P/E ratio

Plug in the latest share price and the company’s EPS. The calculator returns the ratio plus a flag if EPS is non-positive — in that case the metric is mathematically undefined or meaningless and you should fall back to other valuation tools.

  • Share price — current quote per share, in the same currency as EPS.
  • EPS — earnings per share for the same period; calculate it with our EPS Calculator if you only have net income and shares outstanding.

Worked example

A stock trades at $10 with EPS of $1.50. P/E = $10 / $1.50 ≈ 6.67. The market is paying about $6.67 for every dollar of current annual earnings — relatively cheap by historical S&P 500 standards (which usually sit between 15× and 25×).

Trailing vs forward P/E

Trailing P/E uses reported EPS over the last 12 months. It’s factual but backward-looking. Forward P/E uses analyst estimates for the next 12 months. It tells you what the market is pricing in — but only as accurately as those estimates. A growing company often looks expensive on trailing P/E and reasonable on forward P/E because earnings are climbing.

How to use the P/E ratio

Compare the P/E to (1) the company’s own history — is it expensive vs the past 5 years? (2) Direct sector peers — utilities have low P/Es; software has high P/Es. (3) The broader market — the S&P 500 averages around 18×–22× depending on the cycle. A high P/E means investors expect strong growth or are willing to pay a quality premium. A low P/E may signal a bargain — or an underlying problem.

Limitations of P/E

P/E breaks down for unprofitable companies (negative EPS) and is distorted by one-off earnings (write-downs, asset sales, tax credits). It also ignores debt and capital structure — two firms can post the same P/E with very different leverage and risk profiles. Pair P/E with EV/EBITDA, free cash flow yield, and the PEG ratio for a fuller view.

P/E is a starting point, not an answer

A P/E ratio in isolation tells you almost nothing. A P/E in context — versus history, peers, growth rate, and the market — tells you a lot about whether the stock is reasonably priced for its earnings power.

Frequently asked questions

What is the price-to-earnings (P/E) ratio formula?

P/E Ratio = Share Price / Earnings Per Share. It tells you how many dollars investors are paying today for each dollar of annual earnings. A P/E of 20 means the market is paying $20 for every $1 of EPS.

What is a good P/E ratio?

There is no universal answer. Mature, low-growth sectors (utilities, banks) often trade at P/Es of 8–15. High-growth software names can exceed 40 or 50 because investors price in future profits. Compare a stock’s P/E to its own history, sector peers, and the broader market.

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

Trailing P/E divides current price by EPS over the last 12 months (TTM) — backward-looking and based on reported numbers. Forward P/E divides price by analyst-estimated EPS over the next 12 months — forward-looking but dependent on those estimates being right. Use both: trailing is honest, forward is what the market is pricing.

What does a high P/E mean?

A high P/E typically signals that investors expect strong earnings growth, are willing to pay a quality premium, or both. It can also mean the stock is overvalued. High P/E plus slowing growth is a classic mean-reversion setup.

What does a low P/E mean?

A low P/E may mean the stock is undervalued relative to earnings, but it can also reflect declining growth, structural headwinds, or one-off earnings boosts that aren’t sustainable. Always combine P/E with revenue growth and free cash flow trends.

Why is P/E undefined when EPS is zero or negative?

Mathematically, dividing by zero is undefined. With negative EPS, the formula returns a negative number that has no practical meaning — there are no earnings to value the stock against. For unprofitable companies, use Price/Sales, EV/EBITDA, or Price/Free-Cash-Flow instead.

How is P/E related to EPS?

EPS is the denominator in the P/E formula. Improving EPS (without a price change) lowers the P/E and makes the stock look cheaper; falling EPS does the opposite. Calculate EPS first with our EPS Calculator, then plug it in here.

What is the PEG ratio?

PEG = P/E Ratio / Annual EPS Growth Rate. It normalizes P/E by growth: a PEG of 1.0 is often considered fairly valued. PEG is useful for comparing growth stocks where high P/Es alone look scary.