XML 127 R115.htm IDEA: XBRL DOCUMENT v3.22.1
Net Income per Share - Calculation of Basic and Diluted Net Income per Share (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2022
May 01, 2021
Apr. 30, 2022
May 01, 2021
Earnings Per Share [Abstract]        
Net income $ 3,044 $ 2,863 $ 8,997 $ 7,582
Weighted-average shares—basic (in shares) 4,152 4,219 4,184 4,224
Effect of dilutive potential common shares (in shares) 18 19 20 13
Weighted-average shares—diluted (in shares) 4,170 4,238 4,204 4,237
Net income per share—basic (in dollars per share) $ 0.73 $ 0.68 $ 2.15 $ 1.79
Net income per share—diluted (in dollars per share) $ 0.73 $ 0.68 $ 2.14 $ 1.79
Antidilutive employee share-based awards, excluded (in shares) 11 15 46 55