Stock-Based Compensation Plans - Summary of Stock-Based Compensation Expense (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Feb. 15, 2026 |
Feb. 16, 2025 |
Feb. 15, 2026 |
Feb. 16, 2025 |
|
| Stock-based compensation expense before income taxes | $ 166 | $ 151 | $ 652 | $ 614 |
| Less recognized income tax benefit | 34 | 28 | 151 | 129 |
| Stock-based compensation expense, net of income taxes | $ 132 | $ 123 | $ 501 | $ 485 |