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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:1f34a3f7-5ae4-47b4-86a6-4692d4d8e2cf,g:b549ee28-7802-4b6a-969f-d4487ac6c16c-->
<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-20230729.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_Assets_2ef87bbb-087c-4fab-a142-3e332ecc5003" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_2fd5327b-ded7-448a-bc60-483b0cde13d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2ef87bbb-087c-4fab-a142-3e332ecc5003" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_2fd5327b-ded7-448a-bc60-483b0cde13d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_19d0f0e2-57a6-47cc-8c18-1f2f8a716d09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2ef87bbb-087c-4fab-a142-3e332ecc5003" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_19d0f0e2-57a6-47cc-8c18-1f2f8a716d09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_436853b9-3d77-467b-9b81-81905dcd69d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2ef87bbb-087c-4fab-a142-3e332ecc5003" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_436853b9-3d77-467b-9b81-81905dcd69d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_92a16e02-0fe7-4ecb-99c1-7fdfcc3298b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2ef87bbb-087c-4fab-a142-3e332ecc5003" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_92a16e02-0fe7-4ecb-99c1-7fdfcc3298b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_f26839db-97b3-4789-b090-6ad07ce001f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2ef87bbb-087c-4fab-a142-3e332ecc5003" xlink:to="loc_us-gaap_Goodwill_f26839db-97b3-4789-b090-6ad07ce001f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_7866546c-81d6-48b2-889a-58a3b89b0ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2ef87bbb-087c-4fab-a142-3e332ecc5003" xlink:to="loc_us-gaap_AssetsCurrent_7866546c-81d6-48b2-889a-58a3b89b0ac2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_937ebc21-5979-4988-a6e1-b2b9321a32fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2ef87bbb-087c-4fab-a142-3e332ecc5003" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_937ebc21-5979-4988-a6e1-b2b9321a32fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_8582f756-8d3b-47da-910f-c5d87cf0eaba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_8c24d132-71a2-43b3-852e-158431badcfe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_8582f756-8d3b-47da-910f-c5d87cf0eaba" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_8c24d132-71a2-43b3-852e-158431badcfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_ea160488-fe61-493a-8d04-53b95c34ddea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_8582f756-8d3b-47da-910f-c5d87cf0eaba" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_ea160488-fe61-493a-8d04-53b95c34ddea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_e59bc460-0892-4a17-b7a8-48d281a1b4d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_8582f756-8d3b-47da-910f-c5d87cf0eaba" xlink:to="loc_us-gaap_AccountsPayableCurrent_e59bc460-0892-4a17-b7a8-48d281a1b4d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_4a505231-1080-45c2-bf24-ebceba02eb12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_8582f756-8d3b-47da-910f-c5d87cf0eaba" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_4a505231-1080-45c2-bf24-ebceba02eb12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_2f79e27e-55a2-472c-8eeb-f49c05392f97" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_8582f756-8d3b-47da-910f-c5d87cf0eaba" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_2f79e27e-55a2-472c-8eeb-f49c05392f97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a6f291b3-d42c-4a93-9f0b-e7e50ee2cc2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_5e40b390-97fb-4ea1-9c83-ab785d4ac1ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a6f291b3-d42c-4a93-9f0b-e7e50ee2cc2d" xlink:to="loc_us-gaap_StockholdersEquity_5e40b390-97fb-4ea1-9c83-ab785d4ac1ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_5f23ec5a-93e5-4905-b211-9393cac9e655" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a6f291b3-d42c-4a93-9f0b-e7e50ee2cc2d" xlink:to="loc_us-gaap_MinorityInterest_5f23ec5a-93e5-4905-b211-9393cac9e655" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_e0933431-3f08-4fc4-a630-dbfc8bf023f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_08d03e36-437a-4f03-b186-524c927cad17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e0933431-3f08-4fc4-a630-dbfc8bf023f1" xlink:to="loc_us-gaap_Liabilities_08d03e36-437a-4f03-b186-524c927cad17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8d8b0f88-e322-4012-bf74-bd3731f07f1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e0933431-3f08-4fc4-a630-dbfc8bf023f1" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8d8b0f88-e322-4012-bf74-bd3731f07f1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_b63a2eb1-3846-4735-9de0-bcc0f7284d93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e0933431-3f08-4fc4-a630-dbfc8bf023f1" xlink:to="loc_us-gaap_CommitmentsAndContingencies_b63a2eb1-3846-4735-9de0-bcc0f7284d93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_d8234543-7c77-4bc4-a937-73700e885c65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_9cd1e8f3-0d3c-4229-b00a-15996d9738b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d8234543-7c77-4bc4-a937-73700e885c65" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_9cd1e8f3-0d3c-4229-b00a-15996d9738b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_b8c2187f-cd21-41ee-9e20-b6eec52dc02a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d8234543-7c77-4bc4-a937-73700e885c65" xlink:to="loc_us-gaap_InventoryNet_b8c2187f-cd21-41ee-9e20-b6eec52dc02a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d41f5472-e8cb-4e7f-bdf3-cca2a137a534" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d8234543-7c77-4bc4-a937-73700e885c65" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d41f5472-e8cb-4e7f-bdf3-cca2a137a534" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_c1790ce4-ab40-49a5-a0df-7fa5c997fbe2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d8234543-7c77-4bc4-a937-73700e885c65" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_c1790ce4-ab40-49a5-a0df-7fa5c997fbe2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_35f286d0-ae46-4ad2-bf18-bc9208f1c6e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9533c63a-0032-457c-a606-53b7dd04efbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_35f286d0-ae46-4ad2-bf18-bc9208f1c6e1" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9533c63a-0032-457c-a606-53b7dd04efbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_98a7301b-0d72-470c-8e24-f63b86cb666a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_35f286d0-ae46-4ad2-bf18-bc9208f1c6e1" xlink:to="loc_us-gaap_CommonStockValueOutstanding_98a7301b-0d72-470c-8e24-f63b86cb666a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_175848eb-9e08-4e68-aeda-57deda969a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_35f286d0-ae46-4ad2-bf18-bc9208f1c6e1" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_175848eb-9e08-4e68-aeda-57deda969a3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_d78ec9aa-0574-49e4-bde5-62399506c5c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_35f286d0-ae46-4ad2-bf18-bc9208f1c6e1" xlink:to="loc_us-gaap_PreferredStockValue_d78ec9aa-0574-49e4-bde5-62399506c5c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_a4fe0118-88f7-4928-9115-d4504f14d5dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_35f286d0-ae46-4ad2-bf18-bc9208f1c6e1" xlink:to="loc_us-gaap_TreasuryStockCommonValue_a4fe0118-88f7-4928-9115-d4504f14d5dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_00af44e0-fecb-4b22-bbe4-65d4ab36dfe3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_35f286d0-ae46-4ad2-bf18-bc9208f1c6e1" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_00af44e0-fecb-4b22-bbe4-65d4ab36dfe3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_17dec4ee-ed1e-4941-82f9-57916bf78327" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_a67bb3ba-9aca-4b4e-a9b1-62c02d34d885" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_17dec4ee-ed1e-4941-82f9-57916bf78327" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_a67bb3ba-9aca-4b4e-a9b1-62c02d34d885" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_c7368caf-44f2-4ed5-a1b5-6776b2332e1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_17dec4ee-ed1e-4941-82f9-57916bf78327" xlink:to="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_c7368caf-44f2-4ed5-a1b5-6776b2332e1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_2e7e1fa8-b096-49fe-9c75-de3573c4b9b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_17dec4ee-ed1e-4941-82f9-57916bf78327" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_2e7e1fa8-b096-49fe-9c75-de3573c4b9b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_4db9bb05-2238-4708-90eb-37f492fcdae4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_17dec4ee-ed1e-4941-82f9-57916bf78327" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_4db9bb05-2238-4708-90eb-37f492fcdae4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_e6032f9e-e5f3-42b5-a4c6-55fead0762e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_17dec4ee-ed1e-4941-82f9-57916bf78327" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_e6032f9e-e5f3-42b5-a4c6-55fead0762e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_6a298049-2847-4e22-9879-c7e4cdd1cac8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_17dec4ee-ed1e-4941-82f9-57916bf78327" xlink:to="loc_us-gaap_LiabilitiesCurrent_6a298049-2847-4e22-9879-c7e4cdd1cac8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_88fd8d0d-f448-4809-8628-0688b86ac3de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_17dec4ee-ed1e-4941-82f9-57916bf78327" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_88fd8d0d-f448-4809-8628-0688b86ac3de" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="unfi-20230729.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_ProfitLoss_f87da70e-e32e-467b-a9a1-a8f999a10854" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_9c8e95f2-9219-4b39-a65f-616b958bcd4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f87da70e-e32e-467b-a9a1-a8f999a10854" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_9c8e95f2-9219-4b39-a65f-616b958bcd4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_2b9bf2cd-47d0-433f-b36b-deacec43fa87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f87da70e-e32e-467b-a9a1-a8f999a10854" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_2b9bf2cd-47d0-433f-b36b-deacec43fa87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_b6fb8392-7286-40a1-9462-cd32f7de44f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d19c4585-a9be-4bc6-93e1-0dc0be0df293" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b6fb8392-7286-40a1-9462-cd32f7de44f5" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d19c4585-a9be-4bc6-93e1-0dc0be0df293" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_b2b9cc9b-7061-4c44-9ae0-519605a802a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b6fb8392-7286-40a1-9462-cd32f7de44f5" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_b2b9cc9b-7061-4c44-9ae0-519605a802a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d948643a-ad50-4a46-8443-b61ed50d7ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_a0707c73-d1be-4808-8bd1-8ba207e0f086" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d948643a-ad50-4a46-8443-b61ed50d7ac2" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_a0707c73-d1be-4808-8bd1-8ba207e0f086" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_aca8d94e-a57e-43fc-a54d-177d2c35efe0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d948643a-ad50-4a46-8443-b61ed50d7ac2" xlink:to="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_aca8d94e-a57e-43fc-a54d-177d2c35efe0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_9f827495-306b-4d4a-949c-98806a5c4a02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d948643a-ad50-4a46-8443-b61ed50d7ac2" xlink:to="loc_us-gaap_OperatingIncomeLoss_9f827495-306b-4d4a-949c-98806a5c4a02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_6a64cf7a-e72d-4f5f-94f2-a3b7820eb27e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d948643a-ad50-4a46-8443-b61ed50d7ac2" xlink:to="loc_us-gaap_InterestExpense_6a64cf7a-e72d-4f5f-94f2-a3b7820eb27e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_755c9e6d-8f3d-4ec7-819d-36b8cc754cd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_43a9b494-7360-47d6-a02f-df6d5bed4ecc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_755c9e6d-8f3d-4ec7-819d-36b8cc754cd8" xlink:to="loc_us-gaap_ProfitLoss_43a9b494-7360-47d6-a02f-df6d5bed4ecc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_c6893003-800b-4f2b-a407-444094f9e63b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_755c9e6d-8f3d-4ec7-819d-36b8cc754cd8" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_c6893003-800b-4f2b-a407-444094f9e63b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_c096da5c-f945-4ae3-acc1-b197546ee1a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d0b64bce-85da-4ff0-8172-cde83b77d3c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_c096da5c-f945-4ae3-acc1-b197546ee1a5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d0b64bce-85da-4ff0-8172-cde83b77d3c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_0e66ab2b-6f43-42cb-ae67-ab22699736c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c096da5c-f945-4ae3-acc1-b197546ee1a5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_0e66ab2b-6f43-42cb-ae67-ab22699736c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_095f6952-9774-4a5b-8f0f-57486c64efb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_GainLossOnSaleOfAssetsAndOtherAssetCharges_a829da3c-2a20-4b88-be70-8002cc85e2c4" xlink:href="unfi-20230729.xsd#unfi_GainLossOnSaleOfAssetsAndOtherAssetCharges"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_095f6952-9774-4a5b-8f0f-57486c64efb5" xlink:to="loc_unfi_GainLossOnSaleOfAssetsAndOtherAssetCharges_a829da3c-2a20-4b88-be70-8002cc85e2c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_6740186c-1ec7-4a6d-98ac-2478a59603b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_095f6952-9774-4a5b-8f0f-57486c64efb5" xlink:to="loc_us-gaap_OperatingCostsAndExpenses_6740186c-1ec7-4a6d-98ac-2478a59603b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_f786568d-146b-45b8-80df-477bd4864a20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_095f6952-9774-4a5b-8f0f-57486c64efb5" xlink:to="loc_us-gaap_GrossProfit_f786568d-146b-45b8-80df-477bd4864a20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_c074bc3f-314b-46f6-8b8b-24e47236e4ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringSettlementAndImpairmentProvisions"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_095f6952-9774-4a5b-8f0f-57486c64efb5" xlink:to="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_c074bc3f-314b-46f6-8b8b-24e47236e4ec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="unfi-20230729.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_OtherComprehensiveIncomeLossNetOfTax_c26a7fe1-1a19-465c-a535-93e67230eec5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_13234911-4742-4d6c-a3a7-d69ba15ea04f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c26a7fe1-1a19-465c-a535-93e67230eec5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_13234911-4742-4d6c-a3a7-d69ba15ea04f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_4dc3383c-c833-432f-8a47-41e6e9d7cfc7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c26a7fe1-1a19-465c-a535-93e67230eec5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_4dc3383c-c833-432f-8a47-41e6e9d7cfc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_cc9f1225-f649-4c50-bd6e-bda39d17c35e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c26a7fe1-1a19-465c-a535-93e67230eec5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_cc9f1225-f649-4c50-bd6e-bda39d17c35e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAfterAdjustmentsAndTax_a5223e1f-69fc-41d0-a562-ecad7b61fe90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAfterAdjustmentsAndTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_c26a7fe1-1a19-465c-a535-93e67230eec5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAfterAdjustmentsAndTax_a5223e1f-69fc-41d0-a562-ecad7b61fe90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_f5416e76-821f-4611-81b2-d5cdc4ee68d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_7d827ff4-8c7a-4a10-b55e-049cd823933c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f5416e76-821f-4611-81b2-d5cdc4ee68d7" xlink:to="loc_us-gaap_ProfitLoss_7d827ff4-8c7a-4a10-b55e-049cd823933c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d3b97f81-7139-46c6-bcf8-a29c8c524796" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f5416e76-821f-4611-81b2-d5cdc4ee68d7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d3b97f81-7139-46c6-bcf8-a29c8c524796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_39404592-168b-4fda-b04d-4057f6b15d05" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f5416e76-821f-4611-81b2-d5cdc4ee68d7" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_39404592-168b-4fda-b04d-4057f6b15d05" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="unfi-20230729.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_NetCashProvidedByUsedInInvestingActivities_5a42a757-1801-42eb-9d9c-1d29c6fecd8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_436db4d7-0bcf-47a1-87af-f1a9a0703900" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5a42a757-1801-42eb-9d9c-1d29c6fecd8d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_436db4d7-0bcf-47a1-87af-f1a9a0703900" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_bd5fb19a-e6fc-416a-8c47-53209ca73db9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5a42a757-1801-42eb-9d9c-1d29c6fecd8d" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_bd5fb19a-e6fc-416a-8c47-53209ca73db9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c0096492-111b-41cb-88d2-4690b2e35184" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_727b1d35-aad6-43de-bf38-05a22bf26875" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c0096492-111b-41cb-88d2-4690b2e35184" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_727b1d35-aad6-43de-bf38-05a22bf26875" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d85e2597-c862-4d67-bdfe-9e56e9bd2f40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c0096492-111b-41cb-88d2-4690b2e35184" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d85e2597-c862-4d67-bdfe-9e56e9bd2f40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a662b332-024e-46d1-b67d-b79eb49b81c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c0096492-111b-41cb-88d2-4690b2e35184" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a662b332-024e-46d1-b67d-b79eb49b81c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_f8e475ca-08fd-4c1c-8053-5caa6bf7b0ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c0096492-111b-41cb-88d2-4690b2e35184" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_f8e475ca-08fd-4c1c-8053-5caa6bf7b0ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_5778233b-f346-44cb-ba3c-59ffb2ac660e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_5778233b-f346-44cb-ba3c-59ffb2ac660e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_Closedpropertyandotherrestructuringcharges_a72b76c7-e6a8-4ecf-998c-f8bd86df8e7b" xlink:href="unfi-20230729.xsd#unfi_Closedpropertyandotherrestructuringcharges"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_unfi_Closedpropertyandotherrestructuringcharges_a72b76c7-e6a8-4ecf-998c-f8bd86df8e7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_e7126ae4-6047-4bf5-bbcc-32f01f3b9a21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_e7126ae4-6047-4bf5-bbcc-32f01f3b9a21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_dc609b93-8276-4030-ac3f-b9cb2e070243" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_dc609b93-8276-4030-ac3f-b9cb2e070243" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4a70e8cb-0a30-4681-92e8-8242251cef2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4a70e8cb-0a30-4681-92e8-8242251cef2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_15e0dbea-f4a7-46ca-be79-d893c4b38e33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProvisionForOtherCreditLosses"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_15e0dbea-f4a7-46ca-be79-d893c4b38e33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_5d88d424-cbec-40e7-953f-bd83a30cec52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_5d88d424-cbec-40e7-953f-bd83a30cec52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_cf322fa3-4987-43a2-8102-7d3b67a8b902" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_cf322fa3-4987-43a2-8102-7d3b67a8b902" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_1552b07f-915d-4c46-98ed-b55988412e1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_1552b07f-915d-4c46-98ed-b55988412e1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_93e51f88-96c8-40b6-92db-7817cbe95aca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_93e51f88-96c8-40b6-92db-7817cbe95aca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_7f9892d4-bdb9-4337-816e-a951ab516545" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_7f9892d4-bdb9-4337-816e-a951ab516545" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash_4c7b6b3c-ce50-405b-83e9-51857866694d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash_4c7b6b3c-ce50-405b-83e9-51857866694d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_2df384ae-1274-467e-9deb-74e3176dd54d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_ShareBasedCompensation_2df384ae-1274-467e-9deb-74e3176dd54d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_NoncashInterestIncomeExpense_ec991143-9ae3-4260-b718-1b203d0264f8" xlink:href="unfi-20230729.xsd#unfi_NoncashInterestIncomeExpense"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_unfi_NoncashInterestIncomeExpense_ec991143-9ae3-4260-b718-1b203d0264f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReservePeriodCharge_c878354d-25fc-4161-bbb9-8ba486b6f267" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryLIFOReservePeriodCharge"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_InventoryLIFOReservePeriodCharge_c878354d-25fc-4161-bbb9-8ba486b6f267" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_077510ce-436e-4182-a02d-7a2f9ece8510" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c172712-6601-492c-af22-8d8ced22b98e" xlink:to="loc_us-gaap_AssetImpairmentCharges_077510ce-436e-4182-a02d-7a2f9ece8510" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherDebt_267282c4-c7e6-42b7-8b21-8f37a61426be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_RepaymentsOfOtherDebt_267282c4-c7e6-42b7-8b21-8f37a61426be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_acf89e38-5241-474c-884e-38630a4124d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_acf89e38-5241-474c-884e-38630a4124d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_42cca498-c401-4585-a5b8-5622c210b9d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_42cca498-c401-4585-a5b8-5622c210b9d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_b5029df0-2e12-4b01-90e5-c067bf60f6fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_b5029df0-2e12-4b01-90e5-c067bf60f6fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_80b6931a-659e-4749-bde8-d94a934d45d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_80b6931a-659e-4749-bde8-d94a934d45d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_10879680-35ad-41b7-906a-6232f7fc94be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_10879680-35ad-41b7-906a-6232f7fc94be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0e16a76d-e890-4d73-b7da-039ace83965a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0e16a76d-e890-4d73-b7da-039ace83965a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockValueSharesIssuedNetOfTaxWithholdings_40747ded-cbe4-40e5-b457-b0dc223e5a5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockValueSharesIssuedNetOfTaxWithholdings"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_RestrictedStockValueSharesIssuedNetOfTaxWithholdings_40747ded-cbe4-40e5-b457-b0dc223e5a5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_cc2f22e5-6b9f-489e-9873-c827bd934f2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_cc2f22e5-6b9f-489e-9873-c827bd934f2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_6138ee0d-5a46-4fa2-81cb-39f4ea6edf5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_6138ee0d-5a46-4fa2-81cb-39f4ea6edf5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_f7703fe6-0ca9-413d-aa1d-9ac90c5296ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cc019f9b-9290-4928-8aa2-52ce9bdbdd6c" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_f7703fe6-0ca9-413d-aa1d-9ac90c5296ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_cea47b7d-5f79-4bf9-b914-f3afa9acabd1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_909a25f1-d004-48a9-9f24-1d189b7c1941" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cea47b7d-5f79-4bf9-b914-f3afa9acabd1" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_909a25f1-d004-48a9-9f24-1d189b7c1941" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_65ce037b-9501-42ba-bd47-0c5c77947ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_cea47b7d-5f79-4bf9-b914-f3afa9acabd1" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_65ce037b-9501-42ba-bd47-0c5c77947ce8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_8a2669f9-5b98-4bdc-ab2b-4e30cf225917" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cea47b7d-5f79-4bf9-b914-f3afa9acabd1" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_8a2669f9-5b98-4bdc-ab2b-4e30cf225917" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/REVENUERECOGNITIONAccountsandNotesReceivableDetails" xlink:type="simple" xlink:href="unfi-20230729.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_8109637c-d5f9-4b2a-8567-4050d467e626" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_1d2da78b-9406-4a99-9696-e60c95dccf48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8109637c-d5f9-4b2a-8567-4050d467e626" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_1d2da78b-9406-4a99-9696-e60c95dccf48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_720b0d1d-2dde-4b7f-a14c-febef872cf65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8109637c-d5f9-4b2a-8567-4050d467e626" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_720b0d1d-2dde-4b7f-a14c-febef872cf65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_17ccfaf9-7eed-4f05-8583-c9712eb96b2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8109637c-d5f9-4b2a-8567-4050d467e626" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_17ccfaf9-7eed-4f05-8583-c9712eb96b2a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/PROPERTYANDEQUIPMENTNETPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="unfi-20230729.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_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_5a641f38-91ce-4bfe-b1a9-177040c47df8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_6a6e28ce-82ef-4818-8533-719a2f20a329" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_5a641f38-91ce-4bfe-b1a9-177040c47df8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_6a6e28ce-82ef-4818-8533-719a2f20a329" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_1a17422e-5840-4e22-b090-a5ccc27cd09a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_5a641f38-91ce-4bfe-b1a9-177040c47df8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_1a17422e-5840-4e22-b090-a5ccc27cd09a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETIdentifiableIntangibleAssetsDetails" xlink:type="simple" xlink:href="unfi-20230729.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_IntangibleAssetsNetExcludingGoodwill_691b9f0b-3861-4a2e-b02e-18a5d640469a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_110f327e-8fde-4b0e-ae5a-e1322ee2e1f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_691b9f0b-3861-4a2e-b02e-18a5d640469a" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_110f327e-8fde-4b0e-ae5a-e1322ee2e1f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d893e279-d73a-46e3-a989-d3a802e4c648" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_691b9f0b-3861-4a2e-b02e-18a5d640469a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d893e279-d73a-46e3-a989-d3a802e4c648" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETEstimatedFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="unfi-20230729.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_e54d3533-bb87-4fcd-bdbf-1e377bc16c41" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_6d020744-b00b-406f-a26e-2a87fdbfe9fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e54d3533-bb87-4fcd-bdbf-1e377bc16c41" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_6d020744-b00b-406f-a26e-2a87fdbfe9fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_794e881f-3514-4047-b1d9-f3b6bacb9b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e54d3533-bb87-4fcd-bdbf-1e377bc16c41" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_794e881f-3514-4047-b1d9-f3b6bacb9b3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_145f409a-842e-48dd-87ab-947b4866192b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e54d3533-bb87-4fcd-bdbf-1e377bc16c41" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_145f409a-842e-48dd-87ab-947b4866192b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_1ddf9cb3-c2c9-4fc9-8e51-ae111095509a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e54d3533-bb87-4fcd-bdbf-1e377bc16c41" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_1ddf9cb3-c2c9-4fc9-8e51-ae111095509a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_1b56072c-9ce1-4d9b-b8bc-91c5d641b0e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e54d3533-bb87-4fcd-bdbf-1e377bc16c41" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_1b56072c-9ce1-4d9b-b8bc-91c5d641b0e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_e43a3ca4-23bc-4e3e-8551-490dfe177605" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e54d3533-bb87-4fcd-bdbf-1e377bc16c41" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_e43a3ca4-23bc-4e3e-8551-490dfe177605" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTScheduleofLongtermDebtDetails" xlink:type="simple" xlink:href="unfi-20230729.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_LongTermDebt_efac20c0-e444-4765-b584-e4c5b6bdadef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_ba0dbe16-bbb6-4aac-90ae-28b72adca6f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_LongTermDebt_efac20c0-e444-4765-b584-e4c5b6bdadef" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_ba0dbe16-bbb6-4aac-90ae-28b72adca6f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_f30714c6-2d68-4807-964f-74112043baf7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_LongTermDebt_efac20c0-e444-4765-b584-e4c5b6bdadef" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_f30714c6-2d68-4807-964f-74112043baf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_8aba7d41-4d34-4f51-8f88-09118c6a5d33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_LongTermDebt_efac20c0-e444-4765-b584-e4c5b6bdadef" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_8aba7d41-4d34-4f51-8f88-09118c6a5d33" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTScheduleofLongtermDebtDetails_1" xlink:type="simple" xlink:href="unfi-20230729.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_LongTermDebt_abc9776d-f411-4ad5-ab84-91dd0bccb54d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_fbcd362e-74b2-4ce4-b510-4835044d1f13" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_abc9776d-f411-4ad5-ab84-91dd0bccb54d" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_fbcd362e-74b2-4ce4-b510-4835044d1f13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_0e10115b-352f-4807-95e6-560a277b9231" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_LongTermDebt_abc9776d-f411-4ad5-ab84-91dd0bccb54d" xlink:to="loc_us-gaap_LongTermDebtCurrent_0e10115b-352f-4807-95e6-560a277b9231" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTScheduleofMaturitiesofLongtermDebtDetails" xlink:type="simple" xlink:href="unfi-20230729.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_DebtInstrumentCarryingAmount_969dfb44-cc93-45bd-8f7d-d2a89ebd505b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_e56edb00-bff2-4e07-bca6-b660549d6c93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DebtInstrumentCarryingAmount_969dfb44-cc93-45bd-8f7d-d2a89ebd505b" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_e56edb00-bff2-4e07-bca6-b660549d6c93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_c1605f7f-678e-4031-9072-4f947683f544" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DebtInstrumentCarryingAmount_969dfb44-cc93-45bd-8f7d-d2a89ebd505b" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_c1605f7f-678e-4031-9072-4f947683f544" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_e86256bb-8355-4520-a7ef-cdd0b5690aa2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DebtInstrumentCarryingAmount_969dfb44-cc93-45bd-8f7d-d2a89ebd505b" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_e86256bb-8355-4520-a7ef-cdd0b5690aa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_a3c75037-2c65-4a1a-86e7-aadd1be8114c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DebtInstrumentCarryingAmount_969dfb44-cc93-45bd-8f7d-d2a89ebd505b" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_a3c75037-2c65-4a1a-86e7-aadd1be8114c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_8925e3ae-0739-40a8-bd36-fc8190c55f85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DebtInstrumentCarryingAmount_969dfb44-cc93-45bd-8f7d-d2a89ebd505b" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_8925e3ae-0739-40a8-bd36-fc8190c55f85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_98f9a2d4-3aeb-442a-9a42-81552bc784b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DebtInstrumentCarryingAmount_969dfb44-cc93-45bd-8f7d-d2a89ebd505b" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_98f9a2d4-3aeb-442a-9a42-81552bc784b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_1928e254-b4b0-4d20-9656-343ddb6ee944" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearThree_833f089b-036b-41ae-b8ef-c4ed0e72c212" xlink:href="unfi-20230729.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_1928e254-b4b0-4d20-9656-343ddb6ee944" xlink:to="loc_unfi_LongTermDebtInterestPayableYearThree_833f089b-036b-41ae-b8ef-c4ed0e72c212" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableAfterYearFive_30f6cf6e-3280-4a0f-898a-7386a1208323" xlink:href="unfi-20230729.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_1928e254-b4b0-4d20-9656-343ddb6ee944" xlink:to="loc_unfi_LongTermDebtInterestPayableAfterYearFive_30f6cf6e-3280-4a0f-898a-7386a1208323" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearFour_e8be751e-9823-4d3c-9925-ff54ef6ba588" xlink:href="unfi-20230729.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_1928e254-b4b0-4d20-9656-343ddb6ee944" xlink:to="loc_unfi_LongTermDebtInterestPayableYearFour_e8be751e-9823-4d3c-9925-ff54ef6ba588" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearTwo_0a78ac6a-43df-4e3b-a299-3a0d8d03b364" xlink:href="unfi-20230729.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_1928e254-b4b0-4d20-9656-343ddb6ee944" xlink:to="loc_unfi_LongTermDebtInterestPayableYearTwo_0a78ac6a-43df-4e3b-a299-3a0d8d03b364" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearOne_a83af916-fc56-42a0-a1d4-0cc87f0c41d0" xlink:href="unfi-20230729.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_1928e254-b4b0-4d20-9656-343ddb6ee944" xlink:to="loc_unfi_LongTermDebtInterestPayableYearOne_a83af916-fc56-42a0-a1d4-0cc87f0c41d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LongTermDebtInterestPayableYearFive_224d7522-9255-40c1-88fb-c1fad90a1f76" xlink:href="unfi-20230729.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_1928e254-b4b0-4d20-9656-343ddb6ee944" xlink:to="loc_unfi_LongTermDebtInterestPayableYearFive_224d7522-9255-40c1-88fb-c1fad90a1f76" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LEASESLeaseAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="unfi-20230729.xsd#LEASESLeaseAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LEASESLeaseAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LeaseLiability_f28aee9f-c282-476d-a2b9-5ab930cc45f8" xlink:href="unfi-20230729.xsd#unfi_LeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_f0bb7ece-366c-4914-b944-86826e021501" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f28aee9f-c282-476d-a2b9-5ab930cc45f8" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_f0bb7ece-366c-4914-b944-86826e021501" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_d130fbbd-a704-43ab-8c00-494552bd690a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f28aee9f-c282-476d-a2b9-5ab930cc45f8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_d130fbbd-a704-43ab-8c00-494552bd690a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4d916088-396a-41e9-a7ad-939f3093f91f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f28aee9f-c282-476d-a2b9-5ab930cc45f8" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4d916088-396a-41e9-a7ad-939f3093f91f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_03c9a455-1db7-40fe-bc90-17e2ccbe183c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f28aee9f-c282-476d-a2b9-5ab930cc45f8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_03c9a455-1db7-40fe-bc90-17e2ccbe183c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LeaseRightofUseAsset_7fd8891a-2186-41f6-87a0-ae01fe8f1201" xlink:href="unfi-20230729.xsd#unfi_LeaseRightofUseAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_7e97b868-4400-4f9b-a35f-d36ee2069f51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_7fd8891a-2186-41f6-87a0-ae01fe8f1201" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_7e97b868-4400-4f9b-a35f-d36ee2069f51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_398fe974-3f53-4f40-a189-ebe797d30243" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_7fd8891a-2186-41f6-87a0-ae01fe8f1201" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_398fe974-3f53-4f40-a189-ebe797d30243" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LEASESLeaseCostDetails" xlink:type="simple" xlink:href="unfi-20230729.xsd#LEASESLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LEASESLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_5fb03b64-8415-407e-afe7-23af3c494331" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_eca5d840-4d4e-42d5-927a-572f1a69ecfe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseCost_5fb03b64-8415-407e-afe7-23af3c494331" xlink:to="loc_us-gaap_ShortTermLeaseCost_eca5d840-4d4e-42d5-927a-572f1a69ecfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_Othersubleaseincomenet_b9e8f7da-72b6-4f4e-9bd6-c3e4ecc54a28" xlink:href="unfi-20230729.xsd#unfi_Othersubleaseincomenet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseCost_5fb03b64-8415-407e-afe7-23af3c494331" xlink:to="loc_unfi_Othersubleaseincomenet_b9e8f7da-72b6-4f4e-9bd6-c3e4ecc54a28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_4a5a5d8d-f56e-49b3-8365-aa7f7383f326" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseCost_5fb03b64-8415-407e-afe7-23af3c494331" xlink:to="loc_us-gaap_SubleaseIncome_4a5a5d8d-f56e-49b3-8365-aa7f7383f326" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_83cd797b-2034-48c8-8082-521bc0a17f03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseCost_5fb03b64-8415-407e-afe7-23af3c494331" xlink:to="loc_us-gaap_VariableLeaseCost_83cd797b-2034-48c8-8082-521bc0a17f03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_6fc742c6-1642-4b08-9439-ee91b97c6207" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_20e511e9-280c-4bfb-b445-3c8da29d9e58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_6fc742c6-1642-4b08-9439-ee91b97c6207" xlink:to="loc_us-gaap_OperatingLeaseCost_20e511e9-280c-4bfb-b445-3c8da29d9e58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_Financeleasecost_1c70328d-9ef5-4ecc-9862-ed7a23661b61" xlink:href="unfi-20230729.xsd#unfi_Financeleasecost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_6fc742c6-1642-4b08-9439-ee91b97c6207" xlink:to="loc_unfi_Financeleasecost_1c70328d-9ef5-4ecc-9862-ed7a23661b61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_Financeleasecost_a76245aa-f2e2-4bdf-a996-8abbdbcbaec5" xlink:href="unfi-20230729.xsd#unfi_Financeleasecost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_a76db448-70ed-4042-83c7-63e088a906b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a76245aa-f2e2-4bdf-a996-8abbdbcbaec5" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_a76db448-70ed-4042-83c7-63e088a906b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_c8f617b2-1aef-4e8d-a5e3-80bb4d3e9932" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a76245aa-f2e2-4bdf-a996-8abbdbcbaec5" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_c8f617b2-1aef-4e8d-a5e3-80bb4d3e9932" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails" xlink:type="simple" xlink:href="unfi-20230729.xsd#LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7534231d-cc1a-4dd4-8430-54915043ecd1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_4b78c179-a33e-4cfe-8e82-1a936fc7ec7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7534231d-cc1a-4dd4-8430-54915043ecd1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_4b78c179-a33e-4cfe-8e82-1a936fc7ec7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_4dde1ffa-482a-4416-bde0-ee4eb59af2f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_7534231d-cc1a-4dd4-8430-54915043ecd1" xlink:to="loc_us-gaap_OperatingLeaseLiability_4dde1ffa-482a-4416-bde0-ee4eb59af2f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_786d74ba-a688-4d77-a981-ab96a839dfbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_3242f271-c047-4132-bfce-effc0876496d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_786d74ba-a688-4d77-a981-ab96a839dfbd" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_3242f271-c047-4132-bfce-effc0876496d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_635c0efc-ef93-42a1-8e60-309b87cb1860" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_786d74ba-a688-4d77-a981-ab96a839dfbd" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_635c0efc-ef93-42a1-8e60-309b87cb1860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_37f55df2-8bb9-407c-b4c2-cfa4841c2185" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_be3d1886-4776-40bd-a6d7-124ee55b9fa0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37f55df2-8bb9-407c-b4c2-cfa4841c2185" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_be3d1886-4776-40bd-a6d7-124ee55b9fa0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_bc5ef6e1-c606-4ced-b162-c57f18b10374" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37f55df2-8bb9-407c-b4c2-cfa4841c2185" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_bc5ef6e1-c606-4ced-b162-c57f18b10374" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_14c356e4-87ae-4fc4-a1c7-93ced381ca6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37f55df2-8bb9-407c-b4c2-cfa4841c2185" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_14c356e4-87ae-4fc4-a1c7-93ced381ca6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_e8f36a5d-5680-4e17-932a-de0988137c22" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37f55df2-8bb9-407c-b4c2-cfa4841c2185" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_e8f36a5d-5680-4e17-932a-de0988137c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_db7b0ef8-fdcc-4fe2-b618-4e6c4de4d371" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37f55df2-8bb9-407c-b4c2-cfa4841c2185" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_db7b0ef8-fdcc-4fe2-b618-4e6c4de4d371" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_8528782a-18ca-494e-bc94-5603dfef5b5f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37f55df2-8bb9-407c-b4c2-cfa4841c2185" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_8528782a-18ca-494e-bc94-5603dfef5b5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_1ce7e0af-4d9f-41a6-93ec-7ebb7c6de7a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceived"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_72c665c7-4ac0-442f-b02b-8066cb49df23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1ce7e0af-4d9f-41a6-93ec-7ebb7c6de7a8" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_72c665c7-4ac0-442f-b02b-8066cb49df23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_d7b0dccf-1505-4c61-afac-fec2c9e8a5e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1ce7e0af-4d9f-41a6-93ec-7ebb7c6de7a8" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_d7b0dccf-1505-4c61-afac-fec2c9e8a5e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_77b6d587-7600-4dd2-a7d2-586b2bbd923e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1ce7e0af-4d9f-41a6-93ec-7ebb7c6de7a8" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_77b6d587-7600-4dd2-a7d2-586b2bbd923e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_2db45b7a-d77e-4bbf-8bda-d3ea1c531eab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1ce7e0af-4d9f-41a6-93ec-7ebb7c6de7a8" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_2db45b7a-d77e-4bbf-8bda-d3ea1c531eab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_3497c2f5-4801-49df-9cfd-0956c0179d95" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1ce7e0af-4d9f-41a6-93ec-7ebb7c6de7a8" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_3497c2f5-4801-49df-9cfd-0956c0179d95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_1116e0f8-9fc8-4be8-bd37-710deed8546c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1ce7e0af-4d9f-41a6-93ec-7ebb7c6de7a8" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_1116e0f8-9fc8-4be8-bd37-710deed8546c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_894d5223-e259-43c8-b284-e8d46af5a487" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_43382dc2-77e5-4616-9379-b8ff14628f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_894d5223-e259-43c8-b284-e8d46af5a487" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_43382dc2-77e5-4616-9379-b8ff14628f5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_df9eb24c-2c54-41f2-8767-52cccace45ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_894d5223-e259-43c8-b284-e8d46af5a487" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_df9eb24c-2c54-41f2-8767-52cccace45ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeasesNetLeaseObligations_edf3d6e9-7273-45eb-b180-55fcb34c7f84" xlink:href="unfi-20230729.xsd#unfi_FinanceLeasesNetLeaseObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearOne_bfcd7b32-bea5-4162-9e60-161afba3c8b8" xlink:href="unfi-20230729.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_edf3d6e9-7273-45eb-b180-55fcb34c7f84" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearOne_bfcd7b32-bea5-4162-9e60-161afba3c8b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearTwo_97b10067-cadd-495f-b1c2-37f5414ad68e" xlink:href="unfi-20230729.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_edf3d6e9-7273-45eb-b180-55fcb34c7f84" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearTwo_97b10067-cadd-495f-b1c2-37f5414ad68e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearThree_5188f6b6-f9c4-438f-8567-7f1df947f2ea" xlink:href="unfi-20230729.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_edf3d6e9-7273-45eb-b180-55fcb34c7f84" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearThree_5188f6b6-f9c4-438f-8567-7f1df947f2ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearFour_ca9d1f63-4e6e-4aec-b76b-12ec366f1a5c" xlink:href="unfi-20230729.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_edf3d6e9-7273-45eb-b180-55fcb34c7f84" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearFour_ca9d1f63-4e6e-4aec-b76b-12ec366f1a5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsYearFive_984b76e8-7e87-4f6b-9706-ce7a15201af9" xlink:href="unfi-20230729.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_edf3d6e9-7273-45eb-b180-55fcb34c7f84" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsYearFive_984b76e8-7e87-4f6b-9706-ce7a15201af9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FinanceLeaseNetLeaseObligationsAfterYearFive_c0967864-c5d7-40eb-8e2d-09973d3a43a2" xlink:href="unfi-20230729.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_edf3d6e9-7273-45eb-b180-55fcb34c7f84" xlink:to="loc_unfi_FinanceLeaseNetLeaseObligationsAfterYearFive_c0967864-c5d7-40eb-8e2d-09973d3a43a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_fbf8d732-0b5d-43e4-9c3e-9bf7ce3e96e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths_5564139d-2b0e-4319-b514-87c69bd7aff2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fbf8d732-0b5d-43e4-9c3e-9bf7ce3e96e9" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths_5564139d-2b0e-4319-b514-87c69bd7aff2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears_47428f2c-176b-43d9-9994-4516f2d3745c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fbf8d732-0b5d-43e4-9c3e-9bf7ce3e96e9" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears_47428f2c-176b-43d9-9994-4516f2d3745c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears_20bc7ec2-4f5a-47f2-a394-f4f29a6dcbe8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fbf8d732-0b5d-43e4-9c3e-9bf7ce3e96e9" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears_20bc7ec2-4f5a-47f2-a394-f4f29a6dcbe8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears_c2fe2a07-fa4b-4f25-98ec-f92e1e9acf40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fbf8d732-0b5d-43e4-9c3e-9bf7ce3e96e9" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears_c2fe2a07-fa4b-4f25-98ec-f92e1e9acf40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears_9b4e7817-55da-4f18-b23a-10645ce5a31b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fbf8d732-0b5d-43e4-9c3e-9bf7ce3e96e9" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears_9b4e7817-55da-4f18-b23a-10645ce5a31b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter_790c784b-dedd-4533-9969-c187bb63bad0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fbf8d732-0b5d-43e4-9c3e-9bf7ce3e96e9" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter_790c784b-dedd-4533-9969-c187bb63bad0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligation_2a4385e9-2f2e-4fff-8c90-16fbf79eafb4" xlink:href="unfi-20230729.xsd#unfi_LesseeNetOperatingLeaseObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearOne_174479ef-ed3e-40a7-b640-f69640c34627" xlink:href="unfi-20230729.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_2a4385e9-2f2e-4fff-8c90-16fbf79eafb4" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearOne_174479ef-ed3e-40a7-b640-f69640c34627" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearTwo_64dbb8c3-7c4c-469c-bac5-ce23a848f788" xlink:href="unfi-20230729.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_2a4385e9-2f2e-4fff-8c90-16fbf79eafb4" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearTwo_64dbb8c3-7c4c-469c-bac5-ce23a848f788" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearThree_433289c7-1226-4d34-adaf-390fb559edc0" xlink:href="unfi-20230729.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_2a4385e9-2f2e-4fff-8c90-16fbf79eafb4" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearThree_433289c7-1226-4d34-adaf-390fb559edc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearFour_42788b10-ac29-4683-8d37-7592ab800605" xlink:href="unfi-20230729.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_2a4385e9-2f2e-4fff-8c90-16fbf79eafb4" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearFour_42788b10-ac29-4683-8d37-7592ab800605" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationYearFive_3ed2ddaa-d2b8-4547-b90c-43422725cf07" xlink:href="unfi-20230729.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_2a4385e9-2f2e-4fff-8c90-16fbf79eafb4" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationYearFive_3ed2ddaa-d2b8-4547-b90c-43422725cf07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LesseeNetOperatingLeaseObligationAfterYearFive_8583c100-b122-4e0e-b2de-e4b717ca8895" xlink:href="unfi-20230729.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_2a4385e9-2f2e-4fff-8c90-16fbf79eafb4" xlink:to="loc_unfi_LesseeNetOperatingLeaseObligationAfterYearFive_8583c100-b122-4e0e-b2de-e4b717ca8895" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails_1" xlink:type="simple" xlink:href="unfi-20230729.xsd#LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails_1"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/LEASESFutureMinimumLeasePaymentsandLeaseReceiptsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_81cf6d45-eabf-4f14-98f1-bdee90fc6d0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_a809c16e-48f3-4b5d-8578-4f0c616fb25c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_81cf6d45-eabf-4f14-98f1-bdee90fc6d0a" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_a809c16e-48f3-4b5d-8578-4f0c616fb25c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_3bc4220e-3ff8-46d2-942a-30367912594d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_81cf6d45-eabf-4f14-98f1-bdee90fc6d0a" xlink:to="loc_us-gaap_FinanceLeaseLiability_3bc4220e-3ff8-46d2-942a-30367912594d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8e42c58a-19a2-44d9-b66c-0bd6db0b3ccd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_050a47b0-d713-4ce3-865b-4ef5c2a26c42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8e42c58a-19a2-44d9-b66c-0bd6db0b3ccd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_050a47b0-d713-4ce3-865b-4ef5c2a26c42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e24235d7-f977-4592-876d-d56a40e83f81" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8e42c58a-19a2-44d9-b66c-0bd6db0b3ccd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e24235d7-f977-4592-876d-d56a40e83f81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_19d4737a-5ce3-45d3-ab45-88c263bad951" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8e42c58a-19a2-44d9-b66c-0bd6db0b3ccd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_19d4737a-5ce3-45d3-ab45-88c263bad951" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_d093a842-c5c5-4fd9-b211-df6b5160cb00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8e42c58a-19a2-44d9-b66c-0bd6db0b3ccd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_d093a842-c5c5-4fd9-b211-df6b5160cb00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_06cc1656-7e52-49fd-9362-e00c1c769908" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8e42c58a-19a2-44d9-b66c-0bd6db0b3ccd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_06cc1656-7e52-49fd-9362-e00c1c769908" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_cc416c4c-d95a-477d-acfa-d03b5a1ecf58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8e42c58a-19a2-44d9-b66c-0bd6db0b3ccd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_cc416c4c-d95a-477d-acfa-d03b5a1ecf58" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/SHAREBASEDAWARDSShareBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="unfi-20230729.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_dd33c64f-7a8d-4d07-bda1-2d380348f084" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_7e17e693-5deb-41da-84bc-3473267d0dc6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_dd33c64f-7a8d-4d07-bda1-2d380348f084" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_7e17e693-5deb-41da-84bc-3473267d0dc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_0b53d579-4f04-4f4d-87cf-7ceb6c0568ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_dd33c64f-7a8d-4d07-bda1-2d380348f084" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_0b53d579-4f04-4f4d-87cf-7ceb6c0568ff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BENEFITPLANSFairValueofPlanAssetsDetails" xlink:type="simple" xlink:href="unfi-20230729.xsd#BENEFITPLANSFairValueofPlanAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.unfi.com/role/BENEFITPLANSFairValueofPlanAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_9b020e31-9963-4608-8aa7-24fa37fdae9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_80bae2d7-ddfe-48c1-8795-c5a602c3628d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_9b020e31-9963-4608-8aa7-24fa37fdae9c" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_80bae2d7-ddfe-48c1-8795-c5a602c3628d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3ef96dfc-569a-41f7-a115-faa28221fe16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_9b020e31-9963-4608-8aa7-24fa37fdae9c" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3ef96dfc-569a-41f7-a115-faa28221fe16" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BENEFITPLANSNetPeriodicBenefitIncomeDetails" xlink:type="simple" xlink:href="unfi-20230729.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_e6456202-708b-4ae5-b54a-f2c3ff5dfdae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_8adead0c-eef3-4cda-9522-7b6aa430f50a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e6456202-708b-4ae5-b54a-f2c3ff5dfdae" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_8adead0c-eef3-4cda-9522-7b6aa430f50a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_fdcf55d1-4843-4ab6-adf0-6a56e7da9bc7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e6456202-708b-4ae5-b54a-f2c3ff5dfdae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_fdcf55d1-4843-4ab6-adf0-6a56e7da9bc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_cb7a9b70-1b6b-4914-a9e1-e8aba2ec5ede" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_8dd89e7b-aa15-4e3a-97b8-f07f4a28b129" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cb7a9b70-1b6b-4914-a9e1-e8aba2ec5ede" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_8dd89e7b-aa15-4e3a-97b8-f07f4a28b129" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_dbd8d2b4-503e-4fce-856e-bfb00c8930ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cb7a9b70-1b6b-4914-a9e1-e8aba2ec5ede" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_dbd8d2b4-503e-4fce-856e-bfb00c8930ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_OtherComprehensiveIncomeLossDefinedBenefitPlanAmortizationOfNetActuarialLoss_2ea5a2c8-0bc6-4cad-81ad-73dea97bc7a1" xlink:href="unfi-20230729.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_cb7a9b70-1b6b-4914-a9e1-e8aba2ec5ede" xlink:to="loc_unfi_OtherComprehensiveIncomeLossDefinedBenefitPlanAmortizationOfNetActuarialLoss_2ea5a2c8-0bc6-4cad-81ad-73dea97bc7a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_857ddf1e-a7b9-4082-95fa-639dc58bfed1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cb7a9b70-1b6b-4914-a9e1-e8aba2ec5ede" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_857ddf1e-a7b9-4082-95fa-639dc58bfed1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3898e790-6119-4541-b457-a058c526c171" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_b16cac1b-4bc9-416b-be1c-9e8115714193" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3898e790-6119-4541-b457-a058c526c171" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_b16cac1b-4bc9-416b-be1c-9e8115714193" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_372aca81-5b12-4e08-9a3e-4a81f9704012" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3898e790-6119-4541-b457-a058c526c171" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_372aca81-5b12-4e08-9a3e-4a81f9704012" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_c117f69c-f563-4938-9b81-ac5dff5b0474" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3898e790-6119-4541-b457-a058c526c171" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_c117f69c-f563-4938-9b81-ac5dff5b0474" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_be2ef535-cc38-49ae-8db0-e5f55c3c9b41" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3898e790-6119-4541-b457-a058c526c171" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_be2ef535-cc38-49ae-8db0-e5f55c3c9b41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_0adf001a-515b-4abb-ab1e-0ec23514f0a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3898e790-6119-4541-b457-a058c526c171" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_0adf001a-515b-4abb-ab1e-0ec23514f0a1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BENEFITPLANSAmountsRecognizedinConsolidatedBalanceSheetDetails" xlink:type="simple" xlink:href="unfi-20230729.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_8a3ddb8d-a589-454b-b38b-a62a024bb958" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_a4f6099d-0213-47c2-ae6e-4b914df834c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a3ddb8d-a589-454b-b38b-a62a024bb958" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_a4f6099d-0213-47c2-ae6e-4b914df834c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_6927c687-e03a-4679-ad45-314e1798d790" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a3ddb8d-a589-454b-b38b-a62a024bb958" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_6927c687-e03a-4679-ad45-314e1798d790" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_30879e8e-6bf9-45d4-88fc-057b7b14ad1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a3ddb8d-a589-454b-b38b-a62a024bb958" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_30879e8e-6bf9-45d4-88fc-057b7b14ad1b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESTotalBenefitProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="unfi-20230729.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_5d845190-2452-4682-b332-c022a0e92ae5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsDiscontinuedOperationsExtraordinaryItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_89d25d80-3225-4982-bb83-a2d24f13f9ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d845190-2452-4682-b332-c022a0e92ae5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_89d25d80-3225-4982-bb83-a2d24f13f9ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_146ce778-c028-4d6c-996d-97636370eaea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d845190-2452-4682-b332-c022a0e92ae5" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_146ce778-c028-4d6c-996d-97636370eaea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESIncomeTaxExpenseBenefitDetails" xlink:type="simple" xlink:href="unfi-20230729.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_a4f51086-3b45-458a-90b6-4ad8c639456c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefitIntraperiodTaxAllocation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_64cae458-e075-4b3e-a8b2-13de3c550ace" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4f51086-3b45-458a-90b6-4ad8c639456c" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_64cae458-e075-4b3e-a8b2-13de3c550ace" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_93b39ddc-f976-48ef-969e-922f9a08238a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4f51086-3b45-458a-90b6-4ad8c639456c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_93b39ddc-f976-48ef-969e-922f9a08238a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESFederalandStateIncomeTaxBenefitExpenseDetails" xlink:type="simple" xlink:href="unfi-20230729.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_DeferredIncomeTaxExpenseBenefit_f2d24b35-aac4-4727-a389-ff81b909c761" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_dde428a8-59cc-46bc-b859-ab1b10e4de39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f2d24b35-aac4-4727-a389-ff81b909c761" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_dde428a8-59cc-46bc-b859-ab1b10e4de39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_63c49c49-1af0-4557-839f-348d19486e40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f2d24b35-aac4-4727-a389-ff81b909c761" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_63c49c49-1af0-4557-839f-348d19486e40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_838023b6-40f6-4de7-975c-6b04d81fd7da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f2d24b35-aac4-4727-a389-ff81b909c761" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_838023b6-40f6-4de7-975c-6b04d81fd7da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_5c3d5db4-5ca9-4871-9d9b-4f280f60c3fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_1843a3ef-4d52-47b0-997b-3754ec997de6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5c3d5db4-5ca9-4871-9d9b-4f280f60c3fc" xlink:to="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_1843a3ef-4d52-47b0-997b-3754ec997de6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_daa0fc27-a48b-471d-8b60-aced7c10b019" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5c3d5db4-5ca9-4871-9d9b-4f280f60c3fc" xlink:to="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_daa0fc27-a48b-471d-8b60-aced7c10b019" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_61e841a0-8bc9-4e3d-86b9-11f6a5076639" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5c3d5db4-5ca9-4871-9d9b-4f280f60c3fc" xlink:to="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_61e841a0-8bc9-4e3d-86b9-11f6a5076639" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_e7a9dd1e-9220-4f41-b24a-edc007266671" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_cb16b62c-e751-4051-8390-bffb93f2c162" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e7a9dd1e-9220-4f41-b24a-edc007266671" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_cb16b62c-e751-4051-8390-bffb93f2c162" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_8ca33299-53b0-4b78-99d5-3880ddcbd1ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e7a9dd1e-9220-4f41-b24a-edc007266671" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_8ca33299-53b0-4b78-99d5-3880ddcbd1ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_560b51e8-07bd-4862-b27a-cb2bb6c2c7c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e7a9dd1e-9220-4f41-b24a-edc007266671" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_560b51e8-07bd-4862-b27a-cb2bb6c2c7c7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="unfi-20230729.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_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_6341ac4c-09d8-400e-a248-a45d8afa107a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_6341ac4c-09d8-400e-a248-a45d8afa107a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_35b95c76-c68a-444e-a4f8-bf278fdbc40e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_35b95c76-c68a-444e-a4f8-bf278fdbc40e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_f2f07f46-166b-449e-8181-af71024a83cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_f2f07f46-166b-449e-8181-af71024a83cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_EffectiveIncomeTaxRateReconciliationEnhancedInventoryDonationsAmount_d864f58f-5f2c-4a93-b9cb-e39c4cfb6244" xlink:href="unfi-20230729.xsd#unfi_EffectiveIncomeTaxRateReconciliationEnhancedInventoryDonationsAmount"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:to="loc_unfi_EffectiveIncomeTaxRateReconciliationEnhancedInventoryDonationsAmount_d864f58f-5f2c-4a93-b9cb-e39c4cfb6244" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_6becf918-c3e0-4b7f-a8c4-bc6d19260d06" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_6becf918-c3e0-4b7f-a8c4-bc6d19260d06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_e5b5ae52-756f-4e4a-8664-062e0f5abef7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_e5b5ae52-756f-4e4a-8664-062e0f5abef7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_dcebe2b8-f777-46c6-9cd1-b390746490df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_dcebe2b8-f777-46c6-9cd1-b390746490df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCredits_1868fd69-6224-46aa-a978-76d7d911a3c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationTaxCredits"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_2f1fa1b4-4355-45b7-9aab-a95668991bee" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCredits_1868fd69-6224-46aa-a978-76d7d911a3c8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="unfi-20230729.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_DeferredTaxAssetsNet_8da23623-accb-45c4-945b-367ca90b8de8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_792cda99-ca68-4652-a198-d70b0df06b1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8da23623-accb-45c4-945b-367ca90b8de8" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_792cda99-ca68-4652-a198-d70b0df06b1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_7e1e7957-73ac-4b14-8c39-8f12b8eb66f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8da23623-accb-45c4-945b-367ca90b8de8" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_7e1e7957-73ac-4b14-8c39-8f12b8eb66f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_cd1d652b-e315-4808-8be2-aa67e555e7c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseCapitalizedInventoryCosts_4c2c8ffb-aca4-4a98-bc58-953e40d654e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cd1d652b-e315-4808-8be2-aa67e555e7c6" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseCapitalizedInventoryCosts_4c2c8ffb-aca4-4a98-bc58-953e40d654e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_7ce7ec04-a055-4ef0-850f-60a31377772d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cd1d652b-e315-4808-8be2-aa67e555e7c6" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_7ce7ec04-a055-4ef0-850f-60a31377772d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_6e028258-02a7-44ed-8653-4ea2ed68d9c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cd1d652b-e315-4808-8be2-aa67e555e7c6" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_6e028258-02a7-44ed-8653-4ea2ed68d9c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDerivatives_71367f4a-1ab1-4935-9efe-73bff25eb6b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesDerivatives"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_cd1d652b-e315-4808-8be2-aa67e555e7c6" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDerivatives_71367f4a-1ab1-4935-9efe-73bff25eb6b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_47d1a09c-f083-4f8c-aabd-d11adb1aaef0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_e7f78360-33fc-4676-92d0-f16fdf862784" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_47d1a09c-f083-4f8c-aabd-d11adb1aaef0" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_e7f78360-33fc-4676-92d0-f16fdf862784" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_0b3413b2-9b82-490b-b41a-b8cb4c8e3022" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_47d1a09c-f083-4f8c-aabd-d11adb1aaef0" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_0b3413b2-9b82-490b-b41a-b8cb4c8e3022" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_25392bee-fb94-4fae-8e0c-27df3a49acef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_6eea0b94-a6f9-404d-9bde-1feef27c854e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DeferredTaxLiabilities_25392bee-fb94-4fae-8e0c-27df3a49acef" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_6eea0b94-a6f9-404d-9bde-1feef27c854e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_c39927eb-d722-4a50-bebf-9a5ffa70a5dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DeferredTaxLiabilities_25392bee-fb94-4fae-8e0c-27df3a49acef" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_c39927eb-d722-4a50-bebf-9a5ffa70a5dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_36c2ece2-2792-49b2-99f5-741f14b1f18f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_36c2ece2-2792-49b2-99f5-741f14b1f18f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_478ab590-af79-45cb-8cf9-a9fbd7d7d983" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_478ab590-af79-45cb-8cf9-a9fbd7d7d983" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsDeferredRent_b9a8b4b9-bcd6-470e-9d67-4df12ea32102" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsDeferredRent_b9a8b4b9-bcd6-470e-9d67-4df12ea32102" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_DeferredTaxAssetsNonLossTaxCarryforwards_d6ea0428-c14d-4184-82b5-03b702dbc3d7" xlink:href="unfi-20230729.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_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_unfi_DeferredTaxAssetsNonLossTaxCarryforwards_d6ea0428-c14d-4184-82b5-03b702dbc3d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_1c652f8f-eba5-4469-8761-0d503a3e1949" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_1c652f8f-eba5-4469-8761-0d503a3e1949" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_af98166d-7c90-4f72-b20b-c5baa81b0810" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_af98166d-7c90-4f72-b20b-c5baa81b0810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_c960fbe2-f9b0-4ebf-96f6-812e1fc1985e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_c960fbe2-f9b0-4ebf-96f6-812e1fc1985e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_9f14fd87-b408-49d7-87af-a3292cd12c84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_9f14fd87-b408-49d7-87af-a3292cd12c84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits_568f9576-5a76-40aa-9de3-7faca6d5210d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_b5908641-f0f0-4ba0-b148-66565ff15f3a" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits_568f9576-5a76-40aa-9de3-7faca6d5210d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/EARNINGSPERSHAREDetails" xlink:type="simple" xlink:href="unfi-20230729.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_EarningsPerShareDiluted_2ef0e547-4427-4e4b-bb23-c5da56d451c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_d23fec8f-3d9e-422b-84bd-20f3a20644ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2ef0e547-4427-4e4b-bb23-c5da56d451c6" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_d23fec8f-3d9e-422b-84bd-20f3a20644ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare_73fb7c05-ced4-40a0-9271-2c6477164e7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2ef0e547-4427-4e4b-bb23-c5da56d451c6" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare_73fb7c05-ced4-40a0-9271-2c6477164e7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_acd23cca-af39-4866-a7f9-50dade043714" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_a5eb4cc2-2684-4cb1-a8a0-06802dad8f94" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_acd23cca-af39-4866-a7f9-50dade043714" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_a5eb4cc2-2684-4cb1-a8a0-06802dad8f94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare_79bf2d1e-5b1e-41f0-97f7-4a15ae1a9f2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_acd23cca-af39-4866-a7f9-50dade043714" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare_79bf2d1e-5b1e-41f0-97f7-4a15ae1a9f2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_017ac09a-23fa-4e8a-bca4-724d7520e111" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_7691ba3d-b86f-4023-937a-971743114598" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_017ac09a-23fa-4e8a-bca4-724d7520e111" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_7691ba3d-b86f-4023-937a-971743114598" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_5867f21c-97f9-4fae-ab10-11f4a3e2758e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_017ac09a-23fa-4e8a-bca4-724d7520e111" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_5867f21c-97f9-4fae-ab10-11f4a3e2758e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.unfi.com/role/DISCONTINUEDOPERATIONSOperatingResultsDetails" xlink:type="simple" xlink:href="unfi-20230729.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_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_4d52dce6-f64d-4b3b-85da-c944f75d8887" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_fefbe7a8-d8f7-45f4-94ec-5ffb6ef78d2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4d52dce6-f64d-4b3b-85da-c944f75d8887" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_fefbe7a8-d8f7-45f4-94ec-5ffb6ef78d2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_bc299166-9c42-4270-9fbf-489751658e99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4d52dce6-f64d-4b3b-85da-c944f75d8887" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_bc299166-9c42-4270-9fbf-489751658e99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_c11d5fd6-3ac4-4e0f-9686-c2067c302ede" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_fd119edd-182f-4335-9389-446a385717c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_c11d5fd6-3ac4-4e0f-9686-c2067c302ede" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_fd119edd-182f-4335-9389-446a385717c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_9eb965b1-82c9-47f3-8305-247faf3b22d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_c11d5fd6-3ac4-4e0f-9686-c2067c302ede" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_9eb965b1-82c9-47f3-8305-247faf3b22d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_3fad08e5-bf69-4779-a248-c43698622cd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_adcfc641-d3bb-4452-a820-fc5a368eebca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3fad08e5-bf69-4779-a248-c43698622cd3" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_adcfc641-d3bb-4452-a820-fc5a368eebca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_bd00dd06-94a4-46ad-982c-51d3109b2043" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3fad08e5-bf69-4779-a248-c43698622cd3" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_bd00dd06-94a4-46ad-982c-51d3109b2043" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
