XML 56 R40.htm IDEA: XBRL DOCUMENT v3.24.3
Significant Accounting Policies - Additional Information (Detail)
$ in Thousands
12 Months Ended
Aug. 31, 2024
USD ($)
store
shares
Aug. 26, 2023
USD ($)
shares
Aug. 27, 2022
USD ($)
shares
Significant Accounting Policies [Line Items]      
Number of stores with commercial sales program | store 5,898    
Description of reporting periods The Company’s fiscal year consists of 52 or 53 weeks ending on the last Saturday in August. Fiscal 2024 represented 53 weeks. Fiscal 2023 and 2022 represented 52 weeks.    
Additional capital contributions to tax credit funds $ 49,300    
Cash and cash equivalents 298,172 $ 277,054  
Allowances for credit losses 10,300 7,700  
Inventory LIFO Reserves 19,000 59,000  
Goodwill 302,645 302,645  
Self insurance reserve $ 257,700 268,800  
Renewal options and lease term The leases have varying terms and expire at various dates through 2044. Real estate operating leases typically have initial terms between one and 20 years, and real estate finance leases typically have terms of 20 or more years, with multiple optional renewal periods of one to five years each.    
Measure of income tax benefit for uncertain income tax positions more than 50%    
Advertising expense, net of vendor promotional funds $ 102,700 99,500 $ 97,100
Vendor promotional funds, which reduced advertising expense $ 67,800 62,400 $ 52,100
Limited warranty period, minimum period (Days) 30 days    
Cash Equivalents      
Significant Accounting Policies [Line Items]      
Maturity period of investments 90 days or less    
Settlement term of credit and debit card transaction less than five days    
Credit and debit card receivables included within cash and cash equivalents $ 91,500 $ 88,600  
Stock Options      
Significant Accounting Policies [Line Items]      
Anti-dilutive shares excluded from the computation of earnings per share | shares 118,771 140,071 142,887
Minimum | Building      
Significant Accounting Policies [Line Items]      
Estimated useful lives 40 years    
Minimum | Building Improvements      
Significant Accounting Policies [Line Items]      
Estimated useful lives 5 years    
Minimum | Equipment      
Significant Accounting Policies [Line Items]      
Estimated useful lives 3 years    
Minimum | Vehicles      
Significant Accounting Policies [Line Items]      
Finance lease term 1 year    
Maximum | Building      
Significant Accounting Policies [Line Items]      
Estimated useful lives 50 years    
Maximum | Building Improvements      
Significant Accounting Policies [Line Items]      
Estimated useful lives 15 years    
Maximum | Equipment      
Significant Accounting Policies [Line Items]      
Estimated useful lives 10 years    
Maximum | Vehicles      
Significant Accounting Policies [Line Items]      
Finance lease term 5 years    
Variable Interest Entity Not Primary Beneficiary      
Significant Accounting Policies [Line Items]      
Additional capital contributions to tax credit funds $ 26,300    
Variable Interest Entity Not Primary Beneficiary | Other long-term assets      
Significant Accounting Policies [Line Items]      
Maximum exposure to losses amount $ 53,900 $ 29,600  
One individual vendor | Supplier Concentration Risk | Cost of Goods and Service Benchmark [Member]      
Significant Accounting Policies [Line Items]      
Concentration risk percentage 12.00%    
One class of similar products | Maximum | Product Concentration Risk | Revenue Benchmark [Member]      
Significant Accounting Policies [Line Items]      
Concentration risk percentage 15.00%    
Stores in the United States Including Puerto Rico      
Significant Accounting Policies [Line Items]      
Number of stores | store 6,432    
Brazil      
Significant Accounting Policies [Line Items]      
Number of stores | store 127    
Mexico      
Significant Accounting Policies [Line Items]      
Number of stores | store 794    
Non-US      
Significant Accounting Policies [Line Items]      
Cash and cash equivalents $ 99,800 $ 108,500