v3.25.2
Stock Plan Activity (Detail) - Stock Awards - $ / shares
shares in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Shares      
Nonvested balance, beginning of year 88    
Granted [1] 39    
Vested (38)    
Forfeited (7)    
Nonvested balance, end of year 82 88  
Weighted Average Grant-Date Fair Value      
Nonvested balance, beginning of year $ 292.28    
Granted 413.9 [1] $ 339.46 $ 252.59
Vested 293.25    
Forfeited 317.23    
Nonvested balance, end of year $ 347.44 $ 292.28  
[1] Includes 1 million of PSUs granted at target and performance adjustments above target levels for each of the fiscal years 2025, 2024, and 2023.