# What Is the P/E Ratio? Definition and Example

> The most quoted valuation number in investing: how to calculate it, how to read it with real examples, and where it misleads.

Source: https://www.exent.ai/learn/p-e-ratio · Reviewed by David, Senior Analyst, Exent · Published Nov 5, 2026 · Updated Nov 5, 2026

## Key takeaways

- The price-to-earnings (P/E) ratio is a stock’s share price divided by its earnings per share: what investors pay for $1 of annual profit.
- In Exent’s data on Sep 30, 2026, JPMorgan traded at a P/E of 14.3, NVIDIA at 28.8 and Costco at 45.6.
- A high P/E usually signals that investors expect faster growth; a low one, slower growth or more risk.
- Compare P/Es within an industry and against the company’s own history, not across unrelated sectors.

## What is the P/E ratio?

The P/E ratio links a company’s market price to its profits. A P/E of 20 means investors pay $20 for each $1 of annual earnings. Trailing P/E uses the last 12 months of reported earnings; [forward P/E](https://www.exent.ai/learn/forward-p-e) uses analysts’ estimates for the next 12 months.

## How do you calculate it?

**P/E = share price ÷ [earnings per share (EPS)](https://www.exent.ai/learn/eps)**

Flip it and you get the earnings yield: EPS ÷ price. A P/E of 25 equals a 4% earnings yield, which is handy for comparing with bond yields.

## Worked example

| Company | P/E | Earnings yield |
| --- | --- | --- |
| JPMorgan Chase (JPM) | 14.3 | 7.0% |
| PepsiCo (PEP) | 15.8 | 6.3% |
| NVIDIA (NVDA) | 28.8 | 3.5% |
| Walmart (WMT) | 40.2 | 2.5% |
| Costco (COST) | 45.6 | 2.2% |

Source: Exent’s data, as of Sep 30, 2026; earnings yield is 1 ÷ P/E. At a $229.28 share price, NVIDIA’s P/E of 28.8 implies about $7.96 of earnings per share. See [NVDA](https://www.exent.ai/stocks/nvda) and [JPM](https://www.exent.ai/stocks/jpm).

## Why it matters for a self‑directed investor

P/E is a quick read on expectations. A stock at 45 times earnings needs years of strong growth to justify its price; one at 14 needs less. Adjust for growth with the [PEG ratio](https://www.exent.ai/learn/peg-ratio), and fold it into a wider check when you [evaluate a stock idea](https://www.exent.ai/resources/evaluate-a-stock-idea).

## Common mistakes

- Calling a low P/E “cheap” without asking why: see value traps.
- Using P/E when earnings are negative or near zero, where it is meaningless.
- Ignoring one-off gains or charges that distort a single year’s EPS.
- Buying cyclicals on a low P/E at peak earnings, just before profits fall.

## Frequently asked questions

### What is a good P/E ratio?

There is no universal good number. Compare a stock’s P/E with its industry peers, its own history and its expected growth.

### What is the difference between trailing and forward P/E?

Trailing P/E uses the last 12 months of reported earnings. Forward P/E uses analysts’ estimates for the next 12 months, so it depends on forecasts that can be wrong.

### Why do some companies have no P/E ratio?

If a company lost money over the period, its EPS is negative and the P/E is usually shown as not meaningful.

---

Educational content, not investment advice. Past performance does not guarantee future results.
