XML 70 R54.htm IDEA: XBRL DOCUMENT
v3.24.3

Acquisitions - Summary of Allocation of Purchase Price to Intangible Assets and Goodwill (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Aug. 31, 2024 | Aug. 26, 2023 | Aug. 27, 2022
Esimated Fair Value |  |  |
Goodwill | $ 648,850 | $ 647,900 | $ 457,259
Clean Holdco, Inc. |  |  |
Esimated Fair Value |  |  |
Goodwill | 187,733 |  |
Customer contracts | 64,800 |  |
Total intangible assets and goodwill acquired | $ 257,833 |  |
Clean Holdco, Inc. | Customer Contracts |  |  |
Esimated Fair Value |  |  |
Weighted average life | 15 years |  |
Clean Holdco, Inc. | Trade Name |  |  |
Esimated Fair Value |  |  |
Other intangible assets | $ 5,300 |  |
Weighted average life | 3 years |  |
Aggregate Information Relating to Acquisition of Businesses |  |  |
Esimated Fair Value |  |  |
Goodwill |  | 3,944 |
Customer contracts |  | 2,271 |
Other intangible assets |  | 25 |
Total intangible assets and goodwill acquired |  | $ 6,240 |
Aggregate Information Relating to Acquisition of Businesses | Customer Contracts |  |  |
Esimated Fair Value |  |  |
Weighted average life |  | 14 years |
Aggregate Information Relating to Acquisition of Businesses | Other Intangible Assets |  |  |
Esimated Fair Value |  |  |
Weighted average life |  | 5 years |

X
- Definition Business combination recognized identifiable assets acquired and liabilities assumed customer contracts. + References No definition available. + Details
Name: | unf_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCustomerContracts
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business combination recognized identifiable assets acquired and liabilities assumed intangible assets and goodwill. + References No definition available. + Details
Name: | unf_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsAndGoodwill
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482665/350-30-50-1 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of intangible assets, excluding goodwill, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 24 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482548/350-20-55-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(15)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482598/350-20-45-1 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=unf_CleanHoldcoIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TradeNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_OtherIntangibleAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |