XML 127 R112.htm IDEA: XBRL DOCUMENT v3.10.0.1
Employee Stock and Savings Plans - Additional Information (Detail) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Compensation Related Costs Disclosure [Line Items]      
Company contribution amount for each dollar a participant contributes to the savings plan 50.00%    
Matching contributions for all employee savings plans $ 807 $ 734 $ 549
Upper Limit | IRS Compensation Limit      
Compensation Related Costs Disclosure [Line Items]      
Percentage of employee's earnings the company may contribute to the savings plan 50.00%    
Stock Awards      
Compensation Related Costs Disclosure [Line Items]      
Shares authorized for future grant 381    
Unrecognized compensation costs $ 7,000    
Unrecognized compensation costs are expected to be recognized over a weighted average period (years) 3 years    
Weighted average grant-date fair value $ 75.88 [1] $ 55.64 $ 41.51
Fair value of awards vested $ 6,600 $ 4,800 $ 3,900
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    
Stock Awards | 2017 Stock Plan      
Compensation Related Costs Disclosure [Line Items]      
Shares authorized for future grant 308    
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 116    
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 3 million, 2 million, and 1 million of PSUs granted at target and performance adjustments above target levels for fiscal years 2018, 2017, and 2016, respectively.