v3.26.1
Earnings Per Share
9 Months Ended
Jul. 31, 2026
Earnings Per Share [Abstract]  
Earnings Per Share Earnings Per Share
HP calculates basic net EPS using net earnings and the weighted-average number of shares outstanding during the reporting period. Diluted net EPS includes any dilutive effect of restricted stock units, stock options, performance-based awards and shares purchased under the 2021 employee stock purchase plan.
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
2026202520262025
In millions, except per share amounts
Numerator:
Net earnings$661 $763 $1,656 $1,734 
Denominator:
Weighted-average shares used to compute basic net EPS919 947 922 948 
Dilutive effect of employee stock plans8 7 5 7 
Weighted-average shares used to compute diluted net EPS927 954 927 955 
Net earnings per share:
Basic$0.72 $0.81 $1.80 $1.83 
Diluted$0.71 $0.80 $1.79 $1.82 
Anti-dilutive weighted-average stock plans(1)
12 14 17 8 
(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 average unrecognized compensation cost.