<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 6.4b -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: https://www.novaworks.com -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x00000000 -->
<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" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#Cover" roleURI="http://tmdel.com/role/Cover" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#BalanceSheets" roleURI="http://tmdel.com/role/BalanceSheets" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#BalanceSheetsParenthetical" roleURI="http://tmdel.com/role/BalanceSheetsParenthetical" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#StatementsOfOperationsAndComprehensiveLossIncome" roleURI="http://tmdel.com/role/StatementsOfOperationsAndComprehensiveLossIncome" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#StatementsOfChangesInShareholdersEquity" roleURI="http://tmdel.com/role/StatementsOfChangesInShareholdersEquity" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#StatementsOfCashFlows" roleURI="http://tmdel.com/role/StatementsOfCashFlows" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#OrganizationAndPrincipalBusiness" roleURI="http://tmdel.com/role/OrganizationAndPrincipalBusiness" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#SummaryOfSignificantAccountingPolicies" roleURI="http://tmdel.com/role/SummaryOfSignificantAccountingPolicies" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#AccountsReceivableNet" roleURI="http://tmdel.com/role/AccountsReceivableNet" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#InventoriesNet" roleURI="http://tmdel.com/role/InventoriesNet" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#OtherReceivablesAndCurrentAssets" roleURI="http://tmdel.com/role/OtherReceivablesAndCurrentAssets" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#PropertyAndEquipmentNet" roleURI="http://tmdel.com/role/PropertyAndEquipmentNet" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#InvestmentAndItsValuations" roleURI="http://tmdel.com/role/InvestmentAndItsValuations" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#RelatedPartyTransactions" roleURI="http://tmdel.com/role/RelatedPartyTransactions" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#OtherPayables" roleURI="http://tmdel.com/role/OtherPayables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#LoansBorrowings" roleURI="http://tmdel.com/role/LoansBorrowings" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#Leases" roleURI="http://tmdel.com/role/Leases" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#Equity" roleURI="http://tmdel.com/role/Equity" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#DisaggregatedRevenueAndGeographicInformation" roleURI="http://tmdel.com/role/DisaggregatedRevenueAndGeographicInformation" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#IncomeTaxes" roleURI="http://tmdel.com/role/IncomeTaxes" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#CommitmentsAndContingencies" roleURI="http://tmdel.com/role/CommitmentsAndContingencies" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ConcentrationRisksAndUncertainties" roleURI="http://tmdel.com/role/ConcentrationRisksAndUncertainties" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#SubsequentEvents" roleURI="http://tmdel.com/role/SubsequentEvents" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#SummaryOfSignificantAccountingPoliciesPolicies" roleURI="http://tmdel.com/role/SummaryOfSignificantAccountingPoliciesPolicies" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#OrganizationAndPrincipalBusinessTables" roleURI="http://tmdel.com/role/OrganizationAndPrincipalBusinessTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#SummaryOfSignificantAccountingPoliciesTables" roleURI="http://tmdel.com/role/SummaryOfSignificantAccountingPoliciesTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#AccountsReceivableNetTables" roleURI="http://tmdel.com/role/AccountsReceivableNetTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#InventoriesNetTables" roleURI="http://tmdel.com/role/InventoriesNetTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#OtherReceivablesAndCurrentAssetsTables" roleURI="http://tmdel.com/role/OtherReceivablesAndCurrentAssetsTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#PropertyAndEquipmentNetTables" roleURI="http://tmdel.com/role/PropertyAndEquipmentNetTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#InvestmentAndItsValuationsTables" roleURI="http://tmdel.com/role/InvestmentAndItsValuationsTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#RelatedPartyTransactionsTables" roleURI="http://tmdel.com/role/RelatedPartyTransactionsTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#OtherPayablesTables" roleURI="http://tmdel.com/role/OtherPayablesTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#LoansBorrowingsTables" roleURI="http://tmdel.com/role/LoansBorrowingsTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#LeasesTables" roleURI="http://tmdel.com/role/LeasesTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#DisaggregatedRevenueAndGeographicInformationTables" roleURI="http://tmdel.com/role/DisaggregatedRevenueAndGeographicInformationTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#IncomeTaxesTables" roleURI="http://tmdel.com/role/IncomeTaxesTables" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#OrganizationAndPrincipalBusinessDetailsNarrative" roleURI="http://tmdel.com/role/OrganizationAndPrincipalBusinessDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfSubsidiariesDetails" roleURI="http://tmdel.com/role/ScheduleOfSubsidiariesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfRevisionConsolidatedStatementsOfCashFlowsDetails" roleURI="http://tmdel.com/role/ScheduleOfRevisionConsolidatedStatementsOfCashFlowsDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfFairValueMeasurementsDetails" roleURI="http://tmdel.com/role/ScheduleOfFairValueMeasurementsDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfResidualValueRateAndUsefulLifeOfPropertyPlantAndEquipmentDetails" roleURI="http://tmdel.com/role/ScheduleOfResidualValueRateAndUsefulLifeOfPropertyPlantAndEquipmentDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfGoodwillDetails" roleURI="http://tmdel.com/role/ScheduleOfGoodwillDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfRevenueByReportableSegmentsDetails" roleURI="http://tmdel.com/role/ScheduleOfRevenueByReportableSegmentsDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#SummaryOfSignificantAccountingPoliciesDetailsNarrative" roleURI="http://tmdel.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfAccountsReceivableNetDetails" roleURI="http://tmdel.com/role/ScheduleOfAccountsReceivableNetDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfAgingAnalysisOfAccountsReceivableDetails" roleURI="http://tmdel.com/role/ScheduleOfAgingAnalysisOfAccountsReceivableDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfMovementOfAllowancesForExpectedCreditLossDetails" roleURI="http://tmdel.com/role/ScheduleOfMovementOfAllowancesForExpectedCreditLossDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#AccountsReceivableNetDetailsNarrative" roleURI="http://tmdel.com/role/AccountsReceivableNetDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfInventoriesDetails" roleURI="http://tmdel.com/role/ScheduleOfInventoriesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#InventoriesNetDetailsNarrative" roleURI="http://tmdel.com/role/InventoriesNetDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfOtherReceivablesAndCurrentsAssetsDetails" roleURI="http://tmdel.com/role/ScheduleOfOtherReceivablesAndCurrentsAssetsDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#OtherReceivablesAndCurrentAssetsDetailsNarrative" roleURI="http://tmdel.com/role/OtherReceivablesAndCurrentAssetsDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfPropertyAndEquipmentNetDetails" roleURI="http://tmdel.com/role/ScheduleOfPropertyAndEquipmentNetDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#PropertyAndEquipmentNetDetailsNarrative" roleURI="http://tmdel.com/role/PropertyAndEquipmentNetDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfInvestmentsDetails" roleURI="http://tmdel.com/role/ScheduleOfInvestmentsDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#InvestmentAndItsValuationsDetailsNarrative" roleURI="http://tmdel.com/role/InvestmentAndItsValuationsDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfNatureAndPurposeOfTransactionAmountsAndOutstandingBalancesForRelatedPartiesDetails" roleURI="http://tmdel.com/role/ScheduleOfNatureAndPurposeOfTransactionAmountsAndOutstandingBalancesForRelatedPartiesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfRelatedPartyBalancesDetails" roleURI="http://tmdel.com/role/ScheduleOfRelatedPartyBalancesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfSalesRevenuesAndPurchasesForRelatedPartiesDetails" roleURI="http://tmdel.com/role/ScheduleOfSalesRevenuesAndPurchasesForRelatedPartiesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#RelatedPartyTransactionsDetailsNarrative" roleURI="http://tmdel.com/role/RelatedPartyTransactionsDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfOtherPayablesDetails" roleURI="http://tmdel.com/role/ScheduleOfOtherPayablesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfShort-termBorrowingsDetails" roleURI="http://tmdel.com/role/ScheduleOfShort-termBorrowingsDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfLong-termBorrowingsDetails" roleURI="http://tmdel.com/role/ScheduleOfLong-termBorrowingsDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfLong-termBorrowingsMaturityDetails" roleURI="http://tmdel.com/role/ScheduleOfLong-termBorrowingsMaturityDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#LoansBorrowingsDetailsNarrative" roleURI="http://tmdel.com/role/LoansBorrowingsDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfOperatingAndFinanceLeasesAssetsAndLiabilitiesDetails" roleURI="http://tmdel.com/role/ScheduleOfOperatingAndFinanceLeasesAssetsAndLiabilitiesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfLeaseCostWeightedAverageRemainingLeaseTermsAndDiscountRatesOfOperatingAndFinanceLeasesDetails" roleURI="http://tmdel.com/role/ScheduleOfLeaseCostWeightedAverageRemainingLeaseTermsAndDiscountRatesOfOperatingAndFinanceLeasesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfFutureMinimumPaymentsUnderOperatingAndFinanceLeasesDetails" roleURI="http://tmdel.com/role/ScheduleOfFutureMinimumPaymentsUnderOperatingAndFinanceLeasesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#EquityDetailsNarrative" roleURI="http://tmdel.com/role/EquityDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfDisaggregatedRevenueByServicesLinesDetails" roleURI="http://tmdel.com/role/ScheduleOfDisaggregatedRevenueByServicesLinesDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfGeographicRevenueInformationDetails" roleURI="http://tmdel.com/role/ScheduleOfGeographicRevenueInformationDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfTaxableIncomelossBeforeIncomeTaxesByJurisdictionDetails" roleURI="http://tmdel.com/role/ScheduleOfTaxableIncomelossBeforeIncomeTaxesByJurisdictionDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ScheduleOfReconciliationsOfStatutoryIncomeTaxRateAndEffectiveIncomeTaxRateDetails" roleURI="http://tmdel.com/role/ScheduleOfReconciliationsOfStatutoryIncomeTaxRateAndEffectiveIncomeTaxRateDetails" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#IncomeTaxesDetailsNarrative" roleURI="http://tmdel.com/role/IncomeTaxesDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#CommitmentsAndContingenciesDetailsNarrative" roleURI="http://tmdel.com/role/CommitmentsAndContingenciesDetailsNarrative" />
    <link:roleRef xlink:type="simple" xlink:href="tmde-20250630.xsd#ConcentrationRisksAndUncertaintiesDetailsNarrative" roleURI="http://tmdel.com/role/ConcentrationRisksAndUncertaintiesDetailsNarrative" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/Cover" xlink:title="00000001 - Document - Cover" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/BalanceSheets" xlink:title="00000002 - Statement - Consolidated Balance Sheets (Unaudited)">
      <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_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" 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="2" 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="3" 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="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivablesNetCurrent" xlink:label="loc_us-gaapOtherReceivablesNetCurrent" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapOtherReceivablesNetCurrent" 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="5" 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_IncomeTaxesReceivable" xlink:label="loc_us-gaapIncomeTaxesReceivable" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapIncomeTaxesReceivable" 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_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="1" 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_Investments" xlink:label="loc_us-gaapInvestments" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsNoncurrent" xlink:to="loc_us-gaapInvestments" 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_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset" />
      <link:calculationArc order="3" 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_DeferredIncomeTaxAssetsNet" xlink:label="loc_us-gaapDeferredIncomeTaxAssetsNet" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsNoncurrent" xlink:to="loc_us-gaapDeferredIncomeTaxAssetsNet" 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="1" 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="2" 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_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="tmde-20250630.xsd#TMDE_OtherPayablesCurrent" xlink:label="loc_TMDEOtherPayablesCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_TMDEOtherPayablesCurrent" 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_ShortTermBorrowings" xlink:label="loc_us-gaapShortTermBorrowings" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapShortTermBorrowings" 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="4" 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="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxesPayableCurrent" xlink:label="loc_us-gaapTaxesPayableCurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapTaxesPayableCurrent" 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="6" 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_LongTermDebtCurrent" xlink:label="loc_us-gaapLongTermDebtCurrent" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapLongTermDebtCurrent" 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_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaapFinanceLeaseLiabilityCurrent" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapFinanceLeaseLiabilityCurrent" 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_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityNoncurrent" />
      <link:calculationArc order="1" 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_LongTermDebtNoncurrent" xlink:label="loc_us-gaapLongTermDebtNoncurrent" />
      <link:calculationArc order="2" 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_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaapFinanceLeaseLiabilityNoncurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesNoncurrent" xlink:to="loc_us-gaapFinanceLeaseLiabilityNoncurrent" 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="1" 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="2" 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="1" 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="2" 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="3" 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="4" 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="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" />
      <link:calculationArc order="1" 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="2" 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="1" 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="2" 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://tmdel.com/role/BalanceSheetsParenthetical" xlink:title="00000003 - Statement - Consolidated Balance Sheets (Unaudited) (Parenthetical)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/StatementsOfOperationsAndComprehensiveLossIncome" xlink:title="00000004 - Statement - Consolidated Statements of Operations and Comprehensive (Loss) Income (Unaudited)">
      <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:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaapRevenueFromContractWithCustomerExcludingAssessedTax" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapRevenueFromContractWithCustomerExcludingAssessedTax" 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="2" 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="1" 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="2" 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_Depreciation" xlink:label="loc_us-gaapDepreciation" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" 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_OperatingIncomeLoss" xlink:label="loc_us-gaapOperatingIncomeLoss" />
      <link:calculationArc order="1" 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="2" 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_NonoperatingIncomeExpense" xlink:label="loc_us-gaapNonoperatingIncomeExpense" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet" xlink:label="loc_us-gaapInterestIncomeExpenseNonoperatingNet" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapInterestIncomeExpenseNonoperatingNet" 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:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" 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_InterestExpenseDebt" xlink:label="loc_us-gaapInterestExpenseDebt" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapInterestExpenseDebt" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="tmde-20250630.xsd#TMDE_ShareOfLossesOfAssociate" xlink:label="loc_TMDEShareOfLossesOfAssociate" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_TMDEShareOfLossesOfAssociate" 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="1" 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="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapNonoperatingIncomeExpense" 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="1" 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="2" 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:calculationArc order="1" 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_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapNetIncomeLossAttributableToNoncontrollingInterest" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapNetIncomeLossAttributableToNoncontrollingInterest" 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_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" 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_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" 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:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" 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_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" />
      <link:calculationArc order="2" 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:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/StatementsOfChangesInShareholdersEquity" xlink:title="00000005 - Statement - Consolidated Statements of Changes in Shareholders&apos; Equity (Unaudited)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/StatementsOfCashFlows" xlink:title="00000006 - Statement - Consolidated Statements of Cash Flows (Unaudited)">
      <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="1" 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="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaapDepreciation" />
      <link:calculationArc order="2" 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="3" 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_ProvisionForOtherCreditLosses" xlink:label="loc_us-gaapProvisionForOtherCreditLosses" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapProvisionForOtherCreditLosses" 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_GoodwillImpairmentLoss" xlink:label="loc_us-gaapGoodwillImpairmentLoss" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapGoodwillImpairmentLoss" 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_OtherAssetImpairmentCharges" xlink:label="loc_us-gaapOtherAssetImpairmentCharges" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapOtherAssetImpairmentCharges" 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_DeferredIncomeTaxesAndTaxCredits" xlink:label="loc_us-gaapDeferredIncomeTaxesAndTaxCredits" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDeferredIncomeTaxesAndTaxCredits" 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_GainLossOnDispositionOfAssets1" xlink:label="loc_us-gaapGainLossOnDispositionOfAssets1" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapGainLossOnDispositionOfAssets1" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="tmde-20250630.xsd#TMDE_ShareOfLossesOfAssociate" xlink:label="loc_TMDEShareOfLossesOfAssociate" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_TMDEShareOfLossesOfAssociate" 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="10" 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="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaapIncreaseDecreaseInInventories" />
      <link:calculationArc order="11" 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_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xlink:label="loc_us-gaapIncreaseDecreaseInDueFromRelatedPartiesCurrent" />
      <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInDueFromRelatedPartiesCurrent" 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_IncreaseDecreaseInAccountsAndOtherReceivables" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsAndOtherReceivables" />
      <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsAndOtherReceivables" 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_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsPayableAndAccruedLiabilities" />
      <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsPayableAndAccruedLiabilities" 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="15" 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_IncreaseDecreaseInIncomeTaxes" xlink:label="loc_us-gaapIncreaseDecreaseInIncomeTaxes" />
      <link:calculationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInIncomeTaxes" 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="17" 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_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="1" 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="tmde-20250630.xsd#TMDE_PaymentsToAcquireInvestment" xlink:label="loc_TMDEPaymentsToAcquireInvestment" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_TMDEPaymentsToAcquireInvestment" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="tmde-20250630.xsd#TMDE_ProceedsFromInvestmentInSubsidiary" xlink:label="loc_TMDEProceedsFromInvestmentInSubsidiary" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_TMDEProceedsFromInvestmentInSubsidiary" 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_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaapProceedsFromSaleOfPropertyPlantAndEquipment" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapProceedsFromSaleOfPropertyPlantAndEquipment" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="tmde-20250630.xsd#TMDE_ProceedsFromRepaymentOfAdvanceToRelatedParties" xlink:label="loc_TMDEProceedsFromRepaymentOfAdvanceToRelatedParties" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_TMDEProceedsFromRepaymentOfAdvanceToRelatedParties" 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_ProceedsFromIssuanceInitialPublicOffering" xlink:label="loc_us-gaapProceedsFromIssuanceInitialPublicOffering" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromIssuanceInitialPublicOffering" 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_ProceedsFromRepaymentsOfDebt" xlink:label="loc_us-gaapProceedsFromRepaymentsOfDebt" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromRepaymentsOfDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="tmde-20250630.xsd#TMDE_RepaymentToFinanceLeasePayables" xlink:label="loc_TMDERepaymentToFinanceLeasePayables" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_TMDERepaymentToFinanceLeasePayables" 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_ProceedsFromRepaymentsOfRelatedPartyDebt" xlink:label="loc_us-gaapProceedsFromRepaymentsOfRelatedPartyDebt" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromRepaymentsOfRelatedPartyDebt" 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:label="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/OrganizationAndPrincipalBusiness" xlink:title="999008 - Disclosure - Organization and Principal Business" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/SummaryOfSignificantAccountingPolicies" xlink:title="999009 - Disclosure - Summary of Significant Accounting Policies" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/AccountsReceivableNet" xlink:title="999010 - Disclosure - Accounts receivable, net" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/InventoriesNet" xlink:title="999011 - Disclosure - Inventories, net" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/OtherReceivablesAndCurrentAssets" xlink:title="999012 - Disclosure - Other receivables and current assets" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/PropertyAndEquipmentNet" xlink:title="999013 - Disclosure - Property and equipment, net" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/InvestmentAndItsValuations" xlink:title="999014 - Disclosure - Investment and its valuations" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/RelatedPartyTransactions" xlink:title="999015 - Disclosure - Related party transactions" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/OtherPayables" xlink:title="999016 - Disclosure - Other payables" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/LoansBorrowings" xlink:title="999017 - Disclosure - Loans borrowings" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/Leases" xlink:title="999018 - Disclosure - Leases" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/Equity" xlink:title="999019 - Disclosure - Equity" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/DisaggregatedRevenueAndGeographicInformation" xlink:title="999020 - Disclosure - Disaggregated revenue and geographic information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/IncomeTaxes" xlink:title="999021 - Disclosure - Income Taxes" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/CommitmentsAndContingencies" xlink:title="999022 - Disclosure - Commitments and contingencies" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ConcentrationRisksAndUncertainties" xlink:title="999023 - Disclosure - Concentration, risks, and uncertainties" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/SubsequentEvents" xlink:title="999024 - Disclosure - Subsequent events" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:title="999025 - Disclosure - Summary of Significant Accounting Policies (Policies)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/OrganizationAndPrincipalBusinessTables" xlink:title="999026 - Disclosure - Organization and Principal Business (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:title="999027 - Disclosure - Summary of Significant Accounting Policies (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/AccountsReceivableNetTables" xlink:title="999028 - Disclosure - Accounts receivable, net (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/InventoriesNetTables" xlink:title="999029 - Disclosure - Inventories, net (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/OtherReceivablesAndCurrentAssetsTables" xlink:title="999030 - Disclosure - Other receivables and current assets (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/PropertyAndEquipmentNetTables" xlink:title="999031 - Disclosure - Property and equipment, net (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/InvestmentAndItsValuationsTables" xlink:title="999032 - Disclosure - Investment and its valuations (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/RelatedPartyTransactionsTables" xlink:title="999033 - Disclosure - Related party transactions (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/OtherPayablesTables" xlink:title="999034 - Disclosure - Other payables (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/LoansBorrowingsTables" xlink:title="999035 - Disclosure - Loans borrowings (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/LeasesTables" xlink:title="999036 - Disclosure - Leases (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/DisaggregatedRevenueAndGeographicInformationTables" xlink:title="999037 - Disclosure - Disaggregated revenue and geographic information (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/IncomeTaxesTables" xlink:title="999038 - Disclosure - Income Taxes (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/OrganizationAndPrincipalBusinessDetailsNarrative" xlink:title="999039 - Disclosure - Organization and Principal Business (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfSubsidiariesDetails" xlink:title="999040 - Disclosure - Schedule of Subsidiaries (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfRevisionConsolidatedStatementsOfCashFlowsDetails" xlink:title="999041 - Disclosure - Schedule of Revision Consolidated Statements of Cash Flows (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfFairValueMeasurementsDetails" xlink:title="999042 - Disclosure - Schedule of Fair Value Measurements (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfResidualValueRateAndUsefulLifeOfPropertyPlantAndEquipmentDetails" xlink:title="999043 - Disclosure - Schedule of Residual Value Rate and Useful Life of Property, Plant and Equipment (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfGoodwillDetails" xlink:title="999044 - Disclosure - Schedule of Goodwill (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfRevenueByReportableSegmentsDetails" xlink:title="999045 - Disclosure - Schedule of Revenue By Reportable Segments (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:title="999046 - Disclosure - Summary of Significant Accounting Policies (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfAccountsReceivableNetDetails" xlink:title="999047 - Disclosure - Schedule of accounts receivable, net (Details)">
      <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:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableGrossCurrent" xlink:label="loc_us-gaapAccountsReceivableGrossCurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsReceivableNetCurrent" xlink:to="loc_us-gaapAccountsReceivableGrossCurrent" 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_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaapAllowanceForDoubtfulAccountsReceivableCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsReceivableNetCurrent" xlink:to="loc_us-gaapAllowanceForDoubtfulAccountsReceivableCurrent" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfAgingAnalysisOfAccountsReceivableDetails" xlink:title="999048 - Disclosure - Schedule of aging analysis of accounts receivable (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfMovementOfAllowancesForExpectedCreditLossDetails" xlink:title="999049 - Disclosure - Schedule of movement of allowances for expected credit loss (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/AccountsReceivableNetDetailsNarrative" xlink:title="999050 - Disclosure - Accounts receivable, net (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfInventoriesDetails" xlink:title="999051 - Disclosure - Schedule of inventories (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/InventoriesNetDetailsNarrative" xlink:title="999052 - Disclosure - Inventories, net (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfOtherReceivablesAndCurrentsAssetsDetails" xlink:title="999053 - Disclosure - Schedule of other receivables and currents assets (Details)">
      <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:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredOfferingCosts" xlink:label="loc_us-gaapDeferredOfferingCosts" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherAssetsCurrent" xlink:to="loc_us-gaapDeferredOfferingCosts" 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_DepositsAssetsCurrent" xlink:label="loc_us-gaapDepositsAssetsCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherAssetsCurrent" xlink:to="loc_us-gaapDepositsAssetsCurrent" 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_PrepaidExpenseCurrent" xlink:label="loc_us-gaapPrepaidExpenseCurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherAssetsCurrent" xlink:to="loc_us-gaapPrepaidExpenseCurrent" 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_OtherReceivablesGrossCurrent" xlink:label="loc_us-gaapOtherReceivablesGrossCurrent" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherAssetsCurrent" xlink:to="loc_us-gaapOtherReceivablesGrossCurrent" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/OtherReceivablesAndCurrentAssetsDetailsNarrative" xlink:title="999054 - Disclosure - Other receivables and current assets (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfPropertyAndEquipmentNetDetails" xlink:title="999055 - Disclosure - Schedule of property and equipment, net (Details)">
      <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:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaapPropertyPlantAndEquipmentGross" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapPropertyPlantAndEquipmentGross" 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_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/PropertyAndEquipmentNetDetailsNarrative" xlink:title="999056 - Disclosure - Property and equipment, net (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfInvestmentsDetails" xlink:title="999057 - Disclosure - Schedule of investments (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/InvestmentAndItsValuationsDetailsNarrative" xlink:title="999058 - Disclosure - Investment and its valuations (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfNatureAndPurposeOfTransactionAmountsAndOutstandingBalancesForRelatedPartiesDetails" xlink:title="999059 - Disclosure - Schedule of nature and purpose of transaction amounts and outstanding balances for related parties (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfRelatedPartyBalancesDetails" xlink:title="999060 - Disclosure - Schedule of related party balances (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfSalesRevenuesAndPurchasesForRelatedPartiesDetails" xlink:title="999061 - Disclosure - Schedule of sales revenues and purchases for related parties (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:title="999062 - Disclosure - Related party transactions (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfOtherPayablesDetails" xlink:title="999063 - Disclosure - Schedule of other payables (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfShort-termBorrowingsDetails" xlink:title="999064 - Disclosure - Schedule of short-term borrowings (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfLong-termBorrowingsDetails" xlink:title="999065 - Disclosure - Schedule of long-term borrowings (Details)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaapLongTermDebt" />
      <link:loc xlink:type="locator" xlink:href="tmde-20250630.xsd#TMDE_VendorInstallmentLoans" xlink:label="loc_TMDEVendorInstallmentLoans" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_TMDEVendorInstallmentLoans" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_BankLoans" xlink:label="loc_srtBankLoans" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_srtBankLoans" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfLong-termBorrowingsMaturityDetails" xlink:title="999066 - Disclosure - Schedule of long-term borrowings maturity (Details)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaapLongTermDebt" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" 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_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" 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_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" 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_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" 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_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" 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_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/LoansBorrowingsDetailsNarrative" xlink:title="999067 - Disclosure - Loans borrowings (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfOperatingAndFinanceLeasesAssetsAndLiabilitiesDetails" xlink:title="999068 - Disclosure - Schedule of operating and finance leases assets and liabilities (Details)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaapOperatingLeaseLiability" />
      <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="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeaseLiability" 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_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityNoncurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeaseLiability" 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_FinanceLeaseLiability" xlink:label="loc_us-gaapFinanceLeaseLiability" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaapFinanceLeaseLiabilityCurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFinanceLeaseLiability" xlink:to="loc_us-gaapFinanceLeaseLiabilityCurrent" 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_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaapFinanceLeaseLiabilityNoncurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFinanceLeaseLiability" xlink:to="loc_us-gaapFinanceLeaseLiabilityNoncurrent" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfLeaseCostWeightedAverageRemainingLeaseTermsAndDiscountRatesOfOperatingAndFinanceLeasesDetails" xlink:title="999069 - Disclosure - Schedule of lease cost, weighted average remaining lease terms and discount rates of operating and finance leases (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfFutureMinimumPaymentsUnderOperatingAndFinanceLeasesDetails" xlink:title="999070 - Disclosure - Schedule of future minimum payments under operating and finance leases (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/EquityDetailsNarrative" xlink:title="999071 - Disclosure - Equity (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfDisaggregatedRevenueByServicesLinesDetails" xlink:title="999072 - Disclosure - Schedule of disaggregated revenue by services lines (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfGeographicRevenueInformationDetails" xlink:title="999073 - Disclosure - Schedule of geographic revenue information (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfTaxableIncomelossBeforeIncomeTaxesByJurisdictionDetails" xlink:title="999074 - Disclosure - Schedule of taxable income/(loss) before income taxes by jurisdiction (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ScheduleOfReconciliationsOfStatutoryIncomeTaxRateAndEffectiveIncomeTaxRateDetails" xlink:title="999075 - Disclosure - Schedule of reconciliations of the statutory income tax rate and effective income tax rate (Details)">
      <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:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaapIncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" 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_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:label="loc_us-gaapIncomeTaxReconciliationStateAndLocalIncomeTaxes" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="tmde-20250630.xsd#TMDE_IncomeTaxReconciliationForeignIncomeTaxes" xlink:label="loc_TMDEIncomeTaxReconciliationForeignIncomeTaxes" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_TMDEIncomeTaxReconciliationForeignIncomeTaxes" 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_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaapIncomeTaxReconciliationOtherAdjustments" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationOtherAdjustments" 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_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaapIncomeTaxReconciliationForeignIncomeTaxRateDifferential" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationForeignIncomeTaxRateDifferential" 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_IncomeTaxReconciliationTaxExemptIncome" xlink:label="loc_us-gaapIncomeTaxReconciliationTaxExemptIncome" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationTaxExemptIncome" 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_IncomeTaxReconciliationPriorYearIncomeTaxes" xlink:label="loc_us-gaapIncomeTaxReconciliationPriorYearIncomeTaxes" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationPriorYearIncomeTaxes" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/IncomeTaxesDetailsNarrative" xlink:title="999076 - Disclosure - Income Taxes (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:title="999077 - Disclosure - Commitments and contingencies (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://tmdel.com/role/ConcentrationRisksAndUncertaintiesDetailsNarrative" xlink:title="999078 - Disclosure - Concentration, risks, and uncertainties (Details Narrative)" />
</link:linkbase>
