Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Derivative Balances (Details)

v3.8.0.1
Derivatives - Derivative Balances (Details) - USD ($)
$ in Millions
Sep. 30, 2017
Dec. 31, 2016
Derivative Assets [Abstract]    
Gross derivative assets $ 370,700 $ 631,100
Less: Legally enforceable master netting agreements (296,700) (545,300)
Less: Cash collateral received/paid (35,600) (43,300)
Derivative assets 38,384 42,512
Derivative Liabilities [Abstract]    
Gross derivative liabilities 362,400 628,300
Less: Legally enforceable master netting agreements (296,700) (545,300)
Less: Cash collateral received/paid (33,900) (43,500)
Derivative liabilities 31,781 39,480
Interest Rate Swap    
Maximum Payout/Notional    
Contract/Notional 18,602,500 16,977,700
Derivative Assets [Abstract]    
Gross derivative assets 184,600 390,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 178,000 388,900
Interest Rate Futures and Forwards    
Maximum Payout/Notional    
Contract/Notional 5,957,200 5,609,500
Derivative Assets [Abstract]    
Gross derivative assets 900 2,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 800 2,100
Interest Rate Options | Written options    
Maximum Payout/Notional    
Contract/Notional 1,467,400 1,146,200
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 36,300 52,200
Interest Rate Options | Purchased options    
Maximum Payout/Notional    
Contract/Notional 1,390,700 1,178,700
Derivative Assets [Abstract]    
Gross derivative assets 38,500 53,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Foreign Exchange Swaps    
Maximum Payout/Notional    
Contract/Notional 2,011,900 1,828,600
Derivative Assets [Abstract]    
Gross derivative assets 39,100 58,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 40,100 65,000
Foreign Exchange Spot Future and Forwards    
Maximum Payout/Notional    
Contract/Notional 4,313,600 3,410,700
Derivative Assets [Abstract]    
Gross derivative assets 47,500 60,500
Derivative Liabilities [Abstract]    
Gross derivative liabilities 47,700 57,400
Foreign Exchange Options | Written options    
Maximum Payout/Notional    
Contract/Notional 367,300 356,600
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,700 9,400
Foreign Exchange Options | Purchased options    
Maximum Payout/Notional    
Contract/Notional 335,700 342,400
Derivative Assets [Abstract]    
Gross derivative assets 5,200 8,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Equity Swaps    
Maximum Payout/Notional    
Contract/Notional 236,200 189,700
Derivative Assets [Abstract]    
Gross derivative assets 4,600 3,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,600 4,000
Equity Futures and Forwards    
Maximum Payout/Notional    
Contract/Notional 100,900 68,700
Derivative Assets [Abstract]    
Gross derivative assets 1,900 900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,200 900
Equity Options | Written options    
Maximum Payout/Notional    
Contract/Notional 524,900 431,500
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 25,100 21,400
Equity Options | Purchased options    
Maximum Payout/Notional    
Contract/Notional 467,000 385,500
Derivative Assets [Abstract]    
Gross derivative assets 25,200 23,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Commodity Swaps    
Maximum Payout/Notional    
Contract/Notional 47,600 48,200
Derivative Assets [Abstract]    
Gross derivative assets 1,700 2,500
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,200 5,100
Commodity Futures and Forwards    
Maximum Payout/Notional    
Contract/Notional 51,500 49,100
Derivative Assets [Abstract]    
Gross derivative assets 3,500 3,600
Derivative Liabilities [Abstract]    
Gross derivative liabilities 600 500
Commodity Options | Written options    
Maximum Payout/Notional    
Contract/Notional 25,000 29,300
Derivative Assets [Abstract]    
Gross derivative assets 0 0
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,200 1,900
Commodity Options | Purchased options    
Maximum Payout/Notional    
Contract/Notional 26,100 28,900
Derivative Assets [Abstract]    
Gross derivative assets 1,400 2,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Credit Default Swap | Purchased credit derivatives    
Maximum Payout/Notional    
Contract/Notional 522,800 604,000
Derivative Assets [Abstract]    
Gross derivative assets 4,800 8,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 11,200 10,300
Credit Default Swap | Written credit derivatives    
Maximum Payout/Notional    
Contract/Notional 514,478 614,355
Derivative Assets [Abstract]    
Gross derivative assets 10,900 10,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,214 7,463
Total return swaps/other | Purchased credit derivatives    
Maximum Payout/Notional    
Contract/Notional 57,600 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    
Maximum Payout/Notional    
Contract/Notional 55,314 25,354
Derivative Assets [Abstract]    
Gross derivative assets 800 1,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 192 156
Credit derivatives | Purchased credit derivatives    
Derivative Liabilities [Abstract]    
Fair value, with identical underlying referenced names and terms 6,200 2,200
Notional amount, with identical underlying referenced names and terms 494,100 548,900
Credit derivatives | Written credit derivatives    
Maximum Payout/Notional    
Contract/Notional 569,792 639,709
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,406 7,619
Trading and Other Risk Management Derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 362,200 619,300
Derivative Liabilities [Abstract]    
Gross derivative liabilities 357,200 619,300
Trading and Other Risk Management Derivatives | Interest Rate Swap    
Derivative Assets [Abstract]    
Gross derivative assets 179,500 385,000
Derivative Liabilities [Abstract]    
Gross derivative liabilities 176,700 386,900
Trading and Other Risk Management Derivatives | Interest Rate Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 900 2,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 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 36,300 52,200
Trading and Other Risk Management Derivatives | Interest Rate Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 38,500 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 36,600 54,600
Derivative Liabilities [Abstract]    
Gross derivative liabilities 37,000 58,800
Trading and Other Risk Management Derivatives | Foreign Exchange Spot Future and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 46,600 58,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 46,900 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,700 9,400
Trading and Other Risk Management Derivatives | Foreign Exchange Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 5,200 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,600 3,400
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,600 4,000
Trading and Other Risk Management Derivatives | Equity Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 1,900 900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 1,200 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 25,100 21,400
Trading and Other Risk Management Derivatives | Equity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 25,200 23,900
Derivative Liabilities [Abstract]    
Gross derivative liabilities 0 0
Trading and Other Risk Management Derivatives | Commodity Swaps    
Derivative Assets [Abstract]    
Gross derivative assets 1,700 2,500
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,200 5,100
Trading and Other Risk Management Derivatives | Commodity Futures and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 3,500 3,600
Derivative Liabilities [Abstract]    
Gross derivative liabilities 600 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,200 1,900
Trading and Other Risk Management Derivatives | Commodity Options | Purchased options    
Derivative Assets [Abstract]    
Gross derivative assets 1,400 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 4,800 8,100
Derivative Liabilities [Abstract]    
Gross derivative liabilities 11,200 10,300
Trading and Other Risk Management Derivatives | Credit Default Swap | Written credit derivatives    
Derivative Assets [Abstract]    
Gross derivative assets 10,900 10,700
Derivative Liabilities [Abstract]    
Gross derivative liabilities 4,200 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 8,500 11,800
Derivative Liabilities [Abstract]    
Gross derivative liabilities 5,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 1,300 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,500 4,200
Derivative Liabilities [Abstract]    
Gross derivative liabilities 3,100 6,200
Qualifying Accounting Hedges | Foreign Exchange Spot Future and Forwards    
Derivative Assets [Abstract]    
Gross derivative assets 900 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