P/E Ratio Calculator
Find a stock's price-to-earnings ratio.
Results update as you type.
This calculator is for illustrative purposes only. Actual rates, fees and terms vary by lender. Consult a qualified financial adviser before making borrowing decisions.
How it works
The price-to-earnings ratio shown here is a stock's share price divided by its earnings per share, telling you how many dollars investors are paying for each dollar of the company's annual earnings. It matters because the P/E ratio is one of the most widely used valuation yardsticks, offering a quick sense of whether a stock looks expensive or cheap relative to its profits, its own history, its peers or the broader market. This P/E ratio calculator divides the price by earnings per share to produce that multiple. A higher P/E means investors are paying more per dollar of current earnings, often because they expect strong future growth; a lower P/E can indicate a bargain, modest growth expectations, or underlying problems. Investors use the P/E ratio to compare companies within the same industry, to judge a stock against its historical range, and as one input among many in deciding what to buy. It has real limits: earnings can be distorted by one-off events or accounting choices, the ratio is meaningless when earnings are zero or negative, and a company with no profits has no meaningful P/E at all. The ratio also says nothing on its own about growth rates, debt or the quality of earnings, so it is best read alongside other metrics rather than treated as a standalone verdict on value.
P/E ratio = share price ÷ earnings per share
The share price is what one share currently costs, and earnings per share is the company's net profit divided by the number of shares outstanding over the same period. Dividing price by earnings per share gives the P/E multiple — the number of years of current earnings, at today's level, that the price represents. A higher result means investors pay more per dollar of earnings. The ratio is undefined when earnings per share is zero, and negative when the company is losing money, so it only carries meaning for profitable firms.
Source:U.S. SEC — Investor.gov
We review all our tools from time to time to ensure accuracy.
Worked example
How to use this calculator
- 1
Enter your values
Enter share price and earnings per share (eps).
- 2
Adjust the options
Fine-tune any options to match your situation.
- 3
Read your result
P/E ratio updates instantly as you type — no button to press.
Frequently asked questions
What does the P/E ratio tell you?
The price-to-earnings ratio shows how much investors are willing to pay for each dollar of a company's earnings. A high P/E suggests the market expects strong future growth and is pricing that in, while a low P/E can signal modest expectations, a possible bargain, or hidden trouble. It is a quick gauge of relative valuation, most useful when compared against similar companies, the stock's own history, or the overall market average.
What is a good P/E ratio?
There is no universal figure, because P/E norms vary widely by industry and by economic conditions. Fast-growing technology firms often trade at high multiples, while mature utilities or banks trade much lower. Rather than judging a P/E in isolation, compare it to direct competitors and to the company's own historical range. A ratio that looks high or low only becomes meaningful in context, alongside the company's growth prospects and risks.
What is the difference between trailing and forward P/E?
Trailing P/E uses earnings from the past twelve months, so it is based on actual reported results. Forward P/E uses analysts' estimates of earnings for the coming year, so it reflects expectations rather than history. Trailing is concrete but backward-looking; forward is timely but depends on forecasts that may prove wrong. This calculator works with whichever earnings-per-share figure you enter, so choose the one that matches the comparison you want to make.
Why can't you calculate P/E for an unprofitable company?
The P/E ratio divides price by earnings per share, so if earnings are zero the ratio is undefined, and if earnings are negative the ratio becomes negative and loses its usual meaning. Many young or turnaround companies operate at a loss, so investors turn to other measures for them, such as price-to-sales. A negative or missing P/E simply means the metric does not apply, not that the stock is worthless.
Should I rely on the P/E ratio alone?
No. The P/E ratio is a useful starting point but ignores growth rates, debt levels, cash flow and the quality or one-off nature of earnings. Two companies with the same P/E can have very different prospects. Seasoned investors combine it with metrics like the PEG ratio, which adjusts for growth, along with debt ratios and cash-flow analysis, treating P/E as one lens rather than a complete picture of a stock's value.