v3.26.1
Retirement Benefits - Narrative (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Number of shares invested by employees in company stock (in shares) 3,500,000 4,000,000.0  
Defined contribution plan, annual contributions per employee not grandfathered (as percent) 3.00%    
Corporate-owned life insurance policies $ 294 $ 260  
Deferred compensation liabilities $ 196 171  
United States      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Percentage of assets held in U.S. defined benefit plans from total defined plan assets 62.00%    
Matching contribution $ 194 187 $ 194
Non-U.S. Pension Benefits      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Percentage of assets held in U.S. defined benefit plans from total defined plan assets 23.00%    
Matching contribution $ 36 33 $ 31
Maximum      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Maximum percentage of employer 401K matching contribution 5.00%    
Equities      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Weighted-average target asset allocation (as percent) 20.00%    
Fixed income      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Weighted-average target asset allocation (as percent) 53.00%    
Other investments      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Weighted-average target asset allocation (as percent) 27.00%    
Pension Plan      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Accumulated benefit obligation for all defined benefit plans $ 5,100 $ 5,400  
Expected cash contributions to defined benefit pension plans in next fiscal year 52    
Pension Plan | Non-U.S. Pension Benefits      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Expected cash contributions to defined benefit pension plans in next fiscal year $ 37