v3.21.2
Basic and Diluted Earnings Per Share (Detail) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Earnings Per Share Basic And Diluted [Abstract]    
Net income available for common shareholders (A) $ 20,505 $ 13,893
Weighted average outstanding shares of common stock (B) 7,513 7,566
Dilutive effect of stock-based awards 54 71
Common stock and common stock equivalents (C) 7,567 7,637
Earnings Per Share    
Basic (A/B) $ 2.73 $ 1.84
Diluted (A/C) $ 2.71 $ 1.82