TAX BENEFITS FROM EXERCISES OF STOCK OPTIONS AND VESTING OF RESTRICTED STOCK-BASED AWARDS Narrative (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
May 31, 2022 |
May 31, 2021 |
May 31, 2020 |
|
| Tax Benefits from Exercise of Stock Options and Vesting of Restricted Stock-Based Awards [Abstract] | |||
| Total cash received as a result of stock option exercises | $ 319 | $ 1,700 | $ 1,500 |
| Aggregate intrinsic value of vesting of restricted stock-based awards and options exercised | 3,700 | 3,700 | 2,900 |
| Tax benefits realized in connection with the vesting of restricted stock-based awards and exercises of stock options | $ 843 | $ 842 | $ 638 |