The PE ratio formula is simple: divide the current market price of a share by its earnings per share. The result tells you how many rupees you pay for each rupee of profit. Therefore, you can value a company in seconds once you know two numbers.
However, small mistakes in the inputs change the answer a lot. This guide shows each step, two worked examples and a quick checklist. If you want the concept first, read our PE ratio meaning explainer, and see dividend meaning for the income side of valuation.
Quick answer: PE ratio = market price per share ÷ earnings per share (EPS). EPS equals net profit after tax, minus preference dividends, divided by the weighted average number of equity shares. A share priced at Rs 300 with EPS of Rs 15 has a PE of 20.
Key Takeaways
- Formula: PE = Market price per share ÷ EPS.
- Alternative: PE = Market capitalisation ÷ Net profit.
- Use trailing twelve-month EPS for trailing PE and estimated EPS for forward PE.
- Use the same share count in both price and profit calculations.
- A PE value is meaningful only when profit is positive.
The PE Ratio Formula Explained
| Version | Formula | When to use it |
|---|---|---|
| Per-share version | Market price ÷ EPS | Most common; use when EPS is available |
| Total version | Market capitalisation ÷ Net profit | Use when you know total company numbers |
| Earnings yield (inverse) | EPS ÷ Market price | Compare with bond yields or FD rates |
Both versions give the same answer if share count and profit use the same period. For example, market cap equals price times shares, and net profit equals EPS times shares. Consequently, the shares cancel out.
Step 1: Find the Market Price
Use the latest price from the NSE or BSE. Prices change every second, so the PE changes too. Therefore, always note the date you took the price.
Step 2: Find the Earnings Per Share
EPS appears in the quarterly results and the annual report. The standard formula is:
EPS = (Net profit after tax − Preference dividends) ÷ Weighted average equity shares outstanding
Companies report basic and diluted EPS. Diluted EPS accounts for convertible securities, so it is lower or equal. Additionally, many screens show trailing twelve-month (TTM) EPS, which adds the last four quarters. Our shareholders’ equity guide explains how equity value is built from these numbers.
Step 3: Divide Price by EPS
Take the price from step one and divide it by the EPS from step two. Round the result to one decimal. That figure is your PE ratio.
Worked Example 1: Trailing PE Ratio Formula in Action
The figures below are illustrative and do not represent a real company.
| Item | Value |
|---|---|
| Net profit after tax (last 12 months) | Rs 500 crore |
| Preference dividends | Rs 0 |
| Weighted average shares | 50 crore |
| EPS | Rs 500 crore ÷ 50 crore = Rs 10 |
| Market price | Rs 250 |
| Trailing PE | 250 ÷ 10 = 25 |
So investors pay 25 times last year’s profit. Similarly, the earnings yield equals 10 ÷ 250, or 4 percent.
Worked Example 2: Forward PE and Growth
| Item | Value |
|---|---|
| Current price | Rs 250 |
| Trailing EPS | Rs 10 |
| Estimated EPS next year | Rs 12.5 (25 percent growth) |
| Trailing PE | 25 |
| Forward PE | 250 ÷ 12.5 = 20 |
The forward PE is lower because earnings are expected to grow. However, this holds only if the estimate proves right. Therefore, treat forward PE as a view, not a fact.
PE Ratio Formula With Market Cap
You can also divide market capitalisation by net profit. For example, a company worth Rs 12,500 crore that earns Rs 500 crore has a PE of 25. This method helps when per-share data is missing. Our market cap guide explains how market cap is built from price and share count.
How Different Situations Change the PE Ratio Formula
| Situation | Effect on EPS | Effect on PE |
|---|---|---|
| Stock split | Per-share EPS falls proportionally | No change once price also adjusts |
| Bonus shares | EPS falls because shares rise | No change after price adjusts |
| One-time gain | EPS jumps | PE looks artificially low |
| Net loss | EPS turns negative | PE not meaningful |
| Share buyback | Share count falls, EPS rises | PE falls if the price stays flat |
Corporate actions matter here. A split or bonus changes the share count, so older EPS figures need adjustment. Moreover, a buyback alters per-share data in a similar way, as our Infosys buyback record date guide shows. Always use adjusted numbers when you compare periods.
Reverse Calculation: Finding the Fair Price From a Target PE
You can rearrange the formula to estimate a price. Price equals PE multiplied by EPS. Suppose a company earns an EPS of Rs 12 and similar companies trade at a PE of 18. The implied price is 18 × 12, or Rs 216.
| Input | Value |
|---|---|
| EPS (trailing) | Rs 12 |
| Peer average PE | 18 |
| Implied price | Rs 216 |
| Current market price | Rs 240 |
| Current PE | 240 ÷ 12 = 20 |
The share trades above the peer-implied price. That gap does not prove overvaluation, because growth and quality may differ. Nevertheless, it highlights what the market expects. Use it as a conversation starter, not a verdict.
Quick Checklist Before You Trust a PE Number
| Check | Why it matters |
|---|---|
| Is the price current? | Old prices give a wrong ratio |
| Is EPS trailing twelve months? | Quarterly EPS understates annual profit |
| Are share counts adjusted for splits or bonuses? | Mixed bases distort EPS |
| Is profit from core operations? | One-offs hide the true multiple |
| Are you comparing like with like? | Consolidated and standalone numbers differ |
Run through this list for every company. It takes a minute and prevents most input errors. Additionally, record the date and source, so you can repeat the calculation later.
Common Mistakes When Using the PE Ratio Formula
- Mixing a post-split price with a pre-split EPS.
- Using quarterly EPS instead of the trailing twelve-month figure.
- Ignoring one-time gains or losses in the profit.
- Comparing PE values taken on different dates.
- Using consolidated profit with standalone EPS.
Expert Insights: Making the Formula Useful
Calculate the PE yourself at least once. Companies that pay steady dividends, such as those in our highest dividend paying stocks list, make good practice examples because their profits are stable. Then you will spot errors on screens quickly. Furthermore, compare the PE with the company’s growth. Analysts often use the PEG ratio, which divides PE by the expected growth rate, to compare growth stories fairly.
Finally, check where the data comes from. The exchanges and company filings on NSE and BSE are the primary sources, while screens may lag.
Frequently Asked Questions
What is the PE ratio formula?
PE ratio equals the market price per share divided by earnings per share. You can also divide market capitalisation by total net profit.
How do I calculate EPS for the PE ratio?
Subtract preference dividends from net profit after tax, then divide by the weighted average number of equity shares outstanding.
What is the difference between trailing and forward PE?
Trailing PE uses the last twelve months of actual EPS, while forward PE uses an estimate of future EPS.
Should I use basic or diluted EPS?
Diluted EPS is more conservative because it counts convertible securities. Use the same type consistently when you compare companies.
Why does the PE ratio change every day?
The price changes during market hours, while EPS changes only when the company reports results. Therefore, the PE moves with the price.
What happens to PE after a stock split?
The price and EPS adjust proportionally, so the PE stays the same. Make sure both numbers use the post-split basis.
Can I calculate PE if the company has a loss?
You can compute it, but the result is negative and not meaningful. Use price-to-sales or cash flow measures instead.
Applying the PE Ratio Formula With Confidence
The PE ratio formula takes seconds, but good inputs take care. Match price and EPS on the same share basis, adjust for corporate actions and read the profit behind the number. Then compare the result with peers. Explore more guides in our Shareholding & Fundamentals category and return to the Investor Weekly News for tools and updates. This content is educational and not investment advice.
Trending Now
- Government Shareholding in SBI: Full Breakdown 2026
- Titan Company Promoter Shareholding Analysis June 2026 — Pledged Shares and Insider Signals
- 15 Highest Dividend Paying Stocks in India (2026 List)
- Maruti Suzuki Promoter Shareholding Analysis May 2026 — Pledged Shares and Insider Signals
- Best NBFC Stocks India June 2026 — Bajaj Finance vs Peers Complete Comparison
Disclaimer: Investor Weekly News is an independent, informational website. We are not affiliated with any company, broker, stock exchange, or regulator named in this article. Nothing here is investment, tax, or legal advice. Always confirm dates and terms in the official NSE, BSE, or company announcement before you act.