v3.26.1
Segment Information (Depreciation and Amortization and Additions to Property and Equipment by Reportable Segment) (Details)
$ in Millions
12 Months Ended
Jun. 30, 2026
USD ($)
segment
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Segment Reporting [Line Items]      
Total depreciation and amortization $ 956 $ 790 $ 710
Segment Reporting, Long-Lived Asset, Expenditure for Addition $ 649 547 511
Number of Reportable Segments | segment 2    
Operating Segments | Pharmaceutical and Specialty Solutions      
Segment Reporting [Line Items]      
Total depreciation and amortization $ 257 185 184
Segment Reporting, Long-Lived Asset, Expenditure for Addition 160 118 76
Operating Segments | GMPD      
Segment Reporting [Line Items]      
Total depreciation and amortization 219 212 205
Segment Reporting, Long-Lived Asset, Expenditure for Addition 134 133 136
Operating Segments | Other Operating Segment      
Segment Reporting [Line Items]      
Total depreciation and amortization 112 88 79
Segment Reporting, Long-Lived Asset, Expenditure for Addition 111 88 81
Segment Reporting, Reconciling Item, Corporate Nonsegment [Member]      
Segment Reporting [Line Items]      
Total depreciation and amortization 368 305 242
Segment Reporting, Long-Lived Asset, Expenditure for Addition $ 244 $ 208 $ 218