v3.26.1
CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Unaudited) - USD ($)
shares in Thousands, $ in Millions
Total
Shares of Common Stock
Common Stock and Additional Paid-In Capital
Treasury Stock
Accumulated Other Comprehensive Loss
Retained Earnings
Beginning balance (in shares) at Jul. 31, 2024   280,268        
Beginning balance at Jul. 31, 2024 $ 18,436   $ 20,251 $ (18,750) $ (54) $ 16,989
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Comprehensive income 3,496       8 3,488
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (in shares)   2,113        
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (349)   (349)      
Stock repurchases under stock repurchase programs (in shares)   (3,307)        
Stock repurchases under stock repurchase programs (2,045)     (2,045)    
Dividends and dividend rights declared (891)         (891)
Share-based compensation expense 1,478   1,478      
Ending balance (in shares) at Apr. 30, 2025   279,074        
Ending balance at Apr. 30, 2025 20,125   21,380 (20,795) (46) 19,586
Beginning balance (in shares) at Jan. 31, 2025   279,740        
Beginning balance at Jan. 31, 2025 17,949   20,995 (20,041) (64) 17,059
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Comprehensive income 2,838       18 2,820
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (in shares)   601        
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (84)   (84)      
Stock repurchases under stock repurchase programs (in shares)   (1,267)        
Stock repurchases under stock repurchase programs (754)     (754)    
Dividends and dividend rights declared (293)         (293)
Share-based compensation expense 469   469      
Ending balance (in shares) at Apr. 30, 2025   279,074        
Ending balance at Apr. 30, 2025 20,125   21,380 (20,795) (46) 19,586
Beginning balance (in shares) at Jul. 31, 2025   279,129        
Beginning balance at Jul. 31, 2025 19,710   21,635 (21,543) (50) 19,668
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Comprehensive income 4,199       (4) 4,203
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (in shares)   1,698        
Issuance of stock under employee stock plans, net of shares withheld for employee taxes $ (439)   (439)      
Stock repurchases under stock repurchase programs (in shares) (6,600) (6,559)        
Stock repurchases under stock repurchase programs $ (3,373)     (3,373)    
Dividends and dividend rights declared (1,017)         (1,017)
Share-based compensation expense 1,549   1,549      
Ending balance (in shares) at Apr. 30, 2026   274,268        
Ending balance at Apr. 30, 2026 20,629   22,745 (24,916) (54) 22,854
Beginning balance (in shares) at Jan. 31, 2026   277,492        
Beginning balance at Jan. 31, 2026 19,055   22,336 (23,355) (49) 20,123
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Comprehensive income 3,059       (5) 3,064
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (in shares)   525        
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (76)   (76)      
Stock repurchases under stock repurchase programs (in shares)   (3,749)        
Stock repurchases under stock repurchase programs (1,561)     (1,561)    
Dividends and dividend rights declared (333)         (333)
Share-based compensation expense 485   485      
Ending balance (in shares) at Apr. 30, 2026   274,268        
Ending balance at Apr. 30, 2026 $ 20,629   $ 22,745 $ (24,916) $ (54) $ 22,854