Skip to content
UseCalcNow
Finance

P/E Ratio Calculator — Price to Earnings Valuation Check

Calculate the price to earnings ratio for any stock from share price and EPS, then compare it against an industry average to spot overvalued shares.

About This Calculator

The price to earnings ratio tells you how many dollars the market charges for each dollar of annual profit a company generates. This calculator divides any share price by trailing earnings per share, then benchmarks the result against an industry average you supply. One glance shows if a stock trades at a discount, in line, or at a premium to its peers. Use it as the first filter in any stock research routine, then confirm with two or three other valuation multiples.

The Formula Behind This Calculator

The core formula is P/E = Share Price ÷ Earnings Per Share. With trailing twelve month EPS the ratio reflects what the company actually earned over the past four reported quarters, which keeps the input objective. The calculator then computes the percentage gap between your stock's multiple and the industry benchmark: (Stock P/E − Industry P/E) ÷ Industry P/E × 100. A gap above +5% reads as a premium, below −5% as a discount, and anything between counts as roughly in line. The verdict bands follow common market practice: under 10x is cheap territory, 10–20x covers most established companies, 20–30x assumes dependable growth, and above 30x prices in rapid expansion. Earnings of zero or less make the ratio meaningless, so the tool expects a positive EPS input.

Understanding the math helps you verify results and make better decisions for your project.

How to Use

  1. 1Type the current share price from your broker or a live quote page.
  2. 2Enter trailing twelve month EPS — the sum of the last four quarters from the latest 10-Q or annual report.
  3. 3Add the industry average P/E from a data provider, or average the multiples of three or four direct competitors yourself.
  4. 4Read the headline ratio together with the premium or discount verdict against the industry benchmark.
  5. 5Re-run the numbers after each quarterly report, since both EPS and the peer average move over time.

When to Use

  • →Screening a watchlist quickly before committing hours of research to one name.
  • →Deciding between two stocks in the same sector when both businesses look otherwise similar.
  • →Checking if an existing holding has drifted far above or below its own historical and peer multiples.
  • →Gauging whether the broader market is expensive by comparing a major index P/E against its 15–17 long-run average.

Tips

  • ✓Pull TTM EPS from filings instead of a single quarter — one strong quarter can halve a P/E and make a stock look artificially cheap.
  • ✓Strip out one-off items such as asset sales or litigation settlements before trusting the EPS figure.
  • ✓Compare only within the same industry; a 12x bank and a 30x software firm can both be fairly priced.
  • ✓For fast growers, graduate from P/E to the PEG ratio so the growth rate gets priced in.
  • ✓Remember leverage: heavy debt amplifies earnings in good times, so a cheap P/E can hide balance sheet risk.

What the Price to Earnings Ratio Actually Measures

The P/E ratio divides a company's share price by its earnings per share, converting an abstract stock price into a concrete question: how many years of current profit are you paying for? A stock at $60 with $4 of annual EPS trades at 15x, so every share you buy carries fifteen dollars of price for each dollar of yearly earnings behind it. That single compression of price, profit, and expectation is why the ratio has survived since the 1930s as the default valuation shorthand.

Benjamin Graham and David Dodd pushed earnings multiples into mainstream analysis in Security Analysis, and the logic still holds: over long periods, shareholder returns track the earnings stream a business generates. The market price wobbles around that stream, sometimes wildly. The ratio tells you which side of enthusiasm or despair the current price sits on. For a per-share profit figure built from raw net income and share count, run the inputs through the EPS calculator first and paste the result here.

Trailing P/E vs Forward P/E

Trailing P/E uses reported earnings from the last four quarters, sometimes labeled P/E TTM. It is objective — every dollar in the denominator was actually earned — but it describes the past. Forward P/E swaps in the consensus analyst estimate for the coming twelve months, which makes it more timely and more fragile, since a single guidance cut can reprice the multiple overnight. The two can disagree by half a turn or more after a rough quarter.

Cyclical companies expose the difference best. A steel producer at the top of its cycle shows a tiny trailing P/E precisely because earnings are about to roll over, while the forward multiple on collapsed estimates looks enormous. For structurally growing businesses the reverse happens: the trailing number looks expensive and the forward number reasonable. The growth trajectory itself is what the PEG ratio calculator prices, and you can size the growth rate with the EPS growth calculator.

What Counts as a Good P/E Ratio

The S&P 500 has spent most of the past three decades trading between 13 and 25 times trailing earnings, with a long-run mean near 16–17. Individual stocks spread much wider. Under 10x sits in bargain-or-trouble territory, 10–20x covers most mature profitable companies, 20–30x assumes dependable double-digit growth, and anything above 30x prices in rapid expansion with little room for error.

The bands shift meaning with context. A regional bank at 9x can be fully priced for its growth prospects, while a software firm compounding revenue at 25% annually might be a steal at 35x. What the number reliably measures is expectation: high multiples embed high hopes, and disappointment hits expensive stocks harder. Write down the earnings growth a multiple implies before paying it, then ask if that growth looks achievable from the numbers in the filings.

Why Industry Context Changes Everything

Sector economics set the default multiple. Software vendors with 80% gross margins and recurring revenue routinely trade at 25–40x earnings. Regional banks cluster near 8–12x, hemmed in by regulation and thin growth. Regulated utilities settle around 12–16x because their returns are capped but steady. Energy producers swing from 6x in busts to the high teens in booms as commodity prices whip earnings around.

Comparing a stock only against its own industry keeps the benchmark honest — this calculator's third field exists for exactly that reason. A 22x multiple means one thing among 30x peers and something entirely different in a 12x sector. Some sectors deserve companion metrics: banks are judged heavily on book value, so pair the result with the price to book ratio calculator, and for businesses where depreciation masks cash generation, the price to cash flow ratio calculator is the cleaner lens.

Where the Ratio Breaks Down

The P/E fails outright when earnings are zero or negative — divide by nothing and the number is meaningless. Loss-makers span early-stage technology, pre-revenue biotech, and companies mid-turnaround. Revenue multiples, cash burn runway, or asset value fill the gap there, and forcing a P/E onto them produces false precision.

Cyclicals break the ratio from the other direction. Earnings peak at the top of the cycle right before they collapse, so the stock looks cheapest exactly when the risk is highest — homebuilders and commodity producers did this in 2007 and 2014. Heavy debt distorts it too: buybacks shrink the share count and lift EPS, making leveraged names look cheaper than their risk profile justifies. One-off items such as asset sales or legal settlements can swing EPS by double-digit percentages in a single quarter.

Benjamin Graham's answer to these traps was to demand margin on two dimensions at once — earnings and book value — before calling anything cheap. The Graham number calculator reproduces that double test, and it remains a fast sanity check whenever a single-digit P/E looks too good to be true.

Pairing P/E With Other Multiples

No single multiple survives every market regime, so serious valuation work triangulates. P/E anchors on profit. The PEG variant divides the multiple by expected earnings growth, which is how a 28x stock growing 30% per year scores 0.93 and beats a 14x stock growing 5% at a PEG of 2.8. Book value, cash flow, and dividends each add a distinct perspective on the same underlying business.

Income-focused screens should sit the earnings multiple next to the payout: the dividend yield calculator shows the cash return, and an above-average yield paired with a comfortable P/E often marks a mature cash machine. For an absolute answer rather than a relative one, discount expected cash flows with the intrinsic value calculator and compare the result to the market price. The gap between the two is what the margin of safety calculator quantifies — the wider that buffer, the more a high P/E can be forgiven.

Benchmarking Against the Market and Peers

The third input in this calculator turns a raw multiple into a verdict. Suppose your stock trades at 20x while its industry averages 16x — that is a 25% premium, and the honest follow-up question is why. Faster growth than peers, a wider moat, or a cleaner balance sheet can justify the gap; if none of those apply, the market may simply be ahead of the fundamentals.

Size belongs in the judgement too. Mega-cap leaders often sustain premiums over mid-caps because of liquidity, index weightings, and lower failure risk, while small caps trade at discounts that compensate for volatility. Before trusting any peer average, confirm the companies in the sample actually resemble yours — conglomerates and diversified giants distort simple sector averages. For the total-size view of a company, the market capitalization calculator converts share count and price into one comparable figure.

A Worked Example With Real Numbers

Take a stock trading at $85 with trailing EPS of $4.25. Dividing 85 by 4.25 gives 20.0x. Its industry averages 16x, so the stock carries a 25% premium. If the consensus expects EPS to reach $5.10 next year, the forward multiple drops to 16.7x — nearly in line with peers — and the premium starts to look earned by growth rather than sentiment.

The same arithmetic flags the opposite case: a $34 stock with $2 EPS trades at 17x, seemingly expensive, until you notice the sector average is 22x and the company just guided earnings higher. Ratios move every day as the price ticks, and they reset every quarter as earnings print, so treat the output as a snapshot rather than a verdict. Re-running this calculator after each report takes under a minute and keeps the comparison current.

FAQ

What is a good price to earnings ratio?

For established, slow-growth companies anything between 10 and 20 is normal, with the S&P 500 averaging roughly 16–17 over the long run. Below 10 can signal a bargain or an expected earnings drop, while above 25 usually prices in strong growth. Judge the number against direct peers and the company's own five-year history rather than a universal threshold.

How do I calculate P/E without EPS?

Divide the company's total market capitalization by its net income — the result is identical to dividing share price by EPS. Gather net income from the income statement, count the diluted shares outstanding, or rebuild the per-share figure with an EPS tool and paste the result into this calculator.

Why do some stocks show no P/E at all?

Data providers display N/A when trailing earnings are zero or negative, since dividing by a negative EPS produces a meaningless number. Loss-making firms include many early-stage tech companies, biotechs before commercialization, and cyclical businesses at the bottom of their cycle. Value them on revenue growth, cash burn, or book value instead.

Is a P/E of 30 always too high?

No. A company growing earnings 30% per year at a 30x multiple carries a PEG of 1.0, which is cheaper per unit of growth than a 15x company growing 5%. High multiples are only dangerous when growth fails to arrive, so always check whether the earnings trajectory supports the price.

Should I use trailing or forward P/E?

Trailing P/E uses reported results and cannot be massaged by optimistic forecasts, which makes it the honest default. Forward P/E uses analyst consensus for the next twelve months and reacts faster to turnarounds, but estimates get revised constantly. Many investors check both — a big gap between the two reveals how much of the story depends on future execution.

Can the P/E ratio predict returns?

Partially. Academic work from Robert Shiller and others shows starting valuation explains a meaningful share of long-horizon returns: buying the index at 25x has historically delivered weaker ten-year outcomes than buying at 12x. Over months the ratio tracks sentiment far more than fundamentals, so treat it as a valuation anchor rather than a timing signal.

Related Calculators