XML 64 R54.htm IDEA: XBRL DOCUMENT
v3.23.2

Commitments and Contingencies - Changes to Environmental Liabilities (Details) - USD ($) $ in Thousands | 9 Months Ended
--- | ---
May 27, 2023 | May 28, 2022
Accrual for Environmental Loss Contingencies [Roll Forward] |  |
Beginning balance | $ 32,191 |
Revisions in estimates | (5) |
Costs incurred for which reserves have been provided | (1,374) |
Insurance proceeds | 122 |
Interest accretion | 777 | $ 447
Changes in discount rates | (1,717) |
Ending balance | $ 29,994 |
Environmental Loss Contingency, Statement of Financial Position [Extensible Enumeration] | Accounts Payable and Accrued Liabilities, Noncurrent |

X
- Definition Amount of accretion expense recognized in the income statement during the period that is associated with environmental contingencies. Accretion expense measures and incorporates changes due to the passage of time into the carrying amount of the liability. + References No definition available. + Details
Name: | unf_AccretionOnEnvironmentalContingencies
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of discount applied to the future cost of environmental remediation to present value. + References No definition available. + Details
Name: | unf_EnvironmentalLiabilitiesChangesInDiscountRates
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Recorded amount of the individual components comprising the asset for insurance recoveries related to environmental remediation obligations. + References No definition available. + Details
Name: | unf_RecordedInsuranceEnvironmentalRecoveriesAmount
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total costs accrued as of the balance sheet date for environmental loss contingencies. + References Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 50 -Paragraph 10 -Subparagraph (d)(3) -URI https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.Y.Q1) -URI https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=6393242&loc=d3e13207-110859 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 5: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 50 -Paragraph 10 -Subparagraph (d)(1) -URI https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 55 -Paragraph 16 -URI https://asc.fasb.org/extlink&oid=6571209&loc=d3e13703-110860 + Details
Name: | us-gaap_AccrualForEnvironmentalLossContingencies
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expense (reversal of expense) which increases (decreases) the accrual for environmental loss contingencies from revisions in estimates to existing obligations. Excludes changes related to business acquisitions, divestitures, or currency movement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.Y.Q1) -URI https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751 + Details
Name: | us-gaap_AccrualForEnvironmentalLossContingenciesIncreaseDecreaseForRevisionInEstimates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash outflow to settle environmental loss contingencies. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 17 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.Y.Q1) -URI https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751 + Details
Name: | us-gaap_AccrualForEnvironmentalLossContingenciesPayments1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_AccrualForEnvironmentalLossContingenciesRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of financial position that includes accrual for environmental loss contingency. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 5.Y.Q4) -URI https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751 + Details
Name: | us-gaap_EnvironmentalLossContingencyStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant