S1 · E12 · Advanced · Season 1: Stock Market Basics

What is the P/E ratio?

Explained with Batteries

The P/E ratio (price-to-earnings ratio) is the share price divided by earnings per share over the last 12 months. A P/E of 20 means you pay $20 for each $1 of yearly profit per share.

In short

  • P/E = share price ÷ earnings per share (EPS) over the last year, usually the last four quarters.
  • A P/E of 20 means you pay $20 for each $1 of yearly profit, or 20 batteries for one battery of profit.
  • Real example (November 20, 2026 close, last four quarters of reported EPS): Coca-Cola's P/E was about 28.5, Nvidia's about 13.5.
  • P/E looks back at last year's profit. Next year's profit can be very different.
  • A low P/E can mean investors are worried. Compare P/E only with similar companies, and never use it alone.

Price compared with profit

In lesson 11 we met earnings per share (EPS), the profit for each share. The P/E ratio puts that profit next to the share price: P/E = price of one share ÷ EPS over the last 12 months.

Example with simple numbers: if a share costs $20 and the company earned $1 per share last year, the P/E is 20 ÷ 1 = 20. You pay $20 for each $1 of yearly profit.

A real example: Coca-Cola

We add up Coca-Cola's reported EPS from its last four quarterly reports and divide the closing price of November 20, 2026 by that sum.

  • EPS: Q4 2025 $0.53 + Q1 2026 $0.91 + Q2 2026 $1.03 + Q3 2026 $0.93 = $3.40.
  • Closing price on November 20, 2026: $96.99.
  • P/E = $96.99 ÷ $3.40 ≈ 28.5.

A real example: Nvidia

The same calculation for Nvidia, with GAAP diluted EPS from its last four quarterly reports.

  • EPS: Q4 FY2026 $1.76 + Q1 FY2027 $2.39 + Q2 FY2027 $2.46 + Q3 FY2027 $2.70 = $9.31.
  • Closing price on November 20, 2026: $125.53.
  • P/E = $125.53 ÷ $9.31 ≈ 13.5.
  • Different websites can show slightly different P/E numbers, because they use different prices, dates or kinds of EPS.

So is Nvidia the bargain?

Not so fast. P/E looks back at last year's profit, but next year's profit can be much higher or much lower. A low P/E can mean that investors are worried about the future, not that the share is cheap. A high P/E can mean that investors expect profits to grow.

P/E also works best when you compare similar companies, for example two drink makers. Coca-Cola and Nvidia are very different businesses. And P/E is only one number: never use it alone to decide anything.

Education only. Not financial advice. Not affiliated with Coca-Cola or NVIDIA. Both companies are examples, not recommendations.

Test yourself

5 quick questions. Pick an answer to check it.

1. How do you calculate the P/E ratio?
2. A share costs $20 and the company earned $1 per share last year. What is the P/E?
3. Coca-Cola: price $96.99, EPS over the last four quarters $3.40. What is the P/E, roughly?
4. Nvidia's P/E was about 13.5 and Coca-Cola's about 28.5. What can you say for sure?
5. Which companies is it most useful to compare by P/E?

Sources