v3.26.1
Net Income Per Share (Schedule of Computation of Basic and Diluted Net Income Per Share) (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Earnings Per Share [Abstract]      
Net income $ 307 $ 1,134 $ 2,578
Weighted-average shares used to compute net income per share, basic (in shares) 749 663 638
Weighted-average effect of potentially dilutive securities:      
Convertible senior notes (in shares) 0 7 21
Warrants related to the issuance of convertible senior notes (in shares) 5 25 26
Employee equity incentive plans (in shares) 10 14 23
Weighted-average shares used to compute net income per share, diluted (in shares) 764 709 708
Net income per share, basic (in usd per share) $ 0.41 $ 1.71 $ 4.04
Net income per share, diluted (in usd per share) $ 0.40 $ 1.60 $ 3.64