XML 100 R86.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Quarterly Financial Data (Unaudited) (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Mar. 27, 2018 | Aug. 25, 2018 | May 26, 2018 | Feb. 24, 2018 | Nov. 25, 2017 | Aug. 26, 2017 | May 27, 2017 | Feb. 25, 2017 | Nov. 26, 2016 | Aug. 25, 2018 | Aug. 26, 2017 | Aug. 27, 2016
Condensed Income Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Revenues |  | $ 434,063 | $ 427,384 | $ 419,264 | $ 415,778 | $ 403,589 | $ 409,834 | $ 391,427 | $ 386,108 | $ 1,696,489 | $ 1,590,958 | $ 1,468,046
Income before income taxes |  | 42,853 | 47,792 | 43,568 | 53,033 | (7,677) | 39,362 | 37,374 | 46,064 | 187,246 | 115,123 | 203,371
Provision (benefit) for income taxes |  | 7,901 | 11,433 | (14,810) | 18,827 | (2,781) | 15,000 | 14,858 | 17,850 | 23,351 | 44,927 | 78,345
Net income |  | 34,952 | $ 36,359 | 58,378 | $ 34,206 | (4,896) | 24,362 | $ 22,516 | $ 28,214 | 163,895 | $ 70,196 | $ 125,026
Provisional net benefit |  |  |  | $ 20,100 |  |  |  |  |  | $ 20,100 |  |
Combined common stock | $ 146,000 |  |  |  |  |  |  |  |  |  |  |
Share price (in dollars per share) | $ 124.00 |  |  |  |  |  |  |  |  |  |  |
Pre-tax one time bonus expense related to tax reform |  | $ 7,200 |  |  |  |  |  |  |  |  |  |
Income per share – diluted |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in dollars per share) |  |  | $ (0.25) | $ 0.98 |  |  |  |  |  | $ 8.21 | $ 3.44 | $ 6.17
Income allocated to – basic |  |  |  |  |  |  |  |  |  |  |  |
Common Stock |  |  |  |  |  |  |  |  |  | $ 163,895 | $ 70,196 | $ 125,026
Income allocated to – diluted |  |  |  |  |  |  |  |  |  |  |  |
Common Stock |  |  |  |  |  |  |  |  |  | $ 163,895 | $ 69,837 | $ 124,409
Weighted average number of shares outstanding – Basic: |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in shares) |  |  |  |  |  |  |  |  |  | 19,811 | 20,284 | 20,168
Weighted average number of shares outstanding – Diluted: |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in shares) |  |  |  |  |  |  |  |  |  | 19,963 | 20,276 | 20,154
Machinery and Equipment |  |  |  |  |  |  |  |  |  |  |  |
Condensed Income Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Impairment charge of capitalized costs as part of ongoing CRM systems project |  |  |  |  |  | $ 55,800 |  |  |  |  |  |
Income per share – diluted |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in dollars per share) |  |  |  |  |  | $ (1.44) |  |  |  |  |  |
Income allocated to – diluted |  |  |  |  |  |  |  |  |  |  |  |
Common Stock |  |  |  |  |  | $ (34,100) |  |  |  |  |  |
Mr. Croatti | Restricted Stock Award Agreement |  |  |  |  |  |  |  |  |  |  |  |
Condensed Income Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Pre-tax loss compensation expense as a result of accelerated vesting of certain shares |  |  |  |  |  |  | $ 5,400 |  |  |  | $ 5,400 |
Income per share – diluted |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in dollars per share) |  |  |  |  |  |  | $ (0.16) |  |  |  |  |
Income allocated to – diluted |  |  |  |  |  |  |  |  |  |  |  |
Common Stock |  |  |  |  |  |  | $ (3,300) |  |  |  |  |
Common Stock |  |  |  |  |  |  |  |  |  |  |  |
Condensed Income Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Common stock and Class B common stock | 73 |  |  |  |  |  |  |  |  |  |  |
Income per share – basic |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in dollars per share) |  | $ 1.90 | 1.94 | 3.02 | $ 1.77 | $ (0.25) | $ 1.26 | $ 1.17 | $ 1.46 | $ 8.66 | $ 3.63 | $ 6.51
Income per share – diluted |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in dollars per share) |  | $ 1.81 | $ 1.85 | $ 2.85 | $ 1.67 | $ (0.24) | $ 1.19 | $ 1.10 | $ 1.38 |  |  |
Income allocated to – basic |  |  |  |  |  |  |  |  |  |  |  |
Common Stock |  | $ 29,312 | $ 30,034 | $ 46,744 | $ 27,384 | $ (3,908) | $ 19,307 | $ 17,836 | $ 22,342 | $ 133,802 | $ 55,903 | $ 99,282
Income allocated to – diluted |  |  |  |  |  |  |  |  |  |  |  |
Common Stock |  | $ 34,952 | $ 36,359 | $ 58,378 | $ 34,206 | $ (4,886) | $ 24,199 | $ 22,362 | $ 28,020 |  |  |
Weighted average number of shares outstanding – Basic: |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in shares) |  | 15,429 | 15,446 | 15,481 | 15,462 | 15,402 | 15,326 | 15,305 | 15,285 | 15,454 | 15,382 | 15,245
Weighted average number of shares outstanding – Diluted: |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in shares) |  | 19,335 | 19,687 | 20,463 | 20,434 | 20,220 | 20,279 | 20,263 | 20,249 |  |  |
Class B Common Stock |  |  |  |  |  |  |  |  |  |  |  |
Condensed Income Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Common stock and Class B common stock | 1,105 |  |  |  |  |  |  |  |  |  |  |
Income per share – basic |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in dollars per share) |  | $ 1.52 | $ 1.55 | $ 2.42 | $ 1.42 | $ (0.20) | $ 1.01 | $ 0.93 | $ 1.17 | $ 6.91 | $ 2.91 | $ 5.21
Income allocated to – basic |  |  |  |  |  |  |  |  |  |  |  |
Common Stock |  | $ 5,640 | $ 6,325 | $ 11,634 | $ 6,822 | $ (978) | $ 4,883 | $ 4,518 | $ 5,668 | $ 30,093 | $ 13,915 | $ 25,093
Weighted average number of shares outstanding – Basic: |  |  |  |  |  |  |  |  |  |  |  |
Common Stock (in shares) |  | 3,711 | 4,087 | 4,816 | 4,816 | 4,818 | 4,846 | 4,846 | 4,847 | 4,357 | 4,786 | 4,816

