What is the P/E ratio? Meaning, formula and how to use it

Lesson 3 of 9 · 7 min read · Updated 23 Nov 2026

The P/E (price to earnings) ratio is the share price divided by earnings per share. It shows how many rupees investors pay for each rupee of yearly profit, so a P/E of 20 means ₹20 for every ₹1 of earnings.

The P/E ratio in one line

P/E stands for price to earnings. It compares what you pay for a share with the profit the company earns for each share. It is the most quoted valuation ratio in the world because it is simple and you can find it for almost every profitable listed company.

P/E = Share price ÷ Earnings per share (EPS)

EPS is the company's net profit divided by the number of shares. You can also calculate P/E for the whole company: market capitalization ÷ net profit. Both give the same answer.

A worked example

Made-up Company D has these numbers:

ItemValue
Net profit for the year₹100 crore
Number of shares10 crore
EPS (100 ÷ 10)₹10
Share price₹250
P/E (250 ÷ 10)25

A P/E of 25 means investors pay ₹25 for every ₹1 of Company D's yearly profit. Another way to read it: if profit stayed flat and the company paid out all of it, it would take about 25 years of earnings to equal the price you paid. That is a rough way to feel what the number means, not a forecast.

The inverse of P/E is the earnings yield: 1 ÷ 25 = 4%. Some investors compare earnings yield with bank fixed deposit rates or government bond yields to get a sense of whether shares look expensive or cheap overall.

Trailing P/E vs forward P/E

TypeEarnings usedStrengthWeakness
Trailing P/E (TTM)Actual profit of the last 12 monthsBased on reported factsLooks backward
Forward P/EEstimated profit for the next 12 monthsLooks aheadDepends on forecasts that may be wrong

Most screeners, including Stocks Glance, show trailing P/E based on the last four reported quarters. TTM stands for trailing twelve months. If a company's profit is growing fast, its forward P/E will be lower than its trailing P/E, because the same price is divided by a larger expected profit.

Why P/E differs by sector

A P/E of 15 can look cheap in one industry and expensive in another. Investors pay more for profit that they expect to grow fast and stay steady, and less for profit that swings or shrinks.

  • Consumer goods companies with strong brands often trade at higher P/E because their sales tend to be steady.
  • Banks and lenders often trade at lower P/E, and investors often prefer price to book for them.
  • Cyclical businesses such as metals and cement see profits rise and fall with the economy. Their P/E can look lowest at the top of a cycle, when profits peak, and highest near the bottom, when profits are thin.

So compare a company's P/E with its own history and with close peers, not with the whole market. The Nifty 50 page shows the P/E of the index, which is a useful reference for the broad market.

P/E and growth: a quick comparison

Company ECompany F
P/E3015
Expected profit growth25% a year5% a year

Company E looks expensive at first glance. But if its profit grows at 25% a year for several years, today's price will soon look smaller compared with its earnings. Company F looks cheaper, but its profit barely grows. Some investors divide P/E by the growth rate to get the PEG ratio: 30 ÷ 25 = 1.2 for Company E and 15 ÷ 5 = 3 for Company F. PEG depends on a growth estimate, so treat it as a rough guide.

Limits of the P/E ratio

  • Loss-making companies have no meaningful P/E. If EPS is negative, the ratio does not work.
  • One-time items distort it. A large gain from selling land can inflate profit for a year and make P/E look low.
  • Accounting choices matter. Depreciation and other policies change reported profit.
  • It ignores debt. Two companies with the same P/E can carry very different debt. Check debt to equity too.
  • Low P/E is not the same as cheap. A low P/E can reflect real problems, such as a shrinking business. This is sometimes called a value trap.

Where to go next

Frequently asked questions

What is a good P/E ratio?
There is no single good P/E. It depends on the sector, growth, debt and how steady profits are. Compare a company's P/E with its past range and with close peers.
What does a negative P/E mean?
A negative P/E means the company made a loss over the period, so EPS is below zero. The ratio is not meaningful in that case, and most screeners show it as blank.
What is the difference between trailing and forward P/E?
Trailing P/E divides the price by actual earnings of the last 12 months. Forward P/E divides it by estimated earnings for the next 12 months, so it depends on forecasts.

All lessons in Fundamental analysis

  1. What is fundamental analysis? Meaning, steps and how it differs from technical analysis
  2. How to understand a business before investing: moat, management and promoter holding
  3. What is the P/E ratio? Meaning, formula and how to use it
  4. What is the price to book (P/B) ratio? Book value meaning and formula
  5. ROE vs ROCE: meaning, formula and how to use them
  6. What is the debt to equity ratio? Formula, interest coverage and safe levels
  7. What is dividend yield? Formula, payout ratio and dividend history explained
  8. How to analyze company growth and margins: sales CAGR, profit CAGR and operating margin
  9. Fundamental analysis checklist: how to analyze a stock step by step

For education only. Examples use made-up numbers. Nothing here is a recommendation to buy, sell or hold any security. Disclaimer