Quarterly report [Sections 13 or 15(d)]

Derivatives - Gains and Losses on Derivatives and Hedged Items Designated in Fair Value Hedges (Details)

v3.25.2
Derivatives - Gains and Losses on Derivatives and Hedged Items Designated in Fair Value Hedges (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ (964) $ (58) $ (3,014) $ (548)
Hedged Item 933 38 2,930 517
Interest rate risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 1,368 (486) 3,844 (3,590)
Hedged Item (1,367) 481 (3,847) 3,571
Interest rate and foreign currency risk        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (165) 279 (367) 623
Hedged Item 165 (285) 367 (614)
Interest rate and foreign currency risk | Interest Income        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (16) 8 (7) 17
Interest rate and foreign currency risk | Market making and similar activities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (148) 273 (358) 597
Interest rate risk on available-for-sale securities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (1,966) 315 (5,193) 2,805
Hedged Item 1,934 (324) 5,112 (2,826)
Price risk on commodity inventory | Interest Income        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (201) (166) (1,298) (386)
Hedged Item 201 166 1,298 386
Accumulated Other Comprehensive Income (Loss) | Interest rate and foreign currency risk        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ (1) $ (2) $ (2) $ 9