v3.26.1
Earnings Per Share (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Numerator:        
Net earnings, basic $ 661 $ 763 $ 1,656 $ 1,734
Net earnings, diluted $ 661 $ 763 $ 1,656 $ 1,734
Denominator:        
Weighted-average shares used to compute basic net EPS (in shares) 919 947 922 948
Dilutive effect of employee stock plans (in shares) 8 7 5 7
Weighted-average shares used to compute diluted net EPS (in shares) 927 954 927 955
Net earnings per share:        
Basic (usd per share) $ 0.72 $ 0.81 $ 1.80 $ 1.83
Diluted (usd per share) $ 0.71 $ 0.80 $ 1.79 $ 1.82
Anti-dilutive weighted-average stock plans (in shares) 12 14 17 8