Price To Earnings Ratio Calculator
Calculate the P E ratio from share price and earnings per share, and use it to compare valuation across companies and time periods.
Price To Earnings Ratio Calculator
Result will appear here...
How many years of profit are you paying for?
A share price on its own tells you nothing. Two hundred is not expensive and it is not cheap. It is a number attached to a piece of a business, and until you know what that business earns, it means as little as being told a house costs a certain amount without being told anything about the house.
The price to earnings ratio supplies the missing half.
P/E ratio = Share price / Earnings per share
And there is a reading of it that makes the number feel concrete straight away. A P/E of 25 means you are paying twenty five times what the company earns per share in a year. If earnings never changed and every rupee were handed to you, it would take twenty five years to get your money back.
Nobody thinks earnings will stay flat for twenty five years, which is exactly why P/E ratios differ so much between companies. A high one is the market saying it expects earnings to grow. A low one is the market saying it does not, or that it does not trust the earnings.
Two boxes, and the answer comes back to two decimal places. The interesting part is what goes in the second box.
Twenty five times eight
A company earns 8,000,000 after tax and has 1,000,000 shares outstanding, so earnings per share are 8.00. The shares trade at 200.
200 divided by 8 is 25.
So the market is paying twenty five times earnings. Put another way, buying the whole company at that price would cost 200,000,000 for a business producing 8,000,000 a year.
Whether that is sensible depends entirely on what happens to the 8,000,000 next. If profits grow at 14 percent a year, the earnings you are buying double in about five years and the twenty five looks reasonable. If they stagnate, it does not.
Which is the honest summary of what a P/E is. It is not a measure of value. It is a measure of expectation.
Four different EPS figures, four different answers
Here is the thing that makes quoted P/E ratios so slippery, and it is almost never disclosed alongside the number.
There is no single earnings per share. There are at least four in common use, they are all published, they all appear in respectable places, and they give different ratios on the same unchanged share price.
| Which EPS | What it is | EPS | P/E at a price of 200 |
|---|---|---|---|
| Trailing basic | Last twelve months, actual, shares outstanding | 8.000 | 25.00 |
| Diluted | Same earnings, but counting options and convertibles as if exercised | 7.547 | 26.50 |
| Forward | Next twelve months, analyst estimates | 9.120 | 21.93 |
| Adjusted | Company's own figure, excluding items it considers unusual | 9.440 | 21.19 |
The same company at the same price, valued anywhere between 21.19 and 26.50 depending only on which earnings figure somebody picked. That is a spread of roughly a quarter, and none of the four is wrong.
What separates them:
Trailing versus forward. Trailing uses money the company actually earned. Forward uses money analysts think it will earn. Trailing is a fact and may be stale. Forward is relevant and may be optimistic. In a growing company forward P/E is always the lower of the two, which is precisely why company presentations tend to quote it.
Basic versus diluted. Basic divides by the shares that exist. Diluted divides by the shares that would exist if every option and convertible were exercised. Diluted always gives a smaller EPS and therefore a higher P/E, and for companies that pay staff heavily in stock the gap can be substantial. Diluted is the conservative figure and the one worth defaulting to.
Reported versus adjusted. This is the one to watch hardest. Adjusted earnings strip out whatever management considers non-recurring, and the definition of non-recurring turns out to be flexible. Restructuring charges that recur every year for a decade have been known to be adjusted away.
The regulator is alert to this. Under Regulation G and Item 10(e) of Regulation S-K, a company presenting an adjusted per-share figure must reconcile it to GAAP earnings per share and must present the comparable GAAP measure with equal or greater prominence. The Securities and Exchange Commission has brought enforcement action over exactly that, including a civil penalty against a company whose earnings release headlined non-GAAP figures without the comparable GAAP ones.
Which is useful to you as a reader rather than just as trivia. If a company shows you an adjusted EPS, the GAAP figure is required to be somewhere just as visible. Go and find it, and run this calculator on both.
This calculator does whatever you give it. So the discipline is entirely in the input, and the only rule that matters when comparing two companies is that both must be on the same basis.
Turn it upside down
Divide 1 by the P/E and you get the earnings yield, expressed as a percentage.
On our P/E of 25, that is 4.00 percent.
This is worth doing because it puts a share on the same scale as everything else you could buy. A government bond yields a certain percentage. A fixed deposit yields a percentage. An earnings yield of 4 percent says that at this price, the company's profits amount to 4 percent of what you paid, whether or not any of it reaches you as dividends.
Suddenly the comparison is possible. If a safe deposit pays 7 percent, a 4 percent earnings yield is only attractive if you expect those earnings to grow substantially, since you are accepting less today for the prospect of more later. If deposits pay 2 percent, the same 4 percent looks generous.
It also makes high P/E ratios feel less abstract. A P/E of 50 is an earnings yield of 2 percent. A P/E of 100 is 1 percent. Written that way, the size of the bet on future growth becomes rather clearer.
What a P/E can fairly be compared against
Three comparisons work and one very common one does not.
Against the same company's own history. The most reliable use. If a company has traded between 15 and 22 times earnings for a decade and now sits at 34, that is a question worth asking, and no external benchmark was needed to raise it.
Against direct competitors. Two banks, two cement makers, two supermarket chains. Similar economics, similar growth expectations, so a gap means something.
Against the market or sector average. Useful context, as long as you remember that averages are dragged around by a handful of very large companies.
Against a company in a different industry. This is the one that misleads. A utility on 12 times and a software business on 45 times are not cheap and expensive versions of the same thing. They have completely different growth profiles, capital needs and earnings stability. Comparing their P/E ratios tells you which industry the market expects to grow, which you already knew.
One refinement worth knowing. Dividing the P/E by the expected earnings growth rate gives the PEG ratio, which is a rough attempt to say whether a high multiple is justified by the growth behind it. A P/E of 25 on 14 percent growth gives a PEG of about 1.8. Below 1 is traditionally taken as cheap, though the rule is far softer than it is usually presented.
And a P/E should never be read alone. Our price to book calculator gives you the balance sheet view, and the two are connected by an exact relationship that the price to book page sets out.
Where the ratio stops working
P/E has a structural weakness and it is worth knowing rather than discovering.
The denominator can be zero or negative. A company making a loss has negative EPS, and a negative P/E is not a meaningful number. It is not cheap, it is not expensive, the ratio simply has nothing to say. That is why financial sites show a dash rather than a figure for loss making companies, and why this calculator will not produce one either.
Near zero is worse than negative, actually. A company that scrapes a tiny profit produces an enormous P/E that looks like wild overvaluation and is really just a small number in a denominator.
Two more situations where the number misleads without breaking. A one-off gain, an asset sale or a tax settlement inflates earnings for a single year and pushes the P/E down, making a company look cheap for reasons that will not repeat. And a cyclical business at the top of its cycle shows peak earnings and therefore a low P/E precisely when it is most expensive, which is the opposite of what the number appears to say.
For companies where earnings are unreliable or absent, the balance sheet measures tend to work better. Our price to book calculator does not depend on profitability at all.
Questions people ask
What is a good P/E ratio?
There is no universal figure. It depends on the industry, the growth rate and prevailing interest rates. The useful comparisons are against the company's own history and against direct competitors on the same EPS basis.
Should I use trailing or forward earnings?
Trailing for a fact, forward for a view. Trailing uses money already earned. Forward uses estimates that may not arrive. Many analysts look at both, and the gap between them is itself informative.
Basic or diluted EPS?
Diluted is the conservative choice and the better default, since it accounts for options and convertibles that would increase the share count. It always gives a higher P/E than basic.
Does a high P/E mean a stock is overvalued?
Not by itself. It means the market expects earnings growth. Whether that expectation is reasonable is a separate question the ratio cannot answer.
Why will it not calculate for a loss making company?
Because a negative or zero EPS makes the ratio meaningless rather than merely bad. Use balance sheet measures such as price to book instead.
Where do I find EPS?
On the income statement of any annual or quarterly filing, usually shown as both basic and diluted at the bottom. Financial data sites publish trailing twelve month figures, though they do not always say which basis they used.
What is the earnings yield?
The P/E flipped over, expressed as a percentage. A P/E of 25 is an earnings yield of 4 percent, which lets you compare a share against a bond or a deposit on the same scale.
References
A note on the sources. The section on adjusted earnings is the one that most needed an authority behind it, and the Securities and Exchange Commission's compliance and disclosure interpretations on non-GAAP financial measures are that authority: they require any non-GAAP per-share figure to be reconciled to GAAP earnings per share, and the comparable GAAP measure to be presented with equal or greater prominence. That is what makes it possible for a reader to go and find the unadjusted number. The definitions of earnings and shareholders' equity come from the Commission's guide for investors.
- U.S. Securities and Exchange Commission, Division of Corporation Finance, Non-GAAP Financial Measures: Compliance and Disclosure Interpretations, on Regulation G Rule 100(b), the requirement under Item 10(e)(1)(i) of Regulation S-K to present the most directly comparable GAAP measure with equal or greater prominence, and the requirement that non-GAAP per share performance measures be reconciled to GAAP earnings per share. https://www.sec.gov/corpfin/non-gaap-financial-measures.htm
- U.S. Securities and Exchange Commission, Beginners' Guide to Financial Statements, on the income statement and where earnings are reported. https://www.sec.gov/about/reports-publications/investorpubsbegfinstmtguide
- CFA Institute, Residual Income Valuation, on the relationship between market multiples, book value and the return a company earns relative to its cost of equity. https://www.cfainstitute.org/insights/professional-learning/refresher-readings/2026/residual-income-valuation
- Brealey, R.A., Myers, S.C., and Allen, F., Principles of Corporate Finance, McGraw-Hill Education, chapters on valuation by comparables and the earnings multiple.
Olga Chernova is an equity research analyst and final year Economics and Finance student at the American University in Bulgaria, with hands on experience in valuation and financial modeling. She has passed CFA Level I and contributed to a 2nd place team in the 2025-2026 CFA Institute Research Challenge in Bulgaria. At Eon Tools, she reviews finance tools.
Other Tools
- Average Return Calculator
- Beta Stock Calculator
- Black Scholes Calculator
- Bond Calculator
- Bond Current Yield Calculator
- Bond Equivalent Yield Calculator
- Bond Yield Calculator
- Bond Yield To Maturity Calculator
- Book Value Per Share Calculator
- Call Option Calculator
- CAGR Calculator
- CAPM Calculator
- Carried Interest Calculator
- Cost Of Equity Calculator
- Coupon Rate Calculator
- Dividend Calculator
- Dividend Payout Ratio Calculator
- Dividend Yield Calculator
- Earnings Per Share Calculator
- Expense Ratio Calculator
- Fibonacci Retracement Calculator
- Forex Margin Calculator
- Holding Period Return Calculator
- Intrinsic Value Calculator
- Investment Income Calculator
- Margin Call Calculator
- Market Capitalization Calculator
- Mutual Fund Calculator
- Pivot Point Calculator
- Price To Book Ratio Calculator
- Profitability Index Calculator
- Random Stock Picker NASDAQ
- Retention Ratio Calculator
- Return On Investment Calculator
- Sharpe Ratio Calculator
- Stock Average Calculator
- Stock Calculator
- Stock Non Constant Growth Calculator
- Stock Return Calculator
- Total Shareholder Return TSR Calculator
- Yield To Call Calculator
- Zero Coupon Bond Calculator