XML 56 R43.htm IDEA: XBRL DOCUMENT
v3.24.0.1

FAIR VALUE MEASUREMENTS OF FINANCIAL INSTRUMENTS - Recurring Fair Value Measurements (Details) - USD ($) $ in Millions | Jan. 27, 2024 | Jul. 29, 2023
--- | --- | ---
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Derivative Asset, Current, Statement of Financial Position [Extensible Enumeration] | Prepaid expenses and other current assets | Prepaid expenses and other current assets
Derivative Asset, Noncurrent, Statement of Financial Position [Extensible Enumeration] | Other long-term assets | Other long-term assets
Derivative Liability, Current, Statement of Financial Position [Extensible Enumeration] | Accrued expenses and other current liabilities |
Derivative Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] | Other long-term liabilities | Other long-term liabilities
Fair value, measurements, recurring | Level 1 | Fuel derivatives | Designated as hedging instrument |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Current derivative liability | $ 0 |
Noncurrent derivative liability | 0 |
Fair value, measurements, recurring | Level 1 | Interest rate swaps | Designated as hedging instrument |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Current derivative assets | 0 | $ 0
Noncurrent derivative assets | 0 | 0
Current derivative liability |  | 0
Fair value, measurements, recurring | Level 2 | Fuel derivatives | Designated as hedging instrument |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Current derivative liability | 1 |
Noncurrent derivative liability | 1 |
Fair value, measurements, recurring | Level 2 | Interest rate swaps | Designated as hedging instrument |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Current derivative assets | 13 | 17
Noncurrent derivative assets | 1 | 5
Current derivative liability |  | 1
Fair value, measurements, recurring | Level 3 | Fuel derivatives | Designated as hedging instrument |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Current derivative liability | 0 |
Noncurrent derivative liability | 0 |
Fair value, measurements, recurring | Level 3 | Interest rate swaps | Designated as hedging instrument |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |
Current derivative assets | 0 | 0
Noncurrent derivative assets | $ 0 | 0
Current derivative liability |  | $ 0

X
- Definition Indicates line item in statement of financial position that includes derivative asset classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes derivative asset classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_DerivativeAssetNoncurrentStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483466/210-20-50-3 + Details
Name: | us-gaap_DerivativeAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483466/210-20-50-3 + Details
Name: | us-gaap_DerivativeAssetsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483466/210-20-50-3 + Details
Name: | us-gaap_DerivativeLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483466/210-20-50-3 + Details
Name: | us-gaap_DerivativeLiabilitiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes derivative liability classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes derivative liability classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_DerivativeLiabilityNoncurrentStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_FuelderivativeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |