v3.25.2
Derivative Financial Instruments - Gains and Losses on Derivative Instruments Held For Trading Purpose (Detail) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) Recognized in Income on Derivatives $ (923) $ (334) $ (186) $ (1,137)
Trading revenue | Interest rate contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) Recognized in Income on Derivatives (21) 57 (148) 128
Trading revenue | Foreign exchange contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) Recognized in Income on Derivatives 133 24 267 141
Trading revenue | Equity contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) Recognized in Income on Derivatives (1,047) (473) (269) (1,521)
Trading revenue | Precious metals contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) Recognized in Income on Derivatives 15 11 19 (11)
Trading revenue | Credit contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (Loss) Recognized in Income on Derivatives $ (3) $ 47 $ (55) $ 126