SEGMENT INFORMATION RECONCILIATION (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||||
|---|---|---|---|---|---|---|
Feb. 29, 2024 |
Feb. 28, 2023 |
Feb. 29, 2024 |
Feb. 28, 2023 |
|||
| Reconciliation of Total Operating Segment Margin to Income Before Provision for Income Taxes [Abstract] | ||||||
| Total margin for operating segments | $ 3,750 | $ 3,260 | $ 10,667 | $ 8,953 | ||
| Research and development | (2,248) | (2,146) | (6,689) | (6,397) | ||
| General and administrative | (377) | (402) | (1,146) | (1,179) | ||
| Amortization of intangible assets | (749) | (886) | (2,267) | (2,712) | ||
| Acquisition related and other | (155) | (37) | (214) | (140) | ||
| Restructuring | (90) | (78) | (311) | (359) | ||
| Stock-based compensation for operating segments | (368) | (316) | (1,014) | (864) | ||
| Expense allocations and other, net | (97) | (93) | (320) | (301) | ||
| Interest expense | (876) | (908) | (2,636) | (2,550) | ||
| Non-operating expenses, net | (9) | (134) | (72) | (386) | ||
| Income before income taxes | 2,865 | 2,218 | 7,959 | 6,017 | ||
| Operating Segments [Member] | ||||||
| Reconciliation of Total Operating Segment Margin to Income Before Provision for Income Taxes [Abstract] | ||||||
| Total margin for operating segments | [1] | $ 7,834 | $ 7,218 | $ 22,628 | $ 20,905 | |
| ||||||
| 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. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| 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://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The net result for the period of deducting operating expenses from operating revenues. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The aggregate costs incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process whether intended for sale or the entity's use, during the reporting period charged to research and development projects, including the costs of developing computer software up to the point in time of achieving technological feasibility, and costs allocated in accounting for a business combination to in-process projects deemed to have no alternative future use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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
|