XML 52 R39.htm IDEA: XBRL DOCUMENT v3.21.2
Earnings Per Share (Tables)
12 Months Ended
Oct. 31, 2021
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:
 For the fiscal years ended October 31
 202120202019
 In millions, except per share amounts
Numerator:   
Net earnings$6,503 $2,844 $3,152 
Denominator:   
Weighted-average shares used to compute basic net EPS1,208 1,413 1,515 
Dilutive effect of employee stock plans12 
Weighted-average shares used to compute diluted net EPS1,220 1,420 1,524 
Net earnings per share:   
Basic$5.38 $2.01 $2.08 
Diluted$5.33 $2.00 $2.07 
Anti-dilutive weighted-average stock-based compensation awards(1)
13 
    

(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.