Investingg.in Learn
What Is the P/E Ratio? Formula, Meaning and How to Use It
The price-to-earnings (P/E) ratio explained simply: the formula, a worked example, trailing vs forward P/E, and what a high or low P/E really tells you.
P/E ratio in 60 seconds
- The P/E ratio tells you how many rupees investors pay today for every ₹1 of a company's yearly profit.
- Formula: share price ÷ earnings per share (EPS).
- A high P/E can mean expected growth or simply an expensive stock — always compare with the sector and the company's own history.
Educational summary — not investment advice.
The price-to-earnings ratio, or P/E, is the most quoted valuation number in the market. It compares a company's share price with the profit earned per share, telling you how much investors are willing to pay for each rupee of earnings.
A stock with a P/E of 20 is trading at 20 times its yearly earnings. Put differently, if profits stayed exactly where they are, it would take about 20 years of earnings to equal today's price.
How is P/E ratio calculated?
| Measure | Formula |
|---|---|
| P/E ratio | Share price ÷ Earnings per share (EPS) |
| Same thing, whole company | Market capitalisation ÷ Net profit |
| Earnings yield (the inverse) | EPS ÷ Share price × 100 |
Use EPS from the last four reported quarters for the trailing P/E, or analysts' estimated EPS for the coming year for the forward P/E.
P/E ratio example with numbers
| Item | Value |
|---|---|
| Share price | ₹500 |
| Earnings per share (last 12 months) | ₹25 |
| P/E ratio | 20.0x |
| Earnings yield | 5.0% |
| A faster-growing rival: price / EPS | ₹900 / ₹20 |
| Rival's P/E ratio | 45.0x |
At ₹500 with EPS of ₹25, the stock trades at 20.0x earnings — an earnings yield of 5.0%. The rival's 45.0x is more than double, which is only reasonable if its profits grow much faster.
Illustrative figures. A higher P/E is only reasonable if profits are expected to grow faster.
Trailing vs forward P/E
- Trailing P/E uses reported earnings from the past 12 months — factual, but backward-looking.
- Forward P/E uses estimated earnings for the next 12 months — forward-looking, but only as good as the estimate.
- A forward P/E much lower than the trailing P/E means earnings are expected to rise.
What a high or low P/E can mean
A high P/E often signals that investors expect strong growth, or that a business is considered unusually safe or high quality. It can equally mean the stock is simply overpriced.
A low P/E can point to a bargain — or to a business in trouble whose profits are expected to fall, or whose earnings are inflated by a one-time gain. A cheap-looking P/E is a reason to investigate, not a reason to buy.
Common mistakes
- Comparing P/E across sectors: banks, IT and FMCG trade on very different multiples. Compare like with like.
- Ignoring one-off items that inflate or depress EPS in a single year.
- Using P/E on a loss-making company — with negative earnings the ratio has no meaning.
- Forgetting growth: pair it with the PEG ratio to see whether the multiple is justified.
The idea behind the P/E ratio
When you buy a share you are buying a slice of a company's future profits. The price-to-earnings ratio is the market's shorthand for how much it is willing to pay for that slice today. A P/E of 25 means investors are paying ₹25 for every ₹1 of profit the company earned over the last year.
That single number packs in a lot of opinion. A high P/E says investors expect profits to grow quickly, or believe the business is unusually stable and well run. A low P/E says they expect little growth, doubt the profits will last, or simply have not noticed the company yet. P/E is therefore a measure of expectations, not of quality, and reading it well means asking what the market expects and whether that is reasonable.
How to work out P/E yourself, step by step
- Find the share price on NSE or BSE. Use the closing price of a specific day so you can compare like with like.
- Find earnings per share (EPS). For the trailing P/E, add the EPS of the last four reported quarters. Use the consolidated figure if the company has subsidiaries.
- Divide the price by the EPS. That is the P/E.
- Cross-check with market capitalisation. Market cap divided by the last twelve months' net profit should give the same answer.
Suppose a stock closes at ₹640 and its four latest quarters of EPS are ₹6, ₹7, ₹8 and ₹9. Trailing EPS is 6 + 7 + 8 + 9 = ₹30, so P/E = 640 ÷ 30 = 21.3. If analysts expect next year's EPS to be ₹36, the forward P/E is 640 ÷ 36 = 17.8. The gap between 21.3 and 17.8 is the growth the market already expects.
Reading P/E against a benchmark
A P/E is meaningless on its own. It becomes useful only when set against something. Three benchmarks work well for stocks listed on NSE and BSE:
- The company's own history. Plot the P/E over five to ten years. A stock at the top of its own range is asking a lot of the future.
- Sector peers. Compare a bank with banks and a software company with software companies. NSE Indices publishes the P/E of the Nifty 50 and of sector indices such as Nifty Bank and Nifty IT, which makes a convenient yardstick.
- The earnings yield versus interest rates. The inverse of P/E (earnings divided by price) is the earnings yield. A stock at P/E 20 has an earnings yield of 5%. If a risk-free government bond pays more than that, the stock has to justify the extra risk through growth.
| P/E | Earnings yield (1 ÷ P/E) |
|---|---|
| 10 | 10.0% |
| 15 | 6.7% |
| 20 | 5.0% |
| 25 | 4.0% |
| 40 | 2.5% |
Why two similar-looking P/Es can mean opposite things
Take two stocks both trading at a P/E of 12. Stock A belongs to a steady, growing consumer business whose profits have risen every year for a decade. Stock B belongs to a commodity producer whose profits are at a cyclical peak. The same 12 means very different things. A's earnings are likely to keep growing, so 12 may be cheap. B's earnings are likely to fall when the cycle turns, so 12 on peak profits may in fact be expensive — on lower, normal profits the P/E would be far higher.
This is the classic trap with cyclical sectors such as metals, sugar, cement and shipping. Their P/E looks lowest just before profits collapse and highest when profits are already recovering from the bottom. For such companies, look at the P/E on average profits across a full cycle, or use price-to-book or EV/EBITDA instead.
Mistakes investors make with P/E
- Ignoring one-time gains. A profit boosted by selling land or an investment makes the P/E look artificially low. Check whether the earnings are recurring.
- Using standalone EPS for a group company. If most of the earnings sit in subsidiaries, standalone P/E is misleading; use consolidated.
- Comparing across sectors. A software company and a steel company will never share a sensible P/E.
- Forgetting the denominator can shrink. If profit falls 50% the P/E doubles without the price moving — a stock can look more expensive precisely when its business is deteriorating.
- Treating a low P/E as a bargain. Cheap stocks are often cheap for a reason: falling profits, high debt or weak governance. This is sometimes called a value trap.
A checklist before using P/E
- Is the EPS consolidated and free of large one-off items?
- Is the P/E compared with the same company's history and its sector, not the whole market?
- Is the sector cyclical — and if so, are the earnings at a peak or a trough?
- Have you also looked at debt, cash flow and growth, since P/E ignores all three?
Test yourself
- Question 1. A share trades at ₹450 and its EPS is ₹30. What is the P/E? Answer: 450 ÷ 30 = 15.
- Question 2. A company's market cap is ₹12,000 crore and its net profit is ₹800 crore. What is its P/E? Answer: 12,000 ÷ 800 = 15.
- Question 3. A stock has a P/E of 25. What is its earnings yield? Answer: 1 ÷ 25 = 4%.
- Question 4. If the price stays at ₹300 but EPS falls from ₹20 to ₹10, what happens to P/E? Answer: It rises from 15 to 30 — the stock looks twice as expensive although the price did not change.
After P/E, the natural next step is the PEG ratio, which adds growth to the picture, and EV/EBITDA, which removes the distortion of debt.
On NSE and BSE: what to keep in mind
- NSE Indices publishes the P/E of the Nifty 50 and its sector indices (Nifty Bank, Nifty IT, Nifty FMCG and others) — a handy yardstick for whether a stock's multiple is high or low for its sector.
- Use consolidated EPS for companies with subsidiaries; standalone EPS can miss most of the group's earnings.
- EPS is restated after stock splits and bonus issues, so compare P/E from the same source on the same date.
P/E ratio: frequently asked questions
What is a good P/E ratio?
There is no universal number. A good P/E is one that is reasonable for the company's growth, quality and sector. Compare it with sector peers and the stock's own five- or ten-year average.
Can the P/E ratio be negative?
If a company makes a loss, its EPS is negative and the P/E is not meaningful, so data sites usually show it as N/A.
Should I buy a stock just because its P/E is low?
No. A low P/E is a screening clue. Check why it is low — declining profits, high debt or poor governance are common reasons.
Disclaimer: this article is for education only. The figures in the worked example are illustrative and do not describe any real company listed on NSE or BSE. It is not investment advice, and investingg.in is not a SEBI-registered advisor.
The bottom line
P/E tells you the price of a rupee of earnings. Use it to compare similar companies and to spot when a stock has run ahead of its profits — not as a buy or sell signal by itself.
Want to put this into practice? Record each trade, review your win rate and see where your discipline slips — start a free trading journal on investingg.in.
Disclaimer: This analysis is for educational purposes only and should not be considered investment or trading advice. Please consult your financial advisor before making investment decisions.
