XML 52 R41.htm IDEA: XBRL DOCUMENT
v3.25.3

Summary of Significant Accounting Policies - Narrative (Details) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Aug. 30, 2025 USD ($) Segment | Aug. 30, 2025 USD ($) Segment | Aug. 31, 2024 USD ($) | Aug. 26, 2023 USD ($)
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Number of reporting segments | Segment | 3 | 3 |  |
Short-term investments | $ 5,672,000 | $ 5,672,000 | $ 13,505,000 |
Percentage of revenues derived from route servicing fees |  | 83.80% |  |
Estimated service lives of rental merchandise, minimum |  | 6 months |  |
Estimated service lives of rental merchandise, maximum |  | 36 months |  |
Impairment of goodwill and definite-lived intangible assets |  | $ 0 | 0 | $ 0
Weighted average useful life | 13 years 8 months 12 days | 13 years 8 months 12 days |  |
Capitalized costs | $ 45,300,000 | $ 45,300,000 | 18,900,000 |
Discount rate, lower range |  | 4.86% |  |
Discount range, upper range |  | 4.92% |  |
Inflation rate |  | 3.00% |  |
Advertising costs |  | $ 7,700,000 | $ 5,300,000 | $ 9,900,000
Conversion of Class B Common Stock in to Common Stock |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Conversion ratio |  | 1 |  |
Stock Appreciation Rights (SARs) |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Expiration period |  | 10 years |  |
Stock Appreciation Rights (SARs) | Certain Share-based Awards Granted During Fiscal 2020, 2019 and 2018 to Non-employee Directors | Non-Employee Directors |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Expiration period |  | 8 years |  |
Minimum |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Discount period, lower range |  | 20 years |  |
Remaining lives |  | 1 year |  |
Credit adjusted risk-free rate |  | 4.75% |  |
Maximum |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Discount period, upper range |  | 30 years |  |
Remaining lives |  | 19 years |  |
Credit adjusted risk-free rate |  | 7.50% |  |
Customer Contracts |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Weighted average useful life | 14 years 7 months 6 days | 14 years 7 months 6 days |  |
Other Intangible Assets |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Weighted average useful life | 8 years 9 months 18 days | 8 years 9 months 18 days |  |

X
- Definition This element describes the minimum years the Company will discount the liability of estimated future costs to decommission one of its facilities. + References No definition available. + Details
Name: | unf_AssetRetirementObligationRemainingLives
Namespace Prefix: | unf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Capitalized Costs. + References No definition available. + Details
Name: | unf_CapitalizedCosts
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Common stock conversion ratio. + References No definition available. + Details
Name: | unf_CommonStockConversionRatio
Namespace Prefix: | unf_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Credit adjusted risk free rate. + References No definition available. + Details
Name: | unf_CreditAdjustedRiskFreeRate
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Environmental contingencies inflation rate. + References No definition available. + Details
Name: | unf_EnvironmentalContingenciesInflationRate
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum useful life of rental merchandise assets in service. + References No definition available. + Details
Name: | unf_RentalMerchandiseUsefulLifeMaximum
Namespace Prefix: | unf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum useful life of rental merchandise assets in service. + References No definition available. + Details
Name: | unf_RentalMerchandiseUsefulLifeMinimum
Namespace Prefix: | unf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue From Contracts With Customers, Percentage Of Revenues From Route Servicing Fees + References No definition available. + Details
Name: | unf_RevenueFromContractsWithCustomersPercentageOfRevenuesFromRouteServicingFees
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Site contingency discount rate lower range. + References No definition available. + Details
Name: | unf_SiteContingencyDiscountRateLowerRange
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Site contingency discount rate upper range. + References No definition available. + Details
Name: | unf_SiteContingencyDiscountRateUpperRange
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Site contingency discounted period lower range. + References No definition available. + Details
Name: | unf_SiteContingencyDiscountedPeriodLowerRange
Namespace Prefix: | unf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Site contingency discounted period upper range. + References No definition available. + Details
Name: | unf_SiteContingencyDiscountedPeriodUpperRange
Namespace Prefix: | unf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary of significant accounting policies. + References No definition available. + Details
Name: | unf_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | unf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 720 -SubTopic 35 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483385/720-35-55-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 720 -SubTopic 35 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483406/720-35-50-1 + Details
Name: | us-gaap_AdvertisingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill. + References No definition available. + Details
Name: | us-gaap_GoodwillAndIntangibleAssetImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 47 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-47 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 54 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-54 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_ShortTermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_ConversionOfStockByUniqueDescriptionAxis=unf_ConversionOfClassBCommonStockIntoCommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=unf_CertainShareBasedAwardsGrantedDuringFiscal20202019And2018ToNonemployeeDirectorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=unf_NonEmployeeDirectorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
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_OtherIntangibleAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |