Fair Value Measurements (Fair Value of Financial Instruments) (Details) - USD ($) $ in Millions |
Feb. 28, 2022 |
Aug. 31, 2021 |
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Carrying Amount |
$ 2,881
|
$ 2,878
|
| Senior Notes | 4.700% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Senior notes, stated interest rate (as a percent) |
4.70%
|
|
| Carrying Amount |
$ 500
|
499
|
| Senior Notes | 4.900% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Senior notes, stated interest rate (as a percent) |
4.90%
|
|
| Carrying Amount |
$ 300
|
300
|
| Senior Notes | 3.950% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Senior notes, stated interest rate (as a percent) |
3.95%
|
|
| Carrying Amount |
$ 496
|
496
|
| Senior Notes | 3.600% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Senior notes, stated interest rate (as a percent) |
3.60%
|
|
| Carrying Amount |
$ 496
|
495
|
| Senior Notes | 3.000% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Senior notes, stated interest rate (as a percent) |
3.00%
|
|
| Carrying Amount |
$ 592
|
591
|
| Senior Notes | 1.700% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Senior notes, stated interest rate (as a percent) |
1.70%
|
|
| Carrying Amount |
$ 496
|
496
|
| Senior Notes | Carrying Amount | Level 2 | 4.700% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Carrying Amount |
500
|
499
|
| Senior Notes | Carrying Amount | Level 2 | 3.950% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Carrying Amount |
496
|
496
|
| Senior Notes | Carrying Amount | Level 2 | 3.600% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Carrying Amount |
496
|
495
|
| Senior Notes | Carrying Amount | Level 2 | 3.000% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Carrying Amount |
592
|
591
|
| Senior Notes | Carrying Amount | Level 2 | 1.700% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Carrying Amount |
496
|
496
|
| Senior Notes | Carrying Amount | Level 3 | 4.900% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Carrying Amount |
300
|
300
|
| Senior Notes | Fair Value | Level 2 | 4.700% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Fair Value |
509
|
521
|
| Senior Notes | Fair Value | Level 2 | 3.950% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Fair Value |
522
|
555
|
| Senior Notes | Fair Value | Level 2 | 3.600% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Fair Value |
507
|
541
|
| Senior Notes | Fair Value | Level 2 | 3.000% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Fair Value |
576
|
618
|
| Senior Notes | Fair Value | Level 2 | 1.700% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Fair Value |
483
|
504
|
| Senior Notes | Fair Value | Level 3 | 4.900% Senior Notes |
|
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |
|
|
| Fair Value |
$ 311
|
$ 322
|