Skip to content

How the price to earnings ratio works

P/E is price per share divided by earnings per share. A $50 share on $2.50 of earnings is 20 times. The same 20 comes from dividing market cap by total earnings. A lower reading is not always a cheaper share.

Price to earnings

20.0x

Market cap $5,000,000,000 over $250,000,000 of earnings.

Price per share
$50.00
Earnings per share
$2.50
Market cap
$5,000,000,000
Total earnings
$250,000,000
$
$

Trailing twelve months on a teaching sheet. Negative EPS makes P/E unusable.

In millions of shares. 100 here is 100,000,000 shares.

In short

  • P/E is share price divided by earnings per share. On a $50 share with $2.50 of earnings, P/E is 20.
  • The same 20 comes from market cap over total earnings. With 100,000,000 shares, market cap is $5,000,000,000 and earnings are $250,000,000.
  • Hold the price and raise EPS to $5.00 and P/E falls to 10. The share did not get cheaper. The denominator doubled.
  • Trailing P/E uses the last twelve months of reported earnings. Forward P/E uses estimates for the year ahead. They are not interchangeable.
  • When earnings are zero or negative the ratio stops working. This page will not print a P/E in that case.
  • P/E hides scale and means most inside a sector. An $80 share on $2.50 of earnings with 50,000,000 shares is a P/E of 32 on a $4,000,000,000 firm, which is a different object from the first sheet.

Two routes, one number

A price to earnings ratio of 20 means buyers are paying twenty times one year of profit for the shares, or, read the other way, that current profit would take twenty years to add up to the price.

P/E=PEPS=Market capEarnings\text{P/E} = \frac{P}{\text{EPS}} = \frac{\text{Market cap}}{\text{Earnings}}

On a $50 share with $2.50 of earnings, P/E is 20. With 100,000,000 shares outstanding, market capitalisation is $5,000,000,000 and total earnings are $250,000,000. Divide those two and the ratio is 20 again.

The two routes are the same identity. Multiplying price and EPS by the share count cancels, so market cap over total earnings cannot disagree with price over EPS unless one of the three inputs is from a different date than the others.

The price to earnings calculator on this page works both routes from one set of figures.

A lower P/E is not always a cheaper share

Keep the $50 price and 100,000,000 shares. Raise EPS to $5.00. P/E falls to 10. Market cap is still $5,000,000,000. Total earnings are now $500,000,000.

The price did not move. The denominator did. A lower P/E here is a more profitable year, not a cheaper share. That is why a low P/E at the top of a cycle, when earnings are at a peak that will not repeat, can be the expensive reading: the market is already looking through the peak, and the ratio is being divided by a number that is about to shrink.

The opposite error is reading a high P/E as a bubble. A high multiple can be growth that has not arrived in the trailing figure yet. Forward P/E tries to put that growth in the denominator. It then moves whenever the estimates do, which is a different object from a trailing P/E of 20 on reported earnings of $2.50.

Type the EPS your sheet is using. The formula does not know which one you meant.

Scale, sector, and a different claim

Price is now $80, EPS still $2.50, shares 50,000,000. P/E is 32. Market cap is $4,000,000,000. Total earnings are $125,000,000.

The ratio is higher than 20 and the firm is smaller than the first sheet. P/E hides scale. It also means most inside a sector: a regulated utility with flat earnings and a software firm reinvesting everything are not priced on the same scale, and neither are markets in different countries.

Enterprise value over EBITDA is a different ratio on a different claim. Debt sits in the EV numerator and the denominator is before interest. Do not line a P/E up next to EV/EBITDA and call the gap a finding. One prices the equity residual after interest. The other prices the operations before it.

A discounted cash flow is the model that tries to say what the share is worth from the cash the operations will produce. P/E is a snapshot of what buyers are paying for this year's profit. The two answers can sit far apart, and that gap is information rather than an error in either method.

When the ratio stops, and what this page is doing

When earnings are zero or negative the ratio stops working. Dividing by a loss does not produce a useful multiple. This calculator prints no P/E in that case rather than a nonsense figure. Loss-making firms get compared on revenue, or on a different multiple, not here.

Two versions circulate and they are not interchangeable. Trailing P/E uses the last twelve months of reported earnings, so it is factual and backward-looking. Forward P/E uses estimates for the year ahead, so it is a forecast wearing a ratio's clothes. Mixing them in a table is how a cheap-looking name appears next to an expensive-looking one that is actually the same firm on two different denominators.

The four families on financial ratios explained are built from the accounts alone. P/E needs a share price as well, so it sits outside those four on purpose. The rule about comparables still applies: read it against the same firm over time, or against a rival doing the same work.

This page is the one division, the two routes that have to meet, and the mistake of reading a move in the ratio as a move in the price. It is not a trailing-against-forward switch, not a sector screen, and not a buy or sell. The figures throughout are a teaching sheet: a $50 share, $2.50 of earnings, 100,000,000 shares, then the same price on $5.00 of earnings, then an $80 share on 50,000,000 shares. This is educational material, not financial advice.

Worked examples

A \$50 share on \$2.50 of earnings

The share price is $50, EPS is $2.50, and 100,000,000 shares are outstanding. What is P/E, and what is market cap?

  1. P/E is price over EPS: 50/2.50=2050 / 2.50 = 20.
  2. Market cap: 50×100000000=500000000050 \times 100000000 = 5000000000, so $5,000,000,000.
  3. Total earnings: 2.50×100000000=2500000002.50 \times 100000000 = 250000000, so $250,000,000.
  4. The same P/E from the totals: 5000000000/250000000=205000000000 / 250000000 = 20.

P/E is 20. Market cap is $5,000,000,000. Total earnings are $250,000,000.

The same price on \$5.00 of earnings

Keep the $50 price and 100,000,000 shares. EPS is now $5.00. What is P/E?

  1. P/E: 50/5=1050 / 5 = 10.
  2. Market cap is still $5,000,000,000.
  3. Total earnings: 5×100000000=5000000005 \times 100000000 = 500000000, so $500,000,000.

P/E falls to 10. Market cap is still $5,000,000,000. Earnings are $500,000,000. The share did not get cheaper. The denominator doubled.

An \$80 share on a smaller count

Price is $80, EPS is $2.50, shares outstanding 50,000,000. What is P/E?

  1. P/E: 80/2.50=3280 / 2.50 = 32.
  2. Market cap: 80×50000000=400000000080 \times 50000000 = 4000000000, so $4,000,000,000.
  3. Total earnings: 2.50×50000000=1250000002.50 \times 50000000 = 125000000, so $125,000,000.

P/E is 32. Market cap is $4,000,000,000. Earnings are $125,000,000. The ratio is higher than 20 and the firm is smaller than the first sheet.

Common questions

What is a good P/E ratio?

There is no universal number. A P/E of 20 on the teaching sheet is a $50 share on $2.50 of earnings. The same 20 is cheap in one sector and dear in another, and it is cheapest of all for a cyclical firm at the top of its earnings. Compare it with the same firm over time, or with a rival doing the same work, before treating the multiple as a score.

Is trailing P/E or forward P/E the right one?

They answer different questions. Trailing uses reported earnings, so it is factual and backward-looking. Forward uses estimates for the year ahead, so it moves whenever the estimates do. Mixing them in a table is how two readings of one firm look like two firms. Type the EPS your sheet is using.

Why does a low P/E not mean the share is cheap?

Because the denominator can move without the price moving. On the second sheet, P/E fell from 20 to 10 because earnings doubled from $2.50 to $5.00, not because the $50 share got cheaper. A low P/E often reflects earnings the market expects to fall. A high P/E can be growth that has not arrived yet.

Keep reading

This page is educational material, not financial advice. The figures come from the formula shown and assume the inputs you enter hold for the whole term. Your own rate, fees, taxes and timing will differ, so treat the output as arithmetic to check a decision against, not as a recommendation.