XML 43 R34.htm IDEA: XBRL DOCUMENT v3.23.2
Net Earnings Per Share (Tables)
9 Months Ended
Jul. 31, 2023
Earnings Per Share [Abstract]  
Schedule of 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 July 31Nine months ended July 31
 2023202220232022
 In millions, except per share amounts
Numerator:  
Net earnings$766 $1,122 $2,289 $3,155 
Denominator:  
Weighted-average shares used to compute basic net EPS993 1,024 991 1,052 
Dilutive effect of employee stock plans11 12 
Weighted-average shares used to compute diluted net EPS1,002 1,035 999 1,064 
Net earnings per share:  
Basic$0.77 $1.10 $2.31 $3.00 
Diluted$0.76 $1.08 $2.29 $2.97 
Anti-dilutive weighted-average stock-based compensation awards(1)
(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.