XML 43 R31.htm IDEA: XBRL DOCUMENT
v3.23.1

Net Earnings Per Share (Tables) | 6 Months Ended
--- | ---
Apr. 30, 2023
Earnings Per Share [Abstract] |
Basic and Diluted Net Earnings Per Share Calculations | A reconciliation of the number of shares used for basic and diluted net EPS calculations is as follows:
| Three months ended April 30 |  | Six months ended April 30
| 2023 |  | 2022 |  | 2023 |  | 2022
| In millions, except per share amounts
Numerator: |  |  |  |  |  |  |
Net earnings | $ | 1,066 |  |  | $ | 1,000 |  |  | $ | 1,553 |  |  | $ | 2,086 |
Denominator: |  |  |  |  |  |  |
Weighted-average shares used to compute basic net EPS | 991 |  |  | 1,050 |  |  | 990 |  |  | 1,066 |
Dilutive effect of employee stock plans | 7 |  |  | 12 |  |  | 7 |  |  | 12 |
Weighted-average shares used to compute diluted net EPS | 998 |  |  | 1,062 |  |  | 997 |  |  | 1,078 |
Net earnings per share: |  |  |  |  |  |  |
Basic | $ | 1.08 |  |  | $ | 0.95 |  |  | $ | 1.57 |  |  | $ | 1.96 |
Diluted | $ | 1.07 |  |  | $ | 0.94 |  |  | $ | 1.56 |  |  | $ | 1.94 |
Anti-dilutive weighted-average stock-based compensation awards(1) | 5 |  |  | 1 |  |  | 7 |  |  | 4 |
(1)HP excludes from the calculation of diluted net EPS stock options and restricted stock units where the assumed proceeds exceed the average market price, because their effect would be anti-dilutive. The assumed proceeds of a stock option include the sum of its exercise price, and average unrecognized compensation cost. The assumed proceeds of a restricted stock unit represent unrecognized compensation cost.

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration