Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2017 |
[1],[2] | Mar. 31, 2017 |
[1],[2] | Dec. 31, 2016 |
[1],[2] | Sep. 30, 2016 |
[1],[2] | Jun. 30, 2016 |
[3] | Mar. 31, 2016 |
[3] | Dec. 31, 2015 |
[3] | Sep. 30, 2015 |
[3] | Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2015 |
|||||||||
| Revenue from External Customer [Line Items] | |||||||||||||||||||||||||||
| Revenue | $ 23,317 | $ 22,090 | $ 24,090 | $ 20,453 | $ 20,614 | $ 20,531 | $ 23,796 | $ 20,379 | $ 89,950 | [1],[2] | $ 85,320 | [3] | $ 93,580 | ||||||||||||||
| Commercial Cloud | |||||||||||||||||||||||||||
| Revenue from External Customer [Line Items] | |||||||||||||||||||||||||||
| Revenue | $ 14,900 | $ 9,500 | $ 5,800 | ||||||||||||||||||||||||
| |||||||||||||||||||||||||||