<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:a3619bcb-0093-4de0-bea5-2067229394a2,g:53eaccb6-6799-464d-b65d-d895194ceafc-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.unfi.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="unfi-20210731.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_5479e688-d440-40af-8ed0-169f044dedee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_69af6a4d-38f1-4681-80e2-50bfc1a626e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5479e688-d440-40af-8ed0-169f044dedee" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_69af6a4d-38f1-4681-80e2-50bfc1a626e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_f3d57474-f389-4d2c-9545-96af722668c3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5479e688-d440-40af-8ed0-169f044dedee" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_f3d57474-f389-4d2c-9545-96af722668c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_51ed8cd9-a6b4-484a-b4b4-97f357d74f11" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5479e688-d440-40af-8ed0-169f044dedee" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_51ed8cd9-a6b4-484a-b4b4-97f357d74f11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_b4b33345-018d-4070-b1f4-743e481dda7f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5479e688-d440-40af-8ed0-169f044dedee" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_b4b33345-018d-4070-b1f4-743e481dda7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_b9c2ed1d-b710-4b21-9e50-6dabf7063c8b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5479e688-d440-40af-8ed0-169f044dedee" xlink:to="loc_us-gaap_AccountsPayableCurrent_b9c2ed1d-b710-4b21-9e50-6dabf7063c8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_7ea66a1d-84e1-40f5-bd44-a5703d2e7fb4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5479e688-d440-40af-8ed0-169f044dedee" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_7ea66a1d-84e1-40f5-bd44-a5703d2e7fb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a54707c-b1b8-4df4-a6ac-d39d29aec3f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_700d7d07-96b8-460a-80ab-5b1c8147bfec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a54707c-b1b8-4df4-a6ac-d39d29aec3f0" xlink:to="loc_us-gaap_Liabilities_700d7d07-96b8-460a-80ab-5b1c8147bfec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_55a67d52-b063-4e41-ae74-ce3f70e20dec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a54707c-b1b8-4df4-a6ac-d39d29aec3f0" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_55a67d52-b063-4e41-ae74-ce3f70e20dec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_c337438c-933b-4ae5-9946-5ca32686cf2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a54707c-b1b8-4df4-a6ac-d39d29aec3f0" xlink:to="loc_us-gaap_CommitmentsAndContingencies_c337438c-933b-4ae5-9946-5ca32686cf2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_19d97de8-81bb-4085-bd0a-a1b196d0d8fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_2f497e56-e5c6-4b52-853d-5b7c350d4b28" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_19d97de8-81bb-4085-bd0a-a1b196d0d8fb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_2f497e56-e5c6-4b52-853d-5b7c350d4b28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent_b8591819-b047-45d8-9c73-0617cfcfeada" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_19d97de8-81bb-4085-bd0a-a1b196d0d8fb" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent_b8591819-b047-45d8-9c73-0617cfcfeada" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_a6beced0-d82f-438c-b33c-a41a879155d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_19d97de8-81bb-4085-bd0a-a1b196d0d8fb" xlink:to="loc_us-gaap_LiabilitiesCurrent_a6beced0-d82f-438c-b33c-a41a879155d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermNotesPayable_d2de15a3-f123-4c43-9a9b-b9ab9be1f614" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermNotesPayable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_19d97de8-81bb-4085-bd0a-a1b196d0d8fb" xlink:to="loc_us-gaap_LongTermNotesPayable_d2de15a3-f123-4c43-9a9b-b9ab9be1f614" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_60e99ee7-fefb-48d9-a331-c6b0ec9ec838" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_19d97de8-81bb-4085-bd0a-a1b196d0d8fb" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_60e99ee7-fefb-48d9-a331-c6b0ec9ec838" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_9cb14ad8-2006-4301-bd54-41ad9c5c5e02" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_19d97de8-81bb-4085-bd0a-a1b196d0d8fb" xlink:to="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_9cb14ad8-2006-4301-bd54-41ad9c5c5e02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_5e5bd7b4-e77a-4b95-9314-4b73d4c7a2b6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_19d97de8-81bb-4085-bd0a-a1b196d0d8fb" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_5e5bd7b4-e77a-4b95-9314-4b73d4c7a2b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_14bce146-0797-49ee-baab-c92788f4a735" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_986c3481-278a-44fe-84d3-216b6ad79841" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_14bce146-0797-49ee-baab-c92788f4a735" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_986c3481-278a-44fe-84d3-216b6ad79841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_c091ee5f-16d4-4c35-ae66-6f3dfea71091" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_14bce146-0797-49ee-baab-c92788f4a735" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_c091ee5f-16d4-4c35-ae66-6f3dfea71091" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_6ce5fb6d-8e31-4950-a667-89dff334fa8d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_14bce146-0797-49ee-baab-c92788f4a735" xlink:to="loc_us-gaap_InventoryNet_6ce5fb6d-8e31-4950-a667-89dff334fa8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_66444da5-e43e-4fd7-ab8f-645ebe241fb5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_14bce146-0797-49ee-baab-c92788f4a735" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_66444da5-e43e-4fd7-ab8f-645ebe241fb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_59afcc7e-0f24-40a7-96ef-56c7475668f3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_14bce146-0797-49ee-baab-c92788f4a735" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_59afcc7e-0f24-40a7-96ef-56c7475668f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_96f66aaf-972e-40f6-ba3a-1cba07d3ee24" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2404e433-c0f9-4c28-9278-b337dca6f7c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_96f66aaf-972e-40f6-ba3a-1cba07d3ee24" xlink:to="loc_us-gaap_StockholdersEquity_2404e433-c0f9-4c28-9278-b337dca6f7c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_20a31e4b-322a-44b6-bb9d-df5690281fcb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_96f66aaf-972e-40f6-ba3a-1cba07d3ee24" xlink:to="loc_us-gaap_MinorityInterest_20a31e4b-322a-44b6-bb9d-df5690281fcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_5269b816-0b89-4f38-8458-dfdff079a849" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_418812e4-ab4e-497f-9185-feb31127e95d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_5269b816-0b89-4f38-8458-dfdff079a849" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_418812e4-ab4e-497f-9185-feb31127e95d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_9cb13bb1-148b-4eeb-80bb-154c041ed000" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_5269b816-0b89-4f38-8458-dfdff079a849" xlink:to="loc_us-gaap_CommonStockValueOutstanding_9cb13bb1-148b-4eeb-80bb-154c041ed000" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_bbcee0b9-ba56-493a-b126-b5a4036b48f2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_5269b816-0b89-4f38-8458-dfdff079a849" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_bbcee0b9-ba56-493a-b126-b5a4036b48f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_362cf36c-0878-401b-9708-7e5078d06571" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_5269b816-0b89-4f38-8458-dfdff079a849" xlink:to="loc_us-gaap_PreferredStockValue_362cf36c-0878-401b-9708-7e5078d06571" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_8454a10f-78be-4bfc-bf74-d7bb0c3e7d96" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_5269b816-0b89-4f38-8458-dfdff079a849" xlink:to="loc_us-gaap_TreasuryStockCommonValue_8454a10f-78be-4bfc-bf74-d7bb0c3e7d96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_d235cc19-655e-4ab6-ba65-87268c15e53d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_5269b816-0b89-4f38-8458-dfdff079a849" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_d235cc19-655e-4ab6-ba65-87268c15e53d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_e49a3d7f-c7c8-4aba-9365-e542b90fa5ab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:to="loc_us-gaap_Goodwill_e49a3d7f-c7c8-4aba-9365-e542b90fa5ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_17a4e3f6-437f-432e-a3db-f124dffaf095" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_17a4e3f6-437f-432e-a3db-f124dffaf095" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_b03d839d-acac-40ba-a33b-c312e0b48631" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:to="loc_us-gaap_AssetsCurrent_b03d839d-acac-40ba-a33b-c312e0b48631" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_cdad5134-b725-40d3-8491-d98c899adf73" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_cdad5134-b725-40d3-8491-d98c899adf73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_fd17b5d1-77c0-46dd-b0c4-acac899120e0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_fd17b5d1-77c0-46dd-b0c4-acac899120e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_aba2caa6-e436-4991-909b-d8192e111a26" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_aba2caa6-e436-4991-909b-d8192e111a26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_9577ce94-1d9f-437b-b0f5-b9aa634fd015" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_9577ce94-1d9f-437b-b0f5-b9aa634fd015" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_1994fb72-0716-4a3a-9fd3-9005a997bb3b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6c941d07-0cd9-4e61-b442-fbcc98ea0e8b" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_1994fb72-0716-4a3a-9fd3-9005a997bb3b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="unfi-20210731.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_6a632833-e8b3-4845-b9e5-cb9c499a1156" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_6b0ac091-2fc0-4c12-a753-7af25584f866" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestructuringSettlementAndImpairmentProvisions"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_6a632833-e8b3-4845-b9e5-cb9c499a1156" xlink:to="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_6b0ac091-2fc0-4c12-a753-7af25584f866" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_73e37a41-87d3-4bba-994d-2d9f149a0473" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingCostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_6a632833-e8b3-4845-b9e5-cb9c499a1156" xlink:to="loc_us-gaap_OperatingCostsAndExpenses_73e37a41-87d3-4bba-994d-2d9f149a0473" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_8e16ba03-fdfb-45f2-8f6d-903563a1c0ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_6a632833-e8b3-4845-b9e5-cb9c499a1156" xlink:to="loc_us-gaap_GrossProfit_8e16ba03-fdfb-45f2-8f6d-903563a1c0ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_Goodwillandassetimpairmentcharges_c42ee028-45ab-4e71-93d4-19e42b1f932c" xlink:href="unfi-20210731.xsd#unfi_Goodwillandassetimpairmentcharges"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_6a632833-e8b3-4845-b9e5-cb9c499a1156" xlink:to="loc_unfi_Goodwillandassetimpairmentcharges_c42ee028-45ab-4e71-93d4-19e42b1f932c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_91e09536-cce0-4d5e-927f-56e3cca022d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_6a632833-e8b3-4845-b9e5-cb9c499a1156" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_91e09536-cce0-4d5e-927f-56e3cca022d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0f6c2235-fd78-488f-aa61-a514d7e246bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_fde25476-b89f-4e22-acbf-15ee09035154" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_0f6c2235-fd78-488f-aa61-a514d7e246bc" xlink:to="loc_us-gaap_ProfitLoss_fde25476-b89f-4e22-acbf-15ee09035154" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_924420dd-b00f-4819-9659-f098c19c1565" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_0f6c2235-fd78-488f-aa61-a514d7e246bc" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_924420dd-b00f-4819-9659-f098c19c1565" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_ff9837a3-f9a5-48f7-a963-a1fe043af55c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_de8a41d3-048c-4134-b985-a4c282c8645c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_ff9837a3-f9a5-48f7-a963-a1fe043af55c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_de8a41d3-048c-4134-b985-a4c282c8645c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_4a372445-b6b1-4302-aff1-144e89b1bea4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_ff9837a3-f9a5-48f7-a963-a1fe043af55c" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_4a372445-b6b1-4302-aff1-144e89b1bea4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d03142f-abb8-427b-8ca6-5b02d14d5ce2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_02754f6b-7a7e-4d76-a384-f0b2d306e14b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d03142f-abb8-427b-8ca6-5b02d14d5ce2" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_02754f6b-7a7e-4d76-a384-f0b2d306e14b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_6f5ab94c-e4fd-47b3-8beb-13a200aeabfb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d03142f-abb8-427b-8ca6-5b02d14d5ce2" xlink:to="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_6f5ab94c-e4fd-47b3-8beb-13a200aeabfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_203607f0-0c6b-41e3-bace-a332298ef353" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d03142f-abb8-427b-8ca6-5b02d14d5ce2" xlink:to="loc_us-gaap_OperatingIncomeLoss_203607f0-0c6b-41e3-bace-a332298ef353" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_9476ab65-fe52-4f89-99a5-f4d19d2d6465" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d03142f-abb8-427b-8ca6-5b02d14d5ce2" xlink:to="loc_us-gaap_InterestExpense_9476ab65-fe52-4f89-99a5-f4d19d2d6465" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_970245fb-3826-4ad3-9cd6-d040319d51a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7f83a14e-cb73-4432-9067-110990ffcdc8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_970245fb-3826-4ad3-9cd6-d040319d51a2" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7f83a14e-cb73-4432-9067-110990ffcdc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_6aef1ace-6054-44fe-8806-d9f8171b534c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_970245fb-3826-4ad3-9cd6-d040319d51a2" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_6aef1ace-6054-44fe-8806-d9f8171b534c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_6495f56d-d44e-4a65-8853-ec4cdcb1663c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d1385c6a-d27f-4523-bd28-b4ffea50f6e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_6495f56d-d44e-4a65-8853-ec4cdcb1663c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d1385c6a-d27f-4523-bd28-b4ffea50f6e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d6b820ce-ff71-43ce-ab6d-2a39e7f871b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_6495f56d-d44e-4a65-8853-ec4cdcb1663c" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_d6b820ce-ff71-43ce-ab6d-2a39e7f871b0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="unfi-20210731.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_42f133d3-ffe8-48e0-a843-5841750dfa25" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_1ac56e91-d4b3-4879-97fe-51ce725abc36" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_42f133d3-ffe8-48e0-a843-5841750dfa25" xlink:to="loc_us-gaap_ProfitLoss_1ac56e91-d4b3-4879-97fe-51ce725abc36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_188266f2-c701-4bd1-b347-76f7f17d37ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_42f133d3-ffe8-48e0-a843-5841750dfa25" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_188266f2-c701-4bd1-b347-76f7f17d37ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_a8ee05ec-622b-462e-8ed8-8a1c9697974e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_42f133d3-ffe8-48e0-a843-5841750dfa25" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_a8ee05ec-622b-462e-8ed8-8a1c9697974e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e07f947d-d7fd-417e-b9c6-4497af0022de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_43e9db23-674e-4949-a4da-96c0a1c4973e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e07f947d-d7fd-417e-b9c6-4497af0022de" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_43e9db23-674e-4949-a4da-96c0a1c4973e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_42954665-e13c-4ad7-878b-3ef4b22f45de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e07f947d-d7fd-417e-b9c6-4497af0022de" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_42954665-e13c-4ad7-878b-3ef4b22f45de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_955e9f54-8221-44cc-9a04-d63206233638" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e07f947d-d7fd-417e-b9c6-4497af0022de" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_955e9f54-8221-44cc-9a04-d63206233638" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="unfi-20210731.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ae369eb8-a860-4658-844a-e09cd9dda1d5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_89460bae-221a-49f9-a7a0-7ec0fdb535a1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ae369eb8-a860-4658-844a-e09cd9dda1d5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_89460bae-221a-49f9-a7a0-7ec0fdb535a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_9a473dd7-7271-43a0-8baf-4987ed3b2a86" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ae369eb8-a860-4658-844a-e09cd9dda1d5" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_9a473dd7-7271-43a0-8baf-4987ed3b2a86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherDebt_ff82881e-21c1-4bc2-ac51-9e29fc2d5a6e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfOtherDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_RepaymentsOfOtherDebt_ff82881e-21c1-4bc2-ac51-9e29fc2d5a6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_2e36f794-3fd8-4664-a622-77662862ec00" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_2e36f794-3fd8-4664-a622-77662862ec00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_72bf5cdc-760e-450b-93b3-348cba193f96" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_72bf5cdc-760e-450b-93b3-348cba193f96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_Proceedsfromissuanceofotherloans_d279bc17-12ff-4982-b6a1-e2d86d134835" xlink:href="unfi-20210731.xsd#unfi_Proceedsfromissuanceofotherloans"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_unfi_Proceedsfromissuanceofotherloans_d279bc17-12ff-4982-b6a1-e2d86d134835" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_64dbca3d-f1d7-45dc-b443-a87c71901096" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_64dbca3d-f1d7-45dc-b443-a87c71901096" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_5a539230-efb3-42a7-8c3f-51a85dffd422" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_5a539230-efb3-42a7-8c3f-51a85dffd422" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_8efc6c90-9f2e-4dc1-b0da-71844b49b13c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_8efc6c90-9f2e-4dc1-b0da-71844b49b13c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_cbe5a243-e67d-4676-baa1-1e4eee03bc9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_cbe5a243-e67d-4676-baa1-1e4eee03bc9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockValueSharesIssuedNetOfTaxWithholdings_2e645d97-5ace-4ca9-a05a-8e05c56cd0a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockValueSharesIssuedNetOfTaxWithholdings"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_RestrictedStockValueSharesIssuedNetOfTaxWithholdings_2e645d97-5ace-4ca9-a05a-8e05c56cd0a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_11eeef5a-3517-4362-8e2b-668ef1f6234d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_11eeef5a-3517-4362-8e2b-668ef1f6234d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_66a9ae45-f27f-4966-a5a6-2ff82d87c75a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d008d66-7849-4708-9426-5261e2ccb665" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_66a9ae45-f27f-4966-a5a6-2ff82d87c75a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9bb8cc93-5529-43ea-8024-6b40ae93723c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_a64ba238-4f68-4a34-bf8a-403a313dc9c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9bb8cc93-5529-43ea-8024-6b40ae93723c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_a64ba238-4f68-4a34-bf8a-403a313dc9c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_fb26aae1-3e8e-48be-a139-504743a8fcc8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9bb8cc93-5529-43ea-8024-6b40ae93723c" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_fb26aae1-3e8e-48be-a139-504743a8fcc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_e3bc46c0-84a8-42bc-a9c5-1c68590025ac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_f20127b4-92a9-423a-b395-8754f1913203" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_e3bc46c0-84a8-42bc-a9c5-1c68590025ac" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_f20127b4-92a9-423a-b395-8754f1913203" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_568dc27f-4a3f-41a7-b45f-2e6eaec35648" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_e3bc46c0-84a8-42bc-a9c5-1c68590025ac" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_568dc27f-4a3f-41a7-b45f-2e6eaec35648" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4671f9ca-77b8-4308-805f-a77ff2e83a62" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_e3bc46c0-84a8-42bc-a9c5-1c68590025ac" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4671f9ca-77b8-4308-805f-a77ff2e83a62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1ebf8d16-10e1-49aa-8b58-b78c886267d0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_e3bc46c0-84a8-42bc-a9c5-1c68590025ac" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1ebf8d16-10e1-49aa-8b58-b78c886267d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_c8cfa423-947b-4ce8-8ceb-65efc6e841e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_c8cfa423-947b-4ce8-8ceb-65efc6e841e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_8238a34d-7eb6-4c27-aab3-5ad183bcc7f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_8238a34d-7eb6-4c27-aab3-5ad183bcc7f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReservePeriodCharge_9fe13ec5-8732-490c-8c7b-18154d758b1a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryLIFOReservePeriodCharge"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_InventoryLIFOReservePeriodCharge_9fe13ec5-8732-490c-8c7b-18154d758b1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_9668f502-1402-43f2-9258-465962efd3d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_9668f502-1402-43f2-9258-465962efd3d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_NoncashInterestIncomeExpense_67a49a81-f706-4fd9-96eb-3c2f6a5ecd58" xlink:href="unfi-20210731.xsd#unfi_NoncashInterestIncomeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_unfi_NoncashInterestIncomeExpense_67a49a81-f706-4fd9-96eb-3c2f6a5ecd58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_Closedpropertyandotherrestructuringcharges_b99832e8-8b49-422f-ab78-fc179ff550f0" xlink:href="unfi-20210731.xsd#unfi_Closedpropertyandotherrestructuringcharges"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_unfi_Closedpropertyandotherrestructuringcharges_b99832e8-8b49-422f-ab78-fc179ff550f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_fe7e1c68-df16-481b-9f44-6acf594455d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_ShareBasedCompensation_fe7e1c68-df16-481b-9f44-6acf594455d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_8afbbef6-f520-4360-94f5-ca8bfbbb97c4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_8afbbef6-f520-4360-94f5-ca8bfbbb97c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_fc9fdb98-fb59-4c5d-8062-7eeb618bb0fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_fc9fdb98-fb59-4c5d-8062-7eeb618bb0fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash_d656e652-896e-4475-abc7-58777d86ff34" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash_d656e652-896e-4475-abc7-58777d86ff34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_9af6c730-261d-4474-bc6c-fcba5de11480" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_9af6c730-261d-4474-bc6c-fcba5de11480" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_ed8c6ebc-ae48-482a-b04f-da931dfa834a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_ed8c6ebc-ae48-482a-b04f-da931dfa834a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_53891ee0-4a41-4755-92db-abd73bbfee7c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_AssetImpairmentCharges_53891ee0-4a41-4755-92db-abd73bbfee7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_16387191-a377-49ab-aadc-196ff757cf95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_16387191-a377-49ab-aadc-196ff757cf95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_34c58f46-a1ee-41f3-ba36-9b4ed4b560c4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_34c58f46-a1ee-41f3-ba36-9b4ed4b560c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_a7f50c8d-7dbc-465a-942d-b57b397e3ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c67435cd-d205-4c0c-a97e-82cd7ac764f4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_a7f50c8d-7dbc-465a-942d-b57b397e3ea1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_a37b3571-0e53-46c4-8566-0037ce378636" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_09fffb27-29e2-4a5c-a6c8-c10c25eb3f82" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_a37b3571-0e53-46c4-8566-0037ce378636" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_09fffb27-29e2-4a5c-a6c8-c10c25eb3f82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_251e7c3b-30a4-45d1-83fe-ce26da84cc98" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_a37b3571-0e53-46c4-8566-0037ce378636" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_251e7c3b-30a4-45d1-83fe-ce26da84cc98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_c0903bae-2a2c-4773-9616-7e40ab175be7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_a37b3571-0e53-46c4-8566-0037ce378636" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_c0903bae-2a2c-4773-9616-7e40ab175be7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_df8b780d-c1ff-4b89-b992-21a153069ab4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_a37b3571-0e53-46c4-8566-0037ce378636" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_df8b780d-c1ff-4b89-b992-21a153069ab4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_dbb466db-a697-4aaf-82a9-64ca03643961" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsDisposalGroupIncludingDiscontinuedOperations_e8799e3e-9386-4f61-8189-7c7103ecaf0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsDisposalGroupIncludingDiscontinuedOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_dbb466db-a697-4aaf-82a9-64ca03643961" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsDisposalGroupIncludingDiscontinuedOperations_e8799e3e-9386-4f61-8189-7c7103ecaf0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_a44bbb89-d928-4786-9be4-2905fa29ca35" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_dbb466db-a697-4aaf-82a9-64ca03643961" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_a44bbb89-d928-4786-9be4-2905fa29ca35" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/REVENUERECOGNITIONAccountsandNotesReceivableDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#REVENUERECOGNITIONAccountsandNotesReceivableDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/REVENUERECOGNITIONAccountsandNotesReceivableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_f222d2a0-6a04-487d-88d6-3037b4b5d015" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_05894844-65ee-4036-9a29-01c13592908f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_f222d2a0-6a04-487d-88d6-3037b4b5d015" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_05894844-65ee-4036-9a29-01c13592908f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_cc90074a-a091-47a8-9f7e-58de39c048a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_f222d2a0-6a04-487d-88d6-3037b4b5d015" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_cc90074a-a091-47a8-9f7e-58de39c048a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_6134014d-5fd6-43ee-bdfc-c5c624bb355d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherReceivablesNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_f222d2a0-6a04-487d-88d6-3037b4b5d015" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_6134014d-5fd6-43ee-bdfc-c5c624bb355d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/PROPERTYANDEQUIPMENTNETPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#PROPERTYANDEQUIPMENTNETPropertyandEquipmentNetDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/PROPERTYANDEQUIPMENTNETPropertyandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6bdefff2-9132-4a16-91d3-81a723bf4cf1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_6305f347-3e6c-4279-b029-1cffc73ea691" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_6bdefff2-9132-4a16-91d3-81a723bf4cf1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_6305f347-3e6c-4279-b029-1cffc73ea691" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_c8b2c1b1-40c9-4e49-a9d9-aad36546305e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_6bdefff2-9132-4a16-91d3-81a723bf4cf1" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_c8b2c1b1-40c9-4e49-a9d9-aad36546305e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETIdentifiableIntangibleAssetsDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#GOODWILLANDINTANGIBLEASSETSNETIdentifiableIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETIdentifiableIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_474fd415-ed16-4987-ba1e-5c79c5e6b4d3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_21c2f315-1107-4468-8f9a-4073495c4d1c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_474fd415-ed16-4987-ba1e-5c79c5e6b4d3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_21c2f315-1107-4468-8f9a-4073495c4d1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a6c967c2-4383-4d00-9ca8-c8a1ebc4d412" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_474fd415-ed16-4987-ba1e-5c79c5e6b4d3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a6c967c2-4383-4d00-9ca8-c8a1ebc4d412" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c4980cde-5c89-42bd-9df3-8026ce38a171" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_75f0518a-9dd6-4d70-8d60-ce48e1bfd930" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c4980cde-5c89-42bd-9df3-8026ce38a171" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_75f0518a-9dd6-4d70-8d60-ce48e1bfd930" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_aed14f34-ed40-4dcf-a094-0174eb4ffb80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c4980cde-5c89-42bd-9df3-8026ce38a171" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_aed14f34-ed40-4dcf-a094-0174eb4ffb80" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETEstimatedFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#GOODWILLANDINTANGIBLEASSETSNETEstimatedFutureAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETEstimatedFutureAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_19b0b389-f8bf-4049-a0ff-a115dad48212" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_2851e05c-ed25-4eed-9ef7-c029330675f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_19b0b389-f8bf-4049-a0ff-a115dad48212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_2851e05c-ed25-4eed-9ef7-c029330675f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_6d1d5054-fb85-4b31-9aec-403ac4e1a416" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_19b0b389-f8bf-4049-a0ff-a115dad48212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_6d1d5054-fb85-4b31-9aec-403ac4e1a416" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_8a1b0612-ce8e-41d7-933e-f6224df8ac2e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_19b0b389-f8bf-4049-a0ff-a115dad48212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_8a1b0612-ce8e-41d7-933e-f6224df8ac2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3ebe41de-5893-4150-be45-2ac86efbd806" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_19b0b389-f8bf-4049-a0ff-a115dad48212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3ebe41de-5893-4150-be45-2ac86efbd806" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_1b29b7f4-110c-4aa0-9747-a50352b32834" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_19b0b389-f8bf-4049-a0ff-a115dad48212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_1b29b7f4-110c-4aa0-9747-a50352b32834" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_b26561f3-f5c7-4d17-875f-62d4b6522c28" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_19b0b389-f8bf-4049-a0ff-a115dad48212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_b26561f3-f5c7-4d17-875f-62d4b6522c28" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTScheduleofLongtermDebtDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#LONGTERMDEBTScheduleofLongtermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTScheduleofLongtermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_116e814a-5a65-42f8-ab71-abddfe5f7fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_610f67c4-6725-4678-8596-8172dc9e331e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_116e814a-5a65-42f8-ab71-abddfe5f7fc7" xlink:to="loc_us-gaap_LongTermDebt_610f67c4-6725-4678-8596-8172dc9e331e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_ed0aaf34-c1f7-4428-a08a-e6d843b362fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_116e814a-5a65-42f8-ab71-abddfe5f7fc7" xlink:to="loc_us-gaap_LongTermDebtCurrent_ed0aaf34-c1f7-4428-a08a-e6d843b362fe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTScheduleofLongtermDebtDetails_1" xlink:type="simple" xlink:href="unfi-20210731.xsd#LONGTERMDEBTScheduleofLongtermDebtDetails_1"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTScheduleofLongtermDebtDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_960f9b1a-814e-4fda-aa7b-e4eb8f0b61c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_939756d1-e3cb-4039-969e-d1da94f5d418" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_960f9b1a-814e-4fda-aa7b-e4eb8f0b61c5" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_939756d1-e3cb-4039-969e-d1da94f5d418" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_59185dd2-eda8-4be3-a45b-e1438b66e743" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_960f9b1a-814e-4fda-aa7b-e4eb8f0b61c5" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_59185dd2-eda8-4be3-a45b-e1438b66e743" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_40a797e0-0d13-4833-93dc-5511edbca1e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_960f9b1a-814e-4fda-aa7b-e4eb8f0b61c5" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_40a797e0-0d13-4833-93dc-5511edbca1e7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTScheduleofMaturitiesofLongtermDebtDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#LONGTERMDEBTScheduleofMaturitiesofLongtermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTScheduleofMaturitiesofLongtermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_877298ce-87fc-4be8-aaaa-303d5d7fde9d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_75b5847a-b169-4df1-9ad6-df61bf4ad608" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_877298ce-87fc-4be8-aaaa-303d5d7fde9d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_75b5847a-b169-4df1-9ad6-df61bf4ad608" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_bc85196d-3454-40bb-8fec-ae402d93888f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_877298ce-87fc-4be8-aaaa-303d5d7fde9d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_bc85196d-3454-40bb-8fec-ae402d93888f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_b6de8317-df71-41e8-9d8d-3da10395c97a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_877298ce-87fc-4be8-aaaa-303d5d7fde9d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_b6de8317-df71-41e8-9d8d-3da10395c97a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_a5fa0323-7e92-4c50-a69f-9532541f0868" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_877298ce-87fc-4be8-aaaa-303d5d7fde9d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_a5fa0323-7e92-4c50-a69f-9532541f0868" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_7aeda06e-bf56-4ff5-aa24-3bb047771e40" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_877298ce-87fc-4be8-aaaa-303d5d7fde9d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_7aeda06e-bf56-4ff5-aa24-3bb047771e40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_dd8f8b8d-0f17-432a-9c72-977aa8563097" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_877298ce-87fc-4be8-aaaa-303d5d7fde9d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_dd8f8b8d-0f17-432a-9c72-977aa8563097" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_859009d8-06de-45b5-a63d-d80080975289" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearThree_402d3c5c-b876-4e80-aaed-4bca750ececc" xlink:href="unfi-20210731.xsd#unfi_LongTermDebtInterestPayableYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestPayableCurrentAndNoncurrent_859009d8-06de-45b5-a63d-d80080975289" xlink:to="loc_unfi_LongTermDebtInterestPayableYearThree_402d3c5c-b876-4e80-aaed-4bca750ececc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableAfterYearFive_56e395a4-94cb-42b5-9d15-ee20ef15681d" xlink:href="unfi-20210731.xsd#unfi_LongTermDebtInterestPayableAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestPayableCurrentAndNoncurrent_859009d8-06de-45b5-a63d-d80080975289" xlink:to="loc_unfi_LongTermDebtInterestPayableAfterYearFive_56e395a4-94cb-42b5-9d15-ee20ef15681d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearFour_ebee9990-48dc-4654-ae26-fa59ac463a4c" xlink:href="unfi-20210731.xsd#unfi_LongTermDebtInterestPayableYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestPayableCurrentAndNoncurrent_859009d8-06de-45b5-a63d-d80080975289" xlink:to="loc_unfi_LongTermDebtInterestPayableYearFour_ebee9990-48dc-4654-ae26-fa59ac463a4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearTwo_2abf0c9f-3aea-410a-92fb-cb024f5151cf" xlink:href="unfi-20210731.xsd#unfi_LongTermDebtInterestPayableYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestPayableCurrentAndNoncurrent_859009d8-06de-45b5-a63d-d80080975289" xlink:to="loc_unfi_LongTermDebtInterestPayableYearTwo_2abf0c9f-3aea-410a-92fb-cb024f5151cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearOne_5097c4d8-8ee9-496c-95b2-a0b3ddc158b7" xlink:href="unfi-20210731.xsd#unfi_LongTermDebtInterestPayableYearOne"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestPayableCurrentAndNoncurrent_859009d8-06de-45b5-a63d-d80080975289" xlink:to="loc_unfi_LongTermDebtInterestPayableYearOne_5097c4d8-8ee9-496c-95b2-a0b3ddc158b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearFive_9be3bb29-544f-45e5-a89a-d305fe57642b" xlink:href="unfi-20210731.xsd#unfi_LongTermDebtInterestPayableYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestPayableCurrentAndNoncurrent_859009d8-06de-45b5-a63d-d80080975289" xlink:to="loc_unfi_LongTermDebtInterestPayableYearFive_9be3bb29-544f-45e5-a89a-d305fe57642b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LEASESLeaseAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#LEASESLeaseAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LEASESLeaseAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LeaseRightofUseAsset_510a9902-9d2e-450f-8ca0-bac27df04450" xlink:href="unfi-20210731.xsd#unfi_LeaseRightofUseAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_9af20ea0-af15-4329-b612-f1b5e5507291" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LeaseRightofUseAsset_510a9902-9d2e-450f-8ca0-bac27df04450" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_9af20ea0-af15-4329-b612-f1b5e5507291" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_70707af2-ff56-4eb5-9dba-5f155f306b69" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LeaseRightofUseAsset_510a9902-9d2e-450f-8ca0-bac27df04450" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_70707af2-ff56-4eb5-9dba-5f155f306b69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LeaseLiability_c12c6f77-0ced-4065-8358-b54061a2a307" xlink:href="unfi-20210731.xsd#unfi_LeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_dac3ddd5-b38a-429c-bc69-b90faafd44b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LeaseLiability_c12c6f77-0ced-4065-8358-b54061a2a307" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_dac3ddd5-b38a-429c-bc69-b90faafd44b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_ddd81b8d-8f4d-4a9c-b743-f6401a9e58d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LeaseLiability_c12c6f77-0ced-4065-8358-b54061a2a307" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_ddd81b8d-8f4d-4a9c-b743-f6401a9e58d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_bc7ed886-c4c8-4123-a367-49be745cb3a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LeaseLiability_c12c6f77-0ced-4065-8358-b54061a2a307" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_bc7ed886-c4c8-4123-a367-49be745cb3a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_36530423-68da-4dd9-80c1-2aef4d7efc0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LeaseLiability_c12c6f77-0ced-4065-8358-b54061a2a307" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_36530423-68da-4dd9-80c1-2aef4d7efc0b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LEASESLeaseCostDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#LEASESLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LEASESLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_unfi_Financeleasecost_27c27adb-8bec-4384-b956-c76e4b79f835" xlink:href="unfi-20210731.xsd#unfi_Financeleasecost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_834b5218-26a2-451a-a8c7-40031ef61538" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_Financeleasecost_27c27adb-8bec-4384-b956-c76e4b79f835" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_834b5218-26a2-451a-a8c7-40031ef61538" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_01b8f571-0a21-438d-b01c-e95322ad77ca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_Financeleasecost_27c27adb-8bec-4384-b956-c76e4b79f835" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_01b8f571-0a21-438d-b01c-e95322ad77ca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligation_af5fb4fa-185e-4880-a4aa-adaa9aca8dad" xlink:href="unfi-20210731.xsd#unfi_LesseeNetOperatingLeaseObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearOne_21a3d3ab-77ab-432c-b3c6-0a9e19faa315" xlink:href="unfi-20210731.xsd#unfi_LesseeNetOperatingLeaseObligationYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LesseeNetOperatingLeaseObligation_af5fb4fa-185e-4880-a4aa-adaa9aca8dad" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearOne_21a3d3ab-77ab-432c-b3c6-0a9e19faa315" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearTwo_c33bcdc7-b980-46c5-bb42-fb42224740d0" xlink:href="unfi-20210731.xsd#unfi_LesseeNetOperatingLeaseObligationYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LesseeNetOperatingLeaseObligation_af5fb4fa-185e-4880-a4aa-adaa9aca8dad" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearTwo_c33bcdc7-b980-46c5-bb42-fb42224740d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearThree_8efd6feb-c70d-4849-a332-cde506f3d318" xlink:href="unfi-20210731.xsd#unfi_LesseeNetOperatingLeaseObligationYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LesseeNetOperatingLeaseObligation_af5fb4fa-185e-4880-a4aa-adaa9aca8dad" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearThree_8efd6feb-c70d-4849-a332-cde506f3d318" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearFour_b7607925-930c-4509-be60-4cc1ce69e62f" xlink:href="unfi-20210731.xsd#unfi_LesseeNetOperatingLeaseObligationYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LesseeNetOperatingLeaseObligation_af5fb4fa-185e-4880-a4aa-adaa9aca8dad" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearFour_b7607925-930c-4509-be60-4cc1ce69e62f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearFive_1f3ebc84-f8f6-4169-923a-c92bd4a4338d" xlink:href="unfi-20210731.xsd#unfi_LesseeNetOperatingLeaseObligationYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LesseeNetOperatingLeaseObligation_af5fb4fa-185e-4880-a4aa-adaa9aca8dad" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearFive_1f3ebc84-f8f6-4169-923a-c92bd4a4338d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationAfterYearFive_994bb74b-484e-4958-83bd-9bd37966cf7b" xlink:href="unfi-20210731.xsd#unfi_LesseeNetOperatingLeaseObligationAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_LesseeNetOperatingLeaseObligation_af5fb4fa-185e-4880-a4aa-adaa9aca8dad" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationAfterYearFive_994bb74b-484e-4958-83bd-9bd37966cf7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_003d7527-bb27-4649-bb11-29bd8c0e59a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_8d34f514-11a4-4be8-aac0-f1e98776f1fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_003d7527-bb27-4649-bb11-29bd8c0e59a4" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_8d34f514-11a4-4be8-aac0-f1e98776f1fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_09e68d20-4f7b-4e3f-a4a5-d07a28d46f63" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_003d7527-bb27-4649-bb11-29bd8c0e59a4" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_09e68d20-4f7b-4e3f-a4a5-d07a28d46f63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_6de74163-77aa-4c6a-86cb-429ce53b047b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_003d7527-bb27-4649-bb11-29bd8c0e59a4" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_6de74163-77aa-4c6a-86cb-429ce53b047b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_b0ea60c6-e67a-44df-8845-27592d613963" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_003d7527-bb27-4649-bb11-29bd8c0e59a4" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_b0ea60c6-e67a-44df-8845-27592d613963" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_f103a3a6-77eb-4566-9a73-986f37d2a0a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_003d7527-bb27-4649-bb11-29bd8c0e59a4" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_f103a3a6-77eb-4566-9a73-986f37d2a0a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_80dddb65-9494-466e-a5a9-5e83ff04fad2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_003d7527-bb27-4649-bb11-29bd8c0e59a4" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_80dddb65-9494-466e-a5a9-5e83ff04fad2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_af10bdfb-0ed6-43fa-a5b6-1313c39a8828" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_60e71ddd-4151-4aaf-8d6f-9ba27e43b7e0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_af10bdfb-0ed6-43fa-a5b6-1313c39a8828" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_60e71ddd-4151-4aaf-8d6f-9ba27e43b7e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f2de0412-5382-49ab-a794-c79689f9d9b4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_af10bdfb-0ed6-43fa-a5b6-1313c39a8828" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f2de0412-5382-49ab-a794-c79689f9d9b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_096b26f2-7ace-4266-8470-6fd5d966f083" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_af10bdfb-0ed6-43fa-a5b6-1313c39a8828" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_096b26f2-7ace-4266-8470-6fd5d966f083" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_744ef76e-ad3b-4bdb-b776-5b16041cb565" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_af10bdfb-0ed6-43fa-a5b6-1313c39a8828" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_744ef76e-ad3b-4bdb-b776-5b16041cb565" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_6ed57b35-8917-48ff-957a-750039a8f87e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_af10bdfb-0ed6-43fa-a5b6-1313c39a8828" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_6ed57b35-8917-48ff-957a-750039a8f87e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_b4753d0e-1fc4-4124-affb-a572371a39b4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_af10bdfb-0ed6-43fa-a5b6-1313c39a8828" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_b4753d0e-1fc4-4124-affb-a572371a39b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_2f691065-10dd-4b21-9373-dc9e7bfb30a1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths_8c701992-1262-44c5-abad-6f97cc68fdec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_2f691065-10dd-4b21-9373-dc9e7bfb30a1" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths_8c701992-1262-44c5-abad-6f97cc68fdec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears_2cbb9524-1975-46bb-95b9-b4dd798e2236" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_2f691065-10dd-4b21-9373-dc9e7bfb30a1" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears_2cbb9524-1975-46bb-95b9-b4dd798e2236" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears_0f81a1d1-e560-45e0-b618-d339e71a9c5f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_2f691065-10dd-4b21-9373-dc9e7bfb30a1" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears_0f81a1d1-e560-45e0-b618-d339e71a9c5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears_9dfc4f49-9cf6-4a7c-b437-b75e3975cbd9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_2f691065-10dd-4b21-9373-dc9e7bfb30a1" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears_9dfc4f49-9cf6-4a7c-b437-b75e3975cbd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears_4cc05507-d501-4491-96fe-cd42f89fc163" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_2f691065-10dd-4b21-9373-dc9e7bfb30a1" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears_4cc05507-d501-4491-96fe-cd42f89fc163" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter_5f3380b4-dbf7-4cee-9090-2527daca758e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_2f691065-10dd-4b21-9373-dc9e7bfb30a1" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter_5f3380b4-dbf7-4cee-9090-2527daca758e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_557654cc-1713-4d15-bf39-e7bf4208ba98" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceived"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_2772830e-e32a-49f2-b748-3af59ce60a59" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_557654cc-1713-4d15-bf39-e7bf4208ba98" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_2772830e-e32a-49f2-b748-3af59ce60a59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_dfcba12d-465d-4dcb-a41e-78ff3bdc7126" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_557654cc-1713-4d15-bf39-e7bf4208ba98" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_dfcba12d-465d-4dcb-a41e-78ff3bdc7126" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_b06b41ec-93e1-42e5-9ebb-c6a1108041e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_557654cc-1713-4d15-bf39-e7bf4208ba98" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_b06b41ec-93e1-42e5-9ebb-c6a1108041e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_62bb6bfd-02d9-4ee5-af30-8c828678c648" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_557654cc-1713-4d15-bf39-e7bf4208ba98" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_62bb6bfd-02d9-4ee5-af30-8c828678c648" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_bfd333db-9641-4475-9c21-60caf9eebdbb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_557654cc-1713-4d15-bf39-e7bf4208ba98" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_bfd333db-9641-4475-9c21-60caf9eebdbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_6b36de56-09ff-4ca6-8fe1-f12ecc7e678f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_557654cc-1713-4d15-bf39-e7bf4208ba98" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_6b36de56-09ff-4ca6-8fe1-f12ecc7e678f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeasesNetLeaseObligations_902eec86-d3b6-4f85-b697-6212580617b9" xlink:href="unfi-20210731.xsd#unfi_FinanceLeasesNetLeaseObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearOne_3c90b1e9-eb3a-4b0a-9bf7-9222f03bfbf3" xlink:href="unfi-20210731.xsd#unfi_FinanceLeaseNetLeaseObligationsYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_FinanceLeasesNetLeaseObligations_902eec86-d3b6-4f85-b697-6212580617b9" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearOne_3c90b1e9-eb3a-4b0a-9bf7-9222f03bfbf3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearTwo_d54f8af4-1031-4538-be7e-5c79869ddff4" xlink:href="unfi-20210731.xsd#unfi_FinanceLeaseNetLeaseObligationsYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_FinanceLeasesNetLeaseObligations_902eec86-d3b6-4f85-b697-6212580617b9" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearTwo_d54f8af4-1031-4538-be7e-5c79869ddff4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearThree_92a69240-96ad-46d5-9505-c63dd5d27263" xlink:href="unfi-20210731.xsd#unfi_FinanceLeaseNetLeaseObligationsYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_FinanceLeasesNetLeaseObligations_902eec86-d3b6-4f85-b697-6212580617b9" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearThree_92a69240-96ad-46d5-9505-c63dd5d27263" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearFour_baa0533f-6a2c-454d-b195-bc18b7ab2d51" xlink:href="unfi-20210731.xsd#unfi_FinanceLeaseNetLeaseObligationsYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_FinanceLeasesNetLeaseObligations_902eec86-d3b6-4f85-b697-6212580617b9" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearFour_baa0533f-6a2c-454d-b195-bc18b7ab2d51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearFive_41ce78a8-959f-4cdd-b63a-ecd2038cbb32" xlink:href="unfi-20210731.xsd#unfi_FinanceLeaseNetLeaseObligationsYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_FinanceLeasesNetLeaseObligations_902eec86-d3b6-4f85-b697-6212580617b9" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearFive_41ce78a8-959f-4cdd-b63a-ecd2038cbb32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsAfterYearFive_3c13298d-8217-400a-a0a7-714015c33b43" xlink:href="unfi-20210731.xsd#unfi_FinanceLeaseNetLeaseObligationsAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_FinanceLeasesNetLeaseObligations_902eec86-d3b6-4f85-b697-6212580617b9" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsAfterYearFive_3c13298d-8217-400a-a0a7-714015c33b43" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/SHAREBASEDAWARDSShareBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#SHAREBASEDAWARDSShareBasedCompensationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/SHAREBASEDAWARDSShareBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_20e48f0c-dca7-4f5b-9c53-2aa5f1898ce6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_90bef0b6-cd49-416d-bdbb-8d9e1bcc8e76" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_20e48f0c-dca7-4f5b-9c53-2aa5f1898ce6" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_90bef0b6-cd49-416d-bdbb-8d9e1bcc8e76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_3c365f25-940d-4d1f-81f8-3d52a844b1a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_20e48f0c-dca7-4f5b-9c53-2aa5f1898ce6" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_3c365f25-940d-4d1f-81f8-3d52a844b1a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BENEFITPLANSDefinedBenefitPensionPlansDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#BENEFITPLANSDefinedBenefitPensionPlansDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/BENEFITPLANSDefinedBenefitPensionPlansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_f677cc4d-f50b-4a51-9d0c-f19b44496305" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3517b7aa-d0c3-4644-b830-4272f459e855" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_f677cc4d-f50b-4a51-9d0c-f19b44496305" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3517b7aa-d0c3-4644-b830-4272f459e855" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_6c5a4bba-309e-4bcb-a1b8-449c8096668d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_f677cc4d-f50b-4a51-9d0c-f19b44496305" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_6c5a4bba-309e-4bcb-a1b8-449c8096668d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BENEFITPLANSNetPeriodicBenefitIncomeDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#BENEFITPLANSNetPeriodicBenefitIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/BENEFITPLANSNetPeriodicBenefitIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax_8a6b9f02-1ff6-4db2-aaa7-e208ddbd1292" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_85dd1f42-70ce-443b-86e9-e5b90fcae7bf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax_8a6b9f02-1ff6-4db2-aaa7-e208ddbd1292" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_85dd1f42-70ce-443b-86e9-e5b90fcae7bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_2c9661e7-c354-465e-8b44-ec215d8f1fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax_8a6b9f02-1ff6-4db2-aaa7-e208ddbd1292" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_2c9661e7-c354-465e-8b44-ec215d8f1fc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d4818e2d-141e-4f50-bb46-cbadbc826c64" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_f2767723-9eb8-4b85-9859-9fa986c5ff40" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d4818e2d-141e-4f50-bb46-cbadbc826c64" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_f2767723-9eb8-4b85-9859-9fa986c5ff40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_e476bb90-b569-48b9-a7f9-ca2db4f39d71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d4818e2d-141e-4f50-bb46-cbadbc826c64" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_e476bb90-b569-48b9-a7f9-ca2db4f39d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_a94813d9-4de0-4ebc-af5d-3a34e743f268" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d4818e2d-141e-4f50-bb46-cbadbc826c64" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_a94813d9-4de0-4ebc-af5d-3a34e743f268" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_f770f4e3-bbb9-4e31-a734-0b0e7bfe07e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d4818e2d-141e-4f50-bb46-cbadbc826c64" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_f770f4e3-bbb9-4e31-a734-0b0e7bfe07e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_89f6bd9c-0a61-4a83-b9ad-b36473c61e89" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d4818e2d-141e-4f50-bb46-cbadbc826c64" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_89f6bd9c-0a61-4a83-b9ad-b36473c61e89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_39263e5a-9919-46e2-990a-4de9dcb22a68" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_1a56ff97-dea5-4a8b-9719-c060a5d287e3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_39263e5a-9919-46e2-990a-4de9dcb22a68" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_1a56ff97-dea5-4a8b-9719-c060a5d287e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_e130c94c-62ee-4144-9f76-3437863ae4e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_39263e5a-9919-46e2-990a-4de9dcb22a68" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_e130c94c-62ee-4144-9f76-3437863ae4e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_OtherComprehensiveIncomeLossDefinedBenefitPlanAmortizationOfNetActuarialLoss_caf2f99a-8771-4b47-83f9-4a22382ad3c4" xlink:href="unfi-20210731.xsd#unfi_OtherComprehensiveIncomeLossDefinedBenefitPlanAmortizationOfNetActuarialLoss"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_39263e5a-9919-46e2-990a-4de9dcb22a68" xlink:to="loc_unfi_OtherComprehensiveIncomeLossDefinedBenefitPlanAmortizationOfNetActuarialLoss_caf2f99a-8771-4b47-83f9-4a22382ad3c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_86ca9748-8c39-4f23-8eec-15480bd7b38e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_39263e5a-9919-46e2-990a-4de9dcb22a68" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_86ca9748-8c39-4f23-8eec-15480bd7b38e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BENEFITPLANSAmountsRecognizedinConsolidatedBalanceSheetDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#BENEFITPLANSAmountsRecognizedinConsolidatedBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/BENEFITPLANSAmountsRecognizedinConsolidatedBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_27026171-9073-4638-932f-a4b7fda01078" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_cf9a35fd-308b-4110-a27a-09677b1b7fdf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_27026171-9073-4638-932f-a4b7fda01078" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_cf9a35fd-308b-4110-a27a-09677b1b7fdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_95f25baf-6200-43c1-a946-36e64e49e985" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_27026171-9073-4638-932f-a4b7fda01078" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_95f25baf-6200-43c1-a946-36e64e49e985" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_9fadb3f0-ed2a-4a18-9a11-2900c4d889ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_27026171-9073-4638-932f-a4b7fda01078" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_9fadb3f0-ed2a-4a18-9a11-2900c4d889ff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESTotalBenefitProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#INCOMETAXESTotalBenefitProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/INCOMETAXESTotalBenefitProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsDiscontinuedOperationsExtraordinaryItems_8370ea0c-a334-45ec-9172-c0e9c9ac8b22" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsDiscontinuedOperationsExtraordinaryItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1a30ad01-316f-4f36-8e70-ef8a6ad8cfde" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsDiscontinuedOperationsExtraordinaryItems_8370ea0c-a334-45ec-9172-c0e9c9ac8b22" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1a30ad01-316f-4f36-8e70-ef8a6ad8cfde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_39031342-bff3-4297-a726-a38ebc7da8c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsDiscontinuedOperationsExtraordinaryItems_8370ea0c-a334-45ec-9172-c0e9c9ac8b22" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_39031342-bff3-4297-a726-a38ebc7da8c9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESIncomeTaxExpenseBenefitDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#INCOMETAXESIncomeTaxExpenseBenefitDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/INCOMETAXESIncomeTaxExpenseBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitIntraperiodTaxAllocation_7b6a8eca-4d76-484d-8edb-4a52711cdac4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitIntraperiodTaxAllocation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_948ce5fd-28db-4cbc-ae59-c625ab379f46" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitIntraperiodTaxAllocation_7b6a8eca-4d76-484d-8edb-4a52711cdac4" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_948ce5fd-28db-4cbc-ae59-c625ab379f46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_42c42995-26f3-47c3-80de-cde6e1dc4100" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitIntraperiodTaxAllocation_7b6a8eca-4d76-484d-8edb-4a52711cdac4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_42c42995-26f3-47c3-80de-cde6e1dc4100" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESFederalandStateIncomeTaxBenefitExpenseDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#INCOMETAXESFederalandStateIncomeTaxBenefitExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/INCOMETAXESFederalandStateIncomeTaxBenefitExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_5a7520a4-2b64-436d-8791-f89a1c794bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_5da913ad-683d-4b87-811f-0e28a589b8f7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_5a7520a4-2b64-436d-8791-f89a1c794bfd" xlink:to="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_5da913ad-683d-4b87-811f-0e28a589b8f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_416fdec3-6f3b-407c-8213-b0f0a67d8cf0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_5a7520a4-2b64-436d-8791-f89a1c794bfd" xlink:to="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_416fdec3-6f3b-407c-8213-b0f0a67d8cf0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_869f6ad1-8b32-4d38-88f8-bf673ec96bfe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_5a7520a4-2b64-436d-8791-f89a1c794bfd" xlink:to="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_869f6ad1-8b32-4d38-88f8-bf673ec96bfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_fd9813e8-071a-4a26-ad7b-c4fad6be24d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_7a6558fc-4dc1-439b-b4c5-78f3d0e9bf95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_fd9813e8-071a-4a26-ad7b-c4fad6be24d7" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_7a6558fc-4dc1-439b-b4c5-78f3d0e9bf95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_bf8a3d0e-8320-43f5-8195-70ba524c4d1e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_fd9813e8-071a-4a26-ad7b-c4fad6be24d7" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_bf8a3d0e-8320-43f5-8195-70ba524c4d1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_e5577166-0f60-4fc9-88d9-91b96ff14492" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_fd9813e8-071a-4a26-ad7b-c4fad6be24d7" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_e5577166-0f60-4fc9-88d9-91b96ff14492" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_d6e8f3b7-4a68-4330-b760-a5e5e21d924f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_42d9d4cf-7421-47bc-9a07-d874521eb32f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_d6e8f3b7-4a68-4330-b760-a5e5e21d924f" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_42d9d4cf-7421-47bc-9a07-d874521eb32f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_ca9671c0-1b1f-492e-85e5-7dc0e7df7884" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_d6e8f3b7-4a68-4330-b760-a5e5e21d924f" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_ca9671c0-1b1f-492e-85e5-7dc0e7df7884" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_b57127c4-17cf-460a-9a67-0a3c5336b85c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_d6e8f3b7-4a68-4330-b760-a5e5e21d924f" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_b57127c4-17cf-460a-9a67-0a3c5336b85c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#INCOMETAXESEffectiveIncomeTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/INCOMETAXESEffectiveIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_2a74f116-382e-47f7-b76c-f3464b61d776" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_2a74f116-382e-47f7-b76c-f3464b61d776" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_b82b6be0-c61c-4afd-81be-267c3030022b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_b82b6be0-c61c-4afd-81be-267c3030022b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_b91117ca-6db9-4d7d-9d1f-f6638be22b94" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_b91117ca-6db9-4d7d-9d1f-f6638be22b94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseImpairmentLosses_64b8613a-4c9a-41ac-9f5e-39fff18c8240" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseImpairmentLosses"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseImpairmentLosses_64b8613a-4c9a-41ac-9f5e-39fff18c8240" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_EffectiveIncomeTaxRateReconciliationEnhancedInventoryDonationsAmount_e2ede8c4-265a-4877-b86e-457b8f5a8415" xlink:href="unfi-20210731.xsd#unfi_EffectiveIncomeTaxRateReconciliationEnhancedInventoryDonationsAmount"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_unfi_EffectiveIncomeTaxRateReconciliationEnhancedInventoryDonationsAmount_e2ede8c4-265a-4877-b86e-457b8f5a8415" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_09d16802-0a04-42f0-93f9-3c8f399813c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_09d16802-0a04-42f0-93f9-3c8f399813c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_130a0bfb-fa72-4f72-8daa-6ed1d3cde7d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_130a0bfb-fa72-4f72-8daa-6ed1d3cde7d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_80a227e5-c8b3-4212-a112-3dfd30618f82" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_80a227e5-c8b3-4212-a112-3dfd30618f82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_EffectiveIncomeTaxRateReconciliationCARESActAmount_a477e52a-3584-4f37-8935-4f691e298e29" xlink:href="unfi-20210731.xsd#unfi_EffectiveIncomeTaxRateReconciliationCARESActAmount"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_unfi_EffectiveIncomeTaxRateReconciliationCARESActAmount_a477e52a-3584-4f37-8935-4f691e298e29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCredits_2d336d68-ed0c-4929-a86b-9072409a9e6c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCredits"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c8fec12f-4615-45cc-aeaf-5e12098eac14" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCredits_2d336d68-ed0c-4929-a86b-9072409a9e6c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_d913fb22-ea35-4f3f-a6ce-bc4b1e6e1850" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseCapitalizedInventoryCosts_18f5b265-cd13-498c-a780-cabac1573d21" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseCapitalizedInventoryCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_d913fb22-ea35-4f3f-a6ce-bc4b1e6e1850" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseCapitalizedInventoryCosts_18f5b265-cd13-498c-a780-cabac1573d21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_d24b9f2d-5bbe-4766-b7fe-075e3788ea2e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_d913fb22-ea35-4f3f-a6ce-bc4b1e6e1850" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_d24b9f2d-5bbe-4766-b7fe-075e3788ea2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_85bdf769-5438-41b7-9a87-b09c9dab8f5a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_d913fb22-ea35-4f3f-a6ce-bc4b1e6e1850" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_85bdf769-5438-41b7-9a87-b09c9dab8f5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_15116832-d3b2-439f-a1b6-315a7d4c5652" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_15116832-d3b2-439f-a1b6-315a7d4c5652" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_5184bb2e-e04b-4ac4-9fce-a9c3bd2f8e07" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_5184bb2e-e04b-4ac4-9fce-a9c3bd2f8e07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsDeferredRent_23c65082-011c-4b1f-8877-3e4d48e91cbc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsDeferredRent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsDeferredRent_23c65082-011c-4b1f-8877-3e4d48e91cbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_DeferredTaxAssetsNonLossTaxCarryforwards_785af299-7d39-4146-a942-6d5515948741" xlink:href="unfi-20210731.xsd#unfi_DeferredTaxAssetsNonLossTaxCarryforwards"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_unfi_DeferredTaxAssetsNonLossTaxCarryforwards_785af299-7d39-4146-a942-6d5515948741" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInventory_0eba8335-5324-4493-b0dd-e54a4de015dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsInventory"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsInventory_0eba8335-5324-4493-b0dd-e54a4de015dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_3f74d1fc-f811-460b-8609-367bbb2b97d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_3f74d1fc-f811-460b-8609-367bbb2b97d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_3fa862cd-b889-4d7b-9436-9d951dafcc5d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_3fa862cd-b889-4d7b-9436-9d951dafcc5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_a448f265-f49b-4a2a-b12f-154f1d47d7ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_a448f265-f49b-4a2a-b12f-154f1d47d7ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_2c49fbdc-5893-47ee-b4a5-894c9da457d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_2c49fbdc-5893-47ee-b4a5-894c9da457d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits_04c36769-6e98-4b83-9edd-33cc072220bf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits_04c36769-6e98-4b83-9edd-33cc072220bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsHedgingTransactions_9ba38543-b5c1-4e84-9f5e-975ba8780a49" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsHedgingTransactions"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fdb96cf8-d333-4867-a3b0-f382f4396e07" xlink:to="loc_us-gaap_DeferredTaxAssetsHedgingTransactions_9ba38543-b5c1-4e84-9f5e-975ba8780a49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_43f2d256-bad4-4420-9472-9c61426f3c7e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_886833ab-727a-4ba5-bbfe-bcd4589a77ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_43f2d256-bad4-4420-9472-9c61426f3c7e" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_886833ab-727a-4ba5-bbfe-bcd4589a77ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_07940702-d7d4-4b8b-9932-8d5abe664b24" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_43f2d256-bad4-4420-9472-9c61426f3c7e" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_07940702-d7d4-4b8b-9932-8d5abe664b24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_043027a2-5b6d-4dc1-8fa3-6e92210237d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_813a95eb-dce2-44df-ae6c-8b929f4f4e21" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_043027a2-5b6d-4dc1-8fa3-6e92210237d9" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_813a95eb-dce2-44df-ae6c-8b929f4f4e21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_69181f63-6157-4659-b760-bae5471f8779" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_043027a2-5b6d-4dc1-8fa3-6e92210237d9" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_69181f63-6157-4659-b760-bae5471f8779" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/EARNINGSPERSHAREDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#EARNINGSPERSHAREDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/EARNINGSPERSHAREDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_5451d989-c15c-4b48-a871-81be5b586c00" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_da8201a3-4946-40e3-8a67-561062ca4fd5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_5451d989-c15c-4b48-a871-81be5b586c00" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_da8201a3-4946-40e3-8a67-561062ca4fd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_2099e718-4b2c-4b1f-9de0-23e847168800" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_5451d989-c15c-4b48-a871-81be5b586c00" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_2099e718-4b2c-4b1f-9de0-23e847168800" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_88c1379c-032a-4c4f-9a7e-06fa5047f5a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_198c2d98-13eb-4651-9c0b-c12f897cfa28" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_88c1379c-032a-4c4f-9a7e-06fa5047f5a5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_198c2d98-13eb-4651-9c0b-c12f897cfa28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare_668642e2-6d81-46b5-a106-a512bf016d55" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_88c1379c-032a-4c4f-9a7e-06fa5047f5a5" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare_668642e2-6d81-46b5-a106-a512bf016d55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_30dd8049-c831-432c-a912-0148249ee099" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_885747ae-ba5e-4d72-9121-1e2888cb41ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_30dd8049-c831-432c-a912-0148249ee099" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_885747ae-ba5e-4d72-9121-1e2888cb41ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare_fc159fa5-4773-4a56-983a-3a05e50cdf3c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_30dd8049-c831-432c-a912-0148249ee099" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare_fc159fa5-4773-4a56-983a-3a05e50cdf3c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/DISCONTINUEDOPERATIONSOperatingResultsDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#DISCONTINUEDOPERATIONSOperatingResultsDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/DISCONTINUEDOPERATIONSOperatingResultsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_417c15f5-abd3-461b-a083-4254278610d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_df508d86-9db1-414f-85e9-69244da5bdd0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_417c15f5-abd3-461b-a083-4254278610d2" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_df508d86-9db1-414f-85e9-69244da5bdd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_c4f22a8d-1356-453c-b1bc-03e836776302" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_417c15f5-abd3-461b-a083-4254278610d2" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_c4f22a8d-1356-453c-b1bc-03e836776302" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_919c2911-ae45-42db-9f4f-a992a431c93c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_fe7b2060-acd5-49c9-9b21-b719a6856944" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_919c2911-ae45-42db-9f4f-a992a431c93c" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_fe7b2060-acd5-49c9-9b21-b719a6856944" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_025c3f5b-4bc7-4963-a8f8-e1e9bc89030d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_919c2911-ae45-42db-9f4f-a992a431c93c" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_025c3f5b-4bc7-4963-a8f8-e1e9bc89030d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_DisposalGroupIncludingDiscontinuedOperationsRestructuringExpenses_2919498d-d6a8-4643-b421-f0526fac9374" xlink:href="unfi-20210731.xsd#unfi_DisposalGroupIncludingDiscontinuedOperationsRestructuringExpenses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_919c2911-ae45-42db-9f4f-a992a431c93c" xlink:to="loc_unfi_DisposalGroupIncludingDiscontinuedOperationsRestructuringExpenses_2919498d-d6a8-4643-b421-f0526fac9374" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_4e902dee-72d7-4d83-8305-ee8299eec76d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_ff12fcce-1b2c-4b31-abad-268d0a8b45b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_4e902dee-72d7-4d83-8305-ee8299eec76d" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_ff12fcce-1b2c-4b31-abad-268d0a8b45b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_3dd5683a-2c46-43d8-aa73-627128b433dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_4e902dee-72d7-4d83-8305-ee8299eec76d" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_3dd5683a-2c46-43d8-aa73-627128b433dc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/DISCONTINUEDOPERATIONSBalanceSheetDetails" xlink:type="simple" xlink:href="unfi-20210731.xsd#DISCONTINUEDOPERATIONSBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/DISCONTINUEDOPERATIONSBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_bd2c8ed8-ef5e-48a4-934c-f25eb6a7186c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_66115c4d-9597-4bc0-b7c7-cc5eb2b11caa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_bd2c8ed8-ef5e-48a4-934c-f25eb6a7186c" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_66115c4d-9597-4bc0-b7c7-cc5eb2b11caa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_7248d9ed-3b4d-4b8a-a3a0-827ed65ab462" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_bd2c8ed8-ef5e-48a4-934c-f25eb6a7186c" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_7248d9ed-3b4d-4b8a-a3a0-827ed65ab462" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_NetAssetsDisposed_c3e1a714-51f8-4a3b-9e9d-b7f5e3b65f83" xlink:href="unfi-20210731.xsd#unfi_NetAssetsDisposed"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_c4d82a91-2d87-4dae-a67b-a46b5d182554" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_NetAssetsDisposed_c3e1a714-51f8-4a3b-9e9d-b7f5e3b65f83" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_c4d82a91-2d87-4dae-a67b-a46b5d182554" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_aa4b20c3-8f4b-48de-a6ad-c55f34f1449b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_unfi_NetAssetsDisposed_c3e1a714-51f8-4a3b-9e9d-b7f5e3b65f83" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_aa4b20c3-8f4b-48de-a6ad-c55f34f1449b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_0a30fe9f-0e4c-4389-b3a8-5a6f4dbbd114" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_ffd6eb2f-f240-48c7-87a6-dbb2f4c13058" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_0a30fe9f-0e4c-4389-b3a8-5a6f4dbbd114" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_ffd6eb2f-f240-48c7-87a6-dbb2f4c13058" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherAssets_07b883c9-345b-4508-8205-98392aeaefbd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_0a30fe9f-0e4c-4389-b3a8-5a6f4dbbd114" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherAssets_07b883c9-345b-4508-8205-98392aeaefbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_35dbc557-b947-4c10-8c57-60faf1f1c013" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1_c58675ee-5b1c-4121-8d21-d80ebe768b2f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_35dbc557-b947-4c10-8c57-60faf1f1c013" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1_c58675ee-5b1c-4121-8d21-d80ebe768b2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_5ee28067-6341-41f7-a970-dcdf8994ff61" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_30203aa4-f89f-4b86-bd66-896880066740" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_5ee28067-6341-41f7-a970-dcdf8994ff61" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_30203aa4-f89f-4b86-bd66-896880066740" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_7f6b73a4-756a-4fc6-8ad7-19b7023afc28" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_5ee28067-6341-41f7-a970-dcdf8994ff61" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_7f6b73a4-756a-4fc6-8ad7-19b7023afc28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_243231dc-dbc9-416c-aa42-8cf330e4cb2e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable_abb1db0d-3c11-4af2-b3fd-73af6c38ea0f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_243231dc-dbc9-416c-aa42-8cf330e4cb2e" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable_abb1db0d-3c11-4af2-b3fd-73af6c38ea0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities_6e5e4369-5a5c-4f0e-a9cd-401a7f227b47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_243231dc-dbc9-416c-aa42-8cf330e4cb2e" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities_6e5e4369-5a5c-4f0e-a9cd-401a7f227b47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities_256240c3-c9d6-4705-a74d-24e20cd229ad" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_243231dc-dbc9-416c-aa42-8cf330e4cb2e" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities_256240c3-c9d6-4705-a74d-24e20cd229ad" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