X
- Definition Tax Cuts And Jobs Act Of 2017, Change In Tax Rate, Pre-Tax Bonus Expense + References No definition available. + Details
Name: | unf_TaxCutsAndJobsActOf2017ChangeInTaxRatePreTaxBonusExpense
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Tax Cuts And Jobs Act Of 2017, Incomplete Accounting, Provisional Income Tax Expense (Benefit) + References No definition available. + Details
Name: | unf_TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of impairment loss from capitalized computer software costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 985 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128487-111756 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 985 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756 + Details
Name: | us-gaap_CapitalizedComputerSoftwareImpairments1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_CondensedIncomeStatementsCaptionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=96948231&loc=d3e4984-109258 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1252-109256 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(21)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(23)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_EarningsPerShareBasic
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1252-109256 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(21)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(23)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_EarningsPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of income (loss) from continuing operations before deduction of income tax expense (benefit) and income (loss) attributable to noncontrolling interest, and addition of income (loss) from equity method investments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)(1)(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1377-109256 + Details
Name: | us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1505-109256 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1377-109256 + Details
Name: | us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_Revenues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Additional share-based compensation cost recognized as a result of an occurrence of an event that accelerates its recognition. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 + Details
Name: | us-gaap_TreasuryStockAcquiredAverageCostPerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount allocated to previously issued common shares repurchased by the issuing entity and held in treasury. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.30) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_TreasuryStockCommonValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1505-109256 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1448-109256 + Details
Name: | us-gaap_WeightedAverageNumberOfSharesOutstandingBasic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_MachineryAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=us-gaap_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=unf_RestrictedStockAwardAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |