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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:645a4e25-ff86-4d31-800e-23df206a84d2,g:be2664c9-9ece-4c1e-a065-6e69af37ab72-->
<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.farmerbrosco.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="farm-20240630.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_a2cb6509-8a79-4e85-a448-984f0a9e9936" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_64827beb-5936-4790-8217-c7f9566d424c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a2cb6509-8a79-4e85-a448-984f0a9e9936" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_64827beb-5936-4790-8217-c7f9566d424c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_aac0846c-b3b5-4780-8b57-2c157eb7884d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a2cb6509-8a79-4e85-a448-984f0a9e9936" xlink:to="loc_us-gaap_RestrictedCash_aac0846c-b3b5-4780-8b57-2c157eb7884d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_40df1959-a44b-4e17-972f-a6deaf592ad7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a2cb6509-8a79-4e85-a448-984f0a9e9936" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_40df1959-a44b-4e17-972f-a6deaf592ad7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f9043cc9-748a-4866-aeb7-95849ede80a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a2cb6509-8a79-4e85-a448-984f0a9e9936" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f9043cc9-748a-4866-aeb7-95849ede80a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent_e5ea1b80-d523-480d-8ca4-fb6885855f08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a2cb6509-8a79-4e85-a448-984f0a9e9936" xlink:to="loc_us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent_e5ea1b80-d523-480d-8ca4-fb6885855f08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_b1a833fd-06c5-4782-b7d9-75ea0926da54" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a2cb6509-8a79-4e85-a448-984f0a9e9936" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_b1a833fd-06c5-4782-b7d9-75ea0926da54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_4433d808-cf74-4195-a3af-481ad153334b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a2cb6509-8a79-4e85-a448-984f0a9e9936" xlink:to="loc_us-gaap_InventoryNet_4433d808-cf74-4195-a3af-481ad153334b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_57909e77-b36e-4097-8b10-4ba9779d670c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_4e05813b-7b57-4951-bb88-214d1af95f8f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_57909e77-b36e-4097-8b10-4ba9779d670c" xlink:to="loc_us-gaap_Liabilities_4e05813b-7b57-4951-bb88-214d1af95f8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2fa8025c-262f-4b19-88c7-5bca5a106eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_57909e77-b36e-4097-8b10-4ba9779d670c" xlink:to="loc_us-gaap_StockholdersEquity_2fa8025c-262f-4b19-88c7-5bca5a106eb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_d0fc809c-0f57-4e36-bdb0-7691baa50c69" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_57909e77-b36e-4097-8b10-4ba9779d670c" xlink:to="loc_us-gaap_CommitmentsAndContingencies_d0fc809c-0f57-4e36-bdb0-7691baa50c69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_dd322f3b-8a1a-40d6-b0f2-5fcb88a0b7be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_db7a4179-3c57-49a5-ab56-0f64c04a83b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dd322f3b-8a1a-40d6-b0f2-5fcb88a0b7be" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_db7a4179-3c57-49a5-ab56-0f64c04a83b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_6d1e560c-90ca-41be-9bb9-9380514aa0be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dd322f3b-8a1a-40d6-b0f2-5fcb88a0b7be" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_6d1e560c-90ca-41be-9bb9-9380514aa0be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_ea91767a-a925-40c7-838c-6c620eb8d63f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dd322f3b-8a1a-40d6-b0f2-5fcb88a0b7be" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_ea91767a-a925-40c7-838c-6c620eb8d63f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_3e1237dc-e813-4d83-bee3-7e5506c2907a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dd322f3b-8a1a-40d6-b0f2-5fcb88a0b7be" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_3e1237dc-e813-4d83-bee3-7e5506c2907a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_18d3fada-4811-4bf0-8886-e8eafd4c2d5a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dd322f3b-8a1a-40d6-b0f2-5fcb88a0b7be" xlink:to="loc_us-gaap_AssetsCurrent_18d3fada-4811-4bf0-8886-e8eafd4c2d5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_e86d7c01-1929-4c4d-85da-1c0c3b76fcf6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_a210b56a-b423-4267-b156-19769b8eef57" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_e86d7c01-1929-4c4d-85da-1c0c3b76fcf6" xlink:to="loc_us-gaap_AccountsPayableCurrent_a210b56a-b423-4267-b156-19769b8eef57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_a75e8601-8d29-4df8-a01a-f2b5bf56e27d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_e86d7c01-1929-4c4d-85da-1c0c3b76fcf6" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_a75e8601-8d29-4df8-a01a-f2b5bf56e27d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_34f90c9d-3bf5-4fdf-9233-27aebc50cbdf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_e86d7c01-1929-4c4d-85da-1c0c3b76fcf6" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_34f90c9d-3bf5-4fdf-9233-27aebc50cbdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_e35b68b0-962d-420f-93f6-a77a5bf5af77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_e86d7c01-1929-4c4d-85da-1c0c3b76fcf6" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_e35b68b0-962d-420f-93f6-a77a5bf5af77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_080f5f76-baad-4b22-94bd-7d934025aceb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_e86d7c01-1929-4c4d-85da-1c0c3b76fcf6" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_080f5f76-baad-4b22-94bd-7d934025aceb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_71d9a675-b000-40e8-957d-e71ce9a970b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_875b8e15-8607-4b9c-b0e8-7ca2538e1009" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71d9a675-b000-40e8-957d-e71ce9a970b1" xlink:to="loc_us-gaap_CommonStockValue_875b8e15-8607-4b9c-b0e8-7ca2538e1009" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e8018262-8b20-49c3-825d-3979d6e4bea0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71d9a675-b000-40e8-957d-e71ce9a970b1" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e8018262-8b20-49c3-825d-3979d6e4bea0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_c9f56a2c-2204-466a-9025-6b2fc8e6ff86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71d9a675-b000-40e8-957d-e71ce9a970b1" xlink:to="loc_us-gaap_AdditionalPaidInCapital_c9f56a2c-2204-466a-9025-6b2fc8e6ff86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_e249f8a8-c88a-43ba-9387-a57f6a9c070a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71d9a675-b000-40e8-957d-e71ce9a970b1" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_e249f8a8-c88a-43ba-9387-a57f6a9c070a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_c79e3ac8-a7c8-438e-a6ed-62e492d020f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLineOfCredit_afb206b0-afdd-48d5-a597-7508d81a02c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermLineOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c79e3ac8-a7c8-438e-a6ed-62e492d020f0" xlink:to="loc_us-gaap_LongTermLineOfCredit_afb206b0-afdd-48d5-a597-7508d81a02c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_42fcb359-c0bf-4c5d-b626-efbf5445d492" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c79e3ac8-a7c8-438e-a6ed-62e492d020f0" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_42fcb359-c0bf-4c5d-b626-efbf5445d492" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_adb6dafb-ae49-410d-8a0f-16f4faa55326" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c79e3ac8-a7c8-438e-a6ed-62e492d020f0" xlink:to="loc_us-gaap_LiabilitiesCurrent_adb6dafb-ae49-410d-8a0f-16f4faa55326" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WorkersCompensationLiabilityNoncurrent_b1ec07c4-34f2-47c4-b004-cc34ebe06172" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WorkersCompensationLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c79e3ac8-a7c8-438e-a6ed-62e492d020f0" xlink:to="loc_us-gaap_WorkersCompensationLiabilityNoncurrent_b1ec07c4-34f2-47c4-b004-cc34ebe06172" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_3b1764f0-b54d-4c20-9a0a-8e4e66149df7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c79e3ac8-a7c8-438e-a6ed-62e492d020f0" xlink:to="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_3b1764f0-b54d-4c20-9a0a-8e4e66149df7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_2fbcc41e-70ae-442a-b106-3a5a677be65f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c79e3ac8-a7c8-438e-a6ed-62e492d020f0" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_2fbcc41e-70ae-442a-b106-3a5a677be65f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_fff52b61-4b7f-49a4-9717-ee1651b78376" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c79e3ac8-a7c8-438e-a6ed-62e492d020f0" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_fff52b61-4b7f-49a4-9717-ee1651b78376" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="farm-20240630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_1f1b06a2-4876-4a0a-8656-6d1c26d30f7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_65b02c45-0540-4f66-bdba-8c2ed8b4ea9f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_1f1b06a2-4876-4a0a-8656-6d1c26d30f7c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_65b02c45-0540-4f66-bdba-8c2ed8b4ea9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare_df0a862a-3d8c-42a4-86e8-06fbbf404c2f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_1f1b06a2-4876-4a0a-8656-6d1c26d30f7c" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare_df0a862a-3d8c-42a4-86e8-06fbbf404c2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_84106dc4-ad20-41ac-9ff3-53f788ad3166" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_0a98f46c-6d7e-40c4-8d48-bb373750dfa9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_84106dc4-ad20-41ac-9ff3-53f788ad3166" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_0a98f46c-6d7e-40c4-8d48-bb373750dfa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_ccaa9cff-af7f-4cc1-8b48-1c273e6fa636" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_84106dc4-ad20-41ac-9ff3-53f788ad3166" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_ccaa9cff-af7f-4cc1-8b48-1c273e6fa636" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_5c75a937-fdee-4431-b637-11fdb0befa46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_2205210c-4121-4740-8921-752946b6422a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_5c75a937-fdee-4431-b637-11fdb0befa46" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_2205210c-4121-4740-8921-752946b6422a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_b140e3fa-9160-4d6a-adf3-4958a079c903" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_5c75a937-fdee-4431-b637-11fdb0befa46" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_b140e3fa-9160-4d6a-adf3-4958a079c903" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingExpense_d1efed07-63e8-4682-b3cb-c91cb9426560" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SellingExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_5c75a937-fdee-4431-b637-11fdb0befa46" xlink:to="loc_us-gaap_SellingExpense_d1efed07-63e8-4682-b3cb-c91cb9426560" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_7ab6995a-2906-4eff-bc5b-541c18ae948c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_8e133219-06ce-4c0d-8f47-3b49364b440b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_7ab6995a-2906-4eff-bc5b-541c18ae948c" xlink:to="loc_us-gaap_GrossProfit_8e133219-06ce-4c0d-8f47-3b49364b440b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_fd8b7fce-309a-4f9b-8856-fb9253d14700" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_7ab6995a-2906-4eff-bc5b-541c18ae948c" xlink:to="loc_us-gaap_OperatingExpenses_fd8b7fce-309a-4f9b-8856-fb9253d14700" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_2b0f6f74-db82-4287-8523-3e460151136a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_9ca340e9-0442-479d-a53b-e39bd64602ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NonoperatingIncomeExpense_2b0f6f74-db82-4287-8523-3e460151136a" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_9ca340e9-0442-479d-a53b-e39bd64602ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_ee437099-aa40-42f7-bc5e-de8ce94515f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_2b0f6f74-db82-4287-8523-3e460151136a" xlink:to="loc_us-gaap_InterestExpenseNonoperating_ee437099-aa40-42f7-bc5e-de8ce94515f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09727650-4517-4615-829d-718e52f21771" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_89fbcd01-a6d3-41cb-984d-077a3bb76665" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09727650-4517-4615-829d-718e52f21771" xlink:to="loc_us-gaap_OperatingIncomeLoss_89fbcd01-a6d3-41cb-984d-077a3bb76665" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_a7d8a28b-782d-45a9-855a-f42ee8db7b1e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09727650-4517-4615-829d-718e52f21771" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_a7d8a28b-782d-45a9-855a-f42ee8db7b1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_c0737760-94d9-4596-82ea-d3cfdeacb691" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f39a2e96-ba92-4509-81ba-efc82ffa1023" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c0737760-94d9-4596-82ea-d3cfdeacb691" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f39a2e96-ba92-4509-81ba-efc82ffa1023" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_13df7c7f-2245-4801-8cfc-a84ce3eb1253" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c0737760-94d9-4596-82ea-d3cfdeacb691" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_13df7c7f-2245-4801-8cfc-a84ce3eb1253" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_2ede76a6-94da-40d6-9679-abbb8ccc3639" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_c2da1ed9-ed76-4eff-9477-a2b641e9f187" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_2ede76a6-94da-40d6-9679-abbb8ccc3639" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_c2da1ed9-ed76-4eff-9477-a2b641e9f187" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d892a86f-6cf6-43b6-87bd-073462e3a528" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_2ede76a6-94da-40d6-9679-abbb8ccc3639" xlink:to="loc_us-gaap_NetIncomeLoss_d892a86f-6cf6-43b6-87bd-073462e3a528" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d06bd8c2-e7a8-4770-8d85-702a573d11ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_3f72eae0-82a7-44d5-90e9-7467713a48a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NetIncomeLoss_d06bd8c2-e7a8-4770-8d85-702a573d11ef" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_3f72eae0-82a7-44d5-90e9-7467713a48a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_8bfbf1a4-85dd-42a8-a0d4-64a513bbd73c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NetIncomeLoss_d06bd8c2-e7a8-4770-8d85-702a573d11ef" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_8bfbf1a4-85dd-42a8-a0d4-64a513bbd73c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_83669ecf-a94d-4e29-93ea-c2a04037af30" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare_08e23b9a-cfeb-42c5-9b34-3f699ebd582f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_83669ecf-a94d-4e29-93ea-c2a04037af30" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare_08e23b9a-cfeb-42c5-9b34-3f699ebd582f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_9edd573c-a232-41a4-be63-1bfd1b326ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_83669ecf-a94d-4e29-93ea-c2a04037af30" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_9edd573c-a232-41a4-be63-1bfd1b326ac2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="farm-20240630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_71425a3b-10d3-4d62-ad1c-1e7513a5ce3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_80ba9328-4aad-435c-9ead-1469535b129d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_71425a3b-10d3-4d62-ad1c-1e7513a5ce3a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_80ba9328-4aad-435c-9ead-1469535b129d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_6e5e9280-9ad1-47d2-8f2a-0461910e9667" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_71425a3b-10d3-4d62-ad1c-1e7513a5ce3a" xlink:to="loc_us-gaap_NetIncomeLoss_6e5e9280-9ad1-47d2-8f2a-0461910e9667" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_312965dc-2fb4-4cd5-894d-9c6480d0bc64" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_71425a3b-10d3-4d62-ad1c-1e7513a5ce3a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_312965dc-2fb4-4cd5-894d-9c6480d0bc64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OtherComprehensiveIncomeLossCashFlowHedgeReclassificationForDiscontinuanceAfterTax_8dd0951e-2e4b-45d7-b391-4580e01e7056" xlink:href="farm-20240630.xsd#farm_OtherComprehensiveIncomeLossCashFlowHedgeReclassificationForDiscontinuanceAfterTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_71425a3b-10d3-4d62-ad1c-1e7513a5ce3a" xlink:to="loc_farm_OtherComprehensiveIncomeLossCashFlowHedgeReclassificationForDiscontinuanceAfterTax_8dd0951e-2e4b-45d7-b391-4580e01e7056" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_7e0e3c80-39d8-4078-a893-45965565f32f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_71425a3b-10d3-4d62-ad1c-1e7513a5ce3a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_7e0e3c80-39d8-4078-a893-45965565f32f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="farm-20240630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_bceae1d5-be29-471f-bfb5-ef8c99267637" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_5a4be2bd-d0e2-471e-840e-2b22071f392b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_bceae1d5-be29-471f-bfb5-ef8c99267637" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_5a4be2bd-d0e2-471e-840e-2b22071f392b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherPropertyPlantAndEquipment_96001765-da84-47cc-ade2-121bcfd05d39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireOtherPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_bceae1d5-be29-471f-bfb5-ef8c99267637" xlink:to="loc_us-gaap_PaymentsToAcquireOtherPropertyPlantAndEquipment_96001765-da84-47cc-ade2-121bcfd05d39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_ProceedsFromPaymentsForDivestitureOfBusiness_f21482b9-9d24-4730-a226-2b69130f2337" xlink:href="farm-20240630.xsd#farm_ProceedsFromPaymentsForDivestitureOfBusiness"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_bceae1d5-be29-471f-bfb5-ef8c99267637" xlink:to="loc_farm_ProceedsFromPaymentsForDivestitureOfBusiness_f21482b9-9d24-4730-a226-2b69130f2337" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ba850cbe-2982-4cb8-bba8-348923252368" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_8931714a-720c-4c77-9179-58502da38e17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ba850cbe-2982-4cb8-bba8-348923252368" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_8931714a-720c-4c77-9179-58502da38e17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_d5e38b94-10fd-4ec7-a373-ddd1c3e0638a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ba850cbe-2982-4cb8-bba8-348923252368" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_d5e38b94-10fd-4ec7-a373-ddd1c3e0638a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_8d887fea-41a1-4728-b2e1-ba5893d4a090" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ba850cbe-2982-4cb8-bba8-348923252368" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_8d887fea-41a1-4728-b2e1-ba5893d4a090" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_RepaymentsOfCapitalLeaseObligations_b99c8d50-ff6f-4283-9f46-3373b375f53c" xlink:href="farm-20240630.xsd#farm_RepaymentsOfCapitalLeaseObligations"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ba850cbe-2982-4cb8-bba8-348923252368" xlink:to="loc_farm_RepaymentsOfCapitalLeaseObligations_b99c8d50-ff6f-4283-9f46-3373b375f53c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_8d1d02b4-bd99-46f6-b661-c5fb442c84c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_8d1d02b4-bd99-46f6-b661-c5fb442c84c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_83298fa5-167b-4ca8-bc6a-3d2e15fda841" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_83298fa5-167b-4ca8-bc6a-3d2e15fda841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_1ca84fad-f75b-4ca0-8f5c-59d226e9fb9b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_1ca84fad-f75b-4ca0-8f5c-59d226e9fb9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_88b7e989-7e21-4fc8-a90c-5a6e80d62060" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_NetIncomeLoss_88b7e989-7e21-4fc8-a90c-5a6e80d62060" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_acada4f5-a1e2-4e80-9c0a-d2453121f9f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_DepreciationAndAmortization_acada4f5-a1e2-4e80-9c0a-d2453121f9f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_6244f55e-5a11-44a9-9bf3-91437e30e47d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_6244f55e-5a11-44a9-9bf3-91437e30e47d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_0684376b-d8ef-4b50-a8ce-063445fc79f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_0684376b-d8ef-4b50-a8ce-063445fc79f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_655bf245-c779-45c8-8637-023c077b788e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_655bf245-c779-45c8-8637-023c077b788e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities_55e9b702-e4eb-40aa-bbb0-6199d6907ddb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities_55e9b702-e4eb-40aa-bbb0-6199d6907ddb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_2c16248d-bca4-4ff4-8261-1f1f56d517ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_2c16248d-bca4-4ff4-8261-1f1f56d517ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_605a2457-4cbf-4afb-bb9a-5ce77637515d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_605a2457-4cbf-4afb-bb9a-5ce77637515d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_14199f77-a759-46ba-b394-7bd594758ef3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnInvestments"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_GainLossOnInvestments_14199f77-a759-46ba-b394-7bd594758ef3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_ec604fbb-3973-4a4f-aede-e979b5b071a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_ec604fbb-3973-4a4f-aede-e979b5b071a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_5a3ea625-593e-45be-baae-6c24b899fe86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f27b30a1-c3c4-4196-bbf8-b3d57a774345" xlink:to="loc_us-gaap_ShareBasedCompensation_5a3ea625-593e-45be-baae-6c24b899fe86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_67871323-6004-45ee-af42-44527766a5c4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0b9ca585-7223-4b7a-abd4-3ead8e0a7ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_67871323-6004-45ee-af42-44527766a5c4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0b9ca585-7223-4b7a-abd4-3ead8e0a7ae9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_23390fe1-f88f-46fb-a0e5-0a3e0047e718" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_67871323-6004-45ee-af42-44527766a5c4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_23390fe1-f88f-46fb-a0e5-0a3e0047e718" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_94221a2c-60a7-4728-88c7-f117263c4eca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_67871323-6004-45ee-af42-44527766a5c4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_94221a2c-60a7-4728-88c7-f117263c4eca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DiscontinuedOperationsScheduleofConsolidatedOperationsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DiscontinuedOperationsScheduleofConsolidatedOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/DiscontinuedOperationsScheduleofConsolidatedOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_ad56b0ca-e2d0-4c00-8566-3215ca66bf0f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_37c311df-f15d-4874-8a46-0e281a00732f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_ad56b0ca-e2d0-4c00-8566-3215ca66bf0f" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_37c311df-f15d-4874-8a46-0e281a00732f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense_5b43622b-56f8-4d6b-9b4d-9dab6511293e" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_ad56b0ca-e2d0-4c00-8566-3215ca66bf0f" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense_5b43622b-56f8-4d6b-9b4d-9dab6511293e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_4c386057-87af-4aa7-a11b-080ddc45a5b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_f3e13f86-84bb-4b4d-b029-12231557c6d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_4c386057-87af-4aa7-a11b-080ddc45a5b2" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_f3e13f86-84bb-4b4d-b029-12231557c6d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationSellingExpense_82c80935-783a-43d4-966d-79bde61e44ee" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationSellingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_4c386057-87af-4aa7-a11b-080ddc45a5b2" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationSellingExpense_82c80935-783a-43d4-966d-79bde61e44ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationGainLossOnSaleOfAsset_ad04cc1d-a948-4552-afcb-502fca8286d7" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationGainLossOnSaleOfAsset"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_4c386057-87af-4aa7-a11b-080ddc45a5b2" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationGainLossOnSaleOfAsset_ad04cc1d-a948-4552-afcb-502fca8286d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_e734e982-dcef-447a-bfbf-7b77128772fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_13415dc5-3eec-406a-bb85-efbf1ba5edf6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_e734e982-dcef-447a-bfbf-7b77128772fc" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_13415dc5-3eec-406a-bb85-efbf1ba5edf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_29ae2da4-f2cd-4f8b-a67e-dd7b114fa5e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_e734e982-dcef-447a-bfbf-7b77128772fc" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_29ae2da4-f2cd-4f8b-a67e-dd7b114fa5e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_41230fdc-4f6f-4c65-9ccb-43a0567508d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_cf099cc4-c147-4c23-8295-28201906eca8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_41230fdc-4f6f-4c65-9ccb-43a0567508d9" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_cf099cc4-c147-4c23-8295-28201906eca8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_228ade65-18ad-442d-9930-2c81f0ef0bd6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_41230fdc-4f6f-4c65-9ccb-43a0567508d9" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_228ade65-18ad-442d-9930-2c81f0ef0bd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense_512ca5d1-df4d-4db4-a8f7-e848b56b2126" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense_379598e3-0de7-4ce9-8313-34057e59aaf2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense_512ca5d1-df4d-4db4-a8f7-e848b56b2126" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense_379598e3-0de7-4ce9-8313-34057e59aaf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_46a38eae-f7eb-4646-b08d-21e4e1125a86" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense_512ca5d1-df4d-4db4-a8f7-e848b56b2126" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_46a38eae-f7eb-4646-b08d-21e4e1125a86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_ae7bc91b-7009-406d-8e3c-eba4fdc1e34f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_a5ff88a6-38ef-4a25-bd64-5562622b1e17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_ae7bc91b-7009-406d-8e3c-eba4fdc1e34f" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_a5ff88a6-38ef-4a25-bd64-5562622b1e17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_996672ec-5f01-4313-b899-65b095e0995c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_ae7bc91b-7009-406d-8e3c-eba4fdc1e34f" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_996672ec-5f01-4313-b899-65b095e0995c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DerivativeInstrumentsNetRealizedandUnrealizedGainsandLossesRecordedinOthernetDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DerivativeInstrumentsNetRealizedandUnrealizedGainsandLossesRecordedinOthernetDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/DerivativeInstrumentsNetRealizedandUnrealizedGainsandLossesRecordedinOthernetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_565276ae-b9f5-4616-a020-325fcd69b497" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_69a40ec1-b0f1-4870-a8e7-04e2784a01d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_565276ae-b9f5-4616-a020-325fcd69b497" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_69a40ec1-b0f1-4870-a8e7-04e2784a01d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PensionAndOtherPostretirementBenefitsCostReversalOfCostNonoperating_942764bc-3260-4973-a399-778d741e2cd3" xlink:href="farm-20240630.xsd#farm_PensionAndOtherPostretirementBenefitsCostReversalOfCostNonoperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_565276ae-b9f5-4616-a020-325fcd69b497" xlink:to="loc_farm_PensionAndOtherPostretirementBenefitsCostReversalOfCostNonoperating_942764bc-3260-4973-a399-778d741e2cd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OtherInvestmentGainLoss_8a1081d5-1fb4-46c6-990c-7338ff973908" xlink:href="farm-20240630.xsd#farm_OtherInvestmentGainLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_565276ae-b9f5-4616-a020-325fcd69b497" xlink:to="loc_farm_OtherInvestmentGainLoss_8a1081d5-1fb4-46c6-990c-7338ff973908" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DerivativeInstrumentsScheduleofOffsettingDerivativeAssetandLiabilityPositionsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DerivativeInstrumentsScheduleofOffsettingDerivativeAssetandLiabilityPositionsDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/DerivativeInstrumentsScheduleofOffsettingDerivativeAssetandLiabilityPositionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_15c4d011-8860-44e8-809e-16425c6ef5b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_24ef31c7-415f-46d4-b4c3-e3ba4044c0d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_15c4d011-8860-44e8-809e-16425c6ef5b4" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_24ef31c7-415f-46d4-b4c3-e3ba4044c0d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_8bf66056-815d-4af9-835b-089362caf501" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_15c4d011-8860-44e8-809e-16425c6ef5b4" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_8bf66056-815d-4af9-835b-089362caf501" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_72d53cc1-77e3-4b35-87c6-423266a8b4dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_15c4d011-8860-44e8-809e-16425c6ef5b4" xlink:to="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_72d53cc1-77e3-4b35-87c6-423266a8b4dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_21c37197-8835-41b4-949f-2a7352240886" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_35f5299f-f741-43b2-9ba7-a6fe9257c238" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_21c37197-8835-41b4-949f-2a7352240886" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_35f5299f-f741-43b2-9ba7-a6fe9257c238" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_bfc37cfb-1ac3-4bc2-8428-6ec6663591ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_21c37197-8835-41b4-949f-2a7352240886" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_bfc37cfb-1ac3-4bc2-8428-6ec6663591ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_fd252271-4e94-4077-835d-0749ac297474" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_21c37197-8835-41b4-949f-2a7352240886" xlink:to="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_fd252271-4e94-4077-835d-0749ac297474" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/LeasesBalanceSheetDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#LeasesBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/LeasesBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_farm_LeasesLiabilities_a447f1f3-ab87-4f48-95fa-bf3c02323587" xlink:href="farm-20240630.xsd#farm_LeasesLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3d1025ef-7b7c-4e13-9545-fb3102625635" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_LeasesLiabilities_a447f1f3-ab87-4f48-95fa-bf3c02323587" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3d1025ef-7b7c-4e13-9545-fb3102625635" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_84fc56ad-18be-4aa9-b94a-9a7aeaf33fa7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_LeasesLiabilities_a447f1f3-ab87-4f48-95fa-bf3c02323587" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_84fc56ad-18be-4aa9-b94a-9a7aeaf33fa7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_f34de210-ed8f-44a9-bb05-5805aebd1bb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_LeasesLiabilities_a447f1f3-ab87-4f48-95fa-bf3c02323587" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_f34de210-ed8f-44a9-bb05-5805aebd1bb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_4718a03b-f446-4a03-9a62-f39ecf362484" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_LeasesLiabilities_a447f1f3-ab87-4f48-95fa-bf3c02323587" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_4718a03b-f446-4a03-9a62-f39ecf362484" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_LeasesRightOfUseAssets_4bff4aba-913e-4400-8719-aa9f00e613c7" xlink:href="farm-20240630.xsd#farm_LeasesRightOfUseAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_ba668681-f52b-46ea-ad61-c77978d6ac2d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_LeasesRightOfUseAssets_4bff4aba-913e-4400-8719-aa9f00e613c7" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_ba668681-f52b-46ea-ad61-c77978d6ac2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_da492659-9c89-4212-95be-e4934ad3e31f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_LeasesRightOfUseAssets_4bff4aba-913e-4400-8719-aa9f00e613c7" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_da492659-9c89-4212-95be-e4934ad3e31f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/LeasesLeaseExpenseDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#LeasesLeaseExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/LeasesLeaseExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_fa4e0be0-1b54-4c9a-865d-9cb4be7cb127" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_08f37d76-8c55-436c-b4a2-33585e30fcab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_fa4e0be0-1b54-4c9a-865d-9cb4be7cb127" xlink:to="loc_us-gaap_OperatingLeaseCost_08f37d76-8c55-436c-b4a2-33585e30fcab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_244c3038-90b8-47fe-8d94-b818f59c432a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_fa4e0be0-1b54-4c9a-865d-9cb4be7cb127" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_244c3038-90b8-47fe-8d94-b818f59c432a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_a0dd8ae1-ce74-4770-b7c7-85678b9ff635" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_fa4e0be0-1b54-4c9a-865d-9cb4be7cb127" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_a0dd8ae1-ce74-4770-b7c7-85678b9ff635" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/LeasesLeaseObligationsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#LeasesLeaseObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/LeasesLeaseObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f3cddd00-b3fa-4a5b-a617-13e924f623fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_9b07766f-a26d-473a-9425-433ab7388b0d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f3cddd00-b3fa-4a5b-a617-13e924f623fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_9b07766f-a26d-473a-9425-433ab7388b0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_533fb8f7-2249-49a7-ae39-e09c8fb4796c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f3cddd00-b3fa-4a5b-a617-13e924f623fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_533fb8f7-2249-49a7-ae39-e09c8fb4796c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_ee383809-d130-4ddf-8e14-14ae0ab5d294" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f3cddd00-b3fa-4a5b-a617-13e924f623fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_ee383809-d130-4ddf-8e14-14ae0ab5d294" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_a507be2f-f5d6-4e33-8d6e-a7f6ef5d83e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f3cddd00-b3fa-4a5b-a617-13e924f623fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_a507be2f-f5d6-4e33-8d6e-a7f6ef5d83e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_f5f423ee-af97-4371-bb42-2ecc326a3c0f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f3cddd00-b3fa-4a5b-a617-13e924f623fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_f5f423ee-af97-4371-bb42-2ecc326a3c0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_96e5841b-a256-46db-8ad6-cef3ba69aff3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f3cddd00-b3fa-4a5b-a617-13e924f623fd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_96e5841b-a256-46db-8ad6-cef3ba69aff3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_2bc9e6bc-f239-49ec-bfcb-6d319fdae591" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_07d501a2-7259-4544-bbe7-0135ba9673dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2bc9e6bc-f239-49ec-bfcb-6d319fdae591" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_07d501a2-7259-4544-bbe7-0135ba9673dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_4cc2dda3-af3b-4f8d-8aaf-8d99c4f2eff6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2bc9e6bc-f239-49ec-bfcb-6d319fdae591" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_4cc2dda3-af3b-4f8d-8aaf-8d99c4f2eff6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_da8eeb53-d222-4651-a1b9-d6bb72a1cd3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2bc9e6bc-f239-49ec-bfcb-6d319fdae591" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_da8eeb53-d222-4651-a1b9-d6bb72a1cd3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_5caf21ef-6304-40c0-902f-b4926c955a0e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2bc9e6bc-f239-49ec-bfcb-6d319fdae591" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_5caf21ef-6304-40c0-902f-b4926c955a0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_4cd9213d-c907-4920-bce6-7ce06563860f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2bc9e6bc-f239-49ec-bfcb-6d319fdae591" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_4cd9213d-c907-4920-bce6-7ce06563860f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_9d3b5a3b-5f19-4985-95d6-6b46e1fb063c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2bc9e6bc-f239-49ec-bfcb-6d319fdae591" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_9d3b5a3b-5f19-4985-95d6-6b46e1fb063c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/LeasesLeaseObligationsDetails_1" xlink:type="simple" xlink:href="farm-20240630.xsd#LeasesLeaseObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/LeasesLeaseObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_933fed63-4aa7-4e48-b5b8-c3ad725ebb8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_e395066f-8dd1-4e47-be14-886f994ef993" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_933fed63-4aa7-4e48-b5b8-c3ad725ebb8a" xlink:to="loc_us-gaap_OperatingLeaseLiability_e395066f-8dd1-4e47-be14-886f994ef993" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_4569671d-a4d4-410c-bdd8-7aec07eb083c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_933fed63-4aa7-4e48-b5b8-c3ad725ebb8a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_4569671d-a4d4-410c-bdd8-7aec07eb083c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_35b1fa8d-5ac6-4954-962c-73db85fa9a39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_18300948-0fad-429d-b3e6-ea501e19c42a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_35b1fa8d-5ac6-4954-962c-73db85fa9a39" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_18300948-0fad-429d-b3e6-ea501e19c42a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_b806fdc4-2e61-438b-b42a-0fbfeb6f5997" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_35b1fa8d-5ac6-4954-962c-73db85fa9a39" xlink:to="loc_us-gaap_FinanceLeaseLiability_b806fdc4-2e61-438b-b42a-0fbfeb6f5997" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/AccountsReceivableNetScheduleofAccountsReceivableDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#AccountsReceivableNetScheduleofAccountsReceivableDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/AccountsReceivableNetScheduleofAccountsReceivableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_b8fa6d21-30fa-46ef-9ba3-8e693b511dda" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesGrossCurrent_b872b610-9573-42f2-9d39-6d8459ed17e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherReceivablesGrossCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_b8fa6d21-30fa-46ef-9ba3-8e693b511dda" xlink:to="loc_us-gaap_OtherReceivablesGrossCurrent_b872b610-9573-42f2-9d39-6d8459ed17e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_84782b23-5023-476a-b05b-f552d5b4fc0c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_b8fa6d21-30fa-46ef-9ba3-8e693b511dda" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_84782b23-5023-476a-b05b-f552d5b4fc0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_386a24d7-e85f-47c8-8e61-889e13d5022f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_b8fa6d21-30fa-46ef-9ba3-8e693b511dda" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_386a24d7-e85f-47c8-8e61-889e13d5022f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/InventoriesScheduleofInventoryDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#InventoriesScheduleofInventoryDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/InventoriesScheduleofInventoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_2cc16490-ddfc-40f0-a0c9-5d60e8efc7f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcessNetOfReserves_7f3c377f-3095-4729-8e0d-94ba731d8f5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryFinishedGoodsAndWorkInProcessNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_2cc16490-ddfc-40f0-a0c9-5d60e8efc7f2" xlink:to="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcessNetOfReserves_7f3c377f-3095-4729-8e0d-94ba731d8f5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_6a5fec8f-98d1-4ebc-843a-0fa3f6cfdf83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_2cc16490-ddfc-40f0-a0c9-5d60e8efc7f2" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_6a5fec8f-98d1-4ebc-843a-0fa3f6cfdf83" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/PropertyPlantandEquipmentScheduleofPropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#PropertyPlantandEquipmentScheduleofPropertyPlantandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/PropertyPlantandEquipmentScheduleofPropertyPlantandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f0918c36-8db3-4987-8460-5bc3c436c03a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_a26eba15-0cc7-400f-be3a-89df42e8efbe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f0918c36-8db3-4987-8460-5bc3c436c03a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_a26eba15-0cc7-400f-be3a-89df42e8efbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0bfe9382-0093-4c09-808a-31fb24477806" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f0918c36-8db3-4987-8460-5bc3c436c03a" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0bfe9382-0093-4c09-808a-31fb24477806" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_c99eb21c-756a-4f8b-ae59-5f21f450e2ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Land"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f0918c36-8db3-4987-8460-5bc3c436c03a" xlink:to="loc_us-gaap_Land_c99eb21c-756a-4f8b-ae59-5f21f450e2ad" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/IntangibleAssetsAmortizationofIntangibleAssetsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#IntangibleAssetsAmortizationofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/IntangibleAssetsAmortizationofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e7bc0990-b8b0-43f3-bb4b-233e6d353f43" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_a15bbd76-d744-4863-a4db-276575e1074b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e7bc0990-b8b0-43f3-bb4b-233e6d353f43" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_a15bbd76-d744-4863-a4db-276575e1074b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_6a4c1aa6-f97a-4904-8abf-3f6b02539d25" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e7bc0990-b8b0-43f3-bb4b-233e6d353f43" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_6a4c1aa6-f97a-4904-8abf-3f6b02539d25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_48e5ce7c-9e79-42ed-a272-34021d7a2be3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e7bc0990-b8b0-43f3-bb4b-233e6d353f43" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_48e5ce7c-9e79-42ed-a272-34021d7a2be3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_9b7b9dd2-d949-4450-8475-d7d3528f53d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e7bc0990-b8b0-43f3-bb4b-233e6d353f43" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_9b7b9dd2-d949-4450-8475-d7d3528f53d8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansChangeinProjectedBenefitObligationPlanAssetsandNetFundedStatusDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansChangeinProjectedBenefitObligationPlanAssetsandNetFundedStatusDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansChangeinProjectedBenefitObligationPlanAssetsandNetFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_91ff59a5-d859-4c79-bbfa-78353a119a27" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_a422eb2a-97f6-44a3-87d7-8072c4b0e4ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_91ff59a5-d859-4c79-bbfa-78353a119a27" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_a422eb2a-97f6-44a3-87d7-8072c4b0e4ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_2545a546-d36d-4621-ba26-d47cc45a1a9e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_91ff59a5-d859-4c79-bbfa-78353a119a27" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_2545a546-d36d-4621-ba26-d47cc45a1a9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_e8418066-8718-4404-b235-27dc99e102df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_c84bba77-0656-4dbc-b074-a2dd6855e41a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e8418066-8718-4404-b235-27dc99e102df" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_c84bba77-0656-4dbc-b074-a2dd6855e41a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_98a6b2d0-67e3-419a-9c95-bec3f0532972" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e8418066-8718-4404-b235-27dc99e102df" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_98a6b2d0-67e3-419a-9c95-bec3f0532972" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostandAmountsRecognizedinOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostandAmountsRecognizedinOtherComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostandAmountsRecognizedinOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_farm_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentAndNetPeriodicBenefitCostNetOfTax_96704c26-bc5d-4112-a1e8-21df6034cdf0" xlink:href="farm-20240630.xsd#farm_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentAndNetPeriodicBenefitCostNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1be59517-3232-4045-9339-e1c77e3448ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentAndNetPeriodicBenefitCostNetOfTax_96704c26-bc5d-4112-a1e8-21df6034cdf0" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1be59517-3232-4045-9339-e1c77e3448ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_c5e09dbe-e9dd-4889-bc95-14a4dd4bff60" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_farm_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentAndNetPeriodicBenefitCostNetOfTax_96704c26-bc5d-4112-a1e8-21df6034cdf0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_c5e09dbe-e9dd-4889-bc95-14a4dd4bff60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_55d35741-743b-48d8-a151-746faf98f13c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_16dec5a8-056d-4445-be42-b939ae884739" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_55d35741-743b-48d8-a151-746faf98f13c" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_16dec5a8-056d-4445-be42-b939ae884739" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c806dd78-410e-4eac-9888-409d49cb7c41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_55d35741-743b-48d8-a151-746faf98f13c" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c806dd78-410e-4eac-9888-409d49cb7c41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_6032cf02-6507-4c0b-b361-0c84b4aa5f2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_55d35741-743b-48d8-a151-746faf98f13c" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_6032cf02-6507-4c0b-b361-0c84b4aa5f2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_0795c3af-0268-4762-ab64-baa6c7ca6f60" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax_d8561a4a-adc8-4414-bfaf-e039f15e63a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_0795c3af-0268-4762-ab64-baa6c7ca6f60" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax_d8561a4a-adc8-4414-bfaf-e039f15e63a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_26053599-f699-49d5-9113-284fc85f279b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_0795c3af-0268-4762-ab64-baa6c7ca6f60" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_26053599-f699-49d5-9113-284fc85f279b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostsDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3beaaabd-0dd8-402b-819e-da42d7364058" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_7d69ef24-c107-4080-bbbd-ae6a50c7f703" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3beaaabd-0dd8-402b-819e-da42d7364058" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_7d69ef24-c107-4080-bbbd-ae6a50c7f703" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_4091bb7b-79f0-404c-9410-2dc09793e3ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3beaaabd-0dd8-402b-819e-da42d7364058" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_4091bb7b-79f0-404c-9410-2dc09793e3ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_325e8f0a-9151-4745-8165-c51fdad5de1f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3beaaabd-0dd8-402b-819e-da42d7364058" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_325e8f0a-9151-4745-8165-c51fdad5de1f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansOtherChangesinPlanAssetsandBenefitObligationsRecognizedinOCIDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansOtherChangesinPlanAssetsandBenefitObligationsRecognizedinOCIDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansOtherChangesinPlanAssetsandBenefitObligationsRecognizedinOCIDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_97878b82-ece7-4f4e-be0f-ded334d8cca1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_8b1c3531-2631-4d3e-9d96-69976db86ac6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_97878b82-ece7-4f4e-be0f-ded334d8cca1" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_8b1c3531-2631-4d3e-9d96-69976db86ac6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_4d85eca7-4ee1-4b6c-972a-c6be34e8b0cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_97878b82-ece7-4f4e-be0f-ded334d8cca1" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_4d85eca7-4ee1-4b6c-972a-c6be34e8b0cd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/OtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#OtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/OtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_3dafdd52-0dae-4edd-b7e7-3dc0bf3d091f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WorkersCompensationLiabilityCurrent_38166735-2d87-4c6a-9588-1795d3004cf5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WorkersCompensationLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_3dafdd52-0dae-4edd-b7e7-3dc0bf3d091f" xlink:to="loc_us-gaap_WorkersCompensationLiabilityCurrent_38166735-2d87-4c6a-9588-1795d3004cf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementAndPostemploymentBenefitPlansLiabilitiesCurrent_a3667259-51ce-4702-a017-fe9df3f8c4fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementAndPostemploymentBenefitPlansLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_3dafdd52-0dae-4edd-b7e7-3dc0bf3d091f" xlink:to="loc_us-gaap_PensionAndOtherPostretirementAndPostemploymentBenefitPlansLiabilitiesCurrent_a3667259-51ce-4702-a017-fe9df3f8c4fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_429ee119-2374-47d8-a43f-f67e18dd78a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_3dafdd52-0dae-4edd-b7e7-3dc0bf3d091f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_429ee119-2374-47d8-a43f-f67e18dd78a9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/OtherLongTermLiabilitiesDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#OtherLongTermLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/OtherLongTermLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_25e492f0-4316-487a-a66f-60d055009435" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FinanceLeaseLiabilitiesNoncurrent_2a7dc6e4-b4fb-4d92-a086-818b2cdeaf33" xlink:href="farm-20240630.xsd#farm_FinanceLeaseLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_25e492f0-4316-487a-a66f-60d055009435" xlink:to="loc_farm_FinanceLeaseLiabilitiesNoncurrent_2a7dc6e4-b4fb-4d92-a086-818b2cdeaf33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_238c8440-73c8-4928-81ca-aafd8069d8e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_25e492f0-4316-487a-a66f-60d055009435" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_238c8440-73c8-4928-81ca-aafd8069d8e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_MultiemployerPlanHoldbackLiability_676b8cc8-2d32-43e6-a38b-7f1c253b069a" xlink:href="farm-20240630.xsd#farm_MultiemployerPlanHoldbackLiability"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_25e492f0-4316-487a-a66f-60d055009435" xlink:to="loc_farm_MultiemployerPlanHoldbackLiability_676b8cc8-2d32-43e6-a38b-7f1c253b069a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/IncomeTaxesCurrentandDeferredComponentsofProvisionForIncomeTaxesDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#IncomeTaxesCurrentandDeferredComponentsofProvisionForIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/IncomeTaxesCurrentandDeferredComponentsofProvisionForIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_c483a339-2aa3-4c60-9ad8-e1ebd7be98c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_ad3daa7a-4d54-4a38-b6ab-987e089626c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c483a339-2aa3-4c60-9ad8-e1ebd7be98c0" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_ad3daa7a-4d54-4a38-b6ab-987e089626c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_fd5b3438-c530-4e92-ac27-651705f9dcd6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c483a339-2aa3-4c60-9ad8-e1ebd7be98c0" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_fd5b3438-c530-4e92-ac27-651705f9dcd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_88827618-964b-421d-ac8f-8ab119f02cbe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_61668428-f1ac-4c0e-b134-acaf02fdbdbc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_88827618-964b-421d-ac8f-8ab119f02cbe" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_61668428-f1ac-4c0e-b134-acaf02fdbdbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_1cf538b4-d3a2-4650-910c-47392f7ff932" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_88827618-964b-421d-ac8f-8ab119f02cbe" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_1cf538b4-d3a2-4650-910c-47392f7ff932" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_eceefe37-5018-4fc1-9a2b-ec4922e74e01" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_26841741-22a4-4f75-b826-d53056dce4c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_eceefe37-5018-4fc1-9a2b-ec4922e74e01" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_26841741-22a4-4f75-b826-d53056dce4c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_9a26b612-2f5d-41f0-a083-d2200feceba3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_eceefe37-5018-4fc1-9a2b-ec4922e74e01" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_9a26b612-2f5d-41f0-a083-d2200feceba3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/IncomeTaxesReconciliationtoFederalStatutoryRateDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#IncomeTaxesReconciliationtoFederalStatutoryRateDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/IncomeTaxesReconciliationtoFederalStatutoryRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_ff2778db-de2d-4a31-9a73-c05579ea2f9c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_a0f2816f-c179-477f-9188-33e39be284e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_ff2778db-de2d-4a31-9a73-c05579ea2f9c" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_a0f2816f-c179-477f-9188-33e39be284e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_eb4a11f9-2cba-4ef5-9807-3c64bced7c37" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_ff2778db-de2d-4a31-9a73-c05579ea2f9c" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_eb4a11f9-2cba-4ef5-9807-3c64bced7c37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_EffectiveIncomeTaxRateReconciliationPostRetirementMedicalPlanAndOtherOffset_f0056cd4-0483-4582-88de-a19f75b07c83" xlink:href="farm-20240630.xsd#farm_EffectiveIncomeTaxRateReconciliationPostRetirementMedicalPlanAndOtherOffset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_ff2778db-de2d-4a31-9a73-c05579ea2f9c" xlink:to="loc_farm_EffectiveIncomeTaxRateReconciliationPostRetirementMedicalPlanAndOtherOffset_f0056cd4-0483-4582-88de-a19f75b07c83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_3bbc34ad-49b2-4080-9925-14c386bfd9a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_ff2778db-de2d-4a31-9a73-c05579ea2f9c" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_3bbc34ad-49b2-4080-9925-14c386bfd9a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_e33bd1d9-75a0-4f25-823d-5de989947199" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_ff2778db-de2d-4a31-9a73-c05579ea2f9c" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_e33bd1d9-75a0-4f25-823d-5de989947199" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_e9c19575-2c74-40e7-9f28-a3a6722d9eeb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ff2778db-de2d-4a31-9a73-c05579ea2f9c" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_e9c19575-2c74-40e7-9f28-a3a6722d9eeb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/IncomeTaxesComponentsoftheTemporaryDifferencesDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#IncomeTaxesComponentsoftheTemporaryDifferencesDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/IncomeTaxesComponentsoftheTemporaryDifferencesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_810d5ec7-ca69-446c-9799-86878d7055e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_f62d80a8-f72b-4508-bac3-0696bc186c3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_810d5ec7-ca69-446c-9799-86878d7055e0" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_f62d80a8-f72b-4508-bac3-0696bc186c3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DeferredTaxLiabilityOperatingLeaseLiability_4d8ceef9-7727-4c5e-9be1-5d1be1a25564" xlink:href="farm-20240630.xsd#farm_DeferredTaxLiabilityOperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_810d5ec7-ca69-446c-9799-86878d7055e0" xlink:to="loc_farm_DeferredTaxLiabilityOperatingLeaseLiability_4d8ceef9-7727-4c5e-9be1-5d1be1a25564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_f8a48f4c-7e3f-43a7-98fd-c574f6e96d1a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_810d5ec7-ca69-446c-9799-86878d7055e0" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_f8a48f4c-7e3f-43a7-98fd-c574f6e96d1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_93067551-7356-477a-b511-0726deb2ffed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_3a6c4d89-3196-4eba-9cf0-2cd6293348dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_93067551-7356-477a-b511-0726deb2ffed" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_3a6c4d89-3196-4eba-9cf0-2cd6293348dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_15cde74e-8676-4431-b71d-361d861f048b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_93067551-7356-477a-b511-0726deb2ffed" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_15cde74e-8676-4431-b71d-361d861f048b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_5826f8fb-7b35-4a1d-9898-31c5fc779922" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_93067551-7356-477a-b511-0726deb2ffed" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_5826f8fb-7b35-4a1d-9898-31c5fc779922" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_08204743-16de-411c-859f-974ddc712249" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_93067551-7356-477a-b511-0726deb2ffed" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_08204743-16de-411c-859f-974ddc712249" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DeferredTaxAssetRightofUseOperatingLeaseAssets_8a822af9-d561-4ba1-8b31-72d095af6681" xlink:href="farm-20240630.xsd#farm_DeferredTaxAssetRightofUseOperatingLeaseAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_93067551-7356-477a-b511-0726deb2ffed" xlink:to="loc_farm_DeferredTaxAssetRightofUseOperatingLeaseAssets_8a822af9-d561-4ba1-8b31-72d095af6681" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_e581fe18-baf7-42be-8c18-c715c0008a1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_93067551-7356-477a-b511-0726deb2ffed" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_e581fe18-baf7-42be-8c18-c715c0008a1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DeferredTaxAssetsInterestLimitation_0b3247c4-2928-4ad3-bc8d-14fcf6c5cc2d" xlink:href="farm-20240630.xsd#farm_DeferredTaxAssetsInterestLimitation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_93067551-7356-477a-b511-0726deb2ffed" xlink:to="loc_farm_DeferredTaxAssetsInterestLimitation_0b3247c4-2928-4ad3-bc8d-14fcf6c5cc2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_85712fc3-307f-4867-9559-0732bc63efb5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_d363a7d4-26e1-4a52-b661-a00d0fe681e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_DeferredTaxLiabilities_85712fc3-307f-4867-9559-0732bc63efb5" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_d363a7d4-26e1-4a52-b661-a00d0fe681e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_fecce14e-fa40-416a-adc9-f2791a469022" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_DeferredTaxLiabilities_85712fc3-307f-4867-9559-0732bc63efb5" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_fecce14e-fa40-416a-adc9-f2791a469022" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_a42b71e4-c33b-4042-a24a-cdb0a952e328" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_85712fc3-307f-4867-9559-0732bc63efb5" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_a42b71e4-c33b-4042-a24a-cdb0a952e328" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/NetLossPerCommonShareScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsPerShareDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#NetLossPerCommonShareScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.farmerbrosco.com/role/NetLossPerCommonShareScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_888a0000-8584-4edd-93c1-66d055d8f053" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_127a6770-685f-4891-8fc6-2cb7ed0ba5df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_888a0000-8584-4edd-93c1-66d055d8f053" xlink:to="loc_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_127a6770-685f-4891-8fc6-2cb7ed0ba5df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossFromDiscontinuedOperationsAvailableToCommonShareholdersBasic_08c5e5bc-b7ca-423e-872e-998ad8552ff9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossFromDiscontinuedOperationsAvailableToCommonShareholdersBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_888a0000-8584-4edd-93c1-66d055d8f053" xlink:to="loc_us-gaap_NetIncomeLossFromDiscontinuedOperationsAvailableToCommonShareholdersBasic_08c5e5bc-b7ca-423e-872e-998ad8552ff9" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
