Other Income (Expense), Net (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2024 |
|
| Other Income and Expenses [Abstract] | |||
| Interest income | $ 374 | $ 364 | $ 318 |
| Interest expense | 0 | (3) | (8) |
| Foreign currency exchange gains (losses), net | (35) | (33) | 0 |
| Change in fair value of convertible senior notes | (620) | 0 | 0 |
| Change in fair value of Capped Calls | 58 | 0 | 0 |
| Other, net | 64 | 25 | (6) |
| Total other income (expense), net | $ (159) | $ 353 | $ 304 |
| X | ||||||||||
- Definition Change In Fair Value Of Convertible Senior Notes No definition available.
|
| X | ||||||||||
- Definition Other Nonoperating Income (Expense), Net No definition available.
|
| X | ||||||||||
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest expense classified as nonoperating. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest income earned from interest bearing assets classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of income (expense) related to nonoperating activities, classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|