Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jul. 25, 2026 |
Jul. 26, 2025 |
Jul. 27, 2024 |
|
| Statement of Comprehensive Income [Abstract] | |||
| Available-for-sale investments, Change in net unrealized gains and losses, tax benefit (expense) | $ 0 | $ (68) | $ (61) |
| Cash flow hedging instruments, Net change, net of tax benefit (expense) | (15) | 4 | (18) |
| Net change in cumulative translation adjustment and actuarial gains and losses, tax benefit (expense) | $ (6) | $ 2 | $ 2 |