Retirement Plans - Schedule of Retirement Plan Costs (Details) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|
May 31, 2019 |
May 31, 2018 |
May 31, 2019 |
May 31, 2018 |
May 31, 2017 |
|
| Pension And Other Postretirement Benefit Expense [Abstract] | |||||
| Defined benefit pension plans | $ 111 | $ 150 | $ 234 | ||
| Defined contribution plans | 561 | 527 | 480 | ||
| Postretirement healthcare plans | 75 | 74 | 76 | ||
| Retirement plans mark-to-market loss (gain) | $ 3,900 | $ (10) | 3,882 | (10) | (24) |
| Retirement plans costs | $ 4,629 | $ 741 | $ 766 | ||