Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Derivative Balances (Details)

v3.7.0.1
Derivatives - Derivative Balances (Details) - USD ($)
$ in Millions
Jun. 30, 2017
Dec. 31, 2016
Derivative Assets [Abstract]    
Gross derivative assets $ 510,400 $ 631,100
Less: Legally enforceable master netting agreements (436,600) (545,300)
Less: Cash collateral received/paid (34,600) (43,300)
Derivative assets 39,190 42,512
Derivative Liabilities [Abstract]    
Gross derivative liabilities 514,600 628,300
Less: Legally enforceable master netting agreements (436,600) (545,300)
Less: Cash collateral received/paid (43,100) (43,500)
Derivative liabilities 34,880 39,480
Credit derivatives | Purchased credit derivatives    
Derivative Liabilities [Abstract]    
Fair value, with identical underlying referenced names and terms 5,200 2,200
Notional amount, with identical underlying referenced names and terms 494,300 548,900
Credit derivatives | Written credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 559,350 639,709
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,949 7,619
Interest Rate Swap    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 18,809,700 16,977,700
Derivative Assets [Abstract]    
Gross derivative assets 315,400 390,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 317,300 388,900
Interest Rate Futures and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 6,027,300 5,609,500
Derivative Assets [Abstract]    
Gross derivative assets 1,900 2,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,800 2,100
Interest Rate Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,301,400 1,146,200
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 40,600 52,200
Interest Rate Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,355,000 1,178,700
Derivative Assets [Abstract]    
Gross derivative assets 42,300 53,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Foreign Exchange Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,963,600 1,828,600
Derivative Assets [Abstract]    
Gross derivative assets 44,500 58,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 47,600 65,000
Foreign Exchange Spot Future and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 4,273,100 3,410,700
Derivative Assets [Abstract]    
Gross derivative assets 47,900 60,500
Derivative Liabilities [Abstract]    
Gross derivative liabilities 50,700 57,400
Foreign Exchange Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 318,900 356,600
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,500 9,400
Foreign Exchange Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 304,900 342,400
Derivative Assets [Abstract]    
Gross derivative assets 5,100 8,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Equity Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 226,800 189,700
Derivative Assets [Abstract]    
Gross derivative assets 3,800 3,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,300 4,000
Equity Futures and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 102,500 68,700
Derivative Assets [Abstract]    
Gross derivative assets 1,800 900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,100 900
Equity Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 513,400 431,500
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 22,600 21,400
Equity Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 445,900 385,500
Derivative Assets [Abstract]    
Gross derivative assets 24,100 23,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Commodity Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 49,300 48,200
Derivative Assets [Abstract]    
Gross derivative assets 2,000 2,500
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,300 5,100
Commodity Futures and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 46,700 49,100
Derivative Assets [Abstract]    
Gross derivative assets 3,400 3,600
Derivative Liabilities [Abstract]    
Gross derivative liabilities 400 500
Commodity Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 27,900 29,300
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,500 1,900
Commodity Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 29,700 28,900
Derivative Assets [Abstract]    
Gross derivative assets 1,500 2,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Credit Default Swap | Purchased credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 531,100 604,000
Derivative Assets [Abstract]    
Gross derivative assets 5,300 8,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 10,700 10,300
Credit Default Swap | Written credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 521,589 614,355
Derivative Assets [Abstract]    
Gross derivative assets 10,500 10,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,747 7,463
Total return swaps/other | Purchased credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 33,700 21,200
Derivative Assets [Abstract]    
Gross derivative assets 100 400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,300 1,500
Total return swaps/other | Written credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 37,761 25,354
Derivative Assets [Abstract]    
Gross derivative assets 800 1,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 202 156
Trading and Other Risk Management Derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 501,200 619,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 508,100 619,300
Trading and Other Risk Management Derivatives | Interest Rate Swap    
Derivative Assets [Abstract]    
Gross derivative assets 310,200 385,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 315,800 386,900
Trading and Other Risk Management Derivatives | Interest Rate Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 1,900 2,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,800 2,100
Trading and Other Risk Management Derivatives | Interest Rate Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 40,600 52,200
Trading and Other Risk Management Derivatives | Interest Rate Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 42,300 53,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Foreign Exchange Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 41,600 54,600
Derivative Liabilities [Abstract]    
Gross derivative liabilities 43,600 58,800
Trading and Other Risk Management Derivatives | Foreign Exchange Spot Future and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 46,800 58,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 49,700 56,600
Trading and Other Risk Management Derivatives | Foreign Exchange Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,500 9,400
Trading and Other Risk Management Derivatives | Foreign Exchange Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 5,100 8,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Equity Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 3,800 3,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,300 4,000
Trading and Other Risk Management Derivatives | Equity Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 1,800 900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,100 900
Trading and Other Risk Management Derivatives | Equity Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 22,600 21,400
Trading and Other Risk Management Derivatives | Equity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 24,100 23,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Commodity Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 2,000 2,500
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,300 5,100
Trading and Other Risk Management Derivatives | Commodity Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 3,400 3,600
Derivative Liabilities [Abstract]    
Gross derivative liabilities 400 500
Trading and Other Risk Management Derivatives | Commodity Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,500 1,900
Trading and Other Risk Management Derivatives | Commodity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 1,500 2,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Credit Default Swap | Purchased credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 5,300 8,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 10,700 10,300
Trading and Other Risk Management Derivatives | Credit Default Swap | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 10,500 10,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,700 7,500
Trading and Other Risk Management Derivatives | Total return swaps/other | Purchased credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 100 400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,300 1,500
Trading and Other Risk Management Derivatives | Total return swaps/other | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 800 1,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 200 200
Qualifying Accounting Hedges    
Derivative Assets [Abstract]    
Gross derivative assets 9,200 11,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 6,500 9,000
Qualifying Accounting Hedges | Interest Rate Swap    
Derivative Assets [Abstract]    
Gross derivative assets 5,200 5,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,500 2,000
Qualifying Accounting Hedges | Interest Rate Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Interest Rate Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Interest Rate Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Foreign Exchange Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 2,900 4,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,000 6,200
Qualifying Accounting Hedges | Foreign Exchange Spot Future and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 1,100 1,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,000 800
Qualifying Accounting Hedges | Foreign Exchange Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Foreign Exchange Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Equity Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Equity Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Equity Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Equity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Commodity Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Commodity Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Commodity Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Commodity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Credit Default Swap | Purchased credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Credit Default Swap | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Total return swaps/other | Purchased credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Qualifying Accounting Hedges | Total return swaps/other | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities $ 0 $ 0