XML 70 R42.htm IDEA: XBRL DOCUMENT
v3.21.4

Employee Benefit Plans - Narrative (Details) $ in Millions | 3 Months Ended
--- | ---
Nov. 27, 2021 USD ($) Retirement-Plan | Nov. 28, 2020 USD ($) Retirement-Plan
Postemployment Benefits [Abstract] |  |
Contributions charged to expense under the plan | $ 5.5 | $ 5.8
Number of frozen non-contributory defined benefit pension plans | Retirement-Plan | 1 | 1
Amounts charged to expense related to the plans | $ 0.6 | $ 0.8

X
- Definition Defined Benefit Plan, Number Of Frozen Plans + References No definition available. + Details
Name: | unf_DefinedBenefitPlanNumberOfFrozenPlans
Namespace Prefix: | unf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cost (reversal of cost) for pension benefits. Excludes other postretirement benefits. + References No definition available. + Details
Name: | us-gaap_PensionExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_PostemploymentBenefitsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration