XML 53 R42.htm IDEA: XBRL DOCUMENT
v3.21.1

Employee Benefit Plans - Narrative (Details) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Feb. 27, 2021 USD ($) Retirement-Plan | Feb. 29, 2020 USD ($) | Feb. 27, 2021 USD ($) Retirement-Plan | Feb. 29, 2020 USD ($)
Postemployment Benefits [Abstract] |  |  |  |
Contributions charged to expense under the plan | $ 4.3 | $ 5.0 | $ 10.1 | $ 10.5
Number of frozen non-contributory defined benefit pension plans | Retirement-Plan | 2 |  | 2 |
Amounts charged to expense related to the plans | $ 0.8 | $ 0.3 | $ 1.5 | $ 0.4

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