v3.26.1
Concentration of Risk and Segment Data - Schedule of Segment Income and Reconciliation of Income Before Income Tax (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Disaggregation of Revenue [Line Items]        
Segment income $ 445 $ 403 $ 1,102 $ 845
Reconciling items:        
Amortization of intangibles (23) (17) (65) (45)
Stock-based compensation expense and related charges (25) (19) (115) (84)
Restructuring, severance and related charges (7) (16) (88) (144)
(Loss) gain from the divestiture of businesses (1) 45 (1) 45
Acquisition and divestiture related charges (3) (9) (24) (17)
Loss on securities 0 (46) 0 (46)
Interest expense, net (51) (37) (128) (112)
Income before income tax 366 290 886 613
Hanley Energy Group | Foreign Exchange | Forward contracts        
Reconciling items:        
Derivative instruments not designated as hedging instruments, gain (loss), net     8  
Operating Segments        
Disaggregation of Revenue [Line Items]        
Segment income 504 420 1,394 1,101
Segment Reconciling Items        
Reconciling items:        
Amortization of intangibles (23) (17) (65) (45)
Stock-based compensation expense and related charges (25) (19) (115) (84)
Restructuring, severance and related charges (7) (16) (88) (144)
Business interruption and impairment charges, net 0 (1) 0 (10)
(Loss) gain from the divestiture of businesses (1) 45 (1) 45
Acquisition and divestiture related charges (3) (9) (24) (17)
Loss on securities 0 (46) 0 (46)
Other expense (net of periodic benefit cost) (28) (30) (87) (75)
Interest expense, net $ (51) $ (37) $ (128) $ (112)