Components of Other Income (Expense), Net (Detail) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Other Income and Expenses [Abstract] | ||||
| Interest and dividends income | $ 600 | $ 734 | $ 1,281 | $ 1,900 |
| Interest expense | (594) | (909) | (1,176) | (1,434) |
| Net recognized gains (losses) on investments | (860) | 69 | (397) | (38) |
| Net losses on derivatives | (116) | (267) | (454) | (174) |
| Net gains (losses) on foreign currency remeasurements | (153) | 36 | 23 | (65) |
| Other, net | (1,165) | (169) | (1,848) | (306) |
| Total | $ (2,288) | $ (506) | $ (2,571) | $ (117) |
| X | ||||||||||
- Definition Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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 interest expense classified as nonoperating. 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
|