v3.26.1
Description of Business and Summary of Significant Accounting Policies - Additional information (Details)
shares in Millions
12 Months Ended
Jul. 31, 2026
USD ($)
hosting
shares
Jul. 31, 2025
USD ($)
Jul. 31, 2024
USD ($)
Property, Plant, and Equipment [Line Items]      
Cash and cash equivalents $ 4,705,000,000 $ 2,884,000,000 $ 3,609,000,000
Deferred revenue, revenue recognized $ 1,000,000,000.0 871,000,000  
Revenue, performance obligation, description of timing 12 months    
Capitalized contract cost $ 145,000,000 122,000,000  
Advertising expense $ 2,200,000,000 2,100,000,000 1,700,000,000
Business combination measurement period 1 year    
Goodwill, impairment loss $ 0 $ 0 0
Weighted-average life in years 13 years 13 years  
Retirement of treasury stock $ (27,006,000,000) $ 0 0
Special-Purpose Vehicles      
Property, Plant, and Equipment [Line Items]      
Note receivable 764,000,000 1,300,000,000  
Cash and cash equivalents $ 46,000,000 388,000,000  
Treasury Stock      
Property, Plant, and Equipment [Line Items]      
Shares, retired (in shares) | shares 233    
Retirement of treasury stock $ 27,006,000,000    
Additional Paid-In Capital      
Property, Plant, and Equipment [Line Items]      
Retirement of treasury stock (23,159,000,000)    
Retained Earnings      
Property, Plant, and Equipment [Line Items]      
Retirement of treasury stock (3,847,000,000)    
Operating Segments | Reorganization of Certain Workplace and Real Estate Functions | Global Business Solutions      
Property, Plant, and Equipment [Line Items]      
Other expenses   9,000,000 16,000,000
Operating Segments | Reorganization One of Certain Technology Functions | Consumer      
Property, Plant, and Equipment [Line Items]      
Other expenses   (606,000,000) (585,000,000)
Segment Reconciling Items      
Property, Plant, and Equipment [Line Items]      
Other expenses $ 7,303,000,000 6,693,000,000 5,788,000,000
Segment Reconciling Items | Reorganization of Certain Workplace and Real Estate Functions      
Property, Plant, and Equipment [Line Items]      
Other expenses   (9,000,000) (16,000,000)
Segment Reconciling Items | Reorganization One of Certain Technology Functions      
Property, Plant, and Equipment [Line Items]      
Other expenses   $ 606,000,000 $ 585,000,000
Cost of Goods and Service Benchmark | Supplier Concentration Risk      
Property, Plant, and Equipment [Line Items]      
Number of vendors | hosting 2    
Minimum      
Property, Plant, and Equipment [Line Items]      
Capitalized contract cost, amortization period 3 years    
Property and equipment, useful life 2 years    
Weighted-average life in years 3 years    
Maximum      
Property, Plant, and Equipment [Line Items]      
Capitalized contract cost, amortization period 4 years    
Property and equipment, useful life 30 years    
Weighted-average life in years 15 years    
Software, Internally Developed | Minimum      
Property, Plant, and Equipment [Line Items]      
Property and equipment, useful life 3 years    
Software, Internally Developed | Maximum      
Property, Plant, and Equipment [Line Items]      
Property and equipment, useful life 6 years