XML 49 R41.htm IDEA: XBRL DOCUMENT
v3.26.1

Revenue Recognition - Schedule of Amortization Expense Related to Deferred Commissions (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Feb. 28, 2026 | Mar. 01, 2025 | Feb. 28, 2026 | Mar. 01, 2025
Selling and administrative expenses |  |  |  |
Amortization Expense Related to Deferred Commissions [Line Item] |  |  |  |
Amortization expense related to deferred commissions | $ 5,301 | $ 4,855 | $ 10,480 | $ 9,628

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: |