XML 92 R79.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Shareholders' Equity - Narrative (Details) |  |  |  |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Jul. 15, 2022 USD ($) $ / shares shares | Oct. 20, 2021 $ / shares | Oct. 19, 2021 $ / shares | Oct. 23, 2019 $ / shares | Oct. 22, 2019 $ / shares | Aug. 27, 2022 USD ($) $ / shares shares | Aug. 28, 2021 $ / shares shares | Aug. 29, 2020 $ / shares shares | Aug. 31, 2019 Vote | Oct. 18, 2021 USD ($) | Jan. 02, 2019 USD ($)
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Shares repurchased (in shares) | shares |  |  |  |  |  | 213,419 | 60,950 | 117,767 |  |  |
Total cost of shares repurchased divided by the total number of shares repurchased |  |  |  |  |  | $ 179.98 | $ 184.13 | $ 184.67 |  |  |
Stock repurchase, remaining to repurchase outstanding shares value | $ |  |  |  |  |  | $ 63,600,000 |  |  |  |  |
Maximum |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Stock repurchase authorized, Value | $ |  |  |  |  |  |  |  |  |  | $ 100,000,000.0 | $ 100,000,000.0
Common Stock |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Voting rights | Vote |  |  |  |  |  |  |  |  | 1 |  |
Dividend rate |  |  |  |  |  |  |  |  | 125.00% |  |
Quarterly dividend amount (in dollars per share) |  | $ 0.30 | $ 0.25 | $ 0.25 | $ 0.1125 |  |  |  |  |  |
Class B Common Stock |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Voting rights | Vote |  |  |  |  |  |  |  |  | 10 |  |
Number of shares converted (in shares) | shares |  |  |  |  |  | 17,000 | 0 | 0 |  |  |
Quarterly dividend amount (in dollars per share) |  | $ 0.24 | $ 0.20 | $ 0.20 | $ 0.09 |  |  |  |  |  |
Shares repurchased (in shares) | shares | 35,714 |  |  |  |  |  |  |  |  |  |
Total cost of shares repurchased divided by the total number of shares repurchased | $ 168.00 |  |  |  |  |  |  |  |  |  |
Shares repurchased, Value | $ | $ 6,000,000.0 |  |  |  |  |  |  |  |  |  |

X
- Definition Common stock dividend rate percentage. + References No definition available. + Details
Name: | unf_CommonStockDividendRatePercentage
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Common stock voting rights number of votes. + References No definition available. + Details
Name: | unf_CommonStockVotingRightsNumberOfVotes
Namespace Prefix: | unf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock repurchased price per share. + References No definition available. + Details
Name: | unf_StockRepurchasedPricePerShare
Namespace Prefix: | unf_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: 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_CommonStockDividendsPerShareDeclared
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 + Details
Name: | us-gaap_ConversionOfStockSharesConverted1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount remaining of a stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + 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 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 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 Reference 4: 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(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: 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(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: 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 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 Reference 4: 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_StockRepurchasedDuringPeriodValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |