XML 98 R81.htm IDEA: XBRL DOCUMENT
v3.23.3

STOCK BASED COMPENSATION (Summary of Shares Repurchased) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Aug. 31, 2023 | Aug. 31, 2022 | Aug. 31, 2021
Share-Based Payment Arrangement [Abstract] |  |  |
Shares repurchased (in shares) | 99,998 | 88,415 | 62,282
Cost of repurchase of shares (in thousands) | $ 7,245 | $ 6,259 | $ 5,542

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Shares Purchased for Award, Amount + References No definition available. + Details
Name: | psmt_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAwardAmount
Namespace Prefix: | psmt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Number of shares purchased for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (l) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration