SEGMENT INFORMATION RECONCILIATION (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||||
|---|---|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
|||
| Reconciliation of Total Operating Segment Margin to Income Before Provision for Income Taxes [Abstract] | ||||||
| Total margin for operating segments | $ 5,464 | $ 4,358 | $ 14,473 | $ 12,569 | ||
| Research and development | (2,607) | (2,429) | (7,658) | (7,206) | ||
| General and administrative | (389) | (390) | (1,174) | (1,135) | ||
| Amortization of intangible assets | (413) | (548) | (1,239) | (1,763) | ||
| Acquisition related and other | (20) | (28) | (55) | (72) | ||
| Restructuring | (153) | (63) | (961) | (220) | ||
| Stock-based compensation for operating segments | (449) | (422) | (1,231) | (1,186) | ||
| Expense allocations and other, net | (97) | (103) | (304) | (327) | ||
| Interest expense | (1,180) | (892) | (3,160) | (2,600) | ||
| Non-operating income (expenses), net | 132 | (18) | 2,872 | 39 | ||
| Income before income taxes | 4,416 | 3,448 | 14,185 | 10,008 | ||
| Operating Segments [Member] | ||||||
| Reconciliation of Total Operating Segment Margin to Income Before Provision for Income Taxes [Abstract] | ||||||
| Total margin for operating segments | [1] | $ 9,592 | $ 8,341 | $ 27,095 | $ 24,478 | |
| ||||||
| X | ||||||||||
- Definition Segment expense allocations and other, net. No definition available.
|
| X | ||||||||||
- Definition Income (loss) from continuing operations including noncontrolling interest before income taxes extraordinary items. No definition available.
|
| X | ||||||||||
- Definition Nonoperating income expense including elimination of net income loss attributable to noncontrolling interests. No definition available.
|
| X | ||||||||||
- Definition Stock-based compensation No definition available.
|
| X | ||||||||||
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of expense for acquisition-related cost incurred to effect business combination. Includes, but is not limited to, finder's fee; advisory, legal, accounting, valuation, and other professional and consulting fees; and general administrative cost, including cost of maintaining internal acquisition department. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of interest expense classified as operating and nonoperating. Includes, but is not limited to, cost of borrowing accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The net result for the period of deducting operating expenses from operating revenues. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of expense for research and development. Includes, but is not limited to, cost for computer software product to be sold, leased, or otherwise marketed and writeoff of research and development assets acquired in transaction other than business combination or joint venture formation or both. Excludes write-down of intangible asset acquired in business combination or from joint venture formation or both, used in research and development activity. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|