Academy cover: What a multiple says

P/E ratio explained: reading valuation before a stock trade

Updated November 2026

Updated November 2026

The P/E ratio, or price-to-earnings ratio, is a company's share price divided by its earnings per share. It shows how much the market is paying for each unit of the company's yearly earnings: a PE ratio of 20 means the share costs 20 times what the company earned per share over the period measured.

This guide shows the calculation, then works it on two real companies, Johnson & Johnson and Walmart, from one dated closing price. Depending on which earnings figure sits underneath, the same Johnson & Johnson price gives a P/E of anywhere from about 24 to 41. The guide takes no view on whether either share is cheap or expensive. P/E is one of the tools of how fundamental analysis works: it reads a company's accounts rather than its chart.

What is the P/E ratio?

The P/E ratio is the price of one share divided by the company's earnings per share (EPS), so it measures how many times its yearly earnings per share the market is paying for that share.

P/E ratio = share price ÷ earnings per share

Earnings per share is the company's net income attributable to its shareholders, divided by the number of its shares. Companies report a basic figure and a diluted one, which also counts shares that could be created from options and similar instruments. A P/E normally uses diluted EPS, and so does this guide.

You get the same answer at company level: market capitalisation (the share price times the number of shares) divided by net income. Either way, the ratio puts the price and the earnings into one number.

A higher P/E means the market is paying more for each unit of current earnings. That can reflect expected growth, steady earnings, or earnings that are temporarily low. A lower P/E can reflect the opposite of each. The ratio itself does not say which.

How to calculate a P/E ratio

Three steps, each with a date attached.

  1. Take the share price, and note when. Johnson & Johnson (J&J) closed at $270.47 on 20 November 2026.
  2. Choose the earnings per share, and note which. J&J's diluted EPS for its 2025 financial year was $11.03, under generally accepted accounting principles (GAAP).
  3. Divide. $270.47 ÷ $11.03 = 24.5. At that close, the market was paying about 24.5 times J&J's 2025 earnings per share.

Step 2 is where most of the differences come from. The price is one public number. Earnings come in several versions.

Trailing, forward and adjusted P/E

Version

Earnings it uses

Where the figure comes from

What to watch

Trailing P/E

The last four reported quarters, often called the trailing twelve months (TTM)

The company's results releases

It changes every time a new quarter is reported

P/E on the last full year

The last complete financial year

The annual results

It can be up to a year out of date

Forward P/E

An estimate of earnings for the current or the next year

The company's own outlook, or analysts' estimates collected by data providers

It is an estimate, and estimates change

Adjusted P/E

Earnings with items the company treats as unusual taken out

The company's own reconciliation

Each company defines its own adjustments

Adjusted EPS is a non-GAAP measure. J&J's excludes intangible amortisation expense and special items. Walmart's adjusted EPS for its latest quarter excluded a net loss on equity and other investments. Adjustments make one company's years easier to compare with each other. They also mean two companies' adjusted figures may not be built the same way.

Worked example: P/E and forward P/E for two real companies

Two large US-listed companies, priced at the same close, 20 November 2026. Every input comes from the company's own results release or a data provider's price history; the arithmetic is ours. The example shows how the ratio is built, not a view on either share.

The inputs

Input

Johnson & Johnson (JNJ)

Walmart (WMT)

Share price, close of 20 November 2026

$270.47

$127.95

Diluted EPS, last full financial year (GAAP)

$11.03 (2025)

$2.73 (year to 31 January 2026)

Adjusted EPS, same year

$10.79

$2.64

Diluted EPS, last four reported quarters (GAAP)

$6.60 (Q4 2025 to Q3 2026: $2.10 + $2.14 + $2.27 + $0.09)

$2.62 (Q4 of the year to January 2026, $0.53, plus the nine months to 31 October 2026, $2.09)

Company's own outlook for adjusted EPS, current financial year

$11.05 to $11.15, midpoint $11.10 (2026; given 13 October 2026)

$2.84 to $2.89, midpoint $2.865 (year to 31 January 2027; given 19 November 2026)

Sources: share prices from Yahoo Finance (JNJ) and Yahoo Finance (WMT); J&J's results for Q4 and full year 2025, Q1 2026, Q2 2026 and Q3 2026; Walmart's earnings releases for the quarter to 31 January 2026 and the quarter to 31 October 2026. Summing four quarters of diluted EPS is a common shortcut; a data provider's own trailing figure can differ slightly.

The ratios

P/E on the close of 20 November 2026, using...

Johnson & Johnson

Walmart

Last full year, GAAP

24.5

46.9

Last full year, adjusted

25.1

48.5

Last four quarters, GAAP (trailing P/E)

41.0

48.8

Company's current-year outlook, adjusted (forward P/E)

24.4

44.7

Price divided by each EPS figure in the inputs table, rounded to one decimal place.

What the tables show

  • One charge can move a trailing P/E a long way. J&J's diluted EPS for the third quarter of 2026 was $0.09, against $2.12 a year earlier, after a one-time charge for a proposed talc litigation resolution and costs linked to an acquisition and a collaboration. That pulls its last four quarters down to $6.60 and its trailing P/E up to 41.0. On adjusted EPS for the same four quarters ($2.46 + $2.70 + $2.90 + $2.59 = $10.65), the P/E is 25.4.
  • The ratio moved without the price moving. At the same $270.47, J&J's P/E on the four quarters to June 2026 ($2.12 + $2.10 + $2.14 + $2.27 = $8.63) would be 31.3. The new quarter, not the share price, took it to 41.0.
  • The price moves the ratio every day, too. J&J closed at $282.55 on 16 November. On the same 2025 EPS, that is a P/E of 25.6, four trading days earlier.
  • Adjustments go both ways. For their last full years, both companies' adjusted EPS was below their GAAP EPS, so their adjusted P/Es are slightly higher. Over J&J's last four quarters, and in Walmart's latest quarter ($0.65 adjusted against $0.62 GAAP), it was the other way round.
  • The two companies sit far apart. On every measure here, Walmart's P/E is close to twice J&J's. That describes what the market paid for each company's earnings on one day. The gap can reflect different expectations for growth, different risks, or earnings that are unusually high or low in a given year. It does not say which share is better value.

Forward P/E depends on an estimate that moves

Forward P/E puts an estimate under the price, and estimates change. Both companies publish an outlook for adjusted EPS, and both revised it during the year.

J&J's outlook for 2026, by midpoint, was $11.53 in January, $11.55 in April, $11.68 on 15 July, $11.04 on 29 July and $11.10 in October. The 29 July cut followed two transactions, an acquisition and a collaboration, that J&J said would reduce its 2026 adjusted EPS. At the same $270.47, those midpoints give forward P/Es from 23.2 to 24.5.

Walmart's outlook for the year to 31 January 2027 started at $2.75 to $2.85 in February, rose to $2.80 to $2.87 in August and to $2.84 to $2.89 on 19 November. On the latest midpoint, $2.865, its forward P/E is 44.7.

Two notes on the forward figures. First, this guide uses each company's own outlook for its current financial year, because it is the estimate the company itself publishes. Data providers usually build forward P/E from analysts' estimates, often for the next twelve months, so their figure will differ. Second, J&J's 2026 financial year closes around the turn of the year, so by late November most of it is already known; Walmart's runs to 31 January 2027.

What a P/E ratio cannot tell you

  • Whether a share is cheap or expensive. A P/E compares the price with one earnings figure. Whether that price is justified depends on what the company earns in future, which nobody knows.
  • Anything useful when earnings are negative. If a company made a loss, its P/E is usually treated as not meaningful. Earnings close to zero produce very large P/Es, as J&J's third quarter shows on a small scale.
  • The effect of one-offs, unless you look. A large charge or gain in one quarter moves the trailing P/E until that quarter drops out of the four, a year later.
  • How companies in different sectors compare. Retailers, drug makers, banks and software firms differ in growth, risks and accounting, so their P/Es often sit in different ranges. A P/E is most informative next to similar companies, or next to the same company's own history, measured the same way.
  • Debt. Earnings are counted after interest, but the P/E does not show how much a company owes. Two companies with the same P/E can carry very different borrowing. Measures such as enterprise value to EBITDA take debt into account.
  • A long record, for a new company. A company that has only recently listed through an initial public offering (IPO) may have only a few years of published earnings, and some list before they have any.
  • Timing. Earnings change four times a year; the price changes all session. A P/E says nothing about where a share trades next hour or next week.

How traders read P/E before a stock trade

For a trader, P/E is context, not a signal. It describes the company behind the share. A share CFD is a different thing: it tracks the share's price, so with a CFD you speculate on the price movement without owning the share. The P/E describes the company, not the contract.

  • Results days move the E. When a company reports a quarter, its trailing P/E changes at once, whatever the price does, as J&J's third quarter showed.
  • Outlook changes move the forward E. A raised or lowered outlook changes the forward P/E at the same price. Both companies here changed their outlook alongside their results, and J&J once between them.
  • Know which P/E you are reading. A quoted P/E may be trailing or forward, GAAP or adjusted, and built on a data provider's own estimates. Check the label before you compare two numbers.
  • Check the dates. A P/E is a snapshot: a price on one day over earnings for one period. Note both.

Trading shares on Ouinex

Ouinex's trading hours list three groups of shares: US Shares, EU Shares and HK Shares. US Shares trade from 16:33 to 22:59 platform time, Monday to Friday. Platform time is GMT+2 in winter and GMT+3 in summer, usually two hours ahead of UK time, and hours can change on public holidays. This guide cannot tell you whether a particular company, including the two above, is available on Ouinex: check the instrument on Ouinex before you plan a trade. For an introduction to share CFDs and other stock derivatives, see the Academy guide.

Check the leverage and margin terms on Ouinex before you open a position. Overnight financing can be charged, or credited: check the current overnight financing on Ouinex before you hold a CFD position overnight. For what a share CFD costs on Ouinex, see the fees page. Trading leveraged products carries a high risk of loss.

FAQ: P/E ratio questions answered

Is there a good P/E ratio?

No single number is good or bad. A P/E only means something next to a comparison: similar companies, the same company's own past, or the wider market, measured the same way. A lower P/E is not a bargain by definition, and a higher one is not a warning. It reflects what the market expects, which can be wrong either way.

What does a P/E of 40 mean?

It means the share price is 40 times the earnings per share used: the market is paying $40 for each $1 of yearly earnings per share. That can reflect expected growth, or earnings that are temporarily low. J&J's trailing P/E of 41.0 on 20 November 2026 came mostly from one quarter's charge.

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

Trailing P/E divides the price by earnings already reported, usually the last four quarters. Forward P/E divides it by an estimate of earnings to come, from the company's own outlook or from analysts. Trailing is a fact that can be out of date. Forward is current but can change: J&J revised its 2026 outlook four times.

Can a P/E ratio be negative?

In arithmetic, yes: a share price divided by a loss per share gives a negative number. In practice, a P/E based on a loss is usually treated as not meaningful, because it cannot be compared with positive P/Es. Analysts then turn to other measures, such as the share price compared with sales per share.

How do you calculate the P/E ratio?

Divide the share price by earnings per share, and date both. With J&J's close of $270.47 on 20 November 2026 and its 2025 diluted EPS of $11.03, the P/E is 24.5. Say which earnings you used: the same price gives 41.0 on the last four quarters' reported earnings.

Conclusion

The P/E ratio divides a share's price by its earnings per share, and it is only as informative as the earnings underneath. On one close, 20 November 2026, J&J's P/E reads 24.4 on its own outlook, 24.5 on last year's earnings and 41.0 on the last four quarters; Walmart's sits between 44.7 and 48.8. None of those numbers says whether either share is cheap or expensive. Read the label, the date and the earnings version before you compare.

Trading leveraged products carries a high risk of loss. Check the cost of a share CFD on Ouinex before you open one.

Sources

  1. Yahoo Finance: Johnson & Johnson (JNJ) historical prices, 16 to 20 November 2026, for the closes of $282.55 (16 November) and $270.47 (20 November).
  2. Yahoo Finance: Walmart (WMT) historical prices, 16 to 20 November 2026, for the close of $127.95 on 20 November.
  3. Johnson & Johnson: Q4 and full year 2025 results (21 January 2026), for diluted EPS of $11.03 and adjusted EPS of $10.79 for 2025, diluted and adjusted EPS for Q4 2025, and the January 2026 outlook.
  4. Johnson & Johnson: Q1 2026 results (14 April 2026), for diluted and adjusted EPS for Q1 2026 and the April outlook.
  5. Johnson & Johnson: Q2 2026 results (15 July 2026), for diluted and adjusted EPS for Q2 2026 and the 15 July outlook.
  6. Johnson & Johnson: Q3 2026 results (13 October 2026), for diluted and adjusted EPS for Q3 2026 and Q3 2025, the one-time charge, the 29 July and October outlooks, and what adjusted EPS excludes.
  7. Johnson & Johnson: 2026 Q3 Economic Factors and J&J Announcements (16 September 2026), for the two transactions behind the 29 July outlook change.
  8. Walmart: earnings release for the quarter and year to 31 January 2026 (19 February 2026), for diluted EPS of $2.73 and adjusted EPS of $2.64 for the year, and diluted EPS of $0.53 for the quarter.
  9. Walmart: earnings release for the quarter to 31 October 2026 (19 November 2026), for diluted EPS for the quarter and the nine months, adjusted EPS and its exclusion, and the outlook for the year to 31 January 2027 as given in February, August and November.
‹ Back to Ouinex Academy