<?xml version="1.0" encoding="us-ascii" standalone="yes"?>
<!--XBRL Document Created with XBRLMaster-->
<!--Version: 2.3.08-->
<!--Based on XBRL 2.1-->
<!--Date of creation: 08/27/2026-->
<!--Software architectural design and coding: A'c Dharmapremananda Avt.-->
<!--Copyright (c) 2026 I-NET Business Solutions, Inc. All Rights Reserved.-->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://farmi.com/role/Cover" xlink:href="fami-20260331.xsd#Cover" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/CondensedConsolidatedBalanceSheets" xlink:href="fami-20260331.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="fami-20260331.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/UnauditedCondensedConsolidatedStatementsOfOperationsAndComprehensiveLoss" xlink:href="fami-20260331.xsd#UnauditedCondensedConsolidatedStatementsOfOperationsAndComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/UnauditedCondensedConsolidatedStatementsOfChangesInShareholdersEquity" xlink:href="fami-20260331.xsd#UnauditedCondensedConsolidatedStatementsOfChangesInShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/UnauditedCondensedConsolidatedStatementsOfCashFlows" xlink:href="fami-20260331.xsd#UnauditedCondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OrganizationAndNatureOfBusiness" xlink:href="fami-20260331.xsd#OrganizationAndNatureOfBusiness" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="fami-20260331.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AccountsReceivableNet" xlink:href="fami-20260331.xsd#AccountsReceivableNet" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AdvancesToSuppliersNet" xlink:href="fami-20260331.xsd#AdvancesToSuppliersNet" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/NoteReceivable" xlink:href="fami-20260331.xsd#NoteReceivable" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/Inventories" xlink:href="fami-20260331.xsd#Inventories" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OtherCurrentAssets" xlink:href="fami-20260331.xsd#OtherCurrentAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermInvestmentsNet" xlink:href="fami-20260331.xsd#LongTermInvestmentsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LoanToAThirdParty" xlink:href="fami-20260331.xsd#LoanToAThirdParty" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SecurityDeposits" xlink:href="fami-20260331.xsd#SecurityDeposits" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/PropertyAndEquipmentNet" xlink:href="fami-20260331.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/PromissoryNotes" xlink:href="fami-20260331.xsd#PromissoryNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OtherCurrentLiabilities" xlink:href="fami-20260331.xsd#OtherCurrentLiabilities" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermLoan" xlink:href="fami-20260331.xsd#LongTermLoan" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/ShareholdersEquity" xlink:href="fami-20260331.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/ConcentrationOfMajorCustomersAndSuppliers" xlink:href="fami-20260331.xsd#ConcentrationOfMajorCustomersAndSuppliers" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/Leases" xlink:href="fami-20260331.xsd#Leases" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SegmentReporting" xlink:href="fami-20260331.xsd#SegmentReporting" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/RelatedPartyTransactions" xlink:href="fami-20260331.xsd#RelatedPartyTransactions" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SubsequentEvents" xlink:href="fami-20260331.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="fami-20260331.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OrganizationAndNatureOfBusinessTables" xlink:href="fami-20260331.xsd#OrganizationAndNatureOfBusinessTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="fami-20260331.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AccountsReceivableNetTables" xlink:href="fami-20260331.xsd#AccountsReceivableNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AdvancesToSuppliersNetTables" xlink:href="fami-20260331.xsd#AdvancesToSuppliersNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/NoteReceivableTables" xlink:href="fami-20260331.xsd#NoteReceivableTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/InventoriesTables" xlink:href="fami-20260331.xsd#InventoriesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OtherCurrentAssetsTables" xlink:href="fami-20260331.xsd#OtherCurrentAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermInvestmentsNetTables" xlink:href="fami-20260331.xsd#LongTermInvestmentsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/PropertyAndEquipmentNetTables" xlink:href="fami-20260331.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OtherCurrentLiabilitiesTables" xlink:href="fami-20260331.xsd#OtherCurrentLiabilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermLoanTables" xlink:href="fami-20260331.xsd#LongTermLoanTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/ShareholdersEquityTables" xlink:href="fami-20260331.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LeasesTables" xlink:href="fami-20260331.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SegmentReportingTables" xlink:href="fami-20260331.xsd#SegmentReportingTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/RelatedPartyTransactionsTables" xlink:href="fami-20260331.xsd#RelatedPartyTransactionsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OrganizationAndNatureOfBusinessDetails" xlink:href="fami-20260331.xsd#OrganizationAndNatureOfBusinessDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OrganizationAndNatureOfBusinessDetailsNarrative" xlink:href="fami-20260331.xsd#OrganizationAndNatureOfBusinessDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesDetails" xlink:href="fami-20260331.xsd#SummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesDetails1" xlink:href="fami-20260331.xsd#SummaryOfSignificantAccountingPoliciesDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesDetails2" xlink:href="fami-20260331.xsd#SummaryOfSignificantAccountingPoliciesDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:href="fami-20260331.xsd#SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AccountsReceivableNetDetails" xlink:href="fami-20260331.xsd#AccountsReceivableNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AccountsReceivableNetDetails1" xlink:href="fami-20260331.xsd#AccountsReceivableNetDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AccountsReceivableNetDetailsNarrative" xlink:href="fami-20260331.xsd#AccountsReceivableNetDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AdvancesToSuppliersNetDetails" xlink:href="fami-20260331.xsd#AdvancesToSuppliersNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AdvancesToSuppliersNetDetails1" xlink:href="fami-20260331.xsd#AdvancesToSuppliersNetDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/AdvancesToSuppliersNetDetailsNarrative" xlink:href="fami-20260331.xsd#AdvancesToSuppliersNetDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/NoteReceivableDetails" xlink:href="fami-20260331.xsd#NoteReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/NoteReceivableDetailsNarrative" xlink:href="fami-20260331.xsd#NoteReceivableDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/InventoriesNetDetails" xlink:href="fami-20260331.xsd#InventoriesNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/InventoriesNetDetailsNarrative" xlink:href="fami-20260331.xsd#InventoriesNetDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OtherCurrentAssetsDetails" xlink:href="fami-20260331.xsd#OtherCurrentAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OtherCurrentAssetsDetails1" xlink:href="fami-20260331.xsd#OtherCurrentAssetsDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermInvestmentsNetDetails" xlink:href="fami-20260331.xsd#LongTermInvestmentsNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermInvestmentsNetDetailsNarrative" xlink:href="fami-20260331.xsd#LongTermInvestmentsNetDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LoanToAThirdPartyDetailsNarrative" xlink:href="fami-20260331.xsd#LoanToAThirdPartyDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/PropertyAndEquipmentNetDetails" xlink:href="fami-20260331.xsd#PropertyAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/PropertyAndEquipmentNetDetailsNarrative" xlink:href="fami-20260331.xsd#PropertyAndEquipmentNetDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/PromissoryNotesDetailsNarrative" xlink:href="fami-20260331.xsd#PromissoryNotesDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/OtherCurrentLiabilitiesDetails" xlink:href="fami-20260331.xsd#OtherCurrentLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermLoansDetails" xlink:href="fami-20260331.xsd#LongTermLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermLoansDetails1" xlink:href="fami-20260331.xsd#LongTermLoansDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LongTermLoansDetailsNarrative" xlink:href="fami-20260331.xsd#LongTermLoansDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/ShareholdersEquityDetails" xlink:href="fami-20260331.xsd#ShareholdersEquityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/ShareholdersEquityDetails1" xlink:href="fami-20260331.xsd#ShareholdersEquityDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/ShareholdersEquityDetailsNarrative" xlink:href="fami-20260331.xsd#ShareholdersEquityDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/ConcentrationOfMajorCustomersAndSuppliersDetailsNarrative" xlink:href="fami-20260331.xsd#ConcentrationOfMajorCustomersAndSuppliersDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LeasesDetails" xlink:href="fami-20260331.xsd#LeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LeasesDetails1" xlink:href="fami-20260331.xsd#LeasesDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/LeasesDetailsNarrative" xlink:href="fami-20260331.xsd#LeasesDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SegmentReportingDetails" xlink:href="fami-20260331.xsd#SegmentReportingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SegmentReportingDetails1" xlink:href="fami-20260331.xsd#SegmentReportingDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SegmentReportingDetails2" xlink:href="fami-20260331.xsd#SegmentReportingDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SegmentReportingDetails3" xlink:href="fami-20260331.xsd#SegmentReportingDetails3" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SegmentReportingDetails4" xlink:href="fami-20260331.xsd#SegmentReportingDetails4" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SegmentReportingDetailsNarrative" xlink:href="fami-20260331.xsd#SegmentReportingDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/RelatedPartyTransactionsDetails" xlink:href="fami-20260331.xsd#RelatedPartyTransactionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/RelatedPartyTransactionsDetails1" xlink:href="fami-20260331.xsd#RelatedPartyTransactionsDetails1" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/RelatedPartyTransactionsDetails2" xlink:href="fami-20260331.xsd#RelatedPartyTransactionsDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:href="fami-20260331.xsd#RelatedPartyTransactionsDetailsNarrative" xlink:type="simple" />
  <link:roleRef roleURI="http://farmi.com/role/SubsequentEventsDetailsNarrative" xlink:href="fami-20260331.xsd#SubsequentEventsDetailsNarrative" xlink:type="simple" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/Cover" xlink:title="00000001 - Document - Document and Entity Information" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/CondensedConsolidatedBalanceSheets" xlink:title="110200 - Statement - Condensed Consolidated Balance Sheets">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" />
    <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaapAccountsReceivableNetCurrent" />
    <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAccountsReceivableNetCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet" />
    <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapInventoryNet" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_DueFromRelatedPartiesReceivablesCurrent" xlink:label="loc_famiDueFromRelatedPartiesReceivablesCurrent" />
    <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_famiDueFromRelatedPartiesReceivablesCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaapOtherAssetsCurrent" />
    <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapOtherAssetsCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesAndLoansReceivableNetCurrent" xlink:label="loc_us-gaapNotesAndLoansReceivableNetCurrent" />
    <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapNotesAndLoansReceivableNetCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_AdvancesToSuppliersNetCurrent" xlink:label="loc_famiAdvancesToSuppliersNetCurrent" />
    <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_famiAdvancesToSuppliersNetCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent" xlink:label="loc_us-gaapAssetsNoncurrent" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset" />
    <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsNoncurrent" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAsset" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaapLongTermInvestments" />
    <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsNoncurrent" xlink:to="loc_us-gaapLongTermInvestments" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecurityDeposit" xlink:label="loc_us-gaapSecurityDeposit" />
    <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsNoncurrent" xlink:to="loc_us-gaapSecurityDeposit" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
    <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsNoncurrent" xlink:to="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesAndLoansReceivableNetNoncurrent" xlink:label="loc_us-gaapNotesAndLoansReceivableNetNoncurrent" />
    <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsNoncurrent" xlink:to="loc_us-gaapNotesAndLoansReceivableNetNoncurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_LoanDueFromThirdPartyNoncurrent" xlink:label="loc_famiLoanDueFromThirdPartyNoncurrent" />
    <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsNoncurrent" xlink:to="loc_famiLoanDueFromThirdPartyNoncurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets" />
    <link:calculationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAssetsCurrent" xlink:type="arc" weight="1" />
    <link:calculationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAssetsNoncurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesPayableCurrent" xlink:label="loc_us-gaapNotesPayableCurrent" />
    <link:calculationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapNotesPayableCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaapAccountsPayableCurrent" />
    <link:calculationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccountsPayableCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityCurrent" />
    <link:calculationArc order="19" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapOperatingLeaseLiabilityCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaapOtherLiabilitiesCurrent" />
    <link:calculationArc order="20" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapOtherLiabilitiesCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_RelatedPartyTransactionsDueToRelatedPartyCurrent" xlink:label="loc_famiRelatedPartyTransactionsDueToRelatedPartyCurrent" />
    <link:calculationArc order="21" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_famiRelatedPartyTransactionsDueToRelatedPartyCurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaapLiabilitiesNoncurrent" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaapLongTermDebtNoncurrent" />
    <link:calculationArc order="22" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesNoncurrent" xlink:to="loc_us-gaapLongTermDebtNoncurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityNoncurrent" />
    <link:calculationArc order="23" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesNoncurrent" xlink:to="loc_us-gaapOperatingLeaseLiabilityNoncurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaapLiabilities" />
    <link:calculationArc order="24" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLiabilitiesCurrent" xlink:type="arc" weight="1" />
    <link:calculationArc order="25" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLiabilitiesNoncurrent" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue" />
    <link:calculationArc order="26" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapCommonStockValue" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaapAdditionalPaidInCapital" />
    <link:calculationArc order="27" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAdditionalPaidInCapital" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit" />
    <link:calculationArc order="28" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" />
    <link:calculationArc order="29" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_CommonStocksSharesSubscriptions" xlink:label="loc_famiCommonStocksSharesSubscriptions" />
    <link:calculationArc order="30" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_famiCommonStocksSharesSubscriptions" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_StatutoryReserve" xlink:label="loc_famiStatutoryReserve" />
    <link:calculationArc order="31" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_famiStatutoryReserve" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" />
    <link:calculationArc order="32" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapStockholdersEquity" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaapMinorityInterest" />
    <link:calculationArc order="33" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapMinorityInterest" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity" />
    <link:calculationArc order="34" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLiabilities" xlink:type="arc" weight="1" />
    <link:calculationArc order="35" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:title="110201 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/UnauditedCondensedConsolidatedStatementsOfOperationsAndComprehensiveLoss" xlink:title="124100 - Statement - Unaudited Condensed Consolidated Statements of Operations and Comprehensive Loss">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues" xlink:label="loc_us-gaapRevenues" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_RevenueFromThirdParties" xlink:label="loc_famiRevenueFromThirdParties" />
    <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapRevenues" xlink:to="loc_famiRevenueFromThirdParties" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_RevenuesFromRelatedParties" xlink:label="loc_famiRevenuesFromRelatedParties" />
    <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapRevenues" xlink:to="loc_famiRevenuesFromRelatedParties" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaapGrossProfit" />
    <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapRevenues" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaapCostOfRevenue" />
    <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapCostOfRevenue" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaapOperatingExpenses" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaapSellingAndMarketingExpense" />
    <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapSellingAndMarketingExpense" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaapGeneralAndAdministrativeExpense" />
    <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapGeneralAndAdministrativeExpense" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfInvestments" xlink:label="loc_us-gaapImpairmentOfInvestments" />
    <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapImpairmentOfInvestments" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_AllowanceReversalOfAllowanceForCreditLosses" xlink:label="loc_famiAllowanceReversalOfAllowanceForCreditLosses" />
    <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_famiAllowanceReversalOfAllowanceForCreditLosses" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaapOperatingIncomeLoss" />
    <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapGrossProfit" xlink:type="arc" weight="1" />
    <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapOperatingExpenses" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaapOtherNonoperatingIncomeExpense" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating" xlink:label="loc_us-gaapInterestExpenseNonoperating" />
    <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapInterestExpenseNonoperating" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaapAmortizationOfFinancingCosts" />
    <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapAmortizationOfFinancingCosts" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaapIncomeLossFromEquityMethodInvestments" />
    <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapIncomeLossFromEquityMethodInvestments" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainOrLossOnSaleOfStockInSubsidiary" xlink:label="loc_us-gaapGainOrLossOnSaleOfStockInSubsidiary" />
    <link:calculationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapGainOrLossOnSaleOfStockInSubsidiary" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOther" xlink:label="loc_us-gaapInterestIncomeOther" />
    <link:calculationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapInterestIncomeOther" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIncome" xlink:label="loc_us-gaapOtherIncome" />
    <link:calculationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:to="loc_us-gaapOtherIncome" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" />
    <link:calculationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapOperatingIncomeLoss" xlink:type="arc" weight="1" />
    <link:calculationArc order="19" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss" />
    <link:calculationArc order="20" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit" />
    <link:calculationArc order="21" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapIncomeTaxExpenseBenefit" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapIncomeLossIncludingPortionAttributableToNoncontrollingInterest" />
    <link:calculationArc order="22" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapIncomeLossIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1" />
    <link:calculationArc order="23" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapProfitLoss" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" />
    <link:calculationArc order="24" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax" xlink:to="loc_us-gaapOtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_NetProfitLoss" xlink:label="loc_famiNetProfitLoss" />
    <link:calculationArc order="25" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax" xlink:to="loc_famiNetProfitLoss" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" />
    <link:calculationArc order="26" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:type="arc" weight="-1" />
    <link:calculationArc order="27" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/UnauditedCondensedConsolidatedStatementsOfChangesInShareholdersEquity" xlink:title="148600 - Statement - Unaudited Condensed Consolidated Statements of Changes in Shareholders Equity" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/UnauditedCondensedConsolidatedStatementsOfCashFlows" xlink:title="170000 - Statement - Unaudited Condensed Consolidated Statements of Cash Flows">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss" />
    <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapProfitLoss" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_ValuationAllowanceChangeInAccountsReceivables" xlink:label="loc_famiValuationAllowanceChangeInAccountsReceivables" />
    <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_famiValuationAllowanceChangeInAccountsReceivables" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_ValuationAllowanceChangeInAdvancesToSuppliers" xlink:label="loc_famiValuationAllowanceChangeInAdvancesToSuppliers" />
    <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_famiValuationAllowanceChangeInAdvancesToSuppliers" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_ValuationAllowanceChangeInOtherCurrentAssets" xlink:label="loc_famiValuationAllowanceChangeInOtherCurrentAssets" />
    <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_famiValuationAllowanceChangeInOtherCurrentAssets" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfInvestments" xlink:label="loc_us-gaapImpairmentOfInvestments" />
    <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapImpairmentOfInvestments" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaapDepreciation" />
    <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDepreciation" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAssetAmortizationExpense" />
    <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAssetAmortizationExpense" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossOnSaleOfInvestments" xlink:label="loc_us-gaapLossOnSaleOfInvestments" />
    <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapLossOnSaleOfInvestments" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainOrLossOnSaleOfStockInSubsidiary" xlink:label="loc_us-gaapGainOrLossOnSaleOfStockInSubsidiary" />
    <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapGainOrLossOnSaleOfStockInSubsidiary" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaapAmortizationOfFinancingCosts" />
    <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapAmortizationOfFinancingCosts" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOther" xlink:label="loc_us-gaapInterestExpenseOther" />
    <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapInterestExpenseOther" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_AmortizationOfBiologicalAssets" xlink:label="loc_famiAmortizationOfBiologicalAssets" />
    <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_famiAmortizationOfBiologicalAssets" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsReceivable" />
    <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsReceivable" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_IncreaseDecreaseInAdvancesToSuppliers" xlink:label="loc_famiIncreaseDecreaseInAdvancesToSuppliers" />
    <link:calculationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_famiIncreaseDecreaseInAdvancesToSuppliers" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInNotesReceivables" xlink:label="loc_us-gaapIncreaseDecreaseInNotesReceivables" />
    <link:calculationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInNotesReceivables" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaapIncreaseDecreaseInInventories" />
    <link:calculationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInInventories" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets" xlink:label="loc_us-gaapIncreaseDecreaseInOtherCurrentAssets" />
    <link:calculationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOtherCurrentAssets" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:label="loc_us-gaapIncreaseDecreaseInOtherNoncurrentAssets" />
    <link:calculationArc order="19" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOtherNoncurrentAssets" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsPayable" />
    <link:calculationArc order="20" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsPayable" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xlink:label="loc_us-gaapIncreaseDecreaseInOperatingLeaseLiability" />
    <link:calculationArc order="21" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOperatingLeaseLiability" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherCurrentLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInOtherCurrentLiabilities" />
    <link:calculationArc order="22" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOtherCurrentLiabilities" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" />
    <link:calculationArc order="23" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLongtermInvestments" xlink:label="loc_us-gaapPaymentsToAcquireLongtermInvestments" />
    <link:calculationArc order="24" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapPaymentsToAcquireLongtermInvestments" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_PaymentForLoanToAThirdParty" xlink:label="loc_famiPaymentForLoanToAThirdParty" />
    <link:calculationArc order="25" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_famiPaymentForLoanToAThirdParty" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_ProceedsFromRepaymentOfLoanToAThirdParty" xlink:label="loc_famiProceedsFromRepaymentOfLoanToAThirdParty" />
    <link:calculationArc order="26" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_famiProceedsFromRepaymentOfLoanToAThirdParty" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_ProceedsFromDisposalOfSubsidiariesNetOfCash" xlink:label="loc_famiProceedsFromDisposalOfSubsidiariesNetOfCash" />
    <link:calculationArc order="27" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_famiProceedsFromDisposalOfSubsidiariesNetOfCash" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfNotesPayable" xlink:label="loc_us-gaapRepaymentsOfNotesPayable" />
    <link:calculationArc order="28" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapRepaymentsOfNotesPayable" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaapProceedsFromIssuanceOfDebt" />
    <link:calculationArc order="29" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromIssuanceOfDebt" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaapRepaymentsOfDebt" />
    <link:calculationArc order="30" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapRepaymentsOfDebt" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaapProceedsFromIssuanceOfCommonStock" />
    <link:calculationArc order="31" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromIssuanceOfCommonStock" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_PaymentForAdvanceToARelatedParty" xlink:label="loc_famiPaymentForAdvanceToARelatedParty" />
    <link:calculationArc order="32" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_famiPaymentForAdvanceToARelatedParty" xlink:type="arc" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromRelatedPartyDebt" xlink:label="loc_us-gaapProceedsFromRelatedPartyDebt" />
    <link:calculationArc order="33" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromRelatedPartyDebt" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" />
    <link:calculationArc order="34" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:type="arc" weight="1" />
    <link:calculationArc order="35" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:type="arc" weight="1" />
    <link:calculationArc order="36" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaapEffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" />
    <link:calculationArc order="37" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaapEffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_TotalCashAndRestrictedCash" xlink:label="loc_famiTotalCashAndRestrictedCash" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_CashForThePeriod" xlink:label="loc_famiCashForThePeriod" />
    <link:calculationArc order="38" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_famiTotalCashAndRestrictedCash" xlink:to="loc_famiCashForThePeriod" xlink:type="arc" weight="1" />
    <link:loc xlink:type="locator" xlink:href="fami-20260331.xsd#fami_RestrictedCashForThePeriod" xlink:label="loc_famiRestrictedCashForThePeriod" />
    <link:calculationArc order="39" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_famiTotalCashAndRestrictedCash" xlink:to="loc_famiRestrictedCashForThePeriod" xlink:type="arc" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OrganizationAndNatureOfBusiness" xlink:title="200000 - Disclosure - Organization and nature of business" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SummaryOfSignificantAccountingPolicies" xlink:title="290000 - Disclosure - Summary of significant accounting policies" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AccountsReceivableNet" xlink:title="320000 - Disclosure - Accounts receivable net" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AdvancesToSuppliersNet" xlink:title="320001 - Disclosure - Advances to suppliers net" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/NoteReceivable" xlink:title="320002 - Disclosure - Note receivable" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/Inventories" xlink:title="340000 - Disclosure - Inventories" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OtherCurrentAssets" xlink:title="340001 - Disclosure - Other current assets" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermInvestmentsNet" xlink:title="340002 - Disclosure - Long-term investments, net" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LoanToAThirdParty" xlink:title="340003 - Disclosure - Loan to a third party" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SecurityDeposits" xlink:title="340004 - Disclosure - Security deposits" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/PropertyAndEquipmentNet" xlink:title="360000 - Disclosure - Property and equipment net" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/PromissoryNotes" xlink:title="360001 - Disclosure - Promissory notes" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OtherCurrentLiabilities" xlink:title="360002 - Disclosure - Other current liabilities" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermLoan" xlink:title="460000 - Disclosure - Long-term loan" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/ShareholdersEquity" xlink:title="500000 - Disclosure - Shareholders Equity" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/ConcentrationOfMajorCustomersAndSuppliers" xlink:title="500001 - Disclosure - Concentration of major customers and suppliers" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/Leases" xlink:title="842000 - Disclosure - Leases" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SegmentReporting" xlink:title="842001 - Disclosure - Segment reporting" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/RelatedPartyTransactions" xlink:title="845000 - Disclosure - Related party transactions" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SubsequentEvents" xlink:title="870000 - Disclosure - Subsequent events" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:title="870001 - Disclosure - Summary of significant accounting policies (Policies)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OrganizationAndNatureOfBusinessTables" xlink:title="870002 - Disclosure - Organization and nature of business (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:title="870003 - Disclosure - Summary of significant accounting policies (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AccountsReceivableNetTables" xlink:title="870004 - Disclosure - Accounts receivable net (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AdvancesToSuppliersNetTables" xlink:title="870005 - Disclosure - Advances to suppliers net (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/NoteReceivableTables" xlink:title="870006 - Disclosure - Note receivable (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/InventoriesTables" xlink:title="870007 - Disclosure - Inventories (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OtherCurrentAssetsTables" xlink:title="870008 - Disclosure - Other current assets (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermInvestmentsNetTables" xlink:title="870009 - Disclosure - Long-term investments net (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/PropertyAndEquipmentNetTables" xlink:title="870010 - Disclosure - Property and equipment net (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OtherCurrentLiabilitiesTables" xlink:title="870011 - Disclosure - Other current liabilities (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermLoanTables" xlink:title="870012 - Disclosure - Long-term loan (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/ShareholdersEquityTables" xlink:title="870013 - Disclosure - Shareholders Equity (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LeasesTables" xlink:title="870014 - Disclosure - Leases (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SegmentReportingTables" xlink:title="870015 - Disclosure - Segment reporting (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/RelatedPartyTransactionsTables" xlink:title="870016 - Disclosure - Related party transactions (Tables)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OrganizationAndNatureOfBusinessDetails" xlink:title="870017 - Disclosure - Organization and nature of business (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OrganizationAndNatureOfBusinessDetailsNarrative" xlink:title="870018 - Disclosure - Organization and nature of business (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesDetails" xlink:title="870019 - Disclosure - Summary of significant accounting policies (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesDetails1" xlink:title="870020 - Disclosure - Summary of significant accounting policies (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesDetails2" xlink:title="870021 - Disclosure - Summary of significant accounting policies (Details 2)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:title="870022 - Disclosure - Summary of significant accounting policies (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AccountsReceivableNetDetails" xlink:title="870023 - Disclosure - Accounts receivable net (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AccountsReceivableNetDetails1" xlink:title="870024 - Disclosure - Accounts receivable net (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AccountsReceivableNetDetailsNarrative" xlink:title="870025 - Disclosure - Accounts receivable net (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AdvancesToSuppliersNetDetails" xlink:title="870026 - Disclosure - Advances to suppliers net (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AdvancesToSuppliersNetDetails1" xlink:title="870027 - Disclosure - Advances to suppliers net (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/AdvancesToSuppliersNetDetailsNarrative" xlink:title="870028 - Disclosure - Advances to suppliers net (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/NoteReceivableDetails" xlink:title="870029 - Disclosure - Note receivable (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/NoteReceivableDetailsNarrative" xlink:title="870030 - Disclosure - Note receivable (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/InventoriesNetDetails" xlink:title="870031 - Disclosure - Inventories net (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/InventoriesNetDetailsNarrative" xlink:title="870032 - Disclosure - Inventories net (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OtherCurrentAssetsDetails" xlink:title="870033 - Disclosure - Other current assets (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OtherCurrentAssetsDetails1" xlink:title="870034 - Disclosure - Other current assets (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermInvestmentsNetDetails" xlink:title="870035 - Disclosure - Long-term investments, net (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermInvestmentsNetDetailsNarrative" xlink:title="870036 - Disclosure - Long-term investments, net (Details narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LoanToAThirdPartyDetailsNarrative" xlink:title="870037 - Disclosure - Loan to a third party (Details narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/PropertyAndEquipmentNetDetails" xlink:title="870038 - Disclosure - Property and equipment net (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/PropertyAndEquipmentNetDetailsNarrative" xlink:title="870039 - Disclosure - Property and equipment net (Details narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/PromissoryNotesDetailsNarrative" xlink:title="870040 - Disclosure - Promissory notes (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/OtherCurrentLiabilitiesDetails" xlink:title="870041 - Disclosure - Other current liabilities (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermLoansDetails" xlink:title="870042 - Disclosure - Long-term loans (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermLoansDetails1" xlink:title="870043 - Disclosure - Long-term loans (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LongTermLoansDetailsNarrative" xlink:title="870044 - Disclosure - Long-term loans (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/ShareholdersEquityDetails" xlink:title="870045 - Disclosure - Shareholders equity (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/ShareholdersEquityDetails1" xlink:title="870046 - Disclosure - Shareholders equity (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/ShareholdersEquityDetailsNarrative" xlink:title="870047 - Disclosure - Shareholders equity (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/ConcentrationOfMajorCustomersAndSuppliersDetailsNarrative" xlink:title="870048 - Disclosure - Concentration of major customers and suppliers (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LeasesDetails" xlink:title="870049 - Disclosure - Leases (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LeasesDetails1" xlink:title="870050 - Disclosure - Leases (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/LeasesDetailsNarrative" xlink:title="870051 - Disclosure - Leases (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SegmentReportingDetails" xlink:title="870052 - Disclosure - Segment reporting (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SegmentReportingDetails1" xlink:title="870053 - Disclosure - Segment reporting (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SegmentReportingDetails2" xlink:title="870054 - Disclosure - Segment reporting (Details 2)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SegmentReportingDetails3" xlink:title="870055 - Disclosure - Segment reporting (Details 3)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SegmentReportingDetails4" xlink:title="870056 - Disclosure - Segment reporting (Details 4)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SegmentReportingDetailsNarrative" xlink:title="870057 - Disclosure - Segment reporting (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/RelatedPartyTransactionsDetails" xlink:title="870058 - Disclosure - Related party transactions (Details)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/RelatedPartyTransactionsDetails1" xlink:title="870059 - Disclosure - Related party transactions (Details 1)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/RelatedPartyTransactionsDetails2" xlink:title="870060 - Disclosure - Related party transactions (Details 2)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:title="870061 - Disclosure - Related party transactions (Details Narrative)" />
  <link:calculationLink xlink:type="extended" xlink:role="http://farmi.com/role/SubsequentEventsDetailsNarrative" xlink:title="870062 - Disclosure - Subsequent events (Details Narrative)" />
</link:linkbase>
