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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e8e2a-c902-7a93-8124-d517994ae17a,g:48a55e07-df99-4141-9564-e2049c54e1f1-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.fhlbdm.com/role/StatementsofCondition" xlink:type="simple" xlink:href="fhlbdm-20260630.xsd#StatementsofCondition"/>
  <link:calculationLink xlink:role="http://www.fhlbdm.com/role/StatementsofCondition" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e8e2a-cb77-7a69-a157-86f680adc404" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsDomestic_019e8e2a-cb77-79b5-be10-550ed0a8fa61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2a-cb77-7a69-a157-86f680adc404" xlink:to="loc_us-gaap_DepositsDomestic_019e8e2a-cb77-79b5-be10-550ed0a8fa61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_019e8e2a-cb77-7f5c-99ac-76037b21ece3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2a-cb77-7a69-a157-86f680adc404" xlink:to="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_019e8e2a-cb77-7f5c-99ac-76037b21ece3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_019e8e2a-cb77-7897-a044-f037b644c441" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2a-cb77-7a69-a157-86f680adc404" xlink:to="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_019e8e2a-cb77-7897-a044-f037b644c441" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_019e8e2a-cb77-7396-a929-eed6f7687bb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2a-cb77-7a69-a157-86f680adc404" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_019e8e2a-cb77-7396-a929-eed6f7687bb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AffordableHousingProgramObligation_019e8e2a-cb77-7469-be35-4faab683e48d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AffordableHousingProgramObligation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2a-cb77-7a69-a157-86f680adc404" xlink:to="loc_us-gaap_AffordableHousingProgramObligation_019e8e2a-cb77-7469-be35-4faab683e48d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e8e2a-cb77-76c8-a9f0-a43bb286b51c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2a-cb77-7a69-a157-86f680adc404" xlink:to="loc_us-gaap_DerivativeLiabilities_019e8e2a-cb77-76c8-a9f0-a43bb286b51c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019e8e2a-cb77-7040-a785-0d41e6a68b55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2a-cb77-7a69-a157-86f680adc404" xlink:to="loc_us-gaap_OtherLiabilities_019e8e2a-cb77-7040-a785-0d41e6a68b55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e8e2a-cb77-79c9-a61a-75d90be82179" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockOtherValueOutstanding_019e8e2a-cb77-79b9-882f-3a4035c4b1af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockOtherValueOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8e2a-cb77-79c9-a61a-75d90be82179" xlink:to="loc_us-gaap_CommonStockOtherValueOutstanding_019e8e2a-cb77-79b9-882f-3a4035c4b1af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8e2a-cb77-777b-9381-02f7c55d976b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8e2a-cb77-79c9-a61a-75d90be82179" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8e2a-cb77-777b-9381-02f7c55d976b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeFederalHomeLoanBankAssessments_019e8e2a-cb77-78db-9ede-244f07cb90e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeFederalHomeLoanBankAssessments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8e2a-cb77-79c9-a61a-75d90be82179" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeFederalHomeLoanBankAssessments_019e8e2a-cb77-78db-9ede-244f07cb90e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsDomestic_019e8e2a-cb77-7b59-9e55-a05795a6d9a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsDomestic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilitiesDomestic_019e8e2a-cb77-7385-a4ad-655d82acb805" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositLiabilitiesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DepositsDomestic_019e8e2a-cb77-7b59-9e55-a05795a6d9a4" xlink:to="loc_us-gaap_InterestBearingDepositLiabilitiesDomestic_019e8e2a-cb77-7385-a4ad-655d82acb805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilitiesDomestic_019e8e2a-cb77-795a-babf-2bc7b5e8ce4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestBearingDepositLiabilitiesDomestic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DepositsDomestic_019e8e2a-cb77-7b59-9e55-a05795a6d9a4" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilitiesDomestic_019e8e2a-cb77-795a-babf-2bc7b5e8ce4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_019e8e2a-cb77-7989-8333-65513dc3c73e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes_019e8e2a-cb77-790a-a33a-acf6c69e4533" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_019e8e2a-cb77-7989-8333-65513dc3c73e" xlink:to="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes_019e8e2a-cb77-790a-a33a-acf6c69e4533" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_019e8e2a-cb77-7401-883c-3dc65f3d7916" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_019e8e2a-cb77-7989-8333-65513dc3c73e" xlink:to="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_019e8e2a-cb77-7401-883c-3dc65f3d7916" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_019e8e2a-cb77-7d8b-9216-e6f6f1c31282" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_019e8e2a-cb77-748a-99ad-9c921aaecdad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecurities_019e8e2a-cb77-7d8b-9216-e6f6f1c31282" xlink:to="loc_us-gaap_TradingSecurities_019e8e2a-cb77-748a-99ad-9c921aaecdad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_019e8e2a-cb77-7e06-bded-a6f5999b8744" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecurities_019e8e2a-cb77-7d8b-9216-e6f6f1c31282" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_019e8e2a-cb77-7e06-bded-a6f5999b8744" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e8e2a-cb77-7735-a980-43d27d7a33db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecurities_019e8e2a-cb77-7d8b-9216-e6f6f1c31282" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e8e2a-cb77-7735-a980-43d27d7a33db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8e2a-cb77-7279-821f-2dee4dd8b89b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsUnappropriated_019e8e2a-cb77-7859-80c5-3dcbb87f05f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsUnappropriated"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8e2a-cb77-7279-821f-2dee4dd8b89b" xlink:to="loc_us-gaap_RetainedEarningsUnappropriated_019e8e2a-cb77-7859-80c5-3dcbb87f05f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAppropriated_019e8e2a-cb77-720c-9a00-a92b5f6fc6b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAppropriated"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8e2a-cb77-7279-821f-2dee4dd8b89b" xlink:to="loc_us-gaap_RetainedEarningsAppropriated_019e8e2a-cb77-720c-9a00-a92b5f6fc6b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8e2a-cb77-7985-912b-fe267a6395dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e8e2a-cb77-7bb6-aee8-b72591dc987a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8e2a-cb77-7985-912b-fe267a6395dc" xlink:to="loc_us-gaap_Liabilities_019e8e2a-cb77-7bb6-aee8-b72591dc987a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e8e2a-cb77-74f4-9901-2e86f87432e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8e2a-cb77-7985-912b-fe267a6395dc" xlink:to="loc_us-gaap_StockholdersEquity_019e8e2a-cb77-74f4-9901-2e86f87432e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_019e8e2a-cb77-7dd5-9834-14269a8ee580" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_CashAndDueFromBanks_019e8e2a-cb77-7dd5-9834-14269a8ee580" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_019e8e2a-cb77-7521-9b95-86a82bad4f13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_019e8e2a-cb77-7521-9b95-86a82bad4f13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_019e8e2a-cb77-7a41-a601-e89c2ba9ffb2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_019e8e2a-cb77-7a41-a601-e89c2ba9ffb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSold_019e8e2a-cb77-7cb0-9f31-12788065ef82" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSold"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_FederalFundsSold_019e8e2a-cb77-7cb0-9f31-12788065ef82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_019e8e2a-cb77-72c7-999d-18d274f94e68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_MarketableSecurities_019e8e2a-cb77-72c7-999d-18d274f94e68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvances_019e8e2a-cb77-7c4f-a8dc-da9ce562f4e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvances"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvances_019e8e2a-cb77-7c4f-a8dc-da9ce562f4e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019e8e2a-cb77-7103-b32d-db2a5bdc58cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019e8e2a-cb77-7103-b32d-db2a5bdc58cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_019e8e2a-cb77-791d-91a1-a85040d6397c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_InterestReceivable_019e8e2a-cb77-791d-91a1-a85040d6397c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e8e2a-cb77-7c19-8ad1-0029bedb4388" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_DerivativeAssets_019e8e2a-cb77-7c19-8ad1-0029bedb4388" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019e8e2a-cb77-7716-8ed2-b344c6df67b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2a-cb77-7c88-a12e-315f0967ede5" xlink:to="loc_us-gaap_OtherAssets_019e8e2a-cb77-7716-8ed2-b344c6df67b4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlbdm.com/role/StatementsofIncome" xlink:type="simple" xlink:href="fhlbdm-20260630.xsd#StatementsofIncome"/>
  <link:calculationLink xlink:role="http://www.fhlbdm.com/role/StatementsofIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019e8e2a-cb77-77c7-9a65-fcd1bd38b5d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019e8e2a-cb77-77c7-9a65-fcd1bd38b5d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_019e8e2a-cb77-7e74-9ddf-3a1a89342464" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:to="loc_us-gaap_ProfessionalFees_019e8e2a-cb77-7e74-9ddf-3a1a89342464" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_019e8e2a-cb77-7f6e-8b7b-129398df9994" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_019e8e2a-cb77-7f6e-8b7b-129398df9994" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatorExpensesCostAssessedOnFederalHomeLoanBank_019e8e2a-cb77-7f31-b3c2-8dd446100fff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RegulatorExpensesCostAssessedOnFederalHomeLoanBank"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:to="loc_us-gaap_RegulatorExpensesCostAssessedOnFederalHomeLoanBank_019e8e2a-cb77-7f31-b3c2-8dd446100fff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_019e8e2a-cb77-7b1f-aa60-3636a2f9784b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:to="loc_us-gaap_OtherNoninterestExpense_019e8e2a-cb77-7b1f-aa60-3636a2f9784b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbdm_ContractualServiceExpense_019e8e2a-cb77-7ed9-a66e-687e8a3aa68b" xlink:href="fhlbdm-20260630.xsd#fhlbdm_ContractualServiceExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:to="loc_fhlbdm_ContractualServiceExpense_019e8e2a-cb77-7ed9-a66e-687e8a3aa68b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OfficeOfFinanceAssessmentsCostAssessedOnFederalHomeLoanBank_019e8e2a-cb77-7b32-8ecc-7d11ec229234" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OfficeOfFinanceAssessmentsCostAssessedOnFederalHomeLoanBank"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:to="loc_us-gaap_OfficeOfFinanceAssessmentsCostAssessedOnFederalHomeLoanBank_019e8e2a-cb77-7b32-8ecc-7d11ec229234" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbdm_VoluntaryHousingAndCommunityContributions_019e8e2a-cb77-7be8-b6ab-59f1ac7f176c" xlink:href="fhlbdm-20260630.xsd#fhlbdm_VoluntaryHousingAndCommunityContributions"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-798c-9d5e-a62dab4b8447" xlink:to="loc_fhlbdm_VoluntaryHousingAndCommunityContributions_019e8e2a-cb77-7be8-b6ab-59f1ac7f176c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019e8e2a-cb77-79e6-abbf-512872b4fbc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalHomeLoanBankAdvances_019e8e2a-cb77-7add-a3e8-065f20ed1f75" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeFederalHomeLoanBankAdvances"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_InterestIncomeFederalHomeLoanBankAdvances_019e8e2a-cb77-7add-a3e8-065f20ed1f75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaymentFeesOnAdvancesNet_019e8e2a-cb77-7cfc-83d2-790db05c1eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaymentFeesOnAdvancesNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_PrepaymentFeesOnAdvancesNet_019e8e2a-cb77-7cfc-83d2-790db05c1eb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_019e8e2a-cb77-757e-8931-6133a72a6cee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_019e8e2a-cb77-757e-8931-6133a72a6cee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell_019e8e2a-cb77-7b4a-8dbe-e054e47e3024" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell_019e8e2a-cb77-7b4a-8dbe-e054e47e3024" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_019e8e2a-cb77-7b72-98d7-16a1c008928d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeFederalFundsSold"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_019e8e2a-cb77-7b72-98d7-16a1c008928d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesTradingOperating_019e8e2a-cb77-74c5-bbf6-16f7be6686f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDebtSecuritiesTradingOperating"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesTradingOperating_019e8e2a-cb77-74c5-bbf6-16f7be6686f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_019e8e2a-cb77-7c2e-a6ef-489b9d9e8592" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_019e8e2a-cb77-7c2e-a6ef-489b9d9e8592" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecuritiesHeldToMaturity_019e8e2a-cb77-7f3b-9e85-4e74d0a4eea9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeSecuritiesHeldToMaturity"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecuritiesHeldToMaturity_019e8e2a-cb77-7f3b-9e85-4e74d0a4eea9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate_019e8e2a-cb77-7199-85fe-43d81f3b0161" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-790c-a032-72110b5b52ad" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate_019e8e2a-cb77-7199-85fe-43d81f3b0161" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019e8e2a-cb77-7394-8bd8-81c7d637a1c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_019e8e2a-cb77-709f-9187-9693122fd039" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e8e2a-cb77-7394-8bd8-81c7d637a1c5" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_019e8e2a-cb77-709f-9187-9693122fd039" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingGainLoss_019e8e2a-cb77-7565-a9b9-236ddebd0cad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesTradingGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e8e2a-cb77-7394-8bd8-81c7d637a1c5" xlink:to="loc_us-gaap_DebtSecuritiesTradingGainLoss_019e8e2a-cb77-7565-a9b9-236ddebd0cad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_019e8e2a-cb77-7bfa-af45-476acbb00993" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e8e2a-cb77-7394-8bd8-81c7d637a1c5" xlink:to="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_019e8e2a-cb77-7bfa-af45-476acbb00993" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_019e8e2a-cb77-778d-b850-99b4c4a17150" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e8e2a-cb77-7394-8bd8-81c7d637a1c5" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_019e8e2a-cb77-778d-b850-99b4c4a17150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019e8e2a-cb77-7a50-b99a-44d7c787ac24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOtherLongTermDebt_019e8e2a-cb77-7e0e-b665-3e13d27b2c22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOtherLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e8e2a-cb77-7a50-b99a-44d7c787ac24" xlink:to="loc_us-gaap_InterestExpenseOtherLongTermDebt_019e8e2a-cb77-7e0e-b665-3e13d27b2c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDeposits_019e8e2a-cb77-7f31-9dbf-c7a68912b3e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDomesticDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e8e2a-cb77-7a50-b99a-44d7c787ac24" xlink:to="loc_us-gaap_InterestExpenseDomesticDeposits_019e8e2a-cb77-7f31-9dbf-c7a68912b3e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_019e8e2a-cb77-7860-b64c-4a88334a97e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOtherShortTermBorrowings"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e8e2a-cb77-7a50-b99a-44d7c787ac24" xlink:to="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_019e8e2a-cb77-7860-b64c-4a88334a97e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseCapitalSecurities_019e8e2a-cb77-7c4b-a7ae-aa5f75eb8ac0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseCapitalSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e8e2a-cb77-7a50-b99a-44d7c787ac24" xlink:to="loc_us-gaap_InterestExpenseCapitalSecurities_019e8e2a-cb77-7c4b-a7ae-aa5f75eb8ac0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2a-cb77-735f-adb6-469521a8bf69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019e8e2a-cb77-7b56-916f-bf1000212ae1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2a-cb77-735f-adb6-469521a8bf69" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_019e8e2a-cb77-7b56-916f-bf1000212ae1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019e8e2a-cb77-7903-b93f-9b80312f0b0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2a-cb77-735f-adb6-469521a8bf69" xlink:to="loc_us-gaap_NoninterestIncome_019e8e2a-cb77-7903-b93f-9b80312f0b0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-7bf1-a971-cb33ff9a5d90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2a-cb77-735f-adb6-469521a8bf69" xlink:to="loc_us-gaap_NoninterestExpense_019e8e2a-cb77-7bf1-a971-cb33ff9a5d90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_019e8e2a-cb77-7d10-b180-af701d00483c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2a-cb77-7c1b-a96b-a2ae29ed4440" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_019e8e2a-cb77-7d10-b180-af701d00483c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2a-cb77-7c1b-a96b-a2ae29ed4440" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AffordableHousingProgramAssessments_019e8e2a-cb77-7a4a-af74-58dec2137db5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AffordableHousingProgramAssessments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_019e8e2a-cb77-7d10-b180-af701d00483c" xlink:to="loc_us-gaap_AffordableHousingProgramAssessments_019e8e2a-cb77-7a4a-af74-58dec2137db5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019e8e2a-cb77-7e23-8be3-5670426b6118" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-784a-891b-16959d3fcffb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_019e8e2a-cb77-7e23-8be3-5670426b6118" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_019e8e2a-cb77-784a-891b-16959d3fcffb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019e8e2a-cb77-7dae-a395-32f9f0a1cb34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_019e8e2a-cb77-7e23-8be3-5670426b6118" xlink:to="loc_us-gaap_InterestExpenseOperating_019e8e2a-cb77-7dae-a395-32f9f0a1cb34" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlbdm.com/role/StatementsofComprehensiveIncome" xlink:type="simple" xlink:href="fhlbdm-20260630.xsd#StatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.fhlbdm.com/role/StatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent_019e8e2a-cb77-7e2d-92ae-9bb22d302c32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_019e8e2a-cb77-74c4-a343-111c3952cf25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent_019e8e2a-cb77-7e2d-92ae-9bb22d302c32" xlink:to="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_019e8e2a-cb77-74c4-a343-111c3952cf25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_019e8e2a-cb77-7bbc-9762-12a67bdb8031" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent_019e8e2a-cb77-7e2d-92ae-9bb22d302c32" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_019e8e2a-cb77-7bbc-9762-12a67bdb8031" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_019e8e2a-cb77-7d94-801e-f6e3dcdefc13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_019e8e2a-cb77-7ace-8059-828d3b10b936" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_019e8e2a-cb77-7d94-801e-f6e3dcdefc13" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_019e8e2a-cb77-7ace-8059-828d3b10b936" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlbdm.com/role/StatementsofCashFlows" xlink:type="simple" xlink:href="fhlbdm-20260630.xsd#StatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.fhlbdm.com/role/StatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_019e8e2a-cb78-77ee-9e2c-d4f09cc1d8af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_019e8e2a-cb78-77ee-9e2c-d4f09cc1d8af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForSecuritiesPurchasedUnderAgreementsToResell_019e8e2a-cb78-71ec-841f-90254b6617c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForSecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_ProceedsFromPaymentsForSecuritiesPurchasedUnderAgreementsToResell_019e8e2a-cb78-71ec-841f-90254b6617c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFederalFundsSold_019e8e2a-cb78-7a77-b14b-6f1c5219d6ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInFederalFundsSold"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_IncreaseDecreaseInFederalFundsSold_019e8e2a-cb78-7a77-b14b-6f1c5219d6ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesRepaymentsAndCallsOfTradingSecuritiesHeldforinvestment_019e8e2a-cb78-7cfb-b791-45e72260f98a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMaturitiesRepaymentsAndCallsOfTradingSecuritiesHeldforinvestment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_ProceedsFromMaturitiesRepaymentsAndCallsOfTradingSecuritiesHeldforinvestment_019e8e2a-cb78-7cfb-b791-45e72260f98a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_019e8e2a-cb78-7347-a88b-3a513c1dc199" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_019e8e2a-cb78-7347-a88b-3a513c1dc199" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019e8e2a-cb78-703d-b649-87f4aee77ed4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019e8e2a-cb78-703d-b649-87f4aee77ed4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities_019e8e2a-cb78-7718-ae85-dfc6f10199cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities_019e8e2a-cb78-7718-ae85-dfc6f10199cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankAdvances_019e8e2a-cb78-7ae2-b303-236dae766c3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromFederalHomeLoanBankAdvances"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankAdvances_019e8e2a-cb78-7ae2-b303-236dae766c3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForFederalHomeLoanBankAdvances_019e8e2a-cb78-76da-a6fe-1f8bd54c6af1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForFederalHomeLoanBankAdvances"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_PaymentsForFederalHomeLoanBankAdvances_019e8e2a-cb78-76da-a6fe-1f8bd54c6af1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_019e8e2a-cb78-710a-a5e7-097f49a56119" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_019e8e2a-cb78-710a-a5e7-097f49a56119" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_019e8e2a-cb78-7f3d-8681-e7ef0224af5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLoansHeldForInvestment"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_019e8e2a-cb78-7f3d-8681-e7ef0224af5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019e8e2a-cb78-7b10-85c2-e05efcf01a53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019e8e2a-cb78-7b10-85c2-e05efcf01a53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment_019e8e2a-cb78-7876-8718-aa6fa66b937c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment_019e8e2a-cb78-7876-8718-aa6fa66b937c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireTradingSecuritiesHeldforinvestment_019e8e2a-cb78-7a8e-bd8e-ba92caba67a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireTradingSecuritiesHeldforinvestment"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-701c-9a0b-8b39e83ddb61" xlink:to="loc_us-gaap_PaymentsToAcquireTradingSecuritiesHeldforinvestment_019e8e2a-cb78-7a8e-bd8e-ba92caba67a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8e2a-cb78-7761-bc39-4416090d76ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-7709-af5b-41ed60fc3773" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8e2a-cb78-7761-bc39-4416090d76ee" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-7709-af5b-41ed60fc3773" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-7ab7-95c1-2aead0f39576" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8e2a-cb78-7761-bc39-4416090d76ee" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2a-cb78-7ab7-95c1-2aead0f39576" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-75b0-92d9-62d8cdf20e8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8e2a-cb78-7761-bc39-4416090d76ee" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-75b0-92d9-62d8cdf20e8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-7c00-af66-ab57a01f38a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e8e2a-cb78-71cc-b417-e784fda8af48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-7c00-af66-ab57a01f38a8" xlink:to="loc_us-gaap_ProfitLoss_019e8e2a-cb78-71cc-b417-e784fda8af48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-7661-8949-5d390ade78de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-7c00-af66-ab57a01f38a8" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-7661-8949-5d390ade78de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_019e8e2a-cb78-757b-b0d2-f13e38844970" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_019e8e2a-cb78-757b-b0d2-f13e38844970" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingGainLoss_019e8e2a-cb78-7067-ab43-a75295ed64f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesTradingGainLoss"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_DebtSecuritiesTradingGainLoss_019e8e2a-cb78-7067-ab43-a75295ed64f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFairValueAdjustmentsOnAssetsAndLiabilitiesCarriedAtFairValueUnderFairValueOption_019e8e2a-cb78-7854-95eb-710ef18ac967" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInFairValueAdjustmentsOnAssetsAndLiabilitiesCarriedAtFairValueUnderFairValueOption"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_IncreaseDecreaseInFairValueAdjustmentsOnAssetsAndLiabilitiesCarriedAtFairValueUnderFairValueOption_019e8e2a-cb78-7854-95eb-710ef18ac967" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e8e2a-cb78-7257-84e6-c0d1b23fbbb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e8e2a-cb78-7257-84e6-c0d1b23fbbb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019e8e2a-cb78-79f5-9481-fe3337c4ea24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019e8e2a-cb78-79f5-9481-fe3337c4ea24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019e8e2a-cb78-718a-a996-6eff7cbff151" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019e8e2a-cb78-718a-a996-6eff7cbff151" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e8e2a-cb78-775b-9c02-2bb004557a56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e8e2a-cb78-775b-9c02-2bb004557a56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_019e8e2a-cb78-708b-b818-4e19f81c2e43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_019e8e2a-cb78-708b-b818-4e19f81c2e43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019e8e2a-cb78-7099-81eb-5e794ffc039a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_019e8e2a-cb78-704a-8dce-ed808fbb8619" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019e8e2a-cb78-7099-81eb-5e794ffc039a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_019e8e2a-cb78-7c20-b355-fbe81db74a61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_019e8e2a-cb78-7c20-b355-fbe81db74a61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_019e8e2a-cb78-75eb-a088-38e871bb3da9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromHedgeFinancingActivities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_019e8e2a-cb78-75eb-a088-38e871bb3da9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromOtherShortTermDebt_019e8e2a-cb78-761d-9ce5-c5cbac46fd5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromOtherShortTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_ProceedsFromOtherShortTermDebt_019e8e2a-cb78-761d-9ce5-c5cbac46fd5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbdm_ProceedsFromDiscountNotesTransferredFromOtherFHLBanks_019e8e2a-cb78-72b4-abe4-29c9cbbef9b3" xlink:href="fhlbdm-20260630.xsd#fhlbdm_ProceedsFromDiscountNotesTransferredFromOtherFHLBanks"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_fhlbdm_ProceedsFromDiscountNotesTransferredFromOtherFHLBanks_019e8e2a-cb78-72b4-abe4-29c9cbbef9b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt_019e8e2a-cb78-7597-bbb9-af4db82d1702" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt_019e8e2a-cb78-7597-bbb9-af4db82d1702" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherShortTermDebt_019e8e2a-cb78-7be3-870c-b39d3461b70e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfOtherShortTermDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_RepaymentsOfOtherShortTermDebt_019e8e2a-cb78-7be3-870c-b39d3461b70e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019e8e2a-cb78-7707-9c16-953b0f0be765" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019e8e2a-cb78-7707-9c16-953b0f0be765" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e8e2a-cb78-7237-aab5-641f47ef5a76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e8e2a-cb78-7237-aab5-641f47ef5a76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e8e2a-cb78-70a2-a4bd-e417b8a635a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e8e2a-cb78-70a2-a4bd-e417b8a635a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities_019e8e2a-cb78-7482-bee6-ade4d09cf6db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities_019e8e2a-cb78-7482-bee6-ade4d09cf6db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019f94db-8188-71a4-b56b-d3733150bc34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2a-cb78-7e35-b339-31ecb0d8b600" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019f94db-8188-71a4-b56b-d3733150bc34" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlbdm.com/role/AdvancesRedemptionTermsDetails" xlink:type="simple" xlink:href="fhlbdm-20260630.xsd#AdvancesRedemptionTermsDetails"/>
  <link:calculationLink xlink:role="http://www.fhlbdm.com/role/AdvancesRedemptionTermsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvances_019e8e2a-cb78-78f5-a91d-5bb6271740b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvances"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesPremium_019e8e2a-cb78-7042-8881-7d9047ef9de5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesPremium"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvances_019e8e2a-cb78-78f5-a91d-5bb6271740b8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesPremium_019e8e2a-cb78-7042-8881-7d9047ef9de5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesDiscount_019e8e2a-cb78-781b-a7d0-e3435e0d5446" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesDiscount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvances_019e8e2a-cb78-78f5-a91d-5bb6271740b8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesDiscount_019e8e2a-cb78-781b-a7d0-e3435e0d5446" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesValuationAdjustmentsForHedgingActivities_019e8e2a-cb78-78ce-acb3-9dd1149737d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesValuationAdjustmentsForHedgingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvances_019e8e2a-cb78-78f5-a91d-5bb6271740b8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesValuationAdjustmentsForHedgingActivities_019e8e2a-cb78-78ce-acb3-9dd1149737d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_019e8e2a-cb78-7651-8ad9-df1311782471" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesParValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvances_019e8e2a-cb78-78f5-a91d-5bb6271740b8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_019e8e2a-cb78-7651-8ad9-df1311782471" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlbdm.com/role/ConsolidatedObligationsDiscountNotesDetails" xlink:type="simple" xlink:href="fhlbdm-20260630.xsd#ConsolidatedObligationsDiscountNotesDetails"/>
  <link:calculationLink xlink:role="http://www.fhlbdm.com/role/ConsolidatedObligationsDiscountNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes_019e8e2a-cc35-7c38-ac86-a188f08dd077" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019e8e2a-cc35-7349-9170-a66f398e5b0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes_019e8e2a-cc35-7c38-ac86-a188f08dd077" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019e8e2a-cc35-7349-9170-a66f398e5b0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019e8e2a-cc35-79f2-9033-4d0f4387d333" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes_019e8e2a-cc35-7c38-ac86-a188f08dd077" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019e8e2a-cc35-79f2-9033-4d0f4387d333" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
