The P/E ratio (price-to-earnings) tells you how much investors are paying today for each unit of a company's annual profit. You get it by dividing the share price by earnings per share. It is a handy starting point for comparing stocks, but on its own it cannot tell you whether a stock is cheap or expensive.
The P/E ratio, short for price-to-earnings ratio, is one of the most widely quoted numbers in stock investing. It answers a straightforward question: how much are investors willing to pay for every euro of profit a company makes in a year? This guide walks through how to calculate it, how to read it and, just as importantly, where it falls short.
What is the P/E ratio?
The P/E ratio links two figures: the price at which a share trades on the stock market and the profit the company earns per share. The result can be thought of as a number of “years of earnings”.
A stock with a P/E of 15 is priced at 15 times its current annual earnings. Put another way, if profits stayed flat forever and were all paid out, it would take about 15 years to “earn back” the price paid. In reality profits change every year, so treat this only as a mental picture.
How do you calculate the P/E ratio?
The formula is simple:
P/E = share price ÷ earnings per share (EPS)
Earnings per share is the company's annual net profit divided by the number of shares outstanding. You can also calculate it for the whole company: market capitalisation ÷ annual net profit. Both routes give the same answer.
A simple example (hypothetical figures)
Take two made-up companies:
- Company A: shares trade at €50 and the company earned €5 per share last year.
- Company B: shares trade at €100 and the company earned €4 per share last year.
| Metric | Company A | Company B |
|---|---|---|
| Share price | €50 | €100 |
| Earnings per share | €5 | €4 |
| P/E ratio | 10 | 25 |
| Earnings yield (1 ÷ P/E) | 10% | 4% |
Company A costs 10 times its earnings; Company B costs 25 times. Notice that the share price itself (€50 or €100) tells you nothing about value. What matters is the relationship between price and profit.
High or low P/E ratio: what does it mean?
This is the question most people search for, and the honest answer is: it depends.
A high P/E usually means the market expects strong earnings growth. Investors accept paying more today because they believe tomorrow's profits will be larger. It can also simply reflect too much optimism.
A low P/E may point to an undervalued stock, but often it reflects doubts: profits expected to fall, a struggling industry, heavy debt or company-specific risks. A low-P/E stock that keeps falling is known as a “value trap”.
In short, the P/E shows what the market is paying, not whether that price is fair.
Trailing P/E or forward P/E: what is the difference?
You will see two versions of the ratio:
- Trailing P/E: based on earnings over the last 12 months, already reported. It uses real data but looks backwards.
- Forward P/E: based on expected earnings for the next 12 months, usually an average of analyst estimates. It looks ahead, but relies on forecasts that can be wrong.
When comparing companies, use the same version for all of them. Mixing trailing and forward figures leads to misleading conclusions.
How should you use the P/E ratio to compare stocks?
Compare within the same sector
Typical P/E levels vary a lot between industries. Fast-growing technology firms tend to trade on higher multiples than banks, energy companies or utilities. Comparing a tech company's P/E with a bank's says little. It is more meaningful to compare similar businesses, or a company against its own history.
Earnings yield: the P/E flipped over
Invert the P/E (1 ÷ P/E) and you get the earnings yield. A P/E of 20 equals an earnings yield of 5%. This makes it easier to set a stock against alternatives such as a savings account or a bond, bearing in mind that company profits are uncertain while a deposit rate is not.
The PEG ratio
To account for growth, some investors use the PEG ratio: P/E ÷ expected annual earnings growth (in percent). A hypothetical company with a P/E of 20 and expected growth of 20% a year would have a PEG of 1. The PEG leans heavily on the growth estimate, which is exactly the most uncertain part.
What are the limits of the P/E ratio?
The P/E is useful, but it has real weaknesses:
- Loss-making companies: if earnings are negative, the ratio is meaningless.
- Cyclical businesses: at the top of the cycle profits are high and the P/E looks low; at the bottom the reverse happens. This can mislead.
- One-off items: an asset sale or a write-down can inflate or shrink a single year's profit and distort the ratio.
- It ignores debt: two companies with the same P/E can carry very different levels of borrowing.
- It ignores earnings quality: it does not show whether profit turns into cash or is sustainable.
That is why the P/E works best alongside other measures such as cash flow, debt, margins and revenue growth. It is a fundamental analysis tool, not a buy or sell signal.
What risks should you keep in mind?
Buying shares just because the P/E is low, or avoiding them just because it is high, is a risky shortcut. Earnings estimates get revised, markets can hold high or low valuations for long periods, and any share price can fall sharply.
Investing in shares carries the risk of losing some or all of your capital. Diversifying, deciding in advance how much you can afford to lose and understanding the business you invest in matter more than any single ratio.
Key takeaways
- P/E ratio = share price ÷ earnings per share.
- It shows how many times annual earnings the market is paying.
- A high P/E reflects growth expectations (or enthusiasm); a low P/E may reflect a discount or problems.
- Compare within the same sector and using the same version (trailing or forward).
- Never rely on the P/E alone.
Note: this article is general information and not financial advice. The examples are hypothetical. Past performance does not guarantee future results.
Frequently asked questions
What is a good P/E ratio?
There is no universally good number. A P/E should be compared with companies in the same sector and with the company's own history. A low P/E is not automatically a bargain and a high P/E is not automatically expensive.
How is the P/E ratio calculated?
Divide the share price by earnings per share over the last 12 months (trailing P/E) or by expected earnings for the next 12 months (forward P/E). For example, a €50 share with €5 of earnings per share has a P/E of 10.
What does a negative P/E mean?
It means the company made a loss over the period. In that case the ratio is not useful and you need other measures, such as price-to-sales or cash flow.
Is a lower P/E always better?
No. A low P/E can signal that the market expects earnings to fall or sees specific risks. It needs to be read together with debt, growth and the economic cycle.
Can I pick stocks using only the P/E ratio?
It is not advisable. The P/E ignores debt, earnings quality and the business cycle. Use it with other indicators and always consider the risk of losing capital.
Want to see how an automated system works, with the money in your own account? See results and simulator →