Components of Other Income (Expense), Net (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2016 |
|
| Other Income And Expenses [Abstract] | |||
| Dividends and interest income | $ 2,214 | $ 1,387 | $ 903 |
| Interest expense | (2,733) | (2,222) | (1,243) |
| Net recognized gains on investments | 2,399 | 2,583 | 668 |
| Net losses on derivatives | (187) | (510) | (443) |
| Net losses on foreign currency remeasurements | (218) | (111) | (129) |
| Other, net | (59) | (251) | (195) |
| Total | $ 1,416 | $ 876 | $ (439) |
| X | ||||||||||
- Definition Amount before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of realized and unrealized gain (loss) on investment. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of income (expense) related to nonoperating activities, classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|