XML 53 R42.htm IDEA: XBRL DOCUMENT
v3.23.1

Earnings Per Share - Summary of Non Cash Buyback Activity by Program (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Feb. 28, 2023 | Nov. 30, 2022 | Aug. 31, 2022 | Feb. 28, 2022 | Nov. 30, 2021 | Aug. 31, 2021 | Feb. 28, 2023 | Feb. 28, 2022
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |
Stock purchased under share buyback | $ 22,235 | $ 28,348 | $ 320,334 | $ 557,115 | $ 5,491 | $ 659,235 |  |
Noncash Share Repurchase Transaction |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |
Stock purchased under share buyback (in shares) | 54 |  |  | 30 |  |  | 313 | 30
Stock purchased under share buyback, average price (in dollars per share) | $ 445.60 |  |  | $ 391.03 |  |  | $ 419.78 | $ 391.03
Stock purchased under share buyback | $ 23,852 |  |  | $ 12,000 |  |  | $ 131,418 | $ 12,000

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 + Details
Name: | us-gaap_TreasuryStockAcquiredAverageCostPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + Details
Name: | us-gaap_TreasuryStockValueAcquiredCostMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=ctas_NoncashShareRepurchaseTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |