XML 30 R21.htm IDEA: XBRL DOCUMENT
v3.22.4

Equity (Tables) | 6 Months Ended
--- | ---
Feb. 12, 2023
Equity [Abstract] |
Stock Repurchased During Period | The following table summarizes the Company's stock repurchase activity:
| Shares Repurchased (000s) |  | Average Price per Share |  | Total Cost
Second quarter of 2023 | 294 |  |  | $ | 488.30 |  |  | $ | 144 |
First half of 2023 | 579 |  |  | $ | 492.06 |  |  | $ | 285 |
Second quarter of 2022 | 159 |  |  | $ | 518.73 |  |  | $ | 83 |
First half of 2022 | 236 |  |  | $ | 498.00 |  |  | $ | 118 |

X
- Definition Schedule of Common Stock Repurchased And Average Price Paid Per Share [Table Text Block] + References No definition available. + Details
Name: | cost_ScheduleOfCommonStockRepurchasedAndAveragePricePaidPerShareTableTextBlock
Namespace Prefix: | cost_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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