v3.25.2
Accounting Policies - Merchandise Inventories (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2025
Sep. 01, 2024
Accounting Policies [Abstract]    
Inventory, LIFO Reserve, Period Charge $ 142  
Schedule of Inventory [Line Items]    
Merchandise inventories 18,116 $ 18,647
UNITED STATES    
Schedule of Inventory [Line Items]    
LIFO Inventory Amount 12,868 13,625
CANADA    
Schedule of Inventory [Line Items]    
FIFO Inventory Amount 1,907 1,895
Other International Operations    
Schedule of Inventory [Line Items]    
FIFO Inventory Amount $ 3,341 $ 3,127