CONSOLIDATED STATEMENTS OF CHANGES IN COMMON STOCKHOLDERS' INVESTMENT (Parenthetical) - USD ($) shares in Millions, $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
|
| Statement of Stockholders' Equity [Abstract] | ||||
| Cash dividends declared (in dollars per share) | $ 1.45 | $ 1.38 | $ 5.80 | $ 5.52 |
| Other comprehensive income (loss), net of tax benefit | $ 8 | $ 3 | $ 7 | $ 2 |
| Purchase of common stock (in shares) | 0.0 | 1.8 | 3.3 | 8.9 |
| Employee incentive plans and other, shares issued (in shares) | 3.6 | 0.2 | 4.1 | 2.6 |
| 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
|