Price to Earnings (P/E) Ratio Calculator
Calculate a stock's Price-to-Earnings ratio from its price and EPS — or from net income and shares outstanding. Get trailing and forward P/E, earnings yield, a sector comparison, and the price needed for any target P/E, all free.
Add an analyst forward EPS estimate to also see the forward P/E ratio.
Target Analysis
Trailing P/E Ratio
25.00
x
P/E Spectrum
The market is paying up for stronger-than-average growth expectations or lower perceived risk.
Trailing vs. Forward P/E
Trailing P/E
25.00x
Forward P/E
22.22x
The market expects earnings to grow — the P/E ratio contracts by 2.78 points on forward estimates.
Earnings Yield
4.00%
The inverse of the P/E ratio (1 ÷ P/E × 100) — the percentage return on your investment if all earnings were paid out. Many investors compare this to bond yields to judge relative value.
vs. Technology (avg)
25.00x
This stock
28.0x
Sector avg
To trade at a P/E of 20.0x
Stock price must be ₹120.00
Currently ₹150.00 · needs to fall by ₹30.00 (20.0%)
P/E Ratio at Different EPS Outcomes
Earnings can beat or miss estimates. This table shows how the P/E ratio shifts if actual EPS comes in higher or lower than what you entered, at today's stock price.
| Scenario | EPS | P/E Ratio | Rating |
|---|---|---|---|
| EPS -20% | ₹4.80 | 31.25x | High P/E |
| EPS -10% | ₹5.40 | 27.78x | Above Average / Growth Premium |
| Your estimate | ₹6.00 | 25.00x | Above Average / Growth Premium |
| EPS +10% | ₹6.60 | 22.73x | Above Average / Growth Premium |
| EPS +20% | ₹7.20 | 20.83x | Above Average / Growth Premium |
Average P/E Ratio by Sector (Reference)
← Your selected sector · green line = your stock's P/E
P/E Ratio Quality Guide
Can be a genuine bargain — or the market pricing in falling earnings. Check why it's this low before assuming it's cheap.
Trades at a discount to the broad market. Common for mature, slower-growing, or out-of-favor businesses.
Roughly in line with long-run averages for large, established companies. Neither cheap nor expensive.
The market is paying up for stronger-than-average growth expectations or lower perceived risk.
A meaningful premium. Usually only justified by fast, dependable earnings growth or a dominant market position.
Priced for exceptional future growth. A lot has to go right for the price to be justified — verify the growth story closely.
Price to Earnings (P/E) Ratio Calculator — The Free Tool Every Stock Investor Starts With
Before an investor looks at anything else — growth rates, dividends, debt levels — the P/E ratio is usually the first number they check. It's the quickest way to answer a simple question: how much am I paying for $1 of this company's profit? Our free Price to Earnings Ratio Calculator gives you that answer in seconds, along with the extra context that raw P/E numbers on their own don't provide.
Enter a stock's price and its earnings per share, or let the calculator work out EPS from net income and shares outstanding. Add an optional forward EPS estimate to see both the trailing and forward P/E side by side, compare the result against typical sector averages, and check the earnings yield — the flip side of the P/E ratio that tells you your percentage return if every dollar of profit were paid straight to you.
What Is the P/E Ratio? A Simple Definition
The Price-to-Earnings ratio, usually written as P/E ratio, measures how much investors are willing to pay for each dollar of a company's earnings. It is one of the oldest and most widely used numbers in all of investing, and it shows up on almost every stock quote page you'll ever look at.
The formula is straightforward: P/E Ratio = Stock Price ÷ Earnings Per Share (EPS)
For example, if a stock trades at $150 per share and earned $6.00 per share over the last twelve months, the P/E ratio is $150 ÷ $6.00 = 25. That means investors are currently paying $25 for every $1 of the company's annual profit.
A higher P/E generally means the market expects strong future growth, or is willing to pay more for the safety and quality of the business. A lower P/E can mean the stock is cheap relative to its earnings, or it can mean the market expects earnings to decline. The number alone doesn't tell you which — that's why context, like sector comparisons and growth expectations, matters so much.
How to Use This P/E Ratio Calculator — Step by Step
Step 1 — Enter the current stock price. Use the live price from your brokerage app, or a finance site like Yahoo Finance or Google Finance. The built-in stock lookup on this page can pull the current price in automatically for supported tickers.
Step 2 — Choose how you want to provide earnings. If you already know the company's earnings per share, select 'EPS Directly' and type it in. If you'd rather start from the raw financial statements, select 'Net Income & Shares Outstanding' and enter both figures — the calculator divides net income by shares outstanding to work out EPS automatically.
Step 3 — Optionally add a forward EPS estimate. This is the earnings analysts expect the company to generate over the next twelve months. Adding it lets the calculator show you a forward P/E ratio alongside the standard trailing P/E, so you can see whether the market expects earnings to rise or fall.
Step 4 — Set a target P/E and pick a sector for comparison. The target P/E feature works backwards: it tells you exactly what stock price would produce your chosen P/E ratio, given the company's current earnings. The sector comparison shows whether the stock's P/E is running above or below what's typical for its industry.
Step 5 — Review the earnings yield. This is simply the P/E ratio flipped upside down and expressed as a percentage. It's a useful way to think about a stock's return potential in the same terms you'd use for a bond or savings account yield.
Step 6 — Check the EPS sensitivity table. Earnings estimates are never guaranteed to be exactly right. This table shows how the P/E ratio would look if actual earnings come in higher or lower than the figure you entered, so you can see how sensitive the valuation picture is to the earnings number.
What Is a Good P/E Ratio? A Complete Guide
This is one of the most frequently searched questions about stock valuation, and like most valuation questions, the honest answer depends on the industry, the company's growth rate, and current market conditions. That said, here's a widely used general framework:
Below 10 — Low P/E (Value or Distressed): A P/E this low can mean a genuinely undervalued stock that the market has overlooked. It can also mean the market expects earnings to fall sharply, so it's worth checking the reason behind the low price before assuming it's automatically a bargain.
10 to 15 — Below Average: Common among mature, steady businesses, out-of-favor sectors, or companies going through a temporary rough patch. These stocks often trade at a discount to the broader market.
15 to 20 — Market Average: This range has historically been close to the long-run average P/E for major stock market indexes. A company trading here is usually seen as fairly priced relative to the overall market.
20 to 30 — Above Average / Growth Premium: The market is paying extra, usually because it expects earnings to grow faster than average, or because it sees the business as lower-risk and higher-quality than most.
30 to 40 — High P/E: A significant premium that needs strong, consistent earnings growth to justify. Many well-known growth companies trade in this range during periods of rapid expansion.
Above 40 — Very High P/E (Speculative): The stock is priced for exceptional performance. This range can apply to fast-growing young companies with huge future potential, but it also carries the most risk if growth disappoints even slightly.
Trailing P/E vs. Forward P/E: What's the Difference?
You'll often see two different P/E numbers quoted for the same stock, and understanding the difference matters.
Trailing P/E uses the company's actual earnings over the past twelve months. It's based on real, reported results, so it's backward-looking but reliable — the numbers have already happened and can't be revised by overly optimistic guesswork.
Forward P/E uses analysts' earnings estimates for the next twelve months instead of historical results. It's forward-looking, which makes it more useful for judging how the market currently expects the company to perform, but it depends entirely on those estimates turning out to be accurate.
When the forward P/E is lower than the trailing P/E, it usually means the market expects earnings to grow — you're paying less for future earnings than you are for past earnings. When the forward P/E is higher than the trailing P/E, it can mean the market expects earnings to shrink, which is worth investigating further. This calculator shows both figures side by side whenever you provide a forward EPS estimate, along with a plain-language note on which direction the P/E ratio is expected to move.
Earnings Yield: The P/E Ratio Turned Upside Down
Earnings yield is simply the P/E ratio flipped over and expressed as a percentage: Earnings Yield (%) = (1 ÷ P/E Ratio) × 100.
A stock trading at a P/E of 20 has an earnings yield of 5%. A stock trading at a P/E of 40 has an earnings yield of just 2.5%. Thinking about a stock this way makes it easier to compare against other types of investments, since bond yields, savings account rates, and rental property yields are all typically expressed as percentages too.
Earnings yield isn't a cash payment you actually receive — it represents the company's total profit relative to its price, whether or not that profit is paid out as dividends or reinvested into the business. Still, it's a handy mental shortcut for judging whether a stock's price looks rich or reasonable compared to other places you could put your money.
P/E Ratio by Sector: Why Comparing Apples to Apples Matters
One of the biggest mistakes new investors make is comparing the P/E ratios of companies in completely different industries. A P/E of 25 might be expensive for a bank but cheap for a fast-growing software company. Our calculator includes a built-in sector comparison covering eight major categories:
- Technology: Higher average P/E — the market pays a premium for growth and innovation.
- Consumer Staples: Moderate, stable P/E — steady, predictable earnings from everyday products.
- Healthcare: Moderate-to-high P/E — a mix of steady cash-generating businesses and high-growth biotech names.
- Utilities: Lower P/E — slow, regulated growth with bond-like, predictable earnings.
- Real Estate / REITs: Moderate P/E — income-focused businesses valued partly on cash flow, not just earnings.
- Energy: Typically lower P/E — cyclical earnings tied closely to commodity prices.
- Financials: Lower-to-moderate P/E — banks and insurers usually trade at a discount to the broader market.
- Materials: Lower-to-moderate P/E — cyclical businesses sensitive to economic and commodity cycles.
P/E Ratio vs. PEG Ratio: When P/E Alone Isn't Enough
The P/E ratio tells you how much you're paying for a dollar of current earnings, but it says nothing about how fast those earnings are growing. Two stocks can share the exact same P/E ratio and still represent very different values, depending on their growth outlook.
This is where the PEG ratio comes in — it divides the P/E ratio by the expected earnings growth rate, adjusting the valuation for growth. A stock with a high P/E but even higher growth can actually have a low, attractive PEG ratio, while a stock with a low P/E but stagnant growth can have a high, unattractive PEG ratio. If you're evaluating a growth stock, it's worth running the numbers through our PEG Ratio Calculator as a next step after this one.
Common Mistakes When Using the P/E Ratio
Comparing across sectors without adjusting for norms. As covered above, a P/E that looks high in one industry can be completely normal in another.
Ignoring negative or near-zero earnings. When a company has negative earnings, the P/E ratio becomes meaningless or produces a misleading negative number. In these cases, other valuation tools like price-to-sales or price-to-book are more useful.
Treating a low P/E as automatically cheap. A falling stock price combined with flat earnings will always produce a falling P/E — but that doesn't necessarily mean the stock is a bargain. Always check whether the low P/E reflects genuine value or a business in decline.
Ignoring one-time items in earnings. Earnings can be temporarily boosted or reduced by one-off events like asset sales, legal settlements, or restructuring charges. A P/E ratio calculated on a distorted earnings figure can be misleading until the effect of these one-time items is understood.
Using only trailing earnings for fast-changing companies. For companies whose earnings are growing or shrinking quickly, the trailing P/E can lag well behind reality. Pairing it with a forward P/E, as this calculator allows, gives a more complete picture.
A Real-World Example: Reading the P/E Ratio in Context
Suppose a company trades at $80 per share and reported $4.00 in earnings per share over the last year. Its trailing P/E ratio is $80 ÷ $4.00 = 20. On its own, that number is just a fact. But now add context: analysts expect EPS to rise to $5.00 next year, giving a forward P/E of $80 ÷ $5.00 = 16.
That drop from a trailing P/E of 20 to a forward P/E of 16 tells a much more useful story — the market is effectively paying a lower multiple on next year's expected earnings, which usually signals confidence in near-term growth. Compare that same 20x trailing P/E to the sector average, and you get a third layer of context: is 20x expensive, cheap, or normal for this type of business? That's exactly the layered view this calculator is built to give you in one place.
Conclusion: The P/E Ratio Is a Starting Point, Not a Final Answer
The P/E ratio remains one of the fastest and most widely understood ways to size up a stock's valuation. Use this calculator to instantly work out the trailing and forward P/E, see the earnings yield in plain percentage terms, compare the stock against its sector, and find the exact price that would match any target P/E you're aiming for.
For a fuller picture, pair this tool with our PEG Ratio Calculator to factor in growth, our Dividend Yield Calculator if the stock pays income, and our DuPont Analysis Calculator to understand the quality of the earnings behind the number. Together, these tools help you move from a single ratio to a well-rounded view of what you're actually paying for.
Frequently Asked Questions
What is the P/E ratio and how do you calculate it?
The Price-to-Earnings (P/E) ratio measures how much investors are paying for each dollar of a company's earnings. Formula: P/E Ratio = Stock Price ÷ Earnings Per Share. For example, a $150 stock with $6.00 in annual EPS has a P/E ratio of 25.
What is considered a good P/E ratio?
A P/E between 15 and 20 is often considered close to the long-run market average and roughly fairly valued. Below 10 can signal a bargain or a business the market expects to decline. Above 30 usually reflects strong growth expectations. What counts as 'good' varies a lot by sector, so always compare against similar companies.
What is the difference between trailing and forward P/E?
Trailing P/E uses a company's actual earnings from the past 12 months. Forward P/E uses analysts' earnings estimates for the next 12 months. A forward P/E lower than the trailing P/E usually signals the market expects earnings to grow, while a higher forward P/E can signal expected earnings decline.
Can the P/E ratio be negative?
Yes, if a company has negative earnings (a net loss), its P/E ratio becomes negative or is often reported as 'N/A' since a negative P/E has no meaningful valuation interpretation. In this situation, other metrics like price-to-sales or price-to-book ratio are more useful for valuation.
How is earnings yield different from the P/E ratio?
Earnings yield is simply the P/E ratio inverted and shown as a percentage: (1 ÷ P/E Ratio) × 100. A P/E of 20 equals an earnings yield of 5%. It's a useful way to compare a stock's earnings power to other percentage-based returns, like bond yields.
Why do P/E ratios vary so much between industries?
Different industries have different growth rates, risk levels, and capital needs. Fast-growing technology companies often command higher P/E ratios because investors expect rapid earnings growth, while slower-growing, capital-intensive sectors like utilities and financials typically trade at lower P/E ratios. Always compare a stock's P/E to its own sector rather than the market as a whole.
Is a low P/E ratio always a good buying opportunity?
Not necessarily. A low P/E can reflect genuine undervaluation, but it can also mean the market expects the company's earnings to decline, or that the business faces serious risks. Always research why a P/E ratio is low before assuming it automatically signals a bargain.
How do I calculate EPS if I only have net income and share count?
Divide net income by the number of shares outstanding: EPS = Net Income ÷ Shares Outstanding. This calculator does that step automatically when you select the 'Net Income & Shares Outstanding' input mode, then uses the result to work out the P/E ratio.