CONSOLIDATED STATEMENTS OF CHANGES IN COMMON STOCKHOLDERS' INVESTMENT (Parenthetical) - USD ($) shares in Millions, $ in Millions |
12 Months Ended | ||
|---|---|---|---|
May 31, 2025 |
May 31, 2024 |
May 31, 2023 |
|
| Statement of Stockholders' Equity [Abstract] | |||
| Other comprehensive loss, tax | $ 19 | $ 4 | $ 27 |
| Purchase of common stock (in shares) | 10.9 | 9.8 | 9.2 |
| Cash dividends declared (in dollars per share) | $ 5.52 | $ 3.78 | $ 5.86 |
| Employee incentive plans and other, shares issued (in shares) | 2.9 | 3.1 | 1.9 |
| X | ||||||||||
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Number, after forfeiture, of shares or units issued under share-based payment arrangement. Excludes shares or units issued under employee stock ownership plan (ESOP). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and are being held in treasury. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|