Stock-Based Compensation Plans - Summary of Stock-Based Compensation Expense (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Aug. 28, 2022 |
Aug. 29, 2021 |
Aug. 30, 2020 |
|
| Total stock-based compensation expense before income taxes | $ 724 | $ 665 | $ 619 |
| Less income tax benefit | 154 | 140 | 128 |
| Stock-based compensation expense, net | $ 570 | $ 525 | $ 491 |