XML 51 R43.htm IDEA: XBRL DOCUMENT
v3.25.2

Revenue Recognition - Schedule of Amortization Expense Related to Deferred Commissions (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
May 31, 2025 | May 25, 2024 | May 31, 2025 | May 25, 2024
Selling and administrative expenses |  |  |  |
Amortization Expense Related to Deferred Commissions [Line Item] |  |  |  |
Amortization expense related to deferred commissions | $ 4,961 | $ 4,578 | $ 14,589 | $ 13,366

X
- Definition Amortization expense related to deferred commissions [Line Items] + References No definition available. + Details
Name: | unf_AmortizationExpenseRelatedToDeferredCommissionsLineItem
Namespace Prefix: | unf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of amortization of deferred charges applied against earnings during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_AmortizationOfDeferredCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingGeneralAndAdministrativeExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |