XML 58 R44.htm IDEA: XBRL DOCUMENT
v3.24.3

Accounting Policies - Retirement Plans (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Sep. 01, 2024 | Sep. 03, 2023 | Aug. 28, 2022
Accounting Policies [Abstract] |  |  |
Minimum number of days of employment to qualify for retirement plan | 90 days |  |
Defined contribution plan, cost recognized | $ 963 | $ 914 | $ 824

X
- Definition Minimum number of days of employment to qualify for 401(k) Retirement Plan + References No definition available. + Details
Name: | cost_MinimumNumberOfDaysOfEmploymentToQualifyForRetirementPlan
Namespace Prefix: | cost_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration