v3.26.1
Equity Award Plans (RSU and PSU Activities) (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Number of Shares        
Granted (in shares)       2
RSUs        
Number of Shares        
Balance, beginning (in shares) 13 18 24  
Granted (in shares) 15 6 9  
Vested (in shares) (9) (9) (12)  
Forfeited (in shares) (2) (2) (3)  
Balance, ending (in shares) 17 13 18 24
Weighted-Average Grant-Date Fair Value Per Share        
Balance, beginning (in usd per share) $ 143.33 $ 102.59 $ 71.30  
Granted (in usd per share) 184.48 189.45 137.76  
Vested (in usd per share) 144.94 97.00 68.63  
Forfeited (in usd per share) 158.84 115.94 84.12  
Balance, ending (in usd per share) $ 177.41 $ 143.33 $ 102.59 $ 71.30
Aggregate Intrinsic Value        
Aggregate intrinsic value $ 5,594 $ 2,285 $ 2,924 $ 3,013
RSUs | Chronosphere, CyberArk, Koi, and Portkey        
Number of Shares        
Granted (in shares) 7      
RSUs | Chronosphere, Inc.        
Weighted-Average Grant-Date Fair Value Per Share        
Granted (in usd per share) $ 176.20      
RSUs | CyberArk Software Ltd.        
Weighted-Average Grant-Date Fair Value Per Share        
Granted (in usd per share) 165.30      
RSUs | Koi Security Ltd        
Weighted-Average Grant-Date Fair Value Per Share        
Granted (in usd per share) 161.59      
RSUs | Portkey, Inc        
Weighted-Average Grant-Date Fair Value Per Share        
Granted (in usd per share) $ 281.69      
PSU        
Number of Shares        
Balance, beginning (in shares) 9 10 10  
Granted (in shares) 4 4 4  
Vested (in shares) (3) (1) (3)  
Forfeited (in shares) (2) (4) (1)  
Balance, ending (in shares) 8 9 10 10
Weighted-Average Grant-Date Fair Value Per Share        
Balance, beginning (in usd per share) $ 140.92 $ 77.95 $ 64.32  
Granted (in usd per share) 186.49 201.59 91.39  
Vested (in usd per share) 150.68 64.65 57.28  
Forfeited (in usd per share) 146.42 92.11 68.54  
Balance, ending (in usd per share) $ 155.85 $ 140.92 $ 77.95 $ 64.32
Aggregate Intrinsic Value        
Aggregate intrinsic value $ 2,643 $ 1,635 $ 1,624 $ 1,242