Free to Use

P/E Ratio Calculator

Is this stock expensive or cheap? Calculate trailing P/E, forward P/E, PEG ratio, market capitalization, and implied price from price, EPS, shares, and expected growth โ€” free and instant.

Calculation completed successfully! โœ“
Please check your input values and try again.

Stock Valuation Inputs

Trailing 12 months (TTM)
Optional โ€” for market cap
Optional โ€” default 20; drives implied price
Next-12-months analyst estimate
Trailing P/E from Mode 1, or any value

The defaults match the Examples tab: a $150 stock with $5.00 EPS gives a P/E of 30.00, a $15.00B market cap, and a $100.00 implied price at a target P/E of 20. Adjust to match your stock.

P/E Ratio Examples

These worked examples use verifiable round numbers โ€” enter them in the calculator to confirm. Results are rounded to two decimals.

Example 1: Trailing P/E, Market Cap & Implied Price

Inputs: Price $150.00, trailing EPS $5.00, shares outstanding 100,000,000, target P/E 20.

Calculation: P/E = $150.00 รท $5.00 = 30.00. Market cap = $150.00 ร— 100,000,000 = $15,000,000,000 ($15.00B). Implied price = 20 ร— $5.00 = $100.00.

Trailing P/E: 30.00 โ€” Market cap: $15.00B โ€” Implied price at P/E 20: $100.00

Example 2: Forward P/E

Inputs: Price $150.00, forward EPS $6.00.

Calculation: Forward P/E = $150.00 รท $6.00 = 25.00.

Forward P/E: 25.00

Example 3: PEG Ratio

Inputs: P/E 30.00, expected earnings growth 15%.

Calculation: PEG = 30.00 รท 15 = 2.00.

PEG Ratio: 2.00

Note: These examples are for illustration only and use round numbers. In practice, P/E values are rarely whole numbers โ€” results are rounded to two decimals. Always verify figures against the company's actual financial statements.

The Formula Behind the Calculator

P/E Ratio Formulas
P/E Ratio = Price per Share รท EPS
Forward P/E = Price per Share รท Forward EPS
PEG Ratio = P/E Ratio รท Expected Earnings Growth (%)
Market Cap = Price per Share ร— Shares Outstanding
Implied Price = Target P/E ร— EPS

EPS = net income รท shares outstanding (TTM for the trailing P/E)

Forward EPS = analysts' consensus estimate for the next 12 months

Growth = expected annual earnings growth (%)

How to Use This Calculator

Enter Price and Earnings

Start in Mode 1: enter the current price per share and the trailing 12-month EPS. The calculator divides price by EPS to get the trailing P/E.

Add Optional Figures (Mode 1)

Enter shares outstanding to compute market cap, and a target P/E to see the implied price (target P/E ร— EPS). Leave either blank to skip it.

Switch to Forward P/E (Mode 2)

Use Mode 2 when you have next-12-month EPS estimates. A forward P/E below the trailing P/E usually means the market expects earnings growth.

Check Growth with PEG (Mode 3)

In Mode 3, divide the P/E by the expected earnings growth rate. A PEG below 1 suggests the stock may be undervalued relative to growth; above 2, rich expectations.

Remember: A P/E is only meaningful relative to something โ€” the company's own history, its industry peers, or the broad market. Always compare like with like.

P/E Ratio Calculator Features

๐Ÿ“ˆ
Trailing & Forward P/E
Compute the trailing P/E from reported EPS or the forward P/E from next-12-month estimates โ€” both in one click.
๐Ÿฆ
Market Cap & Implied Price
Optional shares and target P/E inputs reveal market capitalization and the price implied by your target multiple.
โš–๏ธ
PEG Ratio Mode
Factor expected earnings growth into the valuation with the PEG ratio โ€” P/E divided by the annual growth rate.
๐Ÿ“‹
Transparent Step-by-Step
Every result is backed by a full calculation breakdown showing the exact numbers used.

What Is the P/E Ratio?

The price-to-earnings (P/E) ratio compares a company's share price to its earnings per share (EPS) โ€” how much investors pay for each $1 of earnings. A stock at $150 earning $5.00 per share has a P/E of 30: investors pay $30 for every $1 of annual profit. If earnings never grew, it would take 30 years of profits to recoup the purchase price.

A lower P/E generally means the stock is cheaper per dollar of earnings; a higher P/E means investors pay a premium, usually expecting faster earnings growth. The ratio works best for profitable, established companies โ€” it is less useful for loss-making startups or companies with one-time charges distorting profits.

Trailing vs. forward P/E. The trailing P/E uses the last 12 months of reported EPS โ€” objective but backward-looking. The forward P/E uses analysts' estimates for the next 12 months โ€” forward-looking, but only as good as the estimates. A forward P/E below the trailing P/E implies expected earnings growth; above it suggests earnings are expected to decline.

What Is a Good P/E Ratio?

There is no single "good" P/E โ€” the right number depends on the industry, growth, and market. As a rough guide, here is how analysts typically interpret P/E levels for a mature, profitable company:

P/E RangeTypical Interpretation
Under 10Value territory โ€” or possible risk (cyclical peak earnings, declining business, heavy debt)
10 โ€“ 17Moderate โ€” common for mature, stable companies with modest growth
17 โ€“ 25Growth premium โ€” investors expect above-average earnings growth
25+High expectations โ€” priced for strong, sustained growth, leaving little room for error

Industry context matters. As a rough reference, the S&P 500 has historically traded around 21ร— earnings; technology companies often trade at 25โ€“35ร—, banks at 10โ€“14ร—, utilities at 15โ€“20ร—, and retail at 15โ€“25ร—. A utility at 15 might be expensive while a tech stock at 25 could be a bargain โ€” the multiples reflect different growth rates, margins, and risk profiles.

The most useful comparisons are within the same industry and against the company's own five-year average. A stock trading well below its norm and its peers may be undervalued โ€” or the market may be pricing in deteriorating fundamentals. Always dig into why before concluding it is cheap.

PEG and the Limits of P/E

The PEG ratio adjusts the P/E for growth: PEG = P/E รท expected earnings growth rate. In the worked example, a P/E of 30 with 15% expected growth gives a PEG of 2.00 (30 รท 15). As a rough guide, a PEG under 1 suggests the stock may be undervalued relative to growth, 1โ€“2 is fair, and above 2 is rich.

The PEG is only as reliable as the growth estimate feeding it โ€” and analysts' long-term forecasts are frequently optimistic. It also ignores margins, profitability trends, and management quality; two companies with identical PEGs can be radically different investments.

Where the P/E fails. Negative earnings: the ratio is meaningless (reported as "N/A") โ€” use price-to-sales or EV/EBITDA instead. Cyclical companies: peak earnings at the top of a cycle produce an artificially low P/E right before earnings collapse. One-time charges: they distort EPS, hiding ongoing earning power. Normalize earnings and look at the full picture โ€” valuation ratios alone do not determine whether a stock is a good investment.

Frequently Asked Questions (FAQ)

What is a good P/E ratio?
There is no universal "good" number โ€” it depends on the industry, growth rate, and market conditions. As a rough guide: under 10 is value territory (or possible risk), 10โ€“17 is moderate, 17โ€“25 reflects a growth premium, and 25+ means high expectations. Compare against the same industry and the stock's own historical average.
What is the difference between trailing and forward P/E?
The trailing P/E divides price by the last 12 months of reported EPS โ€” factual but backward-looking. The forward P/E divides price by analysts' estimates for the next 12 months โ€” forward-looking but dependent on forecast accuracy. A forward P/E below the trailing P/E means the market expects earnings to grow; above it, earnings to fall.
What does a negative P/E or negative EPS mean?
A negative P/E means the company lost money over the period. The ratio becomes meaningless because there is no positive earnings to divide by, which is why it is usually shown as "N/A" or "NM" (not meaningful). Losses can come from genuine business problems, heavy early-stage investment, or one-time charges. For unprofitable companies, use price-to-sales or EV/EBITDA instead.
Why should I compare P/E within the same industry?
Growth, margins, capital intensity, and cyclicality differ across industries, so "normal" P/E levels do too. Technology stocks routinely trade at 25โ€“35ร— while banks trade at 10โ€“14ร— and utilities at 15โ€“20ร—. A utility at 15 can be expensive while a tech stock at 25 is cheap โ€” cross-industry comparisons easily mislead.
Does a low P/E always mean the stock is cheap?
No. A low P/E can signal a genuine bargain, but it can also be a "value trap" โ€” cheap because earnings are about to decline, the company sits near a cyclical peak, or the balance sheet is strained. Before concluding it is cheap, check whether earnings are growing or falling and why the market is discounting the stock.
What is the PEG ratio and how do I use it?
The PEG ratio divides the P/E by the expected annual earnings growth rate (PEG = P/E รท growth). It adjusts the P/E for growth, so faster-growing companies can justify higher multiples. Roughly: under 1 suggests undervaluation relative to growth, 1โ€“2 is fair, and above 2 is rich. Use it cautiously โ€” it depends on the accuracy of the growth forecast.

Important Considerations

โš ๏ธ Educational Use Only: This calculator is for educational purposes and is not investment advice. Valuation ratios alone do not determine whether a stock is a good investment โ€” research the fundamentals, industry, and your own financial situation first.

When evaluating a stock, look beyond the P/E: review earnings growth and quality, margins, debt, free cash flow, and competitive position. A valuation multiple is a starting point for research, never a conclusion โ€” consider speaking with a qualified financial advisor before making investment decisions.