Stock-Based Compensation Plans - Summary of Stock-Based Compensation Expense (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Feb. 17, 2019 |
Feb. 18, 2018 |
Feb. 17, 2019 |
Feb. 18, 2018 |
|
| Stock-based compensation expense before income taxes | $ 119 | $ 112 | $ 389 | $ 346 |
| Less recognized income tax benefit | (23) | (2) | (84) | (79) |
| Stock-based compensation expense, net of income taxes | $ 96 | $ 110 | $ 305 | $ 267 |
| Restricted Stock Units (RSUs) [Member] | ||||
| Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition | 1 year 8 months 12 days | |||