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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019c4d12-ede5-7822-ba2b-b30310d0decb,g:f1338318-4137-43cc-822c-dff3113f7b86-->
<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.fanniemae.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveIncomeUnaudited" xlink:type="simple" xlink:href="fnm-20260331.xsd#CondensedConsolidatedStatementsofOperationsandComprehensiveIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019c4d12-f330-7c66-9522-0f0cfece8eee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019c4d12-f330-73f3-912a-65d0faa2ecb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019c4d12-f330-7c66-9522-0f0cfece8eee" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019c4d12-f330-73f3-912a-65d0faa2ecb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_019c4d12-f330-7cec-b9b8-42baae4e75b3" 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_InterestAndFeeIncomeLoansAndLeases_019c4d12-f330-7553-8856-d0ce82472307" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019c4d12-f330-7cec-b9b8-42baae4e75b3" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_019c4d12-f330-7553-8856-d0ce82472307" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell_019c4d12-f330-776c-a121-61cea0870f77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019c4d12-f330-7cec-b9b8-42baae4e75b3" xlink:to="loc_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell_019c4d12-f330-776c-a121-61cea0870f77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesOperating_019c4d12-f330-7040-806b-20445b1a9b08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDebtSecuritiesOperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019c4d12-f330-7cec-b9b8-42baae4e75b3" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesOperating_019c4d12-f330-7040-806b-20445b1a9b08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019c4d12-f330-77cd-b1b9-0a3be9f2ed42" 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_InterestExpenseShortTermBorrowings_019c4d12-f330-7858-b556-9792f3e15e1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019c4d12-f330-77cd-b1b9-0a3be9f2ed42" xlink:to="loc_us-gaap_InterestExpenseShortTermBorrowings_019c4d12-f330-7858-b556-9792f3e15e1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt_019c4d12-f330-76eb-89b1-306c9806de72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseLongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019c4d12-f330-77cd-b1b9-0a3be9f2ed42" xlink:to="loc_us-gaap_InterestExpenseLongTermDebt_019c4d12-f330-76eb-89b1-306c9806de72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019c4d12-f330-7068-b45e-9da3b5af64d0" 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_GainLossOnInvestments_019c4d12-f330-7494-a9e1-83ce10ef8aed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019c4d12-f330-7068-b45e-9da3b5af64d0" xlink:to="loc_us-gaap_GainLossOnInvestments_019c4d12-f330-7494-a9e1-83ce10ef8aed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_019c4d12-f330-750e-8fca-d55262eab964" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019c4d12-f330-7068-b45e-9da3b5af64d0" xlink:to="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_019c4d12-f330-750e-8fca-d55262eab964" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_019c4d12-f330-774d-84e0-99ed37066ea0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019c4d12-f330-7068-b45e-9da3b5af64d0" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_019c4d12-f330-774d-84e0-99ed37066ea0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019c4d12-f330-7d73-b122-8657f3d185c1" 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_019c4d12-f330-704a-8ad5-f96a19bfb2b1" 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_019c4d12-f330-7d73-b122-8657f3d185c1" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_019c4d12-f330-704a-8ad5-f96a19bfb2b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019c4d12-f330-7800-9445-29a6117b8391" 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_019c4d12-f330-7d73-b122-8657f3d185c1" xlink:to="loc_us-gaap_InterestExpenseOperating_019c4d12-f330-7800-9445-29a6117b8391" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c4d12-f330-7302-84c2-a820bc7b17d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f330-724b-8e32-26304b7e233e" 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_NetIncomeLoss_019c4d12-f330-7302-84c2-a820bc7b17d9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f330-724b-8e32-26304b7e233e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019c4d12-f330-7a99-a5cb-21f2567586f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019c4d12-f330-7302-84c2-a820bc7b17d9" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019c4d12-f330-7a99-a5cb-21f2567586f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019c4d12-f330-7b99-9a70-624107fd2c57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c4d12-f330-7711-967f-debaf8544695" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019c4d12-f330-7b99-9a70-624107fd2c57" xlink:to="loc_us-gaap_NetIncomeLoss_019c4d12-f330-7711-967f-debaf8544695" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019c4d12-f330-702c-a660-aed6f00ff89e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019c4d12-f330-7b99-9a70-624107fd2c57" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019c4d12-f330-702c-a660-aed6f00ff89e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019c4d12-f330-7cc1-99f1-cd911a81c61f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c4d12-f330-7113-89d6-97b4cdedcfa1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019c4d12-f330-7cc1-99f1-cd911a81c61f" xlink:to="loc_us-gaap_NetIncomeLoss_019c4d12-f330-7113-89d6-97b4cdedcfa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsAndOtherAdjustments_019c4d12-f330-7edc-9d07-d00376964832" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockDividendsAndOtherAdjustments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019c4d12-f330-7cc1-99f1-cd911a81c61f" xlink:to="loc_us-gaap_PreferredStockDividendsAndOtherAdjustments_019c4d12-f330-7edc-9d07-d00376964832" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019c4d12-f330-7de8-a030-a20142f4a2f4" 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_ProfessionalAndContractServicesExpense_019c4d12-f330-7e1f-910d-d56afcf8ec26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfessionalAndContractServicesExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f330-7de8-a030-a20142f4a2f4" xlink:to="loc_us-gaap_ProfessionalAndContractServicesExpense_019c4d12-f330-7e1f-910d-d56afcf8ec26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LegislativeAssessmentExpense_019c4d12-f330-70de-be8e-0365ed9bed71" xlink:href="fnm-20260331.xsd#fnm_LegislativeAssessmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f330-7de8-a030-a20142f4a2f4" xlink:to="loc_fnm_LegislativeAssessmentExpense_019c4d12-f330-70de-be8e-0365ed9bed71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019c4d12-f330-737b-913d-38c276806386" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f330-7de8-a030-a20142f4a2f4" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019c4d12-f330-737b-913d-38c276806386" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CreditEnhancementExpense_019c4d12-f330-7869-beee-cc4f4f0a5e5e" xlink:href="fnm-20260331.xsd#fnm_CreditEnhancementExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f330-7de8-a030-a20142f4a2f4" xlink:to="loc_fnm_CreditEnhancementExpense_019c4d12-f330-7869-beee-cc4f4f0a5e5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherNoninterestIncomeExpense_019c4d12-f330-74f6-af28-7f8f993ff868" xlink:href="fnm-20260331.xsd#fnm_OtherNoninterestIncomeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f330-7de8-a030-a20142f4a2f4" xlink:to="loc_fnm_OtherNoninterestIncomeExpense_019c4d12-f330-74f6-af28-7f8f993ff868" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f330-7ca7-9d73-292813b62a11" 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_019c4d12-f330-7950-8a27-4e74c9f886bd" 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_019c4d12-f330-7ca7-9d73-292813b62a11" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_019c4d12-f330-7950-8a27-4e74c9f886bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019c4d12-f330-727b-ba26-b0a095ec79a7" 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_019c4d12-f330-7ca7-9d73-292813b62a11" xlink:to="loc_us-gaap_NoninterestIncome_019c4d12-f330-727b-ba26-b0a095ec79a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019d4f34-9e01-74c3-83c5-7765672241c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f330-7ca7-9d73-292813b62a11" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019d4f34-9e01-74c3-83c5-7765672241c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019d4f34-9e01-732b-94db-f0bb488ec71c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f330-7ca7-9d73-292813b62a11" xlink:to="loc_us-gaap_NoninterestExpense_019d4f34-9e01-732b-94db-f0bb488ec71c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="fnm-20260331.xsd#CondensedConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f330-76e2-9433-a4c8f7caa3a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleAmount_019c4d12-f330-7079-bc2e-f7ad26aecba6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableHeldForSaleAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f330-76e2-9433-a4c8f7caa3a6" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleAmount_019c4d12-f330-7079-bc2e-f7ad26aecba6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f330-74d8-a830-40d8655ebe98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f330-76e2-9433-a4c8f7caa3a6" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f330-74d8-a830-40d8655ebe98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" 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_Cash_019c4d12-f330-70c8-80f8-3e099c086959" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Cash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_us-gaap_Cash_019c4d12-f330-70c8-80f8-3e099c086959" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019c4d12-f330-7748-ab4c-5df0240b2928" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_us-gaap_RestrictedCash_019c4d12-f330-7748-ab4c-5df0240b2928" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_019c4d12-f330-7a7e-88e2-8168da697b54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_us-gaap_MarketableSecurities_019c4d12-f330-7a7e-88e2-8168da697b54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f330-7cd1-a78b-585c69ec8c85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f330-7cd1-a78b-585c69ec8c85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AdvanceToLender_019c4d12-f330-7447-9866-fb035dcace86" xlink:href="fnm-20260331.xsd#fnm_AdvanceToLender"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_fnm_AdvanceToLender_019c4d12-f330-7447-9866-fb035dcace86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f330-7771-8c36-27ac966847a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f330-7771-8c36-27ac966847a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019c4d12-f330-7314-a57c-629613099a26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019c4d12-f330-7314-a57c-629613099a26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019c4d12-f330-7810-8a09-d4142c832d59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_us-gaap_OtherAssets_019c4d12-f330-7810-8a09-d4142c832d59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_019c4d12-f330-7388-8d2a-b9f0d9a3d123" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019c4d12-f330-70c4-a8fe-aa759d19c425" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_019c4d12-f330-7388-8d2a-b9f0d9a3d123" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c4d12-f330-70bf-b3a9-e688136d8cfc" 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_019c4d12-f330-760b-9dea-a693e4a14a15" 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_019c4d12-f330-70bf-b3a9-e688136d8cfc" xlink:to="loc_us-gaap_Liabilities_019c4d12-f330-760b-9dea-a693e4a14a15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019c4d12-f330-7e71-8e81-2a9b7a163ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c4d12-f330-70bf-b3a9-e688136d8cfc" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019c4d12-f330-7e71-8e81-2a9b7a163ea1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c4d12-f330-7073-a933-f860a40259e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019c4d12-f330-70bf-b3a9-e688136d8cfc" xlink:to="loc_us-gaap_StockholdersEquity_019c4d12-f330-7073-a933-f860a40259e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f330-74ad-ba41-34b0b1592bb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c4d12-f330-7e56-a243-fe8f5002b7fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f330-74ad-ba41-34b0b1592bb0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c4d12-f330-7e56-a243-fe8f5002b7fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019c4d12-f330-7aa8-8020-9e7a08f308cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f330-74ad-ba41-34b0b1592bb0" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019c4d12-f330-7aa8-8020-9e7a08f308cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019c4d12-f330-75b0-b2aa-b3b4bce2e816" 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_DebtAndCapitalLeaseObligations_019c4d12-f330-7057-843a-a43118df7e3a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c4d12-f330-75b0-b2aa-b3b4bce2e816" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_019c4d12-f330-7057-843a-a43118df7e3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019c4d12-f330-70b0-a18a-164f45769937" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c4d12-f330-75b0-b2aa-b3b4bce2e816" xlink:to="loc_us-gaap_OtherLiabilities_019c4d12-f330-70b0-a18a-164f45769937" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_019c4d12-f330-7051-a3a7-0b527e12b4a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019c4d12-f330-75b0-b2aa-b3b4bce2e816" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_019c4d12-f330-7051-a3a7-0b527e12b4a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c4d12-f330-726e-8015-3f6dbcc6f58a" 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_fnm_SeniorPreferredStockValue_019c4d12-f330-7e4c-8ff5-9acee76e5e2d" xlink:href="fnm-20260331.xsd#fnm_SeniorPreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c4d12-f330-726e-8015-3f6dbcc6f58a" xlink:to="loc_fnm_SeniorPreferredStockValue_019c4d12-f330-7e4c-8ff5-9acee76e5e2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019c4d12-f330-7a95-bfbd-1641a0620a00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c4d12-f330-726e-8015-3f6dbcc6f58a" xlink:to="loc_us-gaap_PreferredStockValue_019c4d12-f330-7a95-bfbd-1641a0620a00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019c4d12-f330-73d8-8f0c-af88d91494d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c4d12-f330-726e-8015-3f6dbcc6f58a" xlink:to="loc_us-gaap_CommonStockValue_019c4d12-f330-73d8-8f0c-af88d91494d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019c4d12-f330-7d14-a4fe-f609f080131a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c4d12-f330-726e-8015-3f6dbcc6f58a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019c4d12-f330-7d14-a4fe-f609f080131a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019c4d12-f330-73d5-b69a-8ae852a6cebb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c4d12-f330-726e-8015-3f6dbcc6f58a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019c4d12-f330-73d5-b69a-8ae852a6cebb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_019c4d12-f330-7790-8d29-a52795e0c95e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019c4d12-f330-726e-8015-3f6dbcc6f58a" xlink:to="loc_us-gaap_TreasuryStockValue_019c4d12-f330-7790-8d29-a52795e0c95e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="fnm-20260331.xsd#CondensedConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019c4d12-f330-76d1-afb7-3b91d46522e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c4d12-f330-70bc-993b-de81bef383a3" 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019c4d12-f330-76d1-afb7-3b91d46522e4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019c4d12-f330-70bc-993b-de81bef383a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-767e-aa5a-b7d09628070f" 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019c4d12-f330-76d1-afb7-3b91d46522e4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-767e-aa5a-b7d09628070f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c4d12-f330-75ff-a5f6-1da72ea67d28" 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019c4d12-f330-76d1-afb7-3b91d46522e4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c4d12-f330-75ff-a5f6-1da72ea67d28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" 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_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_019c4d12-f330-7651-ba3c-a0176ec3dc9a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_019c4d12-f330-7651-ba3c-a0176ec3dc9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PaymentsForAdvancesToLenders_019c4d12-f330-7192-baa0-3ef216e66b76" xlink:href="fnm-20260331.xsd#fnm_PaymentsForAdvancesToLenders"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_fnm_PaymentsForAdvancesToLenders_019c4d12-f330-7192-baa0-3ef216e66b76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment_019c4d12-f330-7d36-9bfd-ef3ef93cc5d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment_019c4d12-f330-7d36-9bfd-ef3ef93cc5d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet_019c4d12-f330-7327-afa6-84085defcb0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet_019c4d12-f330-7327-afa6-84085defcb0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_019c4d12-f330-7888-a990-b5d147f20ef8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLoansHeldForInvestment"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_019c4d12-f330-7888-a990-b5d147f20ef8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_019c4d12-f330-76bb-8c46-008d44f3f72e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_019c4d12-f330-76bb-8c46-008d44f3f72e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019c4d12-f330-7e1e-b555-2751f5b94f2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019c4d12-f330-7e1e-b555-2751f5b94f2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019d4f3e-3268-797a-aac9-1e2f7d0e1f52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019d4f3e-3268-797a-aac9-1e2f7d0e1f52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019d791f-2880-7a05-9616-3fab375b0785" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019c4d12-f330-74fc-bbd9-bfbc1034ac71" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019d791f-2880-7a05-9616-3fab375b0785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c4d12-f330-782e-986d-8abdc38ca4db" 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_ProceedsFromPaymentsForOtherFinancingActivities_019c4d12-f330-7be7-8485-98fb021701c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c4d12-f330-782e-986d-8abdc38ca4db" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019c4d12-f330-7be7-8485-98fb021701c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_019c4d12-f330-7c95-98a7-0e2537a29d8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c4d12-f330-782e-986d-8abdc38ca4db" xlink:to="loc_us-gaap_RepaymentsOfDebt_019c4d12-f330-7c95-98a7-0e2537a29d8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_019c4d12-f330-7c13-8367-487472dc87ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c4d12-f330-782e-986d-8abdc38ca4db" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_019c4d12-f330-7c13-8367-487472dc87ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_019c4d12-f330-7508-a4f0-bc2a3c642516" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019c4d12-f330-782e-986d-8abdc38ca4db" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_019c4d12-f330-7508-a4f0-bc2a3c642516" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/CondensedConsolidatedStatementsofChangesinEquityUnaudited" xlink:type="simple" xlink:href="fnm-20260331.xsd#CondensedConsolidatedStatementsofChangesinEquityUnaudited"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/CondensedConsolidatedStatementsofChangesinEquityUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019c4d12-f330-712d-bc6d-10a780a37bb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c4d12-f330-7550-b240-0f0f393d37ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019c4d12-f330-712d-bc6d-10a780a37bb9" xlink:to="loc_us-gaap_NetIncomeLoss_019c4d12-f330-7550-b240-0f0f393d37ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019c4d12-f330-7ec0-a804-4d60aae6c893" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019c4d12-f330-712d-bc6d-10a780a37bb9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019c4d12-f330-7ec0-a804-4d60aae6c893" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_019c4d12-f330-7324-bd1c-9fd2e3efe616" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019c4d12-f330-712d-bc6d-10a780a37bb9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_019c4d12-f330-7324-bd1c-9fd2e3efe616" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeOtherNetOfTax_019db64d-b2a0-70dd-858d-05e112e661c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeOtherNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019c4d12-f330-712d-bc6d-10a780a37bb9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeOtherNetOfTax_019db64d-b2a0-70dd-858d-05e112e661c5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/MortgageLoansLoansinMortgagePortfolioDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#MortgageLoansLoansinMortgagePortfolioDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/MortgageLoansLoansinMortgagePortfolioDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f3df-77a8-826a-1adf66574297" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance_019c4d12-f3df-762b-ab57-f864f46b1593" xlink:href="fnm-20260331.xsd#fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f3df-77a8-826a-1adf66574297" xlink:to="loc_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance_019c4d12-f3df-762b-ab57-f864f46b1593" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet_019c4d12-f3df-7d57-b07a-10ef3ba63817" xlink:href="fnm-20260331.xsd#fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f3df-77a8-826a-1adf66574297" xlink:to="loc_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet_019c4d12-f3df-7d57-b07a-10ef3ba63817" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019c4d12-f3df-7242-8ef7-79a9615652f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_019c4d12-f3df-77a8-826a-1adf66574297" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019c4d12-f3df-7242-8ef7-79a9615652f8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/MortgageLoansCreditQualityIndicatorsSFDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#MortgageLoansCreditQualityIndicatorsSFDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/MortgageLoansCreditQualityIndicatorsSFDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolvingWriteoff_019c4d12-f3df-76f6-baad-c36079dd6cb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRevolvingWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-7e1c-a2c5-8c391349f136" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableRevolvingWriteoff_019c4d12-f3df-76f6-baad-c36079dd6cb8" xlink:to="loc_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-7e1c-a2c5-8c391349f136" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-780a-8037-274ec34abac7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableRevolvingWriteoff_019c4d12-f3df-76f6-baad-c36079dd6cb8" xlink:to="loc_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-780a-8037-274ec34abac7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-7aec-97e1-8c04c4da1cde" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableRevolvingWriteoff_019c4d12-f3df-76f6-baad-c36079dd6cb8" xlink:to="loc_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-7aec-97e1-8c04c4da1cde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff_019c4d12-f3df-72bb-bbe7-9f06a033a0ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableRevolvingWriteoff_019c4d12-f3df-76f6-baad-c36079dd6cb8" xlink:to="loc_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff_019c4d12-f3df-72bb-bbe7-9f06a033a0ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-7cb3-8f39-c7584d82ff39" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableRevolvingWriteoff_019c4d12-f3df-76f6-baad-c36079dd6cb8" xlink:to="loc_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-7cb3-8f39-c7584d82ff39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-7dde-856e-99ae31c240cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableRevolvingWriteoff_019c4d12-f3df-76f6-baad-c36079dd6cb8" xlink:to="loc_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_019c4d12-f3df-7dde-856e-99ae31c240cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_019c4d12-f3df-74b4-a8d1-370e18b15935" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_019c4d12-f3df-70e6-ac42-cd757e45607d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019c4d12-f3df-74b4-a8d1-370e18b15935" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_019c4d12-f3df-70e6-ac42-cd757e45607d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_019c4d12-f3df-7d28-ae16-3a51a7691afa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019c4d12-f3df-74b4-a8d1-370e18b15935" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_019c4d12-f3df-7d28-ae16-3a51a7691afa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_019c4d12-f3df-75f0-ab5e-59f32759563c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019c4d12-f3df-74b4-a8d1-370e18b15935" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_019c4d12-f3df-75f0-ab5e-59f32759563c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_019c4d12-f3df-7b06-878b-42d38679d93d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019c4d12-f3df-74b4-a8d1-370e18b15935" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_019c4d12-f3df-7b06-878b-42d38679d93d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_019c4d12-f3df-7130-acc8-4f6fe7956562" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019c4d12-f3df-74b4-a8d1-370e18b15935" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_019c4d12-f3df-7130-acc8-4f6fe7956562" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_019c4d12-f3df-7fb6-987b-20b6b45cd51d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019c4d12-f3df-74b4-a8d1-370e18b15935" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_019c4d12-f3df-7fb6-987b-20b6b45cd51d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/AllowanceforCreditLossesComponentsoftheAllowanceDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#AllowanceforCreditLossesComponentsoftheAllowanceDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/AllowanceforCreditLossesComponentsoftheAllowanceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest_019d4f98-fd6e-7e75-b64d-de9ee46802c0" xlink:href="fnm-20260331.xsd#fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019d4f98-fd6e-7227-9da5-87369de89c06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest_019d4f98-fd6e-7e75-b64d-de9ee46802c0" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019d4f98-fd6e-7227-9da5-87369de89c06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest_019d4f98-fd6e-7ae0-8ff7-2c7d035085cb" xlink:href="fnm-20260331.xsd#fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest_019d4f98-fd6e-7e75-b64d-de9ee46802c0" xlink:to="loc_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest_019d4f98-fd6e-7ae0-8ff7-2c7d035085cb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/InvestmentsinSecuritiesInvestmentsinTradingSecuritiesDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#InvestmentsinSecuritiesInvestmentsinTradingSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/InvestmentsinSecuritiesInvestmentsinTradingSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecurities_019d4fa6-86de-71a2-8095-578e597ba4ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019d4fa6-86de-7227-8056-caf34e3b4635" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecurities_019d4fa6-86de-71a2-8095-578e597ba4ee" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019d4fa6-86de-7227-8056-caf34e3b4635" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebt_019d4fa6-86de-78ad-a0f0-a5413951b6e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecuritiesDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecurities_019d4fa6-86de-71a2-8095-578e597ba4ee" xlink:to="loc_us-gaap_TradingSecuritiesDebt_019d4fa6-86de-78ad-a0f0-a5413951b6e8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/InvestmentsinSecuritiesMaturityInformationDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#InvestmentsinSecuritiesMaturityInformationDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/InvestmentsinSecuritiesMaturityInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f3df-7035-9d15-ef1d29cc0b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_019c4d12-f3df-71dd-bf39-c176198ba7c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f3df-7035-9d15-ef1d29cc0b4c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_019c4d12-f3df-71dd-bf39-c176198ba7c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_019c4d12-f3df-7089-96d9-00591a9347b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f3df-7035-9d15-ef1d29cc0b4c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_019c4d12-f3df-7089-96d9-00591a9347b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_019c4d12-f3df-7630-9f04-930b8e0b8b5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f3df-7035-9d15-ef1d29cc0b4c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_019c4d12-f3df-7630-9f04-930b8e0b8b5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_019c4d12-f3df-7ef0-959a-ddab56308ccc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019c4d12-f3df-7035-9d15-ef1d29cc0b4c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_019c4d12-f3df-7ef0-959a-ddab56308ccc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019c4d12-f3df-7335-828a-2accde26fb6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_019c4d12-f3df-7ef0-8b1b-1ba1f08f4068" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019c4d12-f3df-7335-828a-2accde26fb6b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_019c4d12-f3df-7ef0-8b1b-1ba1f08f4068" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_019c4d12-f3df-7bf4-80cb-687b20af966e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019c4d12-f3df-7335-828a-2accde26fb6b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_019c4d12-f3df-7bf4-80cb-687b20af966e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_019c4d12-f3df-7171-a8cc-b805373db56d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019c4d12-f3df-7335-828a-2accde26fb6b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_019c4d12-f3df-7171-a8cc-b805373db56d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_019c4d12-f3df-7df9-9b6c-3306a0beae42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019c4d12-f3df-7335-828a-2accde26fb6b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_019c4d12-f3df-7df9-9b6c-3306a0beae42" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/DerivativeInstrumentsNotionalandFairValuePositionDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#DerivativeInstrumentsNotionalandFairValuePositionDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/DerivativeInstrumentsNotionalandFairValuePositionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019c4d12-f3df-729a-9ecf-ed2de3605032" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_019c4d12-f3df-7531-9b80-a8133e96baeb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019c4d12-f3df-729a-9ecf-ed2de3605032" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_019c4d12-f3df-7531-9b80-a8133e96baeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019c4d12-f3df-77b2-a9bd-1dcad864177c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019c4d12-f3df-729a-9ecf-ed2de3605032" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019c4d12-f3df-77b2-a9bd-1dcad864177c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019c4d12-f3df-74c0-bd3b-613d87e42c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_019c4d12-f3df-7319-b12a-2c30e474f1f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019c4d12-f3df-74c0-bd3b-613d87e42c2d" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_019c4d12-f3df-7319-b12a-2c30e474f1f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019c4d12-f3df-73b8-b1ce-d95512e60764" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019c4d12-f3df-74c0-bd3b-613d87e42c2d" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019c4d12-f3df-73b8-b1ce-d95512e60764" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/DerivativeInstrumentsEffectofFairValueHedgeAccountingDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#DerivativeInstrumentsEffectofFairValueHedgeAccountingDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/DerivativeInstrumentsEffectofFairValueHedgeAccountingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019d4fbc-4070-78a4-a2a4-28d1ffedf086" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_019d4fbc-4070-7dfa-a925-137ec26f3c4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019d4fbc-4070-78a4-a2a4-28d1ffedf086" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_019d4fbc-4070-7dfa-a925-137ec26f3c4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization_019d4fbc-4070-77a7-9b80-4800c173849d" xlink:href="fnm-20260331.xsd#fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019d4fbc-4070-78a4-a2a4-28d1ffedf086" xlink:to="loc_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization_019d4fbc-4070-77a7-9b80-4800c173849d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_019d4fbc-4070-766d-970b-98fdafc498ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019d4fbc-4070-78a4-a2a4-28d1ffedf086" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_019d4fbc-4070-766d-970b-98fdafc498ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_InterestAccrualsOnHedgingInstruments_019d4fbc-4070-7c41-83ee-93c942e1cea5" xlink:href="fnm-20260331.xsd#fnm_InterestAccrualsOnHedgingInstruments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019d4fbc-4070-78a4-a2a4-28d1ffedf086" xlink:to="loc_fnm_InterestAccrualsOnHedgingInstruments_019d4fbc-4070-7c41-83ee-93c942e1cea5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/SegmentReportingScheduleofSegmentReportingDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#SegmentReportingScheduleofSegmentReportingDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/SegmentReportingScheduleofSegmentReportingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019c4d12-f3df-7937-add6-27db354aab8c" 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_GeneralAndAdministrativeExpense_019c4d12-f3df-785a-9369-ee4a8256a09f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f3df-7937-add6-27db354aab8c" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019c4d12-f3df-785a-9369-ee4a8256a09f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LegislativeAssessmentExpense_019c4d12-f3df-7764-be1b-225f70a6a39b" xlink:href="fnm-20260331.xsd#fnm_LegislativeAssessmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f3df-7937-add6-27db354aab8c" xlink:to="loc_fnm_LegislativeAssessmentExpense_019c4d12-f3df-7764-be1b-225f70a6a39b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CreditEnhancementExpense_019c4d12-f3df-76d4-9586-a8af4608314b" xlink:href="fnm-20260331.xsd#fnm_CreditEnhancementExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f3df-7937-add6-27db354aab8c" xlink:to="loc_fnm_CreditEnhancementExpense_019c4d12-f3df-76d4-9586-a8af4608314b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries_019c4d12-f3df-795e-ba5d-b27444c70f7d" xlink:href="fnm-20260331.xsd#fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019c4d12-f3df-7937-add6-27db354aab8c" xlink:to="loc_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries_019c4d12-f3df-795e-ba5d-b27444c70f7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherNoninterestGainsLossesNet_019d4fce-7adf-7ea9-b84c-29a0ddc0ff14" xlink:href="fnm-20260331.xsd#fnm_OtherNoninterestGainsLossesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_019d4fce-7adf-787c-b9c6-1ea281d11a48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_OtherNoninterestGainsLossesNet_019d4fce-7adf-7ea9-b84c-29a0ddc0ff14" xlink:to="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_019d4fce-7adf-787c-b9c6-1ea281d11a48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_019d4fce-7adf-7ff0-a3b1-5ecebb172860" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_OtherNoninterestGainsLossesNet_019d4fce-7adf-7ea9-b84c-29a0ddc0ff14" xlink:to="loc_us-gaap_GainLossOnInvestments_019d4fce-7adf-7ff0-a3b1-5ecebb172860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f3df-7633-91ff-f25ec8de8764" 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_RevenuesNetOfInterestExpense_019c4d12-f3df-7535-8673-501fd5981804" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesNetOfInterestExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f3df-7633-91ff-f25ec8de8764" xlink:to="loc_us-gaap_RevenuesNetOfInterestExpense_019c4d12-f3df-7535-8673-501fd5981804" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherNoninterestGainsLossesNet_019c4d12-f3df-74f7-a73a-447517a9cd82" xlink:href="fnm-20260331.xsd#fnm_OtherNoninterestGainsLossesNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f3df-7633-91ff-f25ec8de8764" xlink:to="loc_fnm_OtherNoninterestGainsLossesNet_019c4d12-f3df-74f7-a73a-447517a9cd82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019c4d12-f3df-7eb8-a547-7f27eb37195e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f3df-7633-91ff-f25ec8de8764" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019c4d12-f3df-7eb8-a547-7f27eb37195e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019d500f-78c1-73aa-b996-ba30de9f59c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f3df-7633-91ff-f25ec8de8764" xlink:to="loc_us-gaap_NoninterestExpense_019d500f-78c1-73aa-b996-ba30de9f59c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesNetOfInterestExpense_019c4d12-f3df-700c-a1ce-a3d3b80721d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesNetOfInterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOther_019c4d12-f3df-7961-8f25-a4de60fd5a09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RevenuesNetOfInterestExpense_019c4d12-f3df-700c-a1ce-a3d3b80721d1" xlink:to="loc_us-gaap_NoninterestIncomeOther_019c4d12-f3df-7961-8f25-a4de60fd5a09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019c4d12-f3df-732e-b324-8b5ef8f8b177" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RevenuesNetOfInterestExpense_019c4d12-f3df-700c-a1ce-a3d3b80721d1" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_019c4d12-f3df-732e-b324-8b5ef8f8b177" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019c4d12-f3df-710f-adb1-8304e3f61d01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019c4d12-f3df-7dda-86bd-28468c93abdc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019c4d12-f3df-710f-adb1-8304e3f61d01" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019c4d12-f3df-7dda-86bd-28468c93abdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f3df-74eb-b565-5c9ff7de0d23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019c4d12-f3df-710f-adb1-8304e3f61d01" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c4d12-f3df-74eb-b565-5c9ff7de0d23" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/NettingArrangementsDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#NettingArrangementsDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/NettingArrangementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement_019d793e-fed0-743c-be20-050a7dc0cac8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross_019d793e-fed0-75cb-bafd-0dddbc8f498b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement_019d793e-fed0-743c-be20-050a7dc0cac8" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross_019d793e-fed0-75cb-bafd-0dddbc8f498b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability_019d793e-fed0-7de1-bd11-de6e3bea288a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement_019d793e-fed0-743c-be20-050a7dc0cac8" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability_019d793e-fed0-7de1-bd11-de6e3bea288a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities_019c4d12-f3e0-74a4-b2ed-267f78ce56a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_019c4d12-f3e0-7305-97c9-39ade0fcadb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities_019c4d12-f3e0-74a4-b2ed-267f78ce56a1" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_019c4d12-f3e0-7305-97c9-39ade0fcadb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities_019c4d12-f3e0-73b4-87e6-2b5dbca096d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities_019c4d12-f3e0-74a4-b2ed-267f78ce56a1" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities_019c4d12-f3e0-73b4-87e6-2b5dbca096d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_019c4d12-f3e0-7d63-ac05-7ae9317549aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019c4d12-f3e0-7539-8c88-c96679d4a347" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_019c4d12-f3e0-7d63-ac05-7ae9317549aa" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019c4d12-f3e0-7539-8c88-c96679d4a347" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral_019c4d12-f3e0-74a3-b594-8348b2f00cbd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7c58-b98c-25ced47a5e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral_019c4d12-f3e0-74a3-b594-8348b2f00cbd" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7c58-b98c-25ced47a5e0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities_019c4d12-f3e0-7ad9-9922-7660b8722e03" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral_019c4d12-f3e0-74a3-b594-8348b2f00cbd" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities_019c4d12-f3e0-7ad9-9922-7660b8722e03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement_019c4d12-f3e0-7dc1-bdf8-58aae5bdaa2e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral_019c4d12-f3e0-74a3-b594-8348b2f00cbd" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement_019c4d12-f3e0-7dc1-bdf8-58aae5bdaa2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_019c4d12-f3e0-77c6-a2a2-01d693f4f52d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019c4d12-f3e0-760b-b654-078b825e8602" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_019c4d12-f3e0-77c6-a2a2-01d693f4f52d" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019c4d12-f3e0-760b-b654-078b825e8602" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_019c4d12-f3e0-7e9d-8f81-e77a63c558a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019c4d12-f3e0-7569-aac0-ddce5a86c2ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_019c4d12-f3e0-7e9d-8f81-e77a63c558a5" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019c4d12-f3e0-7569-aac0-ddce5a86c2ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability_019c4d12-f3e0-7d68-a800-96ba783447e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019c4d12-f3e0-7303-bd96-4c7f73e720d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability_019c4d12-f3e0-7d68-a800-96ba783447e1" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019c4d12-f3e0-7303-bd96-4c7f73e720d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability_019c4d12-f3e0-7e87-8b3d-460ebed8ac93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability_019c4d12-f3e0-7d68-a800-96ba783447e1" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability_019c4d12-f3e0-7e87-8b3d-460ebed8ac93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_019c4d12-f3e0-76ef-94d8-bf7eb5368238" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019c4d12-f3e0-7a44-afd7-635dbe75f7e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_019c4d12-f3e0-76ef-94d8-bf7eb5368238" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019c4d12-f3e0-7a44-afd7-635dbe75f7e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019c4d12-f3e0-7022-8584-d2794fe2a609" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_019c4d12-f3e0-76ef-94d8-bf7eb5368238" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019c4d12-f3e0-7022-8584-d2794fe2a609" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction_019c4d12-f3e0-71aa-9ec8-3be6a09a3604" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7340-8552-79fe51a7a674" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction_019c4d12-f3e0-71aa-9ec8-3be6a09a3604" xlink:to="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7340-8552-79fe51a7a674" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-7532-9536-86682cea5d12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_019c4d12-f3e0-7fc9-8687-df7afac153ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-7532-9536-86682cea5d12" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_019c4d12-f3e0-7fc9-8687-df7afac153ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_019c4d12-f3e0-7b35-a312-b95bdfd0b60c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-7532-9536-86682cea5d12" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_019c4d12-f3e0-7b35-a312-b95bdfd0b60c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_019c4d12-f3e0-7514-8951-b4d861fcb662" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_019c4d12-f3e0-74d6-bf0f-925870d7f696" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_019c4d12-f3e0-7514-8951-b4d861fcb662" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_019c4d12-f3e0-74d6-bf0f-925870d7f696" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019c4d12-f3e0-78d0-afbf-cf87670c2755" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_019c4d12-f3e0-7e03-956d-ab3331aeda51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019c4d12-f3e0-78d0-afbf-cf87670c2755" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_019c4d12-f3e0-7e03-956d-ab3331aeda51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_019c4d12-f3e0-7afc-bfd5-48bd6ff45c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019c4d12-f3e0-78d0-afbf-cf87670c2755" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_019c4d12-f3e0-7afc-bfd5-48bd6ff45c7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7096-b2d8-4844ee070b0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019c4d12-f3e0-78d0-afbf-cf87670c2755" xlink:to="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7096-b2d8-4844ee070b0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral_019c4d12-f3e0-7613-b89a-413363eddf36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019c4d12-f3e0-7791-8995-ddbcd7704378" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral_019c4d12-f3e0-7613-b89a-413363eddf36" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019c4d12-f3e0-7791-8995-ddbcd7704378" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral_019c4d12-f3e0-7d3b-8487-ebb43a815285" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral_019c4d12-f3e0-7613-b89a-413363eddf36" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral_019c4d12-f3e0-7d3b-8487-ebb43a815285" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross_019c4d12-f3e0-7cc9-8cd0-9e417df36d37" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019c4d12-f3e0-739c-b2db-d34ad6d8e69c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross_019c4d12-f3e0-7cc9-8cd0-9e417df36d37" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019c4d12-f3e0-739c-b2db-d34ad6d8e69c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross_019c4d12-f3e0-75bf-9cdf-277aa0bb4051" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross_019c4d12-f3e0-7cc9-8cd0-9e417df36d37" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross_019c4d12-f3e0-75bf-9cdf-277aa0bb4051" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019c4d12-f3e0-7ce1-8736-6051d2a36c9d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_019c4d12-f3e0-7f7a-9eeb-580febfdd09d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019c4d12-f3e0-7ce1-8736-6051d2a36c9d" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_019c4d12-f3e0-7f7a-9eeb-580febfdd09d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7f88-9e8b-7844fdccde96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019c4d12-f3e0-7ce1-8736-6051d2a36c9d" xlink:to="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7f88-9e8b-7844fdccde96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_019c4d12-f3e0-7968-bbd8-9a4dbcf69d32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019c4d12-f3e0-7ce1-8736-6051d2a36c9d" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_019c4d12-f3e0-7968-bbd8-9a4dbcf69d32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction_019c4d12-f3e0-73e6-92d8-dfa3b78c7296" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7004-a42b-3808351b3584" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction_019c4d12-f3e0-73e6-92d8-dfa3b78c7296" xlink:to="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7004-a42b-3808351b3584" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7413-87d8-08837b202c71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction_019c4d12-f3e0-73e6-92d8-dfa3b78c7296" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7413-87d8-08837b202c71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-73de-8a75-5dd63cb070bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross_019c4d12-f3e0-70fd-a12b-fbff4af31e77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-73de-8a75-5dd63cb070bb" xlink:to="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross_019c4d12-f3e0-70fd-a12b-fbff4af31e77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability_019c4d12-f3e0-78d8-b34d-641856c6bc09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-73de-8a75-5dd63cb070bb" xlink:to="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability_019c4d12-f3e0-78d8-b34d-641856c6bc09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_019c4d12-f3e0-71be-88ad-b808f8ea20cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019c4d12-f3e0-7c9d-bff1-4b08f7f44376" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_019c4d12-f3e0-71be-88ad-b808f8ea20cd" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019c4d12-f3e0-7c9d-bff1-4b08f7f44376" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019c4d12-f3e0-729a-b770-347009e2e9e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_019c4d12-f3e0-71be-88ad-b808f8ea20cd" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019c4d12-f3e0-729a-b770-347009e2e9e7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/NettingArrangementsDetails_1" xlink:type="simple" xlink:href="fnm-20260331.xsd#NettingArrangementsDetails_1"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/NettingArrangementsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_019c4d12-f3e0-7972-b5e0-d37698a1fcb2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-7820-9ce4-7576005de20a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_019c4d12-f3e0-7972-b5e0-d37698a1fcb2" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-7820-9ce4-7576005de20a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7387-98be-da06cc9cdb34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_019c4d12-f3e0-7972-b5e0-d37698a1fcb2" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction_019c4d12-f3e0-7387-98be-da06cc9cdb34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_019c4d12-f3e0-7577-bddc-758ac62a552a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_019c4d12-f3e0-7972-b5e0-d37698a1fcb2" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_019c4d12-f3e0-7577-bddc-758ac62a552a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-79f1-9318-2dd1880658ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_019c4d12-f3e0-7a7d-abe4-d7723349b1b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_019c4d12-f3e0-79f1-9318-2dd1880658ca" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_019c4d12-f3e0-7a7d-abe4-d7723349b1b5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/FairValueLevelsHierarchyDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#FairValueLevelsHierarchyDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/FairValueLevelsHierarchyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019dbb22-8534-729f-8746-5cd69fc9c763" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_019dbb22-8534-74de-b509-19afb3eb69f9" 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_AssetsFairValueDisclosure_019dbb22-8534-729f-8746-5cd69fc9c763" xlink:to="loc_us-gaap_TradingSecurities_019dbb22-8534-74de-b509-19afb3eb69f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019dbb22-8534-74d9-be75-a19b288783e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019dbb22-8534-729f-8746-5cd69fc9c763" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019dbb22-8534-74d9-be75-a19b288783e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_019dbb22-8534-7fc2-bcba-751f84351566" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019dbb22-8534-729f-8746-5cd69fc9c763" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_019dbb22-8534-7fc2-bcba-751f84351566" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019dbb22-8534-7de9-8c19-c7228bc61596" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019dbb22-8534-729f-8746-5cd69fc9c763" xlink:to="loc_us-gaap_DerivativeAssets_019dbb22-8534-7de9-8c19-c7228bc61596" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019dbb22-6a6e-709f-8c29-b9861a553fa5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_019dbb22-6a6e-7e47-90f0-866ae286f913" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019dbb22-6a6e-709f-8c29-b9861a553fa5" xlink:to="loc_us-gaap_LongTermDebtFairValue_019dbb22-6a6e-7e47-90f0-866ae286f913" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019dbb22-6a6e-75c7-abf8-4d87923cbd22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019dbb22-6a6e-709f-8c29-b9861a553fa5" xlink:to="loc_us-gaap_DerivativeLiabilities_019dbb22-6a6e-75c7-abf8-4d87923cbd22" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fanniemae.com/role/FairValueFairValueofFinancialInstrumentsDetails" xlink:type="simple" xlink:href="fnm-20260331.xsd#FairValueFairValueofFinancialInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.fanniemae.com/role/FairValueFairValueofFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:href="fnm-20260331.xsd#fnm_FinancialAssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CashAndRestrictedCashFairValueDisclosure_019dbb21-563b-724c-81ab-482e6f1a3817" xlink:href="fnm-20260331.xsd#fnm_CashAndRestrictedCashFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_fnm_CashAndRestrictedCashFairValueDisclosure_019dbb21-563b-724c-81ab-482e6f1a3817" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure_019dbb21-563b-7ae5-addb-a79ee7b0d450" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure_019dbb21-563b-7ae5-addb-a79ee7b0d450" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_019dbb21-563b-71eb-94de-13c12e98355a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_us-gaap_TradingSecurities_019dbb21-563b-71eb-94de-13c12e98355a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019dbb21-563b-788f-9741-38a3665eee83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019dbb21-563b-788f-9741-38a3665eee83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgagesHeldForSaleFairValueDisclosure_019dbb21-563b-7388-a758-08a004808b1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgagesHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_us-gaap_MortgagesHeldForSaleFairValueDisclosure_019dbb21-563b-7388-a758-08a004808b1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure_019dbb21-563b-77bb-baad-e3891e12c5c1" xlink:href="fnm-20260331.xsd#fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure_019dbb21-563b-77bb-baad-e3891e12c5c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesFairValueDisclosure_019dbb21-563b-7fd4-866b-784c2c5fcb87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdvancesFairValueDisclosure"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_us-gaap_AdvancesFairValueDisclosure_019dbb21-563b-7fd4-866b-784c2c5fcb87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019dbb21-563b-7447-bb83-689adda0d2a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_us-gaap_DerivativeAssets_019dbb21-563b-7447-bb83-689adda0d2a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuarantyAssets_019dbb21-563b-788f-bbdc-07f026d5fc11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuarantyAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure_019dbb21-563b-7a9c-9ce4-c3b42c572a2e" xlink:to="loc_us-gaap_GuarantyAssets_019dbb21-563b-788f-bbdc-07f026d5fc11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019dbb21-d9a4-702b-9bfb-925408ddad91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShorttermDebtFairValue_019dbb21-d9a4-7a50-8bf0-02c4c61b0e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShorttermDebtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019dbb21-d9a4-702b-9bfb-925408ddad91" xlink:to="loc_us-gaap_ShorttermDebtFairValue_019dbb21-d9a4-7a50-8bf0-02c4c61b0e5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_019dbb21-d9a4-76a0-9c09-3682cc87dff2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019dbb21-d9a4-702b-9bfb-925408ddad91" xlink:to="loc_us-gaap_LongTermDebtFairValue_019dbb21-d9a4-76a0-9c09-3682cc87dff2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019dbb21-d9a4-7f8f-ad6d-d26312c76136" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019dbb21-d9a4-702b-9bfb-925408ddad91" xlink:to="loc_us-gaap_DerivativeLiabilities_019dbb21-d9a4-7f8f-ad6d-d26312c76136" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteesFairValueDisclosure_019dbb21-d9a4-76d0-97d4-f955b590c649" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteesFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019dbb21-d9a4-702b-9bfb-925408ddad91" xlink:to="loc_us-gaap_GuaranteesFairValueDisclosure_019dbb21-d9a4-76d0-97d4-f955b590c649" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
