Fairvalue-Calculator
Free financial calculator

P/E Ratio Calculator

How many years of earnings does the share price cost?

Inputs

Share price

Also called: Stock price, market price

Where to find it: Any finance site (Google/Yahoo Finance) — the current trading price per share.

How to derive: Set by the market; just enter the current price per share.

Earnings per share (EPS)

Also called: EPS, net income per share

Where to find it: Bottom of the income statement, or the key-stats box on finance portals.

How to derive: Net income ÷ shares outstanding.

Result — live

P/E
Earnings yield

P/E only means something in industry & growth context — combine with PEG.

Too many numbers to type by hand?
Our calculator runs up to 26 models on real filings — for 12,000+ stocks worldwide.
Search a stock & see its fair value →

Price to Earnings P/E Calculator

Valuation Multiplescompany vs. peer groupP/EEV/EBITDACompanyP/B

P/E Calculator: Price Earnings Ratio Calculator for Stocks.

Insert the Stock Price and the Earnings per Share (earnings divided by shares outstanding). Alternatively divide the market capitalization by total earnings.

They can be found via a Google search, in the annual report on the company’s website under “Investors Relations” or on relevant stock portals.

In our , a large number of different evaluation models are used and the required data is loaded automatically.

 

Formula Price to Earnings P/E Calculator:

P/E equals the price per share divided by earnings per share. You can reach the same result by dividing market capitalization by net income, with EPS defined as net income over shares outstanding. The logic is straightforward: higher prices or lower earnings push the multiple up, and the inverse pulls it down.

Type the current stock price, add EPS—either trailing twelve months or a forward estimate—and hit calculate. The tool instantly returns the multiple and keeps the inputs visible so you can test scenarios, compare versions of EPS, and sanity-check valuation against peers.

P/E Ratio = Stock Price / Earnings per Share 

 

P/E Ratio = Market Capitalization / Company’s Earnings

Example P/E Calculator:

Let’s look at the P/E of Walmart Inc. which is one of the largest chain of supermarkets in the world alongside its peers Costco Wholesale and Target Corp as well as the industry average. 

As you can see the P/E of Target Corp. is half of industry average as well as its peers. It is undervalued when compared to its peers because you only pay 18.27$ per dollar of profit as compared to the average 36,24$. The higher the earnings and the lower the price the lower the P/E, which is good. Now let us look at the performance after one year:

Target Corp. generated a massive 92% return. It has experienced a sharp increase in share price which was followed by an increase in earnings as well. Walmart and Costco on the other hand have not done quite as well. There is a lot of potential for further increase in the price of Target Corp. as even if its earnings remain the same, for its P/E reach fair value, its share price will have to nearly double again from this point. 

What you should be looking for:

P/E ratio in its absolute is no indicator of undervaluation or overvaluation. A company with a P/E of 10 can be overvalued and one with a P/E of 50 can be undervalued. It all depends on its valuation relative to its competitors and within the industry. A good P/E ratio will be one which will be much less than its competitors and the industry average, but not too less. A P/E ratio upto half or at the most 60% lesser than industry average is a good enough ratio. P/E ratio less than that is something that requires further examination. For e.g. a company with a P/E ratio of 10 when the industry average is 50 cannot be taken as undervalued on face value. There must be some problems inherent in its financials or operations for it to trade at a P/E as low as that. Also P/E ratio as a standalone valuation metric is not enough. It has its advantages and disadvantages. A couple of drawbacks of P/E ratio are as follows:
What about growth?
Young companies experiencing a high growth rate will tend to be overvalued by traditional P/E ratio. For e.g. a company with a share price of € 100 and an EPS of € 5 will have a P/E of 20 which when compared to an industry average P/E of 15 will be overvalued. However the company is experiencing a high growth rate of up to 100% annual growth in profits. By next year, it will have an EPS of € 10 reducing its P/E to 10 and considering the share price to be the same presenting the company as undervalued.

P/E ratios of cyclical businesses do not reflect the cyclical nature of certain businesses like commodities. A metal company will have a low P/E at the top of the metal pricing cycle which might come across as undervalued but is actually overvalued as the downward segment of the cycle will reduce earnings thus sharply increasing the P/E. Thus P/E becomes an unreliable metric when evaluating cyclical stocks Other minor drawbacks include backward looking measure, no integration of negative earnings etc.

Conclusion P/E Caluclator:

The P/E Calculator is a nice tool to calculate and to understand a valuation metric that can help sift through companies and shortlist undervalued companies. However it is not a standalone metric to decide valuation. One must look at other metrics like Price to Book value and Price to sales as well alongside other metrics.

We have over 12 such key financial ratio calculators on our website, all available for free. Calculate the key ratios and build a consensus through them to determine whether a company is truly undervalued or overvalued.

The P/E Calculator is a pretty nifty tool to shorten a wide list of stocks immediately. By going through the sector list, look at the undervalued sectors and then simply filter out those that have a P/E higher than average. Once the undervalued company list is ready, use other key ratios to build a consensus (For e.g. 7 out of 10 key ratios indicate undervaluation which is a pretty good sign) and drill down on various fundamental aspects of the businesses to make an informed investment decision.

P/E Calculator — FAQs

Quick answers about the Price-to-Earnings ratio and how to use this calculator effectively.

What is the P/E ratio formula?
The formula is P/E = Price per Share ÷ Earnings per Share (EPS). Equivalently: P/E = Market Capitalization ÷ Net Income, with EPS = Net Income ÷ Shares Outstanding.
What is a good P/E ratio?
There’s no universal “good” P/E. Compare with the company’s sector, its own history, and expected growth. Lower P/E may signal value—or risk. Higher P/E often reflects growth expectations.
Trailing vs. Forward P/E — which should I use?
Trailing P/E uses the last 12 months of reported EPS (more objective). Forward P/E uses next-12-month EPS estimates (expectations, more uncertain). Check both to understand valuation vs. outlook.
What if EPS is negative?
P/E isn’t meaningful with negative EPS. Use alternatives like EV/EBITDA or revenue-based metrics instead.
Basic vs. diluted EPS?
Prefer diluted EPS for consistency because it accounts for potential share dilution (options, convertibles). Keep the same definition when comparing across time.
Why does my P/E differ from portals?
Differences usually come from using different EPS snapshots (quarterly vs. TTM vs. forward), currency conversions, or diluted vs. basic EPS. Align the inputs to match.
When should I use other valuation metrics?
P/E ignores capital structure. Combine it with PEG Ratio, EV/EBITDA or Earnings Yield (E/P) for a fuller picture.