Stock-Based Compensation - Schedule of Stock Option Vesting (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
May 31, 2019 |
May 31, 2018 |
May 31, 2017 |
|
| Share Based Compensation Arrangement By Share Based Payment Award Options Additional Disclosures Abstract | |||
| Vested during the year | 2,249,301 | 2,465,493 | 2,427,837 |
| Fair value | $ 115 | $ 112 | $ 104 |