XML 97 R86.htm IDEA: XBRL DOCUMENT
v3.25.3

Shareholders' Equity - Narrative (Details) |  | 12 Months Ended |  |
--- | --- | --- | --- | ---
Oct. 28, 2025 $ / shares | Aug. 30, 2025 USD ($) $ / shares shares | Aug. 31, 2024 $ / shares shares | Aug. 26, 2023 $ / shares shares | Aug. 31, 2019 Vote | Apr. 08, 2025 USD ($) | Oct. 24, 2023 USD ($)
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |
Shares repurchased (in shares) | shares |  | 402,415 | 139,556 | 0 |  |  |
Total cost of shares repurchased divided by the total number of shares repurchased |  | $ 178.81 | $ 170.40 |  |  |  |
Stock repurchase, remaining to repurchase outstanding shares value | $ |  | $ 40,600,000 |  |  |  |  |
Maximum |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |
Stock repurchase authorized, Value | $ |  |  |  |  |  | $ 100,000,000 | $ 100,000,000
Common Stock |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |
Voting rights | Vote |  |  |  |  | 1 |  |
Dividend rate |  |  |  |  | 125.00% |  |
Common Stock | O 2023 Q4 Dividends |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |
Quarterly dividend amount (in dollars per share) |  |  |  | $ 0.350 |  |  |
Common Stock | O 2024 Q4 Dividends | Subsequent Event |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |
Quarterly dividend amount (in dollars per share) | $ 0.365 |  |  |  |  |  |
Dividends payable date | Jan. 02, 2026 |  |  |  |  |  |
Dividends payable, date of record | Dec. 05, 2025 |  |  |  |  |  |
Class B Common Stock |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |
Voting rights | Vote |  |  |  |  | 10 |  |
Number of shares converted (in shares) | shares |  | 39,030 | 0 | 0 |  |  |
Class B Common Stock | O 2023 Q4 Dividends |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |
Quarterly dividend amount (in dollars per share) |  |  |  | $ 0.280 |  |  |
Class B Common Stock | O 2024 Q4 Dividends | Subsequent Event |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |
Quarterly dividend amount (in dollars per share) | $ 0.292 |  |  |  |  |  |
Dividends payable date | Jan. 02, 2026 |  |  |  |  |  |
Dividends payable, date of record | Dec. 05, 2025 |  |  |  |  |  |

X
- Definition Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481520/505-30-50-4 + Details
Name: | srt_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + 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 -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-4 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-3 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-5 + Details
Name: | us-gaap_ConversionOfStockSharesConverted1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the declared dividend will be paid, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-3 + Details
Name: | us-gaap_DividendPayableDateToBePaidDayMonthAndYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_DividendsPayableDateOfRecordDayMonthAndYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
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_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + 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 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
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_DividendsAxis=unf_O2023Q4DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DividendsAxis=unf_O2024Q4DividendsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
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: |