XML 119 R104.htm IDEA: XBRL DOCUMENT v3.20.2
Employee Stock and Savings Plans - Additional Information (Detail) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Compensation Related Costs Disclosure [Line Items]      
Company contribution amount for each dollar a participant contributes into the savings plans 50.00%    
Retirement benefits for saving plans funded by employer $ 1,000 $ 877 $ 807
Upper Limit | IRS Compensation Limit      
Compensation Related Costs Disclosure [Line Items]      
Percentage of employee's earnings the company may contribute into the savings plans 50.00%    
Stock Awards      
Compensation Related Costs Disclosure [Line Items]      
Shares authorized for future grant 283    
Unrecognized compensation costs $ 10,200    
Unrecognized compensation costs are expected to be recognized over a weighted average period (years) 3 years    
Weighted average grant-date fair value $ 140.49 [1] $ 107.02 $ 75.88
Fair value of awards vested $ 10,100 $ 8,700 $ 6,600
Stock Awards | Lower Limit      
Compensation Related Costs Disclosure [Line Items]      
Award vest period 4 years    
Stock Awards | Upper Limit      
Compensation Related Costs Disclosure [Line Items]      
Award vest period 5 years    
Restricted Stock Units | Executive Incentive Plan      
Compensation Related Costs Disclosure [Line Items]      
Award vest period 4 years    
Performance Stock Units | Executive Incentive Plan      
Compensation Related Costs Disclosure [Line Items]      
Award vest period 3 years    
Employee Stock      
Compensation Related Costs Disclosure [Line Items]      
Shares authorized for future grant 96    
Percentage of market value at which employees are able to purchase shares of common stock 90.00% 90.00% 90.00%
Maximum percentage of gross compensation at which employees may purchase shares 15.00% 15.00% 15.00%
[1] Includes 2 million, 2 million, and 3 million of PSUs granted at target and performance adjustments above target levels for fiscal years 2020, 2019, and 2018, respectively.