XML 90 R69.htm IDEA: XBRL DOCUMENT
v3.24.3

DERIVATIVES - Interest Rate Swap Contracts (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Aug. 03, 2024 | Jul. 29, 2023 | Jul. 30, 2022
Derivative Instruments and Hedging Activities Disclosure [Abstract] |  |  |
Total amounts of expense line items presented in the Consolidated Statements of Operations in which the effects of cash flow hedges are recorded | $ 162 | $ 144 | $ 155
Gain (loss) on cash flow hedging relationships: |  |  |
Gain (loss) reclassified from comprehensive income into earnings | $ 19 | $ 12 | $ (36)

X
- Definition Gain On Cash Flow Hedging Relationships + References No definition available. + Details
Name: | unfi_GainOnCashFlowHedgingRelationshipsAbstract
Namespace Prefix: | unfi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of interest expense classified as nonoperating. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_InterestExpenseNonoperating
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, before tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-15 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (c) -SubTopic 10 -Topic 815 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration