Stockholders' Equity, Comprehensive Income and Share-Based Compensation - Stock Repurchase Program (Details) - USD ($) $ / shares in Units, shares in Millions, $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jul. 26, 2026 |
Jul. 27, 2025 |
Jul. 26, 2026 |
Jul. 27, 2025 |
|
| Equity [Abstract] | ||||
| Shares of common stock repurchases (in shares) | 1 | 6 | 3 | 25 |
| Cost of stock repurchased (including excise tax) | $ 400 | $ 1,038 | $ 1,137 | $ 4,037 |
| Average price paid per share (including excise tax) (in dollars per share) | $ 455.43 | $ 164.47 | $ 343.16 | $ 160.95 |
| Cost of stock repurchased (excluding excise tax) | $ 400 | $ 1,028 | $ 1,137 | $ 4,003 |
| Average price paid per share (excluding excise tax) (in dollars per share) | $ 455.43 | $ 162.97 | $ 343.16 | $ 159.60 |
| X | ||||||||||
- Definition Shares Acquired, Average Cost Per Share, Excluding Excise Tax No definition available.
|
| X | ||||||||||
- Definition Treasury Stock Value, Acquired, Cost Method, Excluding Excise Tax No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. No definition available.
|
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and are being held in treasury. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|