XML 107 R83.htm IDEA: XBRL DOCUMENT
v3.23.3

LEASES - Narrative (Details) $ in Millions | 12 Months Ended
--- | ---
Jul. 30, 2022 USD ($)
Sale Leaseback Transaction [Line Items] |
Purchase of real property of a distribution center | $ 153
Gain from sale-leaseback | 87
Sale-Leaseback Of Distribution Center |
Sale Leaseback Transaction [Line Items] |
Proceeds from sale of buildings | $ 225
Lease term (in years) | 15 years

X
- Definition Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash outflow from the acquisition of a piece of land, anything permanently fixed to it, including buildings, structures on it and so forth; includes real estate intended to generate income for the owner; excludes real estate acquired for use by the owner. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from sale of buildings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 12 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-12 + Details
Name: | us-gaap_ProceedsFromSaleOfBuildings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of gain (loss) on sale and leaseback transaction from transfer of asset accounted for as sale. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 53 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479589/842-20-55-53 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479741/842-40-50-2 + Details
Name: | us-gaap_SaleAndLeasebackTransactionGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481295/840-40-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479741/842-40-50-2 + Details
Name: | us-gaap_SaleLeasebackTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SaleLeasebackTransactionDescriptionAxis=unfi_SaleLeasebackOfDistributionCenterMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |