v3.26.1
Earnings Per Share - Schedule of Reconciliation of Numerator and Denominator of Basic and Diluted Earnings Per Share (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Numerator      
Net income attributable to common shareholders, basic $ 3,648 $ 3,531 $ 2,844
Net income attributable to common shareholders, diluted $ 3,648 $ 3,531 $ 2,844
Denominator      
Basic - weighted-average common shares (in shares) 126.3 128.3 128.5
Dilutive effect of equity-based awards (in shares) 1.8 1.9 1.7
Diluted - weighted-average common shares (in shares) 128.1 130.2 130.2
Basic earnings per share (in USD per share) $ 28.89 $ 27.52 $ 22.13
Diluted earnings per share (in USD per share) $ 28.48 $ 27.12 $ 21.84