v3.25.2
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, 2025
Jun. 30, 2024
Jun. 30, 2023
Numerator:      
Net income $ 1,400,723 $ 1,020,951 $ 897,556
Denominator:      
Basic weighted-average common shares outstanding (in shares) 146,716 147,021 146,765
Effect of dilutive securities:      
Stock options and restricted stock units (in shares) 624 529 690
Diluted weighted average shares (in shares) 147,340 147,550 147,455
Basic earnings per share (in dollars per share) $ 9.55 $ 6.94 $ 6.12
Diluted earnings per share (in dollars per share) $ 9.51 $ 6.92 $ 6.09