XML 62 R46.htm IDEA: XBRL DOCUMENT
v3.24.3

Summary of Significant Accounting Policies - Schedule of Amortization Expense Related to Deferred Commissions (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Aug. 31, 2024 | Aug. 26, 2023 | Aug. 27, 2022
Selling and administrative expenses |  |  |
Amortization Expense Related to Deferred Commissions [Line Item] |  |  |
Amortization expense related to deferred commissions | $ 18,031 | $ 16,500 | $ 15,400

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