Annual report pursuant to Section 13 and 15(d)

Derivatives - Derivative Balances (Details)

v3.6.0.2
Derivatives - Derivative Balances (Details) - USD ($)
$ in Millions
Dec. 31, 2016
Dec. 31, 2015
Derivative Assets [Abstract]    
Gross derivative assets $ 631,100 $ 688,600
Less: Legally enforceable master netting agreements (545,300) (596,700)
Less: Cash collateral received/paid (43,300) (41,900)
Derivative assets 42,512 49,990
Derivative Liabilities [Abstract]    
Gross derivative liabilities 628,300 681,100
Less: Legally enforceable master netting agreements (545,300) (596,700)
Less: Cash collateral received/paid (43,500) (45,900)
Derivative liabilities 39,480 38,450
Interest Rate Swap    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 16,977,700 21,706,800
Derivative Assets [Abstract]    
Gross derivative assets 390,900 447,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 388,900 442,000
Interest Rate Futures and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 5,609,500 6,237,600
Derivative Assets [Abstract]    
Gross derivative assets 2,200 1,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 2,100 1,300
Interest Rate Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,146,200 1,313,800
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 52,200 57,600
Interest Rate Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,178,700 1,393,300
Derivative Assets [Abstract]    
Gross derivative assets 53,300 58,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Foreign Exchange Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,828,600 2,149,900
Derivative Assets [Abstract]    
Gross derivative assets 58,800 50,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 65,000 55,000
Foreign Exchange Spot Future and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 3,410,700 4,104,300
Derivative Assets [Abstract]    
Gross derivative assets 60,500 47,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 57,400 46,100
Foreign Exchange Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 356,600 467,200
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 9,400 10,600
Foreign Exchange Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 342,400 439,900
Derivative Assets [Abstract]    
Gross derivative assets 8,900 10,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Equity Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 189,700 201,200
Derivative Assets [Abstract]    
Gross derivative assets 3,400 3,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,000 3,800
Equity Futures and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 68,700 72,800
Derivative Assets [Abstract]    
Gross derivative assets 900 2,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 900 1,200
Equity Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 431,500 347,600
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 21,400 21,100
Equity Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 385,500 320,300
Derivative Assets [Abstract]    
Gross derivative assets 23,900 23,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Commodity Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 48,200 47,000
Derivative Assets [Abstract]    
Gross derivative assets 2,500 4,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,100 7,100
Commodity Futures and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 49,100 45,600
Derivative Assets [Abstract]    
Gross derivative assets 3,600 3,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 500 700
Commodity Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 29,300 36,600
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,900 4,400
Commodity Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 28,900 37,400
Derivative Assets [Abstract]    
Gross derivative assets 2,000 4,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Credit Default Swap | Purchased credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 604,000 928,300
Derivative Assets [Abstract]    
Gross derivative assets 8,100 14,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 10,300 14,800
Credit Default Swap | Written credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 614,355 924,143
Derivative Assets [Abstract]    
Gross derivative assets 10,700 15,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 7,463 13,124
Total return swaps/other | Purchased credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 21,200 26,400
Derivative Assets [Abstract]    
Gross derivative assets 400 200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,500 1,900
Total return swaps/other | Written credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 25,354 39,658
Derivative Assets [Abstract]    
Gross derivative assets 1,000 2,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 156 422
Trading and Other Risk Management Derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 619,300 679,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 619,300 676,800
Trading and Other Risk Management Derivatives | Interest Rate Swap    
Derivative Assets [Abstract]    
Gross derivative assets 385,000 439,600
Derivative Liabilities [Abstract]    
Gross derivative liabilities 386,900 440,800
Trading and Other Risk Management Derivatives | Interest Rate Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 2,200 1,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 2,100 1,300
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 52,200 57,600
Trading and Other Risk Management Derivatives | Interest Rate Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 53,300 58,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Foreign Exchange Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 54,600 49,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 58,800 52,200
Trading and Other Risk Management Derivatives | Foreign Exchange Spot Future and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 58,800 46,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 56,600 45,800
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 9,400 10,600
Trading and Other Risk Management Derivatives | Foreign Exchange Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 8,900 10,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Equity Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 3,400 3,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,000 3,800
Trading and Other Risk Management Derivatives | Equity Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 900 2,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 900 1,200
Trading and Other Risk Management Derivatives | Equity Options | Written options    
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 21,400 21,100
Trading and Other Risk Management Derivatives | Equity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 23,900 23,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Commodity Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 2,500 4,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,100 7,100
Trading and Other Risk Management Derivatives | Commodity Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 3,600 3,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 500 700
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,900 4,400
Trading and Other Risk Management Derivatives | Commodity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 2,000 4,200
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 8,100 14,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 10,300 14,800
Trading and Other Risk Management Derivatives | Credit Default Swap | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 10,700 15,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 7,500 13,100
Trading and Other Risk Management Derivatives | Total return swaps/other | Purchased credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 400 200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,500 1,900
Trading and Other Risk Management Derivatives | Total return swaps/other | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 1,000 2,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 200 400
Qualifying Accounting Hedges    
Derivative Assets [Abstract]    
Gross derivative assets 11,800 9,500
Derivative Liabilities [Abstract]    
Gross derivative liabilities 9,000 4,300
Qualifying Accounting Hedges | Interest Rate Swap    
Derivative Assets [Abstract]    
Gross derivative assets 5,900 7,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 2,000 1,200
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 4,200 900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 6,200 2,800
Qualifying Accounting Hedges | Foreign Exchange Spot Future and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 1,700 1,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 800 300
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