Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes (Detail) - USD ($) $ in Millions |
12 Months Ended | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
||||||||||
| Effective Income Tax Rate Reconciliation [Line Items] | ||||||||||||
| Federal statutory rate, amount | $ 34,846 | |||||||||||
| Effect of: | ||||||||||||
| State and local income tax, net of federal income tax effect | [1] | 2,573 | ||||||||||
| Other, amount | (730) | |||||||||||
| Effect of cross-border tax laws: | ||||||||||||
| Global intangible low-taxed income (GILTI), amount | [2] | 5,068 | ||||||||||
| Foreign-derived intangible income deduction, amount | (603) | |||||||||||
| Other | 799 | |||||||||||
| Tax credits: | ||||||||||||
| Research and development credit, amount | (1,453) | |||||||||||
| Foreign tax credits, amount | (9,151) | |||||||||||
| Other, amount | (14) | |||||||||||
| Changes in unrecognized tax benefits | [3] | 1,094 | ||||||||||
| Provision for income taxes | $ 32,185 | $ 21,795 | $ 19,651 | |||||||||
| Federal statutory rate | 21.00% | 21.00% | 21.00% | |||||||||
| Effect of: | ||||||||||||
| State and local income tax, net of federal income tax effect | 1.60% | [1] | 1.50% | 1.50% | ||||||||
| Statutory tax rate difference foreign earnings taxed at lower rates | (1.50%) | (1.40%) | ||||||||||
| Other, percent | (0.60%) | (1.40%) | (0.70%) | |||||||||
| Effect of cross-border tax laws: | ||||||||||||
| Global intangible low-taxed income (GILTI), percent | [2] | 3.10% | ||||||||||
| Foreign-derived intangible income deduction, percent | (0.40%) | (1.00%) | (1.10%) | |||||||||
| Other, percent | 0.50% | |||||||||||
| Tax credits: | ||||||||||||
| Research and development credit, percent | (0.90%) | (1.10%) | (1.10%) | |||||||||
| Foreign tax credits, percent | (5.50%) | |||||||||||
| Other, percent | 0.00% | |||||||||||
| Changes in unrecognized tax benefits, percent | [3] | 0.70% | ||||||||||
| Excess tax benefits relating to stock-based compensation | (0.90%) | (1.10%) | ||||||||||
| Interest, net | 1.00% | 1.10% | ||||||||||
| Effective rate | 19.40% | 17.60% | 18.20% | |||||||||
| Ireland | ||||||||||||
| Effect of: | ||||||||||||
| Statutory tax rate difference, amount | $ (4,301) | |||||||||||
| Other, amount | $ 809 | |||||||||||
| Effect of: | ||||||||||||
| Statutory tax rate difference foreign earnings taxed at lower rates | (2.60%) | |||||||||||
| Other, percent | 0.50% | |||||||||||
| Other foreign jurisdictions | ||||||||||||
| Effect of: | ||||||||||||
| Statutory tax rate difference, amount | [4] | $ 3,248 | ||||||||||
| Effect of: | ||||||||||||
| Statutory tax rate difference foreign earnings taxed at lower rates | [4] | 2.00% | ||||||||||
| ||||||||||||
| X | ||||||||||
- Definition Effective income tax rate reconciliation interest income (expense). No definition available.
|
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of reported income tax expense (benefit) from difference to income tax expense (benefit) computed by applying statutory federal (national) income tax rate to pretax income (loss) from continuing operation, attributable to cross-border tax law classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Percentage of reported income tax expense (benefit) from difference to income tax expense (benefit) computed by applying statutory federal (national) income tax rate to pretax income (loss) from continuing operation, attributable to cross-border tax law classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of reported income tax benefit from difference to expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to foreign-derived intangible income (FDII). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Percentage of reported income tax benefit from difference to income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to foreign-derived intangible income (FDII). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to statutory income tax expense (benefit) outside of the country of domicile. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of reported income tax expense from difference to expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to global intangible low-taxed income (GILTI). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Percentage of reported income tax expense from difference to expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to global intangible low-taxed income (GILTI). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to expense for award under share-based payment arrangement. Excludes expense determined to be nondeductible upon grant or after for award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to state and local income tax expense (benefit), net of federal tax expense (benefit). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income tax contingencies. Includes, but not limited to, domestic tax contingency, foreign tax contingency, state and local tax contingency, and other contingencies. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign tax credit. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other tax credits. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to research tax credit. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in income tax contingencies. Including, but not limited to, domestic tax contingency, foreign tax contingency, state and local tax contingency, and other contingencies. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign tax credit. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other tax credits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to research tax credit. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|