v3.24.2.u1
Stock-Based Compensation - Schedule of Incentive Equity Awards (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Weighted Average Grant-Date Fair Value      
Intrinsic values of stock options exercised $ 66.7 $ 51.2 $ 79.6
Aggregate intrinsic value 140.8    
Aggregate intrinsic value $ 112.0    
Stock Options      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]      
Beginning balance (in shares) 2,696,805 2,706,685 3,203,682
Granted (in shares) 338,301 577,046 436,913
Exercised (in shares) (732,491) (565,470) (850,514)
Expired/forfeited (in shares) (121,994) (21,456) (83,396)
Ending balance (in shares) 2,180,621 2,696,805 2,706,685
Weighted Average Exercise Price      
Beginning balance (in dollars per share) $ 116.46 $ 102.34 $ 88.33
Granted (in dollars per share) 197.04 144.34 146.26
Exercised (in dollars per share) 98.34 76.38 70.94
Expired/forfeited (in dollars per share) 158.93 141.35 114.58
Ending balance (in dollars per share) $ 132.68 $ 116.46 $ 102.34
Time-based RSUs      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]      
Beginning balance of RSUs (in shares) 731,327 750,852 761,337
Granted RSUs (in shares) 299,368 393,541 396,667
Vesting of RSUs (in shares) (294,088) (333,625) (318,693)
Expired/forfeited RSUs (in shares) (53,923) (79,441) (88,459)
Ending balance of RSUs (in shares) 682,684 731,327 750,852
Weighted Average Grant-Date Fair Value      
Beginning balance (in dollars per share) $ 137.76 $ 135.94 $ 117.07
Granted (in dollars per share) 173.18 139.36 159.57
Vesting of RSUs (in dollars per share) 152.47 134.02 117.62
Expired/forfeited (in dollars per share) 152.23 144.18 145.53
Ending balance (in dollars per share) $ 146.05 $ 137.76 $ 135.94
Intrinsic values of Time-based restricted stock units $ 59.0 $ 49.6 $ 50.5
Aggregate intrinsic value of RSUs $ 127.1    
Performance-based RSUs      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]      
Beginning balance of RSUs (in shares) 201,705 210,281 247,580
Granted RSUs (in shares) 92,905 110,624 103,084
Vesting of RSUs (in shares) (85,914) (108,475) (91,246)
Expired/forfeited RSUs (in shares) (46,891) (10,725) (49,137)
Ending balance of RSUs (in shares) 161,805 201,705 210,281
Weighted Average Grant-Date Fair Value      
Beginning balance (in dollars per share) $ 153.42 $ 148.59 $ 126.29
Granted (in dollars per share) 168.95 139.00 157.88
Vesting of RSUs (in dollars per share) 158.22 130.18 119.65
Expired/forfeited (in dollars per share) 145.22 144.91 109.45
Ending balance (in dollars per share) $ 152.21 $ 153.42 $ 148.59
Intrinsic values of Time-based restricted stock units $ 17.2 $ 15.9 $ 14.3
Aggregate intrinsic value of RSUs $ 29.8    
Vested Stock Options      
Weighted Average Grant-Date Fair Value      
Outstanding (in the money) stock options fiscal year-end share price (in dollars per share) $ 197.00