<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPolicies" xlink:href="agm-20151231.xsd#AccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesAccountingPoliciesPolicies" xlink:href="agm-20151231.xsd#AccountingPoliciesAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesAccountingPoliciesTables" xlink:href="agm-20151231.xsd#AccountingPoliciesAccountingPoliciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesCashAndCashEquivalentsAndStatementsOfCashFlowsDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesCashAndCashEquivalentsAndStatementsOfCashFlowsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesChangesInAccumulatedOtherComprehensiveIncomeNetOfTaxDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesChangesInAccumulatedOtherComprehensiveIncomeNetOfTaxDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesComponentsOfOtherComprehensiveIncomeLossAndRelatedTaxImpactDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesComponentsOfOtherComprehensiveIncomeLossAndRelatedTaxImpactDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesConsolidationOfVariableInterestEntitiesDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesConsolidationOfVariableInterestEntitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesEarningsPerShareAntiDilutiveDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesEarningsPerShareAntiDilutiveDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesEarningsPerShareDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesPrinciplesOfConsolidationDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesPrinciplesOfConsolidationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesRealEstateOwnedDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesRealEstateOwnedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesReclassificationsDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesReclassificationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesStockBasedCompensationDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesStockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesTransfersOfFinancialAssetsAndLiabilitiesDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesTransfersOfFinancialAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/BusinessSegmentReporting" xlink:href="agm-20151231.xsd#BusinessSegmentReporting" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/BusinessSegmentReportingBusinessSegmentReportingNarrativeDetails" xlink:href="agm-20151231.xsd#BusinessSegmentReportingBusinessSegmentReportingNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/BusinessSegmentReportingBusinessSegmentReportingTables" xlink:href="agm-20151231.xsd#BusinessSegmentReportingBusinessSegmentReportingTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/BusinessSegmentReportingCoreEarningsBusinessSegmentsDetails" xlink:href="agm-20151231.xsd#BusinessSegmentReportingCoreEarningsBusinessSegmentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedBalanceSheets" xlink:href="agm-20151231.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="agm-20151231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="agm-20151231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="agm-20151231.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedStatementsOfEquityStatement" xlink:href="agm-20151231.xsd#ConsolidatedStatementsOfEquityStatement" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedStatementsOfOperations" xlink:href="agm-20151231.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/DocumentAndEntityInformationDocumentAndEntityInformation" xlink:href="agm-20151231.xsd#DocumentAndEntityInformationDocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EmployeeBenefitsEmployeeBenefits" xlink:href="agm-20151231.xsd#EmployeeBenefitsEmployeeBenefits" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EmployeeBenefitsEmployeeBenefitsDetails" xlink:href="agm-20151231.xsd#EmployeeBenefitsEmployeeBenefitsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/Equity" xlink:href="agm-20151231.xsd#Equity" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityCapitalRequirementsDetails" xlink:href="agm-20151231.xsd#EquityCapitalRequirementsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityCommonStockNarrativeDetails" xlink:href="agm-20151231.xsd#EquityCommonStockNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityEquityBasedIncentiveCompensationPlansDetails" xlink:href="agm-20151231.xsd#EquityEquityBasedIncentiveCompensationPlansDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityEquityTables" xlink:href="agm-20151231.xsd#EquityEquityTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityNarrativeRelatedToShareBasedCompensationDetails" xlink:href="agm-20151231.xsd#EquityNarrativeRelatedToShareBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityNonControllingInterestDetails" xlink:href="agm-20151231.xsd#EquityNonControllingInterestDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityPreferredStockDetails" xlink:href="agm-20151231.xsd#EquityPreferredStockDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityScheduleOfShareBasedCompensationActivityDetails" xlink:href="agm-20151231.xsd#EquityScheduleOfShareBasedCompensationActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityScheduleOfShareBasedPaymentAwardsStockOptionsValuationAssumptionsDetails" xlink:href="agm-20151231.xsd#EquityScheduleOfShareBasedPaymentAwardsStockOptionsValuationAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityScheduleOfStockOptionsSarsAndNonVestedRestrictedStockOutstandingDetails" xlink:href="agm-20151231.xsd#EquityScheduleOfStockOptionsSarsAndNonVestedRestrictedStockOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosures" xlink:href="agm-20151231.xsd#FairValueDisclosures" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresFairValueDisclosuresTables" xlink:href="agm-20151231.xsd#FairValueDisclosuresFairValueDisclosuresTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresFairValueMeasurementsRecurringAndNonrecurringDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresFairValueMeasurementsRecurringAndNonrecurringDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresNarrativeDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresQuantitativeInformationDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresQuantitativeInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresSummaryOfCarryingValueAndFairValueDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresSummaryOfCarryingValueAndFairValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresUnobservableInputReconciliationDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresUnobservableInputReconciliationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecurities" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecurities" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesTables" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfAvailableForSaleSecuritiesDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfAvailableForSaleSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfHeldToMaturitySecuritiesDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfHeldToMaturitySecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesTradingSecuritiesDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesTradingSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesUnrealizedLossPositionDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesUnrealizedLossPositionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivatives" xlink:href="agm-20151231.xsd#FinancialDerivatives" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesFinancialDerivativesTables" xlink:href="agm-20151231.xsd#FinancialDerivativesFinancialDerivativesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesHedgingDescriptionDetails" xlink:href="agm-20151231.xsd#FinancialDerivativesHedgingDescriptionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesNarrativeDetails" xlink:href="agm-20151231.xsd#FinancialDerivativesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesScheduleOfDerivativeInstrumentsImpactOnResultsOfOperationsDetails" xlink:href="agm-20151231.xsd#FinancialDerivativesScheduleOfDerivativeInstrumentsImpactOnResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionDetails" xlink:href="agm-20151231.xsd#FinancialDerivativesScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:href="agm-20151231.xsd#IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesDeferredTaxesAndLiabilitiesDetails" xlink:href="agm-20151231.xsd#IncomeTaxesDeferredTaxesAndLiabilitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesIncomeTaxes" xlink:href="agm-20151231.xsd#IncomeTaxesIncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesIncomeTaxesTables" xlink:href="agm-20151231.xsd#IncomeTaxesIncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesStatutoryFederalTaxRateDetails" xlink:href="agm-20151231.xsd#IncomeTaxesStatutoryFederalTaxRateDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:href="agm-20151231.xsd#IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesValuationAllowanceDetails" xlink:href="agm-20151231.xsd#IncomeTaxesValuationAllowanceDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecurities" xlink:href="agm-20151231.xsd#InvestmentSecurities" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesDebtMaturitiesDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesDebtMaturitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesInvestmentSecuritiesTables" xlink:href="agm-20151231.xsd#InvestmentSecuritiesInvestmentSecuritiesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesNarrativeDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesScheduleOfInvestmentSecuritiesDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesScheduleOfInvestmentSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesTradingSecuritiesDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesTradingSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesUnrealizedLossPositionDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesUnrealizedLossPositionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRisk" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRisk" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForCreditLossesRollForwardDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForCreditLossesRollForwardDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForLossesByImpairmentMethodAndCommodityDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForLossesByImpairmentMethodAndCommodityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredDelinquenciesAndNetCreditLossesDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredDelinquenciesAndNetCreditLossesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredInTransferDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredInTransferDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskConcentrationsOfCreditRiskDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskConcentrationsOfCreditRiskDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskFinancingReceivablesCreditQualityIndicatorsDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskFinancingReceivablesCreditQualityIndicatorsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskImpairedFinancingReceivablesDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskImpairedFinancingReceivablesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoanDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoanDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoansAndAllowanceForLossesAndConcentrationsTables" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoansAndAllowanceForLossesAndConcentrationsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskTroubledDebtRestructuringsDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskTroubledDebtRestructuringsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableAuthorityToBorrowFromUSTreasuryDetails" xlink:href="agm-20151231.xsd#NotesPayableAuthorityToBorrowFromUSTreasuryDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableBorrowingsAndCallableDebtdetails" xlink:href="agm-20151231.xsd#NotesPayableBorrowingsAndCallableDebtdetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableEarliestInterestResetDateOfBorrowingOutstandingDetails" xlink:href="agm-20151231.xsd#NotesPayableEarliestInterestResetDateOfBorrowingOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableGainsOnRepurchaseOfOutstandingDebtDetails" xlink:href="agm-20151231.xsd#NotesPayableGainsOnRepurchaseOfOutstandingDebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableNotesPayable" xlink:href="agm-20151231.xsd#NotesPayableNotesPayable" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableNotesPayableTables" xlink:href="agm-20151231.xsd#NotesPayableNotesPayableTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitments" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitments" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsCashFlowsFromOffBalanceSheetGuaranteedSecuritiesDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsCashFlowsFromOffBalanceSheetGuaranteedSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsFutureMinimumLeasePaymentsDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsFutureMinimumLeasePaymentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsLongTermStandbyPurchaseCommitmentsDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsLongTermStandbyPurchaseCommitmentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteedSecuritiesDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteedSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsTables" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsScheduleOfGuaranteeAndCommitmentObligationsDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsScheduleOfGuaranteeAndCommitmentObligationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OrganizationOrganization" xlink:href="agm-20151231.xsd#OrganizationOrganization" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OrganizationOrganizationDetails" xlink:href="agm-20151231.xsd#OrganizationOrganizationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OrganizationOrganizationTables" xlink:href="agm-20151231.xsd#OrganizationOrganizationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnaudited" xlink:href="agm-20151231.xsd#QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnaudited" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedDetails" xlink:href="agm-20151231.xsd#QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedTables" xlink:href="agm-20151231.xsd#QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsAgfirstFarmCreditBankDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsAgfirstFarmCreditBankDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsFarmCreditBankOfTexasDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsFarmCreditBankOfTexasDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsNationalRuralUtilitiesCooperativeFinancialCorporationDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsNationalRuralUtilitiesCooperativeFinancialCorporationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsOtherRelatedPartyTransactionsDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsOtherRelatedPartyTransactionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsRelatedPartyTransactions" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsRelatedPartyTransactions" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsRelatedPartyTransactionsTables" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsRelatedPartyTransactionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsZionsDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsZionsDetails" xlink:type="simple" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesAccountingPoliciesPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesAccountingPoliciesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesCashAndCashEquivalentsAndStatementsOfCashFlowsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesChangesInAccumulatedOtherComprehensiveIncomeNetOfTaxDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesComponentsOfOtherComprehensiveIncomeLossAndRelatedTaxImpactDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesConsolidationOfVariableInterestEntitiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesEarningsPerShareAntiDilutiveDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesEarningsPerShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_a93c9ef0-e79e-3aa1-0946-24cbcbb97bdc" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_148fb580-8ee1-e908-58af-e3d1efd4572b" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_a93c9ef0-e79e-3aa1-0946-24cbcbb97bdc" xlink:to="loc_us-gaap_EarningsPerShareBasic_148fb580-8ee1-e908-58af-e3d1efd4572b" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_EarningsPerShareOnIncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_agm_EarningsPerShareOnIncrementalCommonSharesAttributableToShareBasedPaymentArrangements_febf8b8b-7443-1219-0d0d-b6984917bea8" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_a93c9ef0-e79e-3aa1-0946-24cbcbb97bdc" xlink:to="loc_agm_EarningsPerShareOnIncrementalCommonSharesAttributableToShareBasedPaymentArrangements_febf8b8b-7443-1219-0d0d-b6984917bea8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_6bff86ee-e32e-51d0-aeda-1599604eacef" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_8afbf9ec-40f2-ac04-dde9-64f96fdfbf74" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_6bff86ee-e32e-51d0-aeda-1599604eacef" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_8afbf9ec-40f2-ac04-dde9-64f96fdfbf74" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_0449447d-2475-b5e7-892e-ced6d0229840" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_6bff86ee-e32e-51d0-aeda-1599604eacef" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_0449447d-2475-b5e7-892e-ced6d0229840" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesPrinciplesOfConsolidationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesRealEstateOwnedDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesReclassificationsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesStockBasedCompensationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesTransfersOfFinancialAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/BusinessSegmentReporting" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/BusinessSegmentReportingBusinessSegmentReportingNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/BusinessSegmentReportingBusinessSegmentReportingTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/BusinessSegmentReportingCoreEarningsBusinessSegmentsDetails" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_SegmentCoreEarnings" xlink:label="loc_agm_SegmentCoreEarnings_3191d138-ee7d-c7df-114b-b6984a7549c1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_6e1329dd-9911-a537-956e-8ca9c6805be6" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarnings_3191d138-ee7d-c7df-114b-b6984a7549c1" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_6e1329dd-9911-a537-956e-8ca9c6805be6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_799a19bd-c80b-ebb5-5136-0e839998e03f" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarnings_3191d138-ee7d-c7df-114b-b6984a7549c1" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_799a19bd-c80b-ebb5-5136-0e839998e03f" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends" xlink:label="loc_agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends_e98cfe0b-bf46-a04e-3d45-b6984bd39322" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarnings_3191d138-ee7d-c7df-114b-b6984a7549c1" xlink:to="loc_agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends_e98cfe0b-bf46-a04e-3d45-b6984bd39322" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_SegmentCoreEarningsBeforeIncomeTaxes" xlink:label="loc_agm_SegmentCoreEarningsBeforeIncomeTaxes_88babd28-5dc3-7efd-e318-b6984c3781f8" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends_e98cfe0b-bf46-a04e-3d45-b6984bd39322" xlink:to="loc_agm_SegmentCoreEarningsBeforeIncomeTaxes_88babd28-5dc3-7efd-e318-b6984c3781f8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_527c12c4-da91-1a35-28f0-53b7f2c0b184" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarningsBeforeIncomeTaxes_88babd28-5dc3-7efd-e318-b6984c3781f8" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_527c12c4-da91-1a35-28f0-53b7f2c0b184" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_04238174-0d06-4080-9c07-09d881ca7e99" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_527c12c4-da91-1a35-28f0-53b7f2c0b184" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_04238174-0d06-4080-9c07-09d881ca7e99" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InterestIncomeReclassification" xlink:label="loc_agm_InterestIncomeReclassification_2f737888-3b1f-c936-7f7a-b698468338d0" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_527c12c4-da91-1a35-28f0-53b7f2c0b184" xlink:to="loc_agm_InterestIncomeReclassification_2f737888-3b1f-c936-7f7a-b698468338d0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_8d3aa4ad-dbea-9eba-4578-5d3b83ba3bc6" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_527c12c4-da91-1a35-28f0-53b7f2c0b184" xlink:to="loc_us-gaap_InterestExpense_8d3aa4ad-dbea-9eba-4578-5d3b83ba3bc6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarningsBeforeIncomeTaxes_88babd28-5dc3-7efd-e318-b6984c3781f8" xlink:to="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyFeeIncome" xlink:label="loc_us-gaap_GuarantyFeeIncome_3828d23b-1313-50a8-7ba9-f72777ac08e1" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GuarantyFeeIncome_3828d23b-1313-50a8-7ba9-f72777ac08e1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OtherNonInterestIncomeExpenseExcludingGuaranteeAndCommitmentFees" xlink:label="loc_agm_OtherNonInterestIncomeExpenseExcludingGuaranteeAndCommitmentFees_9e93222b-4168-9f20-9bbd-b69849c1fd7f" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_agm_OtherNonInterestIncomeExpenseExcludingGuaranteeAndCommitmentFees_9e93222b-4168-9f20-9bbd-b69849c1fd7f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_684fc35d-b176-7b49-ae0f-ad67b079bf6f" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarningsBeforeIncomeTaxes_88babd28-5dc3-7efd-e318-b6984c3781f8" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_684fc35d-b176-7b49-ae0f-ad67b079bf6f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarningsBeforeIncomeTaxes_88babd28-5dc3-7efd-e318-b6984c3781f8" xlink:to="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_1c3141f2-a574-6461-fa5f-9b6d968722a8" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_1c3141f2-a574-6461-fa5f-9b6d968722a8" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NoninterestExpenseExcludingLoanLeaseAndOtherLosses" xlink:label="loc_agm_NoninterestExpenseExcludingLoanLeaseAndOtherLosses_6035049b-9464-eb98-281e-b698476935bd" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:to="loc_agm_NoninterestExpenseExcludingLoanLeaseAndOtherLosses_6035049b-9464-eb98-281e-b698476935bd" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_b8dcf191-083d-828d-7b9f-e2d2969b89f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends_e98cfe0b-bf46-a04e-3d45-b6984bd39322" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_b8dcf191-083d-828d-7b9f-e2d2969b89f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockRedemptionPremium" xlink:label="loc_us-gaap_PreferredStockRedemptionPremium_437dffaa-4993-3637-f588-0099fe1dcbee" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_agm_SegmentCoreEarnings_3191d138-ee7d-c7df-114b-b6984a7549c1" xlink:to="loc_us-gaap_PreferredStockRedemptionPremium_437dffaa-4993-3637-f588-0099fe1dcbee" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.farmermac.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_eef4cec8-3624-80fb-0924-61ba88be058a" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_ce66d654-f681-f996-3d01-d7b137ba4d14" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_eef4cec8-3624-80fb-0924-61ba88be058a" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_ce66d654-f681-f996-3d01-d7b137ba4d14" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets" xlink:label="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets_3e9c0ad3-8b81-37df-e729-769244052d78" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_eef4cec8-3624-80fb-0924-61ba88be058a" xlink:to="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets_3e9c0ad3-8b81-37df-e729-769244052d78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesRealEstate" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesRealEstate_3372a9b6-a6af-565c-4ea4-cfeb60cf5292" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_eef4cec8-3624-80fb-0924-61ba88be058a" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesRealEstate_3372a9b6-a6af-565c-4ea4-cfeb60cf5292" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a314f0d-c6fa-5cf2-0be1-add747465af3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a314f0d-c6fa-5cf2-0be1-add747465af3" xlink:to="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_26d650a6-5694-710a-55a2-dc04cb9805f1" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_26d650a6-5694-710a-55a2-dc04cb9805f1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_e67196c1-490c-d33d-cd80-088ba3e3684e" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_26d650a6-5694-710a-55a2-dc04cb9805f1" xlink:to="loc_us-gaap_ShortTermBorrowings_e67196c1-490c-d33d-cd80-088ba3e3684e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_9210187e-cdda-2312-446f-000237db141c" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_26d650a6-5694-710a-55a2-dc04cb9805f1" xlink:to="loc_us-gaap_LongTermDebt_9210187e-cdda-2312-446f-000237db141c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities" xlink:label="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities_2bfee44a-bb20-2fee-2e36-863e582ca312" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities_2bfee44a-bb20-2fee-2e36-863e582ca312" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_7fd6a8ed-2690-b8b0-d53f-953cb055dd99" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_7fd6a8ed-2690-b8b0-d53f-953cb055dd99" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_33cff5c3-a946-9307-83f5-c3dc52c06a70" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_33cff5c3-a946-9307-83f5-c3dc52c06a70" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyLiabilities" xlink:label="loc_us-gaap_GuarantyLiabilities_c0c3c0fa-c6d4-9180-0570-cf36c597ea5c" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_GuarantyLiabilities_c0c3c0fa-c6d4-9180-0570-cf36c597ea5c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilities" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_f00f2447-f70f-d53d-fce9-e408b4db2867" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_f00f2447-f70f-d53d-fce9-e408b4db2867" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ReserveForLosses" xlink:label="loc_agm_ReserveForLosses_2e4c0d88-7b78-b23d-805e-b6984cafcd4f" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_agm_ReserveForLosses_2e4c0d88-7b78-b23d-805e-b6984cafcd4f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9a5c5aff-ee63-a4f2-571a-3515b5d26a3b" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a314f0d-c6fa-5cf2-0be1-add747465af3" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9a5c5aff-ee63-a4f2-571a-3515b5d26a3b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_d0f349aa-18e3-6323-86ad-665f8773c064" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9a5c5aff-ee63-a4f2-571a-3515b5d26a3b" xlink:to="loc_us-gaap_StockholdersEquity_d0f349aa-18e3-6323-86ad-665f8773c064" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_be52b263-dda5-21e0-250c-b71c8efa5893" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9a5c5aff-ee63-a4f2-571a-3515b5d26a3b" xlink:to="loc_us-gaap_MinorityInterest_be52b263-dda5-21e0-250c-b71c8efa5893" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.farmermac.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_5f8983ec-dfa4-10d0-f53d-c0676300a16f" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_ProfitLoss_5f8983ec-dfa4-10d0-f53d-c0676300a16f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_3ef3660d-f952-6ded-6018-37f75b491ea0" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_3ef3660d-f952-6ded-6018-37f75b491ea0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_8cbefbd3-c0da-e8cd-4d05-220ea9ed4d75" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_8cbefbd3-c0da-e8cd-4d05-220ea9ed4d75" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NetChangeInFairValueOfTradingSecuritiesHedgedAssetsFinancialDerivativesAndLoansHeldForSale" xlink:label="loc_agm_NetChangeInFairValueOfTradingSecuritiesHedgedAssetsFinancialDerivativesAndLoansHeldForSale_62c4efbc-fbe3-f999-fde0-b6984a2f8d94" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_agm_NetChangeInFairValueOfTradingSecuritiesHedgedAssetsFinancialDerivativesAndLoansHeldForSale_62c4efbc-fbe3-f999-fde0-b6984a2f8d94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:label="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_6d269b8f-b755-6340-b133-e0b5d87dc296" xlink:type="locator" />
    <calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_6d269b8f-b755-6340-b133-e0b5d87dc296" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_579a2a05-20b3-ca98-9d6b-7595046298be" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_579a2a05-20b3-ca98-9d6b-7595046298be" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_adef3b99-21de-feae-4a91-76e118b5ab00" xlink:type="locator" />
    <calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_adef3b99-21de-feae-4a91-76e118b5ab00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_0e248620-acca-4e92-1dbf-83c3a5ab0d20" xlink:type="locator" />
    <calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_0e248620-acca-4e92-1dbf-83c3a5ab0d20" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8b437d2d-6bbf-1f71-a341-6d3ac2b36703" xlink:type="locator" />
    <calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8b437d2d-6bbf-1f71-a341-6d3ac2b36703" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_d4c99b59-c44a-c4ac-309f-0bddfdb944a5" xlink:type="locator" />
    <calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_ShareBasedCompensation_d4c99b59-c44a-c4ac-309f-0bddfdb944a5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromPaymentsForTradingSecurities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForTradingSecurities_43c46c4d-deb4-5886-a6d8-d80243bde616" xlink:type="locator" />
    <calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_ProceedsFromPaymentsForTradingSecurities_43c46c4d-deb4-5886-a6d8-d80243bde616" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale" xlink:label="loc_us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale_5b0632af-6b63-1996-9a02-010d5c6c2664" xlink:type="locator" />
    <calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale_5b0632af-6b63-1996-9a02-010d5c6c2664" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_63b7c175-a166-1d04-d850-baef261164da" xlink:type="locator" />
    <calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_63b7c175-a166-1d04-d850-baef261164da" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherReceivables" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherReceivables_b1bfd59c-8c12-99cd-0690-4e83fa622f0e" xlink:type="locator" />
    <calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherReceivables_b1bfd59c-8c12-99cd-0690-4e83fa622f0e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_6726a997-b874-a6f6-d79f-e0a4bde49905" xlink:type="locator" />
    <calculationArc order="15" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_6726a997-b874-a6f6-d79f-e0a4bde49905" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_1ea297cc-8653-7155-6fa9-a3af7df49950" xlink:type="locator" />
    <calculationArc order="16" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_1ea297cc-8653-7155-6fa9-a3af7df49950" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_70b3d080-1749-085d-dc6b-2028c07db0f3" xlink:type="locator" />
    <calculationArc order="17" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_70b3d080-1749-085d-dc6b-2028c07db0f3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.farmermac.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_640557c9-9806-6bef-9084-9cc792948f77" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_038f4602-9abc-1f60-05a2-6f69306a77ae" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_640557c9-9806-6bef-9084-9cc792948f77" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_038f4602-9abc-1f60-05a2-6f69306a77ae" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_2547a589-3993-81dd-0606-8023a22c9ed3" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_640557c9-9806-6bef-9084-9cc792948f77" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_2547a589-3993-81dd-0606-8023a22c9ed3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_01d4ad47-cae9-4c92-0f76-4a1ef3b23b7f" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_01d4ad47-cae9-4c92-0f76-4a1ef3b23b7f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_dbbc809d-7b72-e35e-a843-722310509913" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_01d4ad47-cae9-4c92-0f76-4a1ef3b23b7f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_dbbc809d-7b72-e35e-a843-722310509913" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OtherComprehensiveIncomeLossHeldtoMaturitySecuritiesbeforetax" xlink:label="loc_agm_OtherComprehensiveIncomeLossHeldtoMaturitySecuritiesbeforetax_2FC03CCA996D2435530B12A677BA2C33" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_01d4ad47-cae9-4c92-0f76-4a1ef3b23b7f" xlink:to="loc_agm_OtherComprehensiveIncomeLossHeldtoMaturitySecuritiesbeforetax_2FC03CCA996D2435530B12A677BA2C33" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesBeforeTax_c26d9a76-abe1-d89f-914b-96f5e55f6a5c" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_01d4ad47-cae9-4c92-0f76-4a1ef3b23b7f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesBeforeTax_c26d9a76-abe1-d89f-914b-96f5e55f6a5c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_87c36270-1df1-292c-84be-35c80760d032" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_87c36270-1df1-292c-84be-35c80760d032" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.farmermac.com/role/ConsolidatedStatementsOfEquityStatement" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_a8aff2a0-5170-c273-e6ae-b3a075237f59" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_a8aff2a0-5170-c273-e6ae-b3a075237f59" xlink:to="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_5f8983ec-dfa4-10d0-f53d-c0676300a16f" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:to="loc_us-gaap_ProfitLoss_5f8983ec-dfa4-10d0-f53d-c0676300a16f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_f0ea1b66-a9f7-f42c-6882-4cca5faefea1" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_5f8983ec-dfa4-10d0-f53d-c0676300a16f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_f0ea1b66-a9f7-f42c-6882-4cca5faefea1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_5ac4c31c-d1e0-4eb5-2b86-95176641df0d" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_f0ea1b66-a9f7-f42c-6882-4cca5faefea1" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_5ac4c31c-d1e0-4eb5-2b86-95176641df0d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_527c12c4-da91-1a35-28f0-53b7f2c0b184" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_5ac4c31c-d1e0-4eb5-2b86-95176641df0d" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_527c12c4-da91-1a35-28f0-53b7f2c0b184" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_684fc35d-b176-7b49-ae0f-ad67b079bf6f" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_5ac4c31c-d1e0-4eb5-2b86-95176641df0d" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_684fc35d-b176-7b49-ae0f-ad67b079bf6f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_f0ea1b66-a9f7-f42c-6882-4cca5faefea1" xlink:to="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyFeeIncome" xlink:label="loc_us-gaap_GuarantyFeeIncome_3828d23b-1313-50a8-7ba9-f72777ac08e1" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GuarantyFeeIncome_3828d23b-1313-50a8-7ba9-f72777ac08e1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_aa1c1d3a-3c5f-1416-a988-644e94e86c05" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_aa1c1d3a-3c5f-1416-a988-644e94e86c05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingGainsLosses" xlink:label="loc_us-gaap_TradingGainsLosses_690cb18b-83ab-4f39-2413-bb63b0b2b896" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_TradingGainsLosses_690cb18b-83ab-4f39-2413-bb63b0b2b896" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:label="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_6d269b8f-b755-6340-b133-e0b5d87dc296" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_6d269b8f-b755-6340-b133-e0b5d87dc296" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_579a2a05-20b3-ca98-9d6b-7595046298be" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_579a2a05-20b3-ca98-9d6b-7595046298be" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_adef3b99-21de-feae-4a91-76e118b5ab00" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_adef3b99-21de-feae-4a91-76e118b5ab00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_b3e784e2-800c-e25f-38c0-b263538e509c" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_b3e784e2-800c-e25f-38c0-b263538e509c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_f0ea1b66-a9f7-f42c-6882-4cca5faefea1" xlink:to="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_eae5f7af-8c00-e315-7382-101bb9d749cf" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:to="loc_us-gaap_LaborAndRelatedExpense_eae5f7af-8c00-e315-7382-101bb9d749cf" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_69f193f1-2583-2a25-604c-cc949229c2d8" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_69f193f1-2583-2a25-604c-cc949229c2d8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_601d2862-d885-5d84-8701-aa189efe38f2" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_601d2862-d885-5d84-8701-aa189efe38f2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ForeclosedRealEstateExpense" xlink:label="loc_us-gaap_ForeclosedRealEstateExpense_764f6e0c-b734-bda3-5e0c-1cc65d952707" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:to="loc_us-gaap_ForeclosedRealEstateExpense_764f6e0c-b734-bda3-5e0c-1cc65d952707" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_1c3141f2-a574-6461-fa5f-9b6d968722a8" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a12095cb-9c44-a676-84c9-d2bc99f05d9a" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_1c3141f2-a574-6461-fa5f-9b6d968722a8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_b8dcf191-083d-828d-7b9f-e2d2969b89f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_5f8983ec-dfa4-10d0-f53d-c0676300a16f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_b8dcf191-083d-828d-7b9f-e2d2969b89f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_6e1329dd-9911-a537-956e-8ca9c6805be6" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_6e1329dd-9911-a537-956e-8ca9c6805be6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_799a19bd-c80b-ebb5-5136-0e839998e03f" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_a8aff2a0-5170-c273-e6ae-b3a075237f59" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_799a19bd-c80b-ebb5-5136-0e839998e03f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockRedemptionPremium" xlink:label="loc_us-gaap_PreferredStockRedemptionPremium_437dffaa-4993-3637-f588-0099fe1dcbee" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_a8aff2a0-5170-c273-e6ae-b3a075237f59" xlink:to="loc_us-gaap_PreferredStockRedemptionPremium_437dffaa-4993-3637-f588-0099fe1dcbee" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.farmermac.com/role/DocumentAndEntityInformationDocumentAndEntityInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EmployeeBenefitsEmployeeBenefits" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EmployeeBenefitsEmployeeBenefitsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/Equity" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityCapitalRequirementsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityCommonStockNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityEquityBasedIncentiveCompensationPlansDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityEquityTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityNarrativeRelatedToShareBasedCompensationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityNonControllingInterestDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityPreferredStockDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityScheduleOfShareBasedCompensationActivityDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityScheduleOfShareBasedPaymentAwardsStockOptionsValuationAssumptionsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/EquityScheduleOfStockOptionsSarsAndNonVestedRestrictedStockOutstandingDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FairValueDisclosures" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresFairValueDisclosuresTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresFairValueMeasurementsRecurringAndNonrecurringDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresQuantitativeInformationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresSummaryOfCarryingValueAndFairValueDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresUnobservableInputReconciliationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecurities" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfAvailableForSaleSecuritiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfHeldToMaturitySecuritiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesTradingSecuritiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesUnrealizedLossPositionDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FinancialDerivatives" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesFinancialDerivativesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesHedgingDescriptionDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesScheduleOfDerivativeInstrumentsImpactOnResultsOfOperationsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/IncomeTaxesDeferredTaxesAndLiabilitiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/IncomeTaxesIncomeTaxes" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/IncomeTaxesIncomeTaxesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/IncomeTaxesStatutoryFederalTaxRateDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/IncomeTaxesValuationAllowanceDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/InvestmentSecurities" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesDebtMaturitiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_a6e76a34-fa42-d66f-a2a4-5865ce92446b" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_465ba6e6-2b33-45fe-3e73-c5293643fc38" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecurities_a6e76a34-fa42-d66f-a2a4-5865ce92446b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_465ba6e6-2b33-45fe-3e73-c5293643fc38" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_73b022da-9054-5e1b-96dd-04e339313a48" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecurities_a6e76a34-fa42-d66f-a2a4-5865ce92446b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_73b022da-9054-5e1b-96dd-04e339313a48" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_d0ab7ce9-6d25-23c3-c800-6cd78009461a" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecurities_a6e76a34-fa42-d66f-a2a4-5865ce92446b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_d0ab7ce9-6d25-23c3-c800-6cd78009461a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_43d38eed-3cc4-34a0-5e82-96d895a34fa3" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecurities_a6e76a34-fa42-d66f-a2a4-5865ce92446b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_43d38eed-3cc4-34a0-5e82-96d895a34fa3" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesInvestmentSecuritiesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesScheduleOfInvestmentSecuritiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesTradingSecuritiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesUnrealizedLossPositionDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRisk" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForCreditLossesRollForwardDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForLossesByImpairmentMethodAndCommodityDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredDelinquenciesAndNetCreditLossesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredInTransferDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskConcentrationsOfCreditRiskDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskFinancingReceivablesCreditQualityIndicatorsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskImpairedFinancingReceivablesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoanDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoansAndAllowanceForLossesAndConcentrationsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskTroubledDebtRestructuringsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/NotesPayableAuthorityToBorrowFromUSTreasuryDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/NotesPayableBorrowingsAndCallableDebtdetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/NotesPayableEarliestInterestResetDateOfBorrowingOutstandingDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/NotesPayableGainsOnRepurchaseOfOutstandingDebtDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/NotesPayableNotesPayable" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/NotesPayableNotesPayableTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitments" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsCashFlowsFromOffBalanceSheetGuaranteedSecuritiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsFutureMinimumLeasePaymentsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsLongTermStandbyPurchaseCommitmentsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteedSecuritiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsScheduleOfGuaranteeAndCommitmentObligationsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OrganizationOrganization" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OrganizationOrganizationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/OrganizationOrganizationTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnaudited" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyFeeIncome" xlink:label="loc_us-gaap_GuarantyFeeIncome_3828d23b-1313-50a8-7ba9-f72777ac08e1" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GuarantyFeeIncome_3828d23b-1313-50a8-7ba9-f72777ac08e1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_GainLossOnDerivativesInstrumentsAndHedgingActivityNetPretax" xlink:label="loc_agm_GainLossOnDerivativesInstrumentsAndHedgingActivityNetPretax_8ad392d7-b999-d6c3-b8cc-b6984b83aef4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_agm_GainLossOnDerivativesInstrumentsAndHedgingActivityNetPretax_8ad392d7-b999-d6c3-b8cc-b6984b83aef4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingGainsLosses" xlink:label="loc_us-gaap_TradingGainsLosses_690cb18b-83ab-4f39-2413-bb63b0b2b896" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_TradingGainsLosses_690cb18b-83ab-4f39-2413-bb63b0b2b896" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:label="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_6d269b8f-b755-6340-b133-e0b5d87dc296" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_6d269b8f-b755-6340-b133-e0b5d87dc296" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_adef3b99-21de-feae-4a91-76e118b5ab00" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_adef3b99-21de-feae-4a91-76e118b5ab00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_b3e784e2-800c-e25f-38c0-b263538e509c" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c89bd402-f8c6-4fa0-dd52-7e1d4c1a31b1" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_b3e784e2-800c-e25f-38c0-b263538e509c" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsAgfirstFarmCreditBankDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsFarmCreditBankOfTexasDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsNationalRuralUtilitiesCooperativeFinancialCorporationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsOtherRelatedPartyTransactionsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsRelatedPartyTransactions" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsRelatedPartyTransactionsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsZionsDetails" xlink:type="extended" />
</linkbase>


