Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Derivative Balances (Details)

v3.7.0.1
Derivatives - Derivative Balances (Details) - USD ($)
$ in Millions
Mar. 31, 2017
Dec. 31, 2016
Derivative Assets [Abstract]    
Gross derivative assets $ 533,500 $ 631,100
Less: Legally enforceable master netting agreements (457,900) (545,300)
Less: Cash collateral received/paid (35,500) (43,300)
Derivative assets 40,078 42,512
Derivative Liabilities [Abstract]    
Gross derivative liabilities 533,800 628,300
Less: Legally enforceable master netting agreements (457,900) (545,300)
Less: Cash collateral received/paid (39,500) (43,500)
Derivative liabilities 36,428 39,480
Interest Rate Swap    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 17,448,700 16,977,700
Derivative Assets [Abstract]    
Gross derivative assets 331,400 390,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 330,000 388,900
Interest Rate Futures and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 6,720,200 5,609,500
Derivative Assets [Abstract]    
Gross derivative assets 2,100 2,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 2,100 2,100
Interest Rate Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,147,000 1,146,200
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 46,800 52,200
Interest Rate Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,252,200 1,178,700
Derivative Assets [Abstract]    
Gross derivative assets 48,000 53,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Foreign Exchange Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 1,866,100 1,828,600
Derivative Assets [Abstract]    
Gross derivative assets 41,800 58,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 47,100 65,000
Foreign Exchange Spot Future and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 4,441,100 3,410,700
Derivative Assets [Abstract]    
Gross derivative assets 48,900 60,500
Derivative Liabilities [Abstract]    
Gross derivative liabilities 49,200 57,400
Foreign Exchange Options | Written options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 346,800 356,600
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,900 9,400
Foreign Exchange Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 323,400 342,400
Derivative Assets [Abstract]    
Gross derivative assets 5,400 8,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Equity Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 209,900 189,700
Derivative Assets [Abstract]    
Gross derivative assets 4,000 3,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,100 4,000
Equity Futures and Forwards    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 91,100 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 511,200 431,500
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 23,400 21,400
Equity Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 449,100 385,500
Derivative Assets [Abstract]    
Gross derivative assets 25,100 23,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Commodity Swaps    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 44,900 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 49,400 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 29,200 29,300
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,600 1,900
Commodity Options | Purchased options    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 30,200 28,900
Derivative Assets [Abstract]    
Gross derivative assets 1,600 2,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Credit Default Swap | Purchased credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 599,900 604,000
Derivative Assets [Abstract]    
Gross derivative assets 6,100 8,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 10,600 10,300
Credit Default Swap | Written credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 595,823 614,355
Derivative Assets [Abstract]    
Gross derivative assets 10,700 10,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,471 7,463
Total return swaps/other | Purchased credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 34,300 21,200
Derivative Assets [Abstract]    
Gross derivative assets 200 400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,500 1,500
Total return swaps/other | Written credit derivatives    
Notional Amount of Derivatives, [Abstract]    
Contract/Notional 41,476 25,354
Derivative Assets [Abstract]    
Gross derivative assets 1,000 1,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 165 156
Trading and Other Risk Management Derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 525,000 619,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 526,600 619,300
Trading and Other Risk Management Derivatives | Interest Rate Swap    
Derivative Assets [Abstract]    
Gross derivative assets 326,300 385,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 327,900 386,900
Trading and Other Risk Management Derivatives | Interest Rate Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 2,100 2,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 2,100 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 46,800 52,200
Trading and Other Risk Management Derivatives | Interest Rate Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 48,000 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 39,500 54,600
Derivative Liabilities [Abstract]    
Gross derivative liabilities 42,800 58,800
Trading and Other Risk Management Derivatives | Foreign Exchange Spot Future and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 47,800 58,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 48,400 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,900 9,400
Trading and Other Risk Management Derivatives | Foreign Exchange Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 5,400 8,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Equity Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 4,000 3,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,100 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 23,400 21,400
Trading and Other Risk Management Derivatives | Equity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 25,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,600 1,900
Trading and Other Risk Management Derivatives | Commodity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 1,600 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 6,100 8,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 10,600 10,300
Trading and Other Risk Management Derivatives | Credit Default Swap | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 10,700 10,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,500 7,500
Trading and Other Risk Management Derivatives | Total return swaps/other | Purchased credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 200 400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,500 1,500
Trading and Other Risk Management Derivatives | Total return swaps/other | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 1,000 1,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 200 200
Qualifying Accounting Hedges    
Derivative Assets [Abstract]    
Gross derivative assets 8,500 11,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 7,200 9,000
Qualifying Accounting Hedges | Interest Rate Swap    
Derivative Assets [Abstract]    
Gross derivative assets 5,100 5,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 2,100 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,300 4,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,300 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 800 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