XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.22.2

Employee Benefit Plans - Narrative (Details) $ in Millions | 3 Months Ended | 9 Months Ended
--- | --- | ---
May 28, 2022 USD ($) RetirementPlan | May 29, 2021 USD ($) | May 28, 2022 USD ($) RetirementPlan | May 29, 2021 USD ($)
Postemployment Benefits [Abstract] |  |  |  |
Contributions charged to expense under the plan | $ 4.7 | $ 5.1 | $ 14.2 | $ 15.2
Number of frozen non-contributory defined benefit pension plans | RetirementPlan | 1 |  | 1 |
Amounts charged to expense related to the plans | $ 0.6 | $ 0.8 | $ 1.9 | $ 2.3
Deferred compensation plan, employee or employer contribution charged to expense | $ 0.0 |  | $ 0.0 |

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 contributions made by employer into fund established for purposes of making future disbursement to individual in accordance with deferred compensation arrangement. + References No definition available. + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualContributionsByEmployer
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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