
P/E Ratio Calculator
Use our P/E Ratio Calculator to check if a stock is undervalued, fairly priced, or overvalued. A simple tool for smarter stock valuation decisions.
Undervalued
P/E Ratio
14.68x
What is a P/E Ratio Calculator?
A P/E Ratio Calculator is a free online tool that helps investors calculate the Price-to-Earnings ratio of any stock by simply entering the current market price of the share and its Earnings Per Share (EPS). The result tells you how much the market is willing to pay for every rupee or unit of the company's earnings, making it one of the fastest ways to gauge whether a stock is overvalued, undervalued, or fairly priced.
This calculator is useful for retail investors, fundamental analysts, and anyone who wants to compare stocks before making an investment decision. Whether you are evaluating an individual stock on the NSE or BSE, or comparing two companies in the same sector, the P/E Ratio Calculator gives you a clear, objective valuation starting point. For deeper stock analysis, you may also want to use the Dhanarthi PEG Ratio Calculator and the Dhanarthi Price-to-Book Ratio Calculator alongside this tool.
How Does the P/E Ratio Calculator Work?
The P/E Ratio Calculator works by taking two inputs from you: the current market price (CMP) of a stock and the Earnings Per Share (EPS) of the company. It then divides the market price by the EPS to give you the P/E multiple.
The EPS you enter can be based on the trailing twelve months (TTM) of actual reported earnings, or on forward estimated earnings for the coming year. The calculator handles both cases. When you use trailing EPS, the result is called the Trailing P/E, which reflects how the stock is valued based on what the company has already earned. When you use estimated future EPS, the result is called the Forward P/E, which reflects investor expectations about future earnings growth.
Once you get the P/E multiple, you can compare it to the average P/E of the sector the company belongs to, the historical P/E range of the same company, and the broader market benchmark such as the Nifty 50 or Sensex P/E to decide whether the current price represents good value.
P/E Ratio Formula
The P/E Ratio formula is one of the simplest in fundamental analysis:
P/E Ratio = Market Price Per Share / Earnings Per Share (EPS)
Where:
- Market Price Per Share (P): The current trading price of one share of the company on the stock exchange (NSE or BSE).
- Earnings Per Share (EPS): The net profit of the company divided by the total number of outstanding shares. It represents how much profit the company generates per share.
EPS = Net Profit After Tax / Total Number of Outstanding Shares
So the full expanded formula is:
P/E Ratio = Market Price Per Share / (Net Profit After Tax / Total Outstanding Shares)
The resulting P/E number is expressed as a multiple, such as 20x or 35x. A P/E of 20x means investors are willing to pay Rs. 20 for every Rs. 1 of the company's annual earnings.
Example Calculation
Let us walk through two practical examples to show how the P/E Ratio Calculator works in real-world stock analysis.
Example 1 - Trailing P/E:
- Company: ABC Ltd.
- Current Market Price (CMP): Rs. 500 per share
- Trailing EPS (last 12 months): Rs. 25 per share
P/E Ratio = 500 / 25 = 20x
This means investors are currently paying Rs. 20 for every Rs. 1 of ABC Ltd.'s reported earnings. If the sector average P/E is 18x, the stock is trading at a slight premium to its peers, suggesting the market expects slightly better growth from this company than its competitors.
Example 2 - Forward P/E:
- Company: XYZ Ltd.
- Current Market Price (CMP): Rs. 900 per share
- Estimated EPS for the next 12 months: Rs. 60 per share
Forward P/E = 900 / 60 = 15x
Even though XYZ Ltd. has a higher share price than ABC Ltd., its forward P/E of 15x is lower than ABC Ltd.'s trailing P/E of 20x. This suggests XYZ Ltd. may be cheaper relative to its expected future earnings growth, making it potentially more attractive from a valuation standpoint at the current price.
How to Use Dhanarthi's P/E Ratio Calculator?
- Step 1: Enter the current market price (CMP) of the stock. You can get this from any stock market portal, your broker's trading platform, or the NSE and BSE websites. Make sure you use the live or most recent closing price.
- Step 2: Enter the Earnings Per Share (EPS) of the company. For trailing P/E, use the EPS from the company's most recent annual report or the last four quarterly earnings combined (TTM EPS). For forward P/E, use the estimated EPS projected by analysts for the upcoming financial year.
- Step 3: Select whether you want to calculate the Trailing P/E or Forward P/E, if the option is available on the calculator.
- Step 4: Click the Calculate button. The result displays your P/E multiple instantly.
- Step 5: Interpret the result by comparing it to the sector average P/E, the company's historical P/E range, and the Nifty 50 P/E (which has historically ranged between 10x and 30x, with an average of around 20x over the last two decades).
- Step 6: Use the P/E in combination with other ratios like the Dhanarthi PEG Ratio Calculator to account for the company's growth rate, giving you a more complete picture before making any investment decision.
Benefits of Using This Calculator
- Instant Valuation Signal: The P/E Ratio Calculator gives you an immediate, objective sense of how expensive or cheap a stock is relative to its earnings. No complex financial modelling or spreadsheet required.
- Enables Sector-Wide Comparisons: By calculating the P/E of multiple companies in the same sector and comparing them side by side, you can quickly identify which stocks offer better value within the same industry, even if their absolute share prices vary widely.
- Helps Identify Overvalued and Undervalued Stocks: A stock trading at a significantly higher P/E than its peers or its own historical average may be overvalued. Conversely, a stock with a much lower P/E compared to the sector average and strong fundamentals could be an undervalued opportunity worth investigating further.
- Supports Both Value and Growth Investing: Value investors use trailing P/E to find stocks priced cheaply relative to current earnings. Growth investors use forward P/E to identify companies where future earnings justify a higher current price. The Dhanarthi P/E Ratio Calculator handles both approaches.
- Free, Fast, and Beginner-Friendly: No financial jargon or prior expertise is needed. If you know a stock's price and EPS, you can calculate its P/E in seconds using this calculator, making it accessible to first-time investors as well as seasoned market participants.
Who Should Use This P/E Ratio Calculator?
- Retail Investors and Stock Market Beginners: The P/E ratio is the most widely taught valuation metric in investing. Beginners learning fundamental analysis will find the Dhanarthi P/E Ratio Calculator a practical, hands-on tool for applying the concept directly to real stocks.
- Long-Term Value Investors: Investors following a value investing approach look for stocks trading at low P/E ratios with strong underlying fundamentals. This calculator helps them quickly screen and shortlist potential value picks across sectors.
- Growth Stock Investors: Growth investors often accept higher P/E ratios in exchange for faster earnings expansion. The forward P/E calculation helps them assess whether the expected growth justifies the current premium valuation of a high-growth company.
- Analysts and Finance Students: Finance students and equity research trainees can use this calculator to understand P/E mechanics in practice, validate their manual calculations, and practise interpreting P/E multiples in the context of sector comparisons.
- Anyone Evaluating a New IPO or NFO: When a company launches an IPO, understanding its P/E relative to listed peers is critical to assessing whether the issue price is fair. The P/E Ratio Calculator lets you do this comparison instantly without needing a Bloomberg terminal or advanced software.
Where Can You Use This P/E Ratio Calculator?
- Before Buying or Selling Any Stock: Before placing a buy or sell order, check the current P/E of the stock. If it is significantly above the sector average with no clear earnings growth catalyst, it may be prudent to wait for a better entry price.
- During Quarterly Earnings Season: Every quarter, companies report their latest EPS figures. Use the updated EPS with the current market price in the P/E Calculator to see how valuations have shifted after the earnings announcement.
- When Comparing Stocks Within the Same Sector: Use the calculator to compute P/E for five or six companies in the same industry and rank them from cheapest to most expensive on a P/E basis. Combine this with the Dhanarthi Price-to-Sales Ratio Calculator for a more comprehensive peer comparison.
- When Reviewing Your Existing Portfolio: Regularly calculating the P/E of stocks you already hold helps you monitor whether they are becoming increasingly expensive relative to their earnings, signalling a potential time to book profits or rebalance.
- Before Consulting a Stock Broker or Financial Advisor: Arriving at a meeting with your broker after having already calculated the P/E of stocks under discussion saves time and helps you ask sharper, more specific questions about valuation and growth outlook.
Types of P/E Ratios
- Trailing P/E (TTM P/E): This is the most commonly used form. It is calculated using the actual earnings per share from the past twelve months (Trailing Twelve Months or TTM). Since it is based on real, reported numbers, it is considered more reliable and objective. However, it looks backward and may not reflect recent changes in the company's earnings trajectory.
- Forward P/E (Estimated P/E): This uses projected or estimated EPS for the next twelve months, based on analyst forecasts or management guidance. The Forward P/E is particularly useful for evaluating high-growth companies where future earnings are expected to be significantly higher than current earnings. The limitation is that estimates can be wrong, making the forward P/E less certain than the trailing P/E.
- Absolute P/E: This simply refers to the standard P/E ratio calculated at a point in time, whether trailing or forward. It is the raw number most often cited in financial news and stock screeners.
- Relative P/E: The relative P/E compares the current P/E of a stock to its own historical P/E range, or to a benchmark index like the Nifty 50. For example, if a stock has historically traded between 15x and 25x and is currently at 28x, the relative P/E signals that it is at the expensive end of its historical range, regardless of what the absolute number means in isolation.
- CAPE Ratio (Cyclically Adjusted P/E or Shiller P/E): This variant uses inflation-adjusted earnings averaged over the past ten years to smooth out business cycle fluctuations. It is more commonly used for evaluating entire markets or indices rather than individual stocks and helps identify long-term market over or undervaluation.
P/E Ratio vs PEG Ratio: Which Is Better?
The P/E ratio and the PEG (Price-to-Earnings-to-Growth) ratio are closely related, but the PEG ratio adds an important dimension that the basic P/E misses: earnings growth.
A P/E ratio in isolation does not tell you whether a high multiple is justified by strong future earnings growth or simply reflects overpricing. Two companies can both have a P/E of 30x, but one might be growing earnings at 30% per year while the other is growing at only 5% per year. In this case, the 30x P/E of the fast-growing company is far more reasonable than the same multiple on the slow-growing company.
The PEG ratio addresses this limitation by dividing the P/E ratio by the annual earnings growth rate. A PEG ratio below 1 is generally considered to indicate a potentially undervalued growth stock, while a PEG above 2 suggests a stock may be overvalued even if the underlying business is growing.
As a general rule, use the P/E ratio first as a quick valuation screen and then apply the Dhanarthi PEG Ratio Calculator for a more growth-adjusted valuation of the same stock. Together, these two ratios give you a significantly more complete picture than either one alone.
Common Mistakes to Avoid
- Comparing P/E Ratios Across Different Sectors: A P/E of 12x in the banking sector and a P/E of 12x in the technology sector mean very different things. Banking stocks typically trade at lower P/E multiples because of the nature of their business and growth prospects. Technology stocks often command higher P/E multiples due to higher expected growth rates. Always compare a stock's P/E to others in the same sector, not across unrelated industries.
- Ignoring the Quality of Earnings: A company can report high EPS artificially by using aggressive accounting methods, selling non-core assets, or benefiting from one-time gains. If the EPS used in your P/E calculation is inflated by such non-recurring items, the resulting P/E will appear lower (cheaper) than it actually is. Always check whether the EPS is based on clean, recurring operating earnings.
- Using P/E for Loss-Making Companies: The P/E ratio is mathematically meaningless when a company has negative earnings (net losses). Dividing the share price by a negative EPS produces a negative P/E, which cannot be used for any valuation comparison. For loss-making companies, use alternative metrics like Price-to-Sales or EV/Revenue instead.
- Treating a Low P/E as Automatically Cheap: A very low P/E can signal undervaluation, but it can also signal a value trap: a company whose earnings are about to decline sharply, making the current P/E look misleadingly low. Always investigate why a stock has a low P/E before assuming it is a bargain.
- Ignoring the Growth Rate: As discussed above, a high P/E is not necessarily bad if the company's earnings are growing rapidly. Always read the P/E alongside earnings growth, and use the PEG ratio to get a growth-adjusted valuation.
Tips to Use P/E Ratio Effectively in Stock Research
- Always Benchmark Against the Sector, Not the Market: Find the sector average P/E for the industry the company operates in and compare your calculated P/E to that benchmark, not just the broad market average. This removes the distortion caused by comparing growth-oriented sectors with cyclical or value sectors.
- Use Both Trailing and Forward P/E Together: If a company's trailing P/E is 35x but its forward P/E is 20x, it suggests that earnings are expected to grow significantly in the coming year, making the current price potentially reasonable. If both trailing and forward P/E are high, the stock may genuinely be expensive regardless of growth expectations.
- Track Historical P/E Ranges: Most financial data platforms display a company's five-year or ten-year historical P/E range. If the current P/E is near the top of the historical range without any clear reason for a structural improvement in earnings quality, it may be a signal to be cautious.
- Combine P/E With Other Valuation Ratios: For comprehensive stock analysis, pair the P/E ratio with the Dhanarthi Price-to-Book Ratio Calculator, the Dhanarthi Dividend Yield Calculator, and the Dhanarthi ROI Calculator to build a multi-dimensional view of a stock's attractiveness before committing capital.
- Recalculate After Every Earnings Report: A company's EPS changes every quarter. Make it a habit to recalculate the P/E using the latest reported or estimated EPS after each earnings announcement to ensure your valuation view is based on current data, not outdated numbers.
1. What is a P/E Ratio Calculator?
P/E Ratio Calculator is a free online tool that computes the Price-to-Earnings ratio of a stock by dividing the current market price per share by the Earnings Per Share (EPS). It helps investors instantly assess whether a stock is overvalued, undervalued, or fairly priced relative to its earnings and sector peers.
2. Is the Dhanarthi P/E Ratio Calculator accurate?
Yes. The Dhanarthi P/E Ratio Calculator uses the standard P/E formula (Market Price / EPS) which is universally accepted in fundamental analysis. The accuracy of the output depends entirely on the inputs you provide. If you enter the correct live market price and the latest reported or estimated EPS, the resulting P/E will be accurate. Make sure to use cleaned, recurring EPS figures for the most reliable result.
3. How do I use this calculator?
Enter the current market price of the stock and its Earnings Per Share (EPS) into the respective fields and click Calculate. The calculator will instantly display the P/E ratio. Compare the result to the sector average and the company's historical P/E range to draw meaningful conclusions about the stock's valuation.
4. What is the minimum or maximum value a P/E ratio can have?
There is no hard upper or lower limit on a P/E ratio. The lowest meaningful P/E approaches zero (very cheap relative to earnings), while the highest P/E can be extraordinarily large when a company has very small earnings relative to its market price. A negative P/E is produced when a company reports a net loss, and this number is not interpretable for valuation purposes. In the Indian market, the Nifty 50 has historically traded between a P/E of around 10x to 35x, with a long-term average of approximately 20x.
5. What is a good P/E ratio for Indian stocks?
There is no universal good P/E ratio because it depends heavily on the sector, the company's growth rate, and prevailing market conditions. As a general reference, a P/E between 15x and 25x has historically been considered a reasonable range for large-cap Indian stocks based on the Nifty 50's long-term average P/E of around 20x. High-growth sectors like technology and consumer goods often command P/E ratios well above 30x, while banking, metals, and infrastructure stocks may trade at P/E ratios of 8x to 15x.
6. What is the difference between trailing P/E and forward P/E?
Trailing P/E uses actual reported EPS from the past twelve months and is based on known, historical data. Forward P/E uses estimated EPS for the next twelve months based on analyst projections or management guidance. Trailing P/E is more reliable because it uses actual numbers, while forward P/E is more forward-looking and useful for evaluating growth companies but carries the risk of estimation error.
7. Can I use the P/E ratio to compare stocks from different sectors?
Cross-sector P/E comparison should be done with caution. Different industries have structurally different valuation norms. A technology company may trade at 40x P/E while a utility company trades at 12x, without the utility necessarily being cheap or the tech company being expensive in their respective contexts. Always compare P/E ratios within the same sector or industry for meaningful conclusions.
8. What does it mean if a stock has a very high P/E ratio?
A very high P/E ratio means investors are paying a significant premium over the company's current earnings. This can mean two things: either the market expects earnings to grow very rapidly in the future (justifying the premium), or the stock is genuinely overvalued and the price may correct downward as earnings catch up. High P/E stocks are also typically more sensitive to negative news or earnings disappointments, which can cause sharp price declines. Assess the growth rate using the Dhanarthi PEG Ratio Calculator to determine whether the high P/E is justified.
9. What does a negative P/E ratio mean?
negative P/E ratio occurs when a company reports a net loss (negative EPS). Since dividing a positive share price by a negative EPS produces a negative number, the result has no meaningful valuation interpretation. Negative P/E stocks cannot be evaluated using this metric. For such companies, look at other metrics like Price-to-Sales, EV/Revenue, or the Dhanarthi EBITDA Calculator to understand the business better.
10. How is P/E ratio different from P/B ratio?
The P/E ratio compares the stock price to the company's earnings (profitability), while the Price-to-Book (P/B) ratio compares the stock price to the company's book value (net assets). P/E is more useful for profitable companies with steady earnings, while P/B is often used for asset-heavy sectors like banking, insurance, and real estate where book value is a more meaningful measure of underlying worth. Using both together gives a more balanced view of valuation. You can calculate P/B using the Dhanarthi Price-to-Book Ratio Calculator.
