XML 59 R45.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Acquisitions - Narrative (Details) $ in Thousands | 12 Months Ended |
--- | --- | ---
Aug. 26, 2017 USD ($) business | Aug. 27, 2016 USD ($) business | Aug. 29, 2015 USD ($) business | Sep. 19, 2016 USD ($) employee location state
Business Combinations [Abstract] |  |  |  |
Number of business acquisitions completed | business | 6 | 6 | 7 |
Aggregate purchase price | $ 125,548 | $ 17,731 | $ 22,359 |
Arrow Uniform |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Total purchase price |  |  |  | $ 118,742
Number of locations | location |  |  |  | 12
Number of employees | employee |  |  |  | 700
Number of Midwestern states | state |  |  |  | 5

X
- Definition Number of persons employed by the Entity + References No definition available. + Details
Name: | dei_EntityNumberOfEmployees
Namespace Prefix: | dei_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the number of locations. + References No definition available. + Details
Name: | unf_NumberOfLocations
Namespace Prefix: | unf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=84160947&loc=d3e2207-128464 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The number of businesses acquired by the entity during the period. + References No definition available. + Details
Name: | us-gaap_NumberOfBusinessesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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