v3.26.1
Earnings Per Share - Schedule of Basic and Diluted Earnings Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Numerator:      
Net income $ 1,523,293 $ 1,400,723 $ 1,020,951
Denominator:      
Basic weighted-average common shares outstanding (in shares) 145,523 146,716 147,021
Effect of dilutive securities:      
Stock options and restricted stock units (in shares) 531 624 529
Diluted weighted average shares (in shares) 146,054 147,340 147,550
Basic earnings per share (in dollars per share) $ 10.47 $ 9.55 $ 6.94
Diluted earnings per share (in dollars per share) $ 10.43 $ 9.51 $ 6.92