Basic and Diluted Earnings Per Share (Detail) - USD ($) $ / shares in Units, shares in Millions, $ in Millions |
3 Months Ended | 12 Months Ended | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2019 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|||||||||||||||||||
| Earnings Per Share Basic And Diluted [Abstract] | |||||||||||||||||||||||||||||
| Net income available for common shareholders (A) | $ 13,187 | [1] | $ 8,809 | [1] | $ 8,420 | [1] | $ 8,824 | [1] | $ 8,873 | [2] | $ 7,424 | [2] | $ (6,302) | [2] | $ 6,576 | [2] | $ 39,240 | [1] | $ 16,571 | [2] | $ 25,489 | ||||||||
| Weighted average outstanding shares of common stock (B) | 7,673 | 7,700 | 7,746 | ||||||||||||||||||||||||||
| Dilutive effect of stock-based awards | 80 | 94 | 86 | ||||||||||||||||||||||||||
| Common stock and common stock equivalents (C) | 7,753 | 7,794 | 7,832 | ||||||||||||||||||||||||||
| Earnings Per Share | |||||||||||||||||||||||||||||
| Basic (A/B) | $ 1.72 | $ 1.15 | $ 1.09 | $ 1.15 | $ 1.15 | $ 0.96 | $ (0.82) | $ 0.85 | $ 5.11 | $ 2.15 | $ 3.29 | ||||||||||||||||||
| Diluted (A/C) | $ 1.71 | [3] | $ 1.14 | [3] | $ 1.08 | [3] | $ 1.14 | [3] | $ 1.14 | [4] | $ 0.95 | [4] | $ (0.82) | [4] | $ 0.84 | [4] | $ 5.06 | [3] | $ 2.13 | [4] | $ 3.25 | ||||||||
| |||||||||||||||||||||||||||||