<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFunds" xlink:href="cbnk-20191231.xsd#BorrowedFunds" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFundsAdditionalInformationDetails" xlink:href="cbnk-20191231.xsd#BorrowedFundsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFundsScheduleOfBorrowingsDetails" xlink:href="cbnk-20191231.xsd#BorrowedFundsScheduleOfBorrowingsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFundsTables" xlink:href="cbnk-20191231.xsd#BorrowedFundsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/CapitalStandards" xlink:href="cbnk-20191231.xsd#CapitalStandards" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/CapitalStandardsDetails" xlink:href="cbnk-20191231.xsd#CapitalStandardsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/CapitalStandardsTables" xlink:href="cbnk-20191231.xsd#CapitalStandardsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/CashAndCashEquivalents" xlink:href="cbnk-20191231.xsd#CashAndCashEquivalents" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:href="cbnk-20191231.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="cbnk-20191231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="cbnk-20191231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity" xlink:href="cbnk-20191231.xsd#ConsolidatedStatementsOfChangesInShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityParenthetical" xlink:href="cbnk-20191231.xsd#ConsolidatedStatementsOfChangesInShareholdersEquityParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="cbnk-20191231.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeCalc2" xlink:href="cbnk-20191231.xsd#ConsolidatedStatementsOfComprehensiveIncomeCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncome" xlink:href="cbnk-20191231.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeParenthetical" xlink:href="cbnk-20191231.xsd#ConsolidatedStatementsOfIncomeParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:href="cbnk-20191231.xsd#DerivativeFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:href="cbnk-20191231.xsd#DerivativeFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsTables" xlink:href="cbnk-20191231.xsd#DerivativeFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DocumentAndEntityInformation" xlink:href="cbnk-20191231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValue" xlink:href="cbnk-20191231.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:href="cbnk-20191231.xsd#FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:href="cbnk-20191231.xsd#FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:href="cbnk-20191231.xsd#FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueLoansHeldForSaleDetails" xlink:href="cbnk-20191231.xsd#FairValueLoansHeldForSaleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueTables" xlink:href="cbnk-20191231.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxes" xlink:href="cbnk-20191231.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:href="cbnk-20191231.xsd#IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesComponentsOfNetDeferredTaxAssetDetails" xlink:href="cbnk-20191231.xsd#IncomeTaxesComponentsOfNetDeferredTaxAssetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesReconciliationOfFederalTaxRateToEffectiveRateDetails" xlink:href="cbnk-20191231.xsd#IncomeTaxesReconciliationOfFederalTaxRateToEffectiveRateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesTables" xlink:href="cbnk-20191231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDeposits" xlink:href="cbnk-20191231.xsd#InterestBearingDeposits" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDepositsMajorCategoriesDetails" xlink:href="cbnk-20191231.xsd#InterestBearingDepositsMajorCategoriesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDepositsMaturitiesDetails" xlink:href="cbnk-20191231.xsd#InterestBearingDepositsMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDepositsTables" xlink:href="cbnk-20191231.xsd#InterestBearingDepositsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecurities" xlink:href="cbnk-20191231.xsd#InvestmentSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:href="cbnk-20191231.xsd#InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesByMaturityDatesDetails" xlink:href="cbnk-20191231.xsd#InvestmentSecuritiesByMaturityDatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:href="cbnk-20191231.xsd#InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesTables" xlink:href="cbnk-20191231.xsd#InvestmentSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:href="cbnk-20191231.xsd#InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeaseAdditionalInformationDetails" xlink:href="cbnk-20191231.xsd#LeaseAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeaseAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:href="cbnk-20191231.xsd#LeaseAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeaseLease" xlink:href="cbnk-20191231.xsd#LeaseLease" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeaseTables" xlink:href="cbnk-20191231.xsd#LeaseTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Litigation" xlink:href="cbnk-20191231.xsd#Litigation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LitigationDetails" xlink:href="cbnk-20191231.xsd#LitigationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivable" xlink:href="cbnk-20191231.xsd#LoansReceivable" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableAccretableDiscountDetails" xlink:href="cbnk-20191231.xsd#LoansReceivableAccretableDiscountDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:href="cbnk-20191231.xsd#LoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableAllowanceForLoanLossesDetails" xlink:href="cbnk-20191231.xsd#LoansReceivableAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableClassificationOfLoansDetails" xlink:href="cbnk-20191231.xsd#LoansReceivableClassificationOfLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableCreditQualityIndicatorsDetails" xlink:href="cbnk-20191231.xsd#LoansReceivableCreditQualityIndicatorsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableImpairedLoansDetails" xlink:href="cbnk-20191231.xsd#LoansReceivableImpairedLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableOutstandingLoanCommitmentsDetails" xlink:href="cbnk-20191231.xsd#LoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivablePastDueFinancingReceivableDetails" xlink:href="cbnk-20191231.xsd#LoansReceivablePastDueFinancingReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableTables" xlink:href="cbnk-20191231.xsd#LoansReceivableTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableTroubleDebtRestructuringDetails" xlink:href="cbnk-20191231.xsd#LoansReceivableTroubleDebtRestructuringDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentation" xlink:href="cbnk-20191231.xsd#NatureOfBusinessAndBasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails" xlink:href="cbnk-20191231.xsd#NatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:href="cbnk-20191231.xsd#NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:href="cbnk-20191231.xsd#NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationInitialPublicOfferingDetails" xlink:href="cbnk-20191231.xsd#NatureOfBusinessAndBasisOfPresentationInitialPublicOfferingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationNewAccountingPronouncementsDetails" xlink:href="cbnk-20191231.xsd#NatureOfBusinessAndBasisOfPresentationNewAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPolicies" xlink:href="cbnk-20191231.xsd#NatureOfBusinessAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationTables" xlink:href="cbnk-20191231.xsd#NatureOfBusinessAndBasisOfPresentationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformation" xlink:href="cbnk-20191231.xsd#ParentCompanyFinancialInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformationBalanceSheetsDetails" xlink:href="cbnk-20191231.xsd#ParentCompanyFinancialInformationBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformationStatementsOfCashFlowsDetails" xlink:href="cbnk-20191231.xsd#ParentCompanyFinancialInformationStatementsOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformationStatementsOfIncomeDetails" xlink:href="cbnk-20191231.xsd#ParentCompanyFinancialInformationStatementsOfIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformationTables" xlink:href="cbnk-20191231.xsd#ParentCompanyFinancialInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PremisesAndEquipment" xlink:href="cbnk-20191231.xsd#PremisesAndEquipment" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PremisesAndEquipmentDetails" xlink:href="cbnk-20191231.xsd#PremisesAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PremisesAndEquipmentTables" xlink:href="cbnk-20191231.xsd#PremisesAndEquipmentTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/QuarterlyResultsOfOperationsUnaudited" xlink:href="cbnk-20191231.xsd#QuarterlyResultsOfOperationsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/QuarterlyResultsOfOperationsUnauditedDetails" xlink:href="cbnk-20191231.xsd#QuarterlyResultsOfOperationsUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/QuarterlyResultsOfOperationsUnauditedTables" xlink:href="cbnk-20191231.xsd#QuarterlyResultsOfOperationsUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/RelatedPartyTransactions" xlink:href="cbnk-20191231.xsd#RelatedPartyTransactions" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/RelatedPartyTransactionsActivityInRelatedPartyLoansDetails" xlink:href="cbnk-20191231.xsd#RelatedPartyTransactionsActivityInRelatedPartyLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:href="cbnk-20191231.xsd#RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/RelatedPartyTransactionsTables" xlink:href="cbnk-20191231.xsd#RelatedPartyTransactionsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/RetirementPlan" xlink:href="cbnk-20191231.xsd#RetirementPlan" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/RetirementPlanDetails" xlink:href="cbnk-20191231.xsd#RetirementPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementsToRepurchase" xlink:href="cbnk-20191231.xsd#SecuritiesSoldUnderAgreementsToRepurchase" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementsToRepurchaseDetails" xlink:href="cbnk-20191231.xsd#SecuritiesSoldUnderAgreementsToRepurchaseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementsToRepurchaseTables" xlink:href="cbnk-20191231.xsd#SecuritiesSoldUnderAgreementsToRepurchaseTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Segments" xlink:href="cbnk-20191231.xsd#Segments" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsDetails" xlink:href="cbnk-20191231.xsd#SegmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsSegmentsTables" xlink:href="cbnk-20191231.xsd#SegmentsSegmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensation" xlink:href="cbnk-20191231.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:href="cbnk-20191231.xsd#StockBasedCompensationAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockSummaryDetails" xlink:href="cbnk-20191231.xsd#StockBasedCompensationRestrictedStockSummaryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockVestingScheduleDetails" xlink:href="cbnk-20191231.xsd#StockBasedCompensationRestrictedStockVestingScheduleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationStockOptionPricingAssumptionsDetails" xlink:href="cbnk-20191231.xsd#StockBasedCompensationStockOptionPricingAssumptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationStockOptionSummaryDetails" xlink:href="cbnk-20191231.xsd#StockBasedCompensationStockOptionSummaryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:href="cbnk-20191231.xsd#StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationTables" xlink:href="cbnk-20191231.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SubsequentEvents" xlink:href="cbnk-20191231.xsd#SubsequentEvents" xlink:type="simple" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFunds" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFundsAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFundsScheduleOfBorrowingsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherBorrowings" xlink:label="loc_us-gaap_OtherBorrowings_8ffe0cee-2179-e226-5fdb-341ccd63b7aa" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_88b8f1df-ff6f-5cd6-e45f-5878f70c11d5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherBorrowings_8ffe0cee-2179-e226-5fdb-341ccd63b7aa" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_88b8f1df-ff6f-5cd6-e45f-5878f70c11d5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_450782c6-2839-854f-cd33-795c87a08ecc" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherBorrowings_8ffe0cee-2179-e226-5fdb-341ccd63b7aa" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_450782c6-2839-854f-cd33-795c87a08ecc" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFundsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CapitalStandards" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CapitalStandardsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CapitalStandardsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CashAndCashEquivalents" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks_f08f0ea2-f2a1-969a-62a5-610ddb2a9eda" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" xlink:to="loc_us-gaap_CashAndDueFromBanks_f08f0ea2-f2a1-969a-62a5-610ddb2a9eda" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_1dd90997-0e7b-b088-cfa0-724136f63de4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_1dd90997-0e7b-b088-cfa0-724136f63de4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalFundsSold" xlink:label="loc_us-gaap_FederalFundsSold_1291b784-01f6-0e28-6a6f-210edc623546" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" xlink:to="loc_us-gaap_FederalFundsSold_1291b784-01f6-0e28-6a6f-210edc623546" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedInvestments" xlink:label="loc_us-gaap_RestrictedInvestments_36806c58-bcbc-cd96-7d73-4dc05959bab0" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_RestrictedInvestments_36806c58-bcbc-cd96-7d73-4dc05959bab0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_03d7f468-962d-fc47-a198-ea111f24be68" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_03d7f468-962d-fc47-a198-ea111f24be68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_5194a9fc-115c-f59a-adef-21b602d3ebcc" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_5194a9fc-115c-f59a-adef-21b602d3ebcc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_6544a746-9524-1b61-e235-04d48d39f116" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_6544a746-9524-1b61-e235-04d48d39f116" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_46b50f97-e3d9-8e5e-8897-15420d515b6a" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_46b50f97-e3d9-8e5e-8897-15420d515b6a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_ea289a9d-deba-2cde-21e4-3d0ae7a1f011" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_PreferredStockValue_ea289a9d-deba-2cde-21e4-3d0ae7a1f011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_6dca832a-861c-478d-b1a0-396533beb40d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_AdditionalPaidInCapital_6dca832a-861c-478d-b1a0-396533beb40d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilities" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_e132c416-fd6b-8a73-3443-4dbb97e7041b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_e132c416-fd6b-8a73-3443-4dbb97e7041b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_744877d9-d92a-da80-57fe-fd23c5ed3d2f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_744877d9-d92a-da80-57fe-fd23c5ed3d2f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesLongTerm" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_943629f8-c8c6-6ff2-373b-90d26bc04fe5" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_943629f8-c8c6-6ff2-373b-90d26bc04fe5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherBorrowings" xlink:label="loc_us-gaap_OtherBorrowings_8ffe0cee-2179-e226-5fdb-341ccd63b7aa" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_OtherBorrowings_8ffe0cee-2179-e226-5fdb-341ccd63b7aa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_6c99b575-18e1-e272-0304-f63a5e5a998b" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_6c99b575-18e1-e272-0304-f63a5e5a998b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_b7c80bbc-e033-5d39-6a1b-ed85fbc903f7" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_OtherLiabilities_b7c80bbc-e033-5d39-6a1b-ed85fbc903f7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalFundsPurchased" xlink:label="loc_us-gaap_FederalFundsPurchased_3c839c99-5610-c7c2-dae2-eccf3325cd02" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_FederalFundsPurchased_3c839c99-5610-c7c2-dae2-eccf3325cd02" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9743d583-dfae-6ae9-f133-a1e331df792c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9743d583-dfae-6ae9-f133-a1e331df792c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetChangeNoninterestBearingDepositsDomestic" xlink:label="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_15a9b6b3-649f-6e67-6a0a-c68f531d33b8" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_15a9b6b3-649f-6e67-6a0a-c68f531d33b8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetChangeInterestBearingDepositsDomestic" xlink:label="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_7f03ae95-74b9-b5ca-d897-8fb8b46814e6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_7f03ae95-74b9-b5ca-d897-8fb8b46814e6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase_8736315f-3bc5-1ab8-0b81-fe5e793cc2d6" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase_8736315f-3bc5-1ab8-0b81-fe5e793cc2d6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInFederalFundsSold" xlink:label="loc_us-gaap_IncreaseDecreaseInFederalFundsSold_18735153-1de0-0921-ee66-f90c0f4f34fe" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_IncreaseDecreaseInFederalFundsSold_18735153-1de0-0921-ee66-f90c0f4f34fe" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks" xlink:label="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_cb97475e-fddf-ad2e-23d5-a30018b69c45" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_cb97475e-fddf-ad2e-23d5-a30018b69c45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfOtherDebt" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_83c240a8-12da-cd8d-9332-edcc6f0c2c99" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_83c240a8-12da-cd8d-9332-edcc6f0c2c99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_706d3cc5-3df5-1e1a-5067-c02728407eb6" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_706d3cc5-3df5-1e1a-5067-c02728407eb6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6ec8bc8e-bcd9-36ad-d8ae-2c2fa1dfd920" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6ec8bc8e-bcd9-36ad-d8ae-2c2fa1dfd920" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_678cc0a1-75a1-b1b0-39a1-094379144ce2" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_678cc0a1-75a1-b1b0-39a1-094379144ce2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9743d583-dfae-6ae9-f133-a1e331df792c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForOtherLosses" xlink:label="loc_us-gaap_ProvisionForOtherLosses_157deaba-d52f-03ff-1065-64beddd0dbae" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProvisionForOtherLosses_157deaba-d52f-03ff-1065-64beddd0dbae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_99f6c05c-bede-0cec-8a38-4b1231e3c0b1" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_99f6c05c-bede-0cec-8a38-4b1231e3c0b1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f3832d5-e2fd-470b-5e04-ece38e7ab02d" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f3832d5-e2fd-470b-5e04-ece38e7ab02d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherDepreciationAndAmortization" xlink:label="loc_us-gaap_OtherDepreciationAndAmortization_cad51b02-4985-8a39-fe32-340b8f368d21" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_OtherDepreciationAndAmortization_cad51b02-4985-8a39-fe32-340b8f368d21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_90cbc3ab-f555-6407-b3b4-b2bfa84c9f18" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ShareBasedCompensation_90cbc3ab-f555-6407-b3b4-b2bfa84c9f18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockOptionPlanExpense" xlink:label="loc_us-gaap_StockOptionPlanExpense_22605f61-55b5-fe3c-1a76-a8616250b25f" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_StockOptionPlanExpense_22605f61-55b5-fe3c-1a76-a8616250b25f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_3589939f-ce38-3d4c-b787-38d24b24727b" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_3589939f-ce38-3d4c-b787-38d24b24727b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_7051af50-65b8-3377-3a03-896140e3a07f" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_7051af50-65b8-3377-3a03-896140e3a07f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_15470135-fa44-b789-5789-9bcc9fdb7da5" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_15470135-fa44-b789-5789-9bcc9fdb7da5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_577bdd45-f35a-c8f3-52b3-586cf5b560ca" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_577bdd45-f35a-c8f3-52b3-586cf5b560ca" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_21b2374f-ed59-409a-8c93-50623e6a6908" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_21b2374f-ed59-409a-8c93-50623e6a6908" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidTaxes" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_b68c9658-85e3-d0b2-4f5a-f78300bea3c1" xlink:type="locator" />
    <link:calculationArc order="15" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_b68c9658-85e3-d0b2-4f5a-f78300bea3c1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d54a644c-3d3c-bcc1-da30-2f136651f90f" xlink:type="locator" />
    <link:calculationArc order="16" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d54a644c-3d3c-bcc1-da30-2f136651f90f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_2a6d7ce6-936f-6ec3-1606-4ffc7571557c" xlink:type="locator" />
    <link:calculationArc order="17" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_2a6d7ce6-936f-6ec3-1606-4ffc7571557c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_a039d388-4db8-a076-4618-28899f6ce801" xlink:type="locator" />
    <link:calculationArc order="18" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_a039d388-4db8-a076-4618-28899f6ce801" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_b412c390-dfec-d4c8-f13e-036e3b49278c" xlink:type="locator" />
    <link:calculationArc order="19" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_b412c390-dfec-d4c8-f13e-036e3b49278c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_ef1b7738-192b-a4ca-6396-5577f303c271" xlink:type="locator" />
    <link:calculationArc order="20" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_ef1b7738-192b-a4ca-6396-5577f303c271" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_MortgageBankingAndServicingGainLoss" xlink:label="loc_cbnk_MortgageBankingAndServicingGainLoss_C4788302F537535ACA977E354A464325" xlink:type="locator" />
    <link:calculationArc order="21" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_cbnk_MortgageBankingAndServicingGainLoss_C4788302F537535ACA977E354A464325" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfLeasedAsset" xlink:label="loc_us-gaap_AmortizationOfLeasedAsset_4bbe7259-b7c7-0b0f-51b3-e4b4042c4963" xlink:type="locator" />
    <link:calculationArc order="22" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AmortizationOfLeasedAsset_4bbe7259-b7c7-0b0f-51b3-e4b4042c4963" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9743d583-dfae-6ae9-f133-a1e331df792c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5a6cca43-79c5-34f3-6172-5859b13486b1" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5a6cca43-79c5-34f3-6172-5859b13486b1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b2d1473c-d06a-7053-5039-5cb1510f932e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b2d1473c-d06a-7053-5039-5cb1510f932e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_33cd5d62-efc5-7725-6424-7800a10af341" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_33cd5d62-efc5-7725-6424-7800a10af341" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireRestrictedInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireRestrictedInvestments_1dfcadc1-c44a-0d65-a587-751fbfe86f47" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireRestrictedInvestments_1dfcadc1-c44a-0d65-a587-751fbfe86f47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansReceivable" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_f47fb7d2-d328-5a49-477f-fe9cba209244" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_f47fb7d2-d328-5a49-477f-fe9cba209244" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_f7a05dd0-d1a9-4315-39bd-0a10a3074473" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_f7a05dd0-d1a9-4315-39bd-0a10a3074473" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForProceedsFromProductiveAssets" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_1dd583ec-94d8-2c14-d8df-b394a200c234" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_1dd583ec-94d8-2c14-d8df-b394a200c234" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_107dc47f-3e8e-936e-b56d-159a71d56806" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_107dc47f-3e8e-936e-b56d-159a71d56806" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_426e7037-e52e-6d57-8593-8389365a6ce7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_107dc47f-3e8e-936e-b56d-159a71d56806" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_426e7037-e52e-6d57-8593-8389365a6ce7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_38e7043a-91a1-7307-7d5a-7edbcdf6d346" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_107dc47f-3e8e-936e-b56d-159a71d56806" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_38e7043a-91a1-7307-7d5a-7edbcdf6d346" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_8ca609f1-2442-e470-3675-479147a37129" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_107dc47f-3e8e-936e-b56d-159a71d56806" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_8ca609f1-2442-e470-3675-479147a37129" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_d84f6a7f-e40b-fc44-e6cf-69cd696f9ea9" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_d84f6a7f-e40b-fc44-e6cf-69cd696f9ea9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeCalc2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:to="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_1283cb92-0ae2-bdeb-f803-6d5e502ce8d9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_LaborAndRelatedExpense_1283cb92-0ae2-bdeb-f803-6d5e502ce8d9" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_OccupancyAndEquipmentExpense" xlink:label="loc_cbnk_OccupancyAndEquipmentExpense_B4BDC8C9F768FCCC559B78A43A9C73D9" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_cbnk_OccupancyAndEquipmentExpense_B4BDC8C9F768FCCC559B78A43A9C73D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="loc_us-gaap_ProfessionalFees_d3803021-4a6b-ba50-bb5d-805045e6e3a3" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_ProfessionalFees_d3803021-4a6b-ba50-bb5d-805045e6e3a3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_5bcc67bc-823c-46c9-0c06-672818b9d746" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_5bcc67bc-823c-46c9-0c06-672818b9d746" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_393b7f4f-0c22-57f5-8ea1-b6427f924624" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_AdvertisingExpense_393b7f4f-0c22-57f5-8ea1-b6427f924624" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoanProcessingFee" xlink:label="loc_us-gaap_LoanProcessingFee_f87e21f4-7605-b347-6663-f82b32db3eea" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_LoanProcessingFee_f87e21f4-7605-b347-6663-f82b32db3eea" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_OtherRealEstateExpensesNet" xlink:label="loc_cbnk_OtherRealEstateExpensesNet_8E477F3EAA3870A7EDFC78A6DA09D59D" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_cbnk_OtherRealEstateExpensesNet_8E477F3EAA3870A7EDFC78A6DA09D59D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense_d09da395-8fdb-b903-4fff-0036db8908fa" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_OtherNoninterestExpense_d09da395-8fdb-b903-4fff-0036db8908fa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:to="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_3757e0a1-8c93-5316-53c9-8f3b34503211" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_3757e0a1-8c93-5316-53c9-8f3b34503211" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_GainLossOnSaleOfForeclosedAssets" xlink:label="loc_cbnk_GainLossOnSaleOfForeclosedAssets_95F01755A49683BDA0907E57CE63AFD4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_cbnk_GainLossOnSaleOfForeclosedAssets_95F01755A49683BDA0907E57CE63AFD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_ef1b7738-192b-a4ca-6396-5577f303c271" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_ef1b7738-192b-a4ca-6396-5577f303c271" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_8eff9c0e-c63c-929d-b4a0-4ab6acadc24d" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_8eff9c0e-c63c-929d-b4a0-4ab6acadc24d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_4562fc03-cbaf-a89b-d454-b9d16c5936b8" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_4562fc03-cbaf-a89b-d454-b9d16c5936b8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:to="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_d554fc30-4424-de12-7895-30d935df889b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:to="loc_us-gaap_InterestExpenseDeposits_d554fc30-4424-de12-7895-30d935df889b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="loc_us-gaap_InterestExpenseBorrowings_f0b31bbd-d00d-9f85-44b1-5d58621ff6a2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:to="loc_us-gaap_InterestExpenseBorrowings_f0b31bbd-d00d-9f85-44b1-5d58621ff6a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_5e280e98-99c6-f098-f4f9-65bce8235b66" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_5e280e98-99c6-f098-f4f9-65bce8235b66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_517431dc-61bd-765d-53f3-40bf143762b7" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_517431dc-61bd-765d-53f3-40bf143762b7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeFederalFundsSold" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_21276019-9c2d-96c0-4ed6-1e5af5b7dff6" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_21276019-9c2d-96c0-4ed6-1e5af5b7dff6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValue" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueLoansHeldForSaleDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_ad2d4e96-2647-8ea3-2864-1ff612aaa3ec" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_ad2d4e96-2647-8ea3-2864-1ff612aaa3ec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_b975ff9b-a11f-f2b5-e104-e0266dbbbfc6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_ad2d4e96-2647-8ea3-2864-1ff612aaa3ec" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_b975ff9b-a11f-f2b5-e104-e0266dbbbfc6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_4d365c95-da3d-c3cb-6f6b-7945d285af9f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_ad2d4e96-2647-8ea3-2864-1ff612aaa3ec" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_4d365c95-da3d-c3cb-6f6b-7945d285af9f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesComponentsOfNetDeferredTaxAssetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:type="locator" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance" xlink:label="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_0A88992DAE44D8C29A0399F853BB7084" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_0A88992DAE44D8C29A0399F853BB7084" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_5ca8e732-540c-5527-8ee3-c835dafc5838" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_0A88992DAE44D8C29A0399F853BB7084" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_5ca8e732-540c-5527-8ee3-c835dafc5838" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesDerivatives" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDerivatives_662b404a-a1c6-da1e-8261-31fc23d056f2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5ca8e732-540c-5527-8ee3-c835dafc5838" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDerivatives_662b404a-a1c6-da1e-8261-31fc23d056f2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_DeferredTaxLiabilitiesUnrealizedGainOnLoansHeldForSale" xlink:label="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainOnLoansHeldForSale_4D37E5ABCA24BB42F79C99F12DA2C59E" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5ca8e732-540c-5527-8ee3-c835dafc5838" xlink:to="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainOnLoansHeldForSale_4D37E5ABCA24BB42F79C99F12DA2C59E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation" xlink:label="loc_cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation_5B90CADB2F7DF4B3030C99F1CD0D4815" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5ca8e732-540c-5527-8ee3-c835dafc5838" xlink:to="loc_cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation_5B90CADB2F7DF4B3030C99F1CD0D4815" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain" xlink:label="loc_cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain_0D92ADB68728AAB3970B99F23698281E" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5ca8e732-540c-5527-8ee3-c835dafc5838" xlink:to="loc_cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain_0D92ADB68728AAB3970B99F23698281E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_3e7fd080-3ec6-50fa-98f3-b61bc68dbdcf" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5ca8e732-540c-5527-8ee3-c835dafc5838" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_3e7fd080-3ec6-50fa-98f3-b61bc68dbdcf" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities" xlink:label="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities_94A30AFE37F5E8DDBED299F01396F4CA" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5ca8e732-540c-5527-8ee3-c835dafc5838" xlink:to="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities_94A30AFE37F5E8DDBED299F01396F4CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsGross" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_0A88992DAE44D8C29A0399F853BB7084" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_9d9b731c-937f-002e-2782-f4162b155cff" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_9d9b731c-937f-002e-2782-f4162b155cff" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold" xlink:label="loc_cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold_DBB7D62FBF938F58BCDB99E72A1BEECA" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold_DBB7D62FBF938F58BCDB99E72A1BEECA" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_DeferredTaxAssetsNonaccrualInterest" xlink:label="loc_cbnk_DeferredTaxAssetsNonaccrualInterest_2D81900794183DAF0E6499E8336647C0" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_cbnk_DeferredTaxAssetsNonaccrualInterest_2D81900794183DAF0E6499E8336647C0" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_DeferredTaxAssetsForeclosedRealEstateWriteDowns" xlink:label="loc_cbnk_DeferredTaxAssetsForeclosedRealEstateWriteDowns_5E1D0E5F664CBB2B871999E99C3EC1CA" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_cbnk_DeferredTaxAssetsForeclosedRealEstateWriteDowns_5E1D0E5F664CBB2B871999E99C3EC1CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_187bb760-9cde-c4af-d9e1-306e7a6330eb" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_187bb760-9cde-c4af-d9e1-306e7a6330eb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_059ea1c5-ba15-6d4b-3fb5-5fbf937cf251" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_059ea1c5-ba15-6d4b-3fb5-5fbf937cf251" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_7f86d0ad-9065-5c14-f7d0-2ff3cc4df692" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_7f86d0ad-9065-5c14-f7d0-2ff3cc4df692" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_94fe9049-2d72-38a2-6065-a95842715b1a" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_94fe9049-2d72-38a2-6065-a95842715b1a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_877d9548-0a6d-f5af-1e31-5b1edfc4107e" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d91ede05-f13f-9c89-cfbf-3dfb1dd1a1a6" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_877d9548-0a6d-f5af-1e31-5b1edfc4107e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_d9af76c3-a64a-3b37-1d7d-4e9be8c70af6" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_d9af76c3-a64a-3b37-1d7d-4e9be8c70af6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesReconciliationOfFederalTaxRateToEffectiveRateDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_51d18bf0-0823-2940-9470-e9bbca486da6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_51d18bf0-0823-2940-9470-e9bbca486da6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_d23dd313-f50b-59fa-fd80-0dbe24277535" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_d23dd313-f50b-59fa-fd80-0dbe24277535" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_481cad45-a7f9-b179-4730-79d0ba87d4ce" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_481cad45-a7f9-b179-4730-79d0ba87d4ce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_eb2d6db2-ac3f-7d42-8670-da80b9d63618" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_eb2d6db2-ac3f-7d42-8670-da80b9d63618" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_00f37689-1982-1c68-c80b-43003f810247" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_00f37689-1982-1c68-c80b-43003f810247" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDeposits" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDepositsMajorCategoriesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" xlink:label="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_cc9472a3-3b35-52ad-8a21-c6c21671d08c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:to="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_cc9472a3-3b35-52ad-8a21-c6c21671d08c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepositsMoneyMarketDeposits" xlink:label="loc_us-gaap_DepositsMoneyMarketDeposits_7a2ceda8-cf68-7bff-7f74-f8b6ed0b1d07" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:to="loc_us-gaap_DepositsMoneyMarketDeposits_7a2ceda8-cf68-7bff-7f74-f8b6ed0b1d07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepositsSavingsDeposits" xlink:label="loc_us-gaap_DepositsSavingsDeposits_3a2d9e56-b53d-135f-e591-681784530216" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:to="loc_us-gaap_DepositsSavingsDeposits_3a2d9e56-b53d-135f-e591-681784530216" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit" xlink:label="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_bc77680e-9ff2-a6a8-2271-dd951fa6a4bb" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:to="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_bc77680e-9ff2-a6a8-2271-dd951fa6a4bb" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_TimeDepositsOther" xlink:label="loc_cbnk_TimeDepositsOther_C0951507AFAE3D59644F93FF535E52B1" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:to="loc_cbnk_TimeDepositsOther_C0951507AFAE3D59644F93FF535E52B1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDepositsMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDeposits" xlink:label="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearOne" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_aa3d8d7f-2a30-4f8f-6e15-b635d8f141c7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_aa3d8d7f-2a30-4f8f-6e15-b635d8f141c7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearTwo" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_d755ca06-324d-2dc5-a101-218d6d056104" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_d755ca06-324d-2dc5-a101-218d6d056104" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearThree" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_c5cc17e8-c6d3-6219-dc74-bb6939a1c091" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_c5cc17e8-c6d3-6219-dc74-bb6939a1c091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFour" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_6fd51059-f6ee-377b-3bf9-a1e3bce331a2" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_6fd51059-f6ee-377b-3bf9-a1e3bce331a2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_TimeDepositMaturitiesYearFiveandThereafter" xlink:label="loc_cbnk_TimeDepositMaturitiesYearFiveandThereafter_1D247B1170F25643AD5E941CCAE22EBB" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_cbnk_TimeDepositMaturitiesYearFiveandThereafter_1D247B1170F25643AD5E941CCAE22EBB" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDepositsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecurities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5d23fa7e-7f76-6507-b72f-382f81b88e34" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5d23fa7e-7f76-6507-b72f-382f81b88e34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e0f935d0-20e2-15fc-55a1-79c116fbc07c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e0f935d0-20e2-15fc-55a1-79c116fbc07c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesByMaturityDatesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_9dc7d38b-d1f1-ee4c-83ca-bf0de39ac02c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_9dc7d38b-d1f1-ee4c-83ca-bf0de39ac02c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_540feb58-a104-9e2c-e527-965521238e74" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_540feb58-a104-9e2c-e527-965521238e74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_97b62833-0a42-058f-3886-4b4d65c49079" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_97b62833-0a42-058f-3886-4b4d65c49079" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_db9e5922-2e70-406b-1ac3-0318ebdc102f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_db9e5922-2e70-406b-1ac3-0318ebdc102f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeaseAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeaseAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4d26bd18-43c4-5981-04d4-83d0e9328a1d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_198c3642-781c-a7d4-6f7d-8400ab29b18c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4d26bd18-43c4-5981-04d4-83d0e9328a1d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_198c3642-781c-a7d4-6f7d-8400ab29b18c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e0f20176-305e-e29f-ab09-584aea596901" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4d26bd18-43c4-5981-04d4-83d0e9328a1d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e0f20176-305e-e29f-ab09-584aea596901" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_8e35e675-3955-0e95-1b9c-d08dd410962e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4d26bd18-43c4-5981-04d4-83d0e9328a1d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_8e35e675-3955-0e95-1b9c-d08dd410962e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_852d78fc-d4b9-e5fb-fd5a-9da7d3d49669" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4d26bd18-43c4-5981-04d4-83d0e9328a1d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_852d78fc-d4b9-e5fb-fd5a-9da7d3d49669" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_7a6864a2-d55e-24e7-17f1-75d5cad038ee" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4d26bd18-43c4-5981-04d4-83d0e9328a1d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_7a6864a2-d55e-24e7-17f1-75d5cad038ee" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_OperatingLeaseLiabilityNet" xlink:label="loc_cbnk_OperatingLeaseLiabilityNet_757EB65411837E1F7B32A42AA690C091" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_41784c6f-4555-af92-3354-8f8701c77f60" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseLiabilityNet_757EB65411837E1F7B32A42AA690C091" xlink:to="loc_us-gaap_OperatingLeaseLiability_41784c6f-4555-af92-3354-8f8701c77f60" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_OperatingLeaseLiabilityAccumulatedAmortization" xlink:label="loc_cbnk_OperatingLeaseLiabilityAccumulatedAmortization_7D8F38BCD08F35C4D89EA42A041DADE2" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseLiabilityNet_757EB65411837E1F7B32A42AA690C091" xlink:to="loc_cbnk_OperatingLeaseLiabilityAccumulatedAmortization_7D8F38BCD08F35C4D89EA42A041DADE2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_OperatingLeaseRightOfUseAssetNet" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_C6DA27AC46E4FC381D3FA41CAF1A3E08" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_52f5671e-53e6-6055-795e-6bd414fd86c2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseRightOfUseAssetNet_C6DA27AC46E4FC381D3FA41CAF1A3E08" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_52f5671e-53e6-6055-795e-6bd414fd86c2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_EC55313EAF9191734E5DA416BB11F0A7" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseRightOfUseAssetNet_C6DA27AC46E4FC381D3FA41CAF1A3E08" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_EC55313EAF9191734E5DA416BB11F0A7" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeaseLease" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeaseTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/Litigation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LitigationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivable" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableAccretableDiscountDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableAllowanceForLoanLossesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableClassificationOfLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_4cbb843e-5652-0c37-ca7e-5d0dafc6ebdb" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_4cbb843e-5652-0c37-ca7e-5d0dafc6ebdb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_4d9e50f2-a8a9-d5fc-116b-d11e267a26d6" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_4d9e50f2-a8a9-d5fc-116b-d11e267a26d6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_5354ee7f-4abe-680e-b0f4-37e4ed632b64" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_5354ee7f-4abe-680e-b0f4-37e4ed632b64" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableCreditQualityIndicatorsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableImpairedLoansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivablePastDueFinancingReceivableDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LoansReceivableTroubleDebtRestructuringDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AociBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_AociBeforeTaxAttributableToParent_11fd0378-46b0-8746-0a63-84e15aa33091" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_11fd0378-46b0-8746-0a63-84e15aa33091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AociTaxAttributableToParent" xlink:label="loc_us-gaap_AociTaxAttributableToParent_c820490e-bb26-e49a-fe40-074d1b68a433" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" xlink:to="loc_us-gaap_AociTaxAttributableToParent_c820490e-bb26-e49a-fe40-074d1b68a433" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationInitialPublicOfferingDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationNewAccountingPronouncementsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformationBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherBorrowings" xlink:label="loc_us-gaap_OtherBorrowings_8ffe0cee-2179-e226-5fdb-341ccd63b7aa" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_OtherBorrowings_8ffe0cee-2179-e226-5fdb-341ccd63b7aa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_6c99b575-18e1-e272-0304-f63a5e5a998b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_6c99b575-18e1-e272-0304-f63a5e5a998b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_b7c80bbc-e033-5d39-6a1b-ed85fbc903f7" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_OtherLiabilities_b7c80bbc-e033-5d39-6a1b-ed85fbc903f7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_0682cfaa-83e6-dea4-d697-0d84430cc679" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_EquityMethodInvestments_0682cfaa-83e6-dea4-d697-0d84430cc679" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_5194a9fc-115c-f59a-adef-21b602d3ebcc" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_5194a9fc-115c-f59a-adef-21b602d3ebcc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdvancesToAffiliate" xlink:label="loc_us-gaap_AdvancesToAffiliate_f2c1c346-849c-7c3a-67fb-72e78534e0f5" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AdvancesToAffiliate_f2c1c346-849c-7c3a-67fb-72e78534e0f5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidTaxes" xlink:label="loc_us-gaap_PrepaidTaxes_5c64780a-8042-167d-1fc1-34577f9444e7" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_PrepaidTaxes_5c64780a-8042-167d-1fc1-34577f9444e7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_6544a746-9524-1b61-e235-04d48d39f116" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_6544a746-9524-1b61-e235-04d48d39f116" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_32f41ea9-05c6-e713-464b-586a571d1c1f" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_32f41ea9-05c6-e713-464b-586a571d1c1f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformationStatementsOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:type="locator" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_PaymentsForCapitalInjectionsToSubsidiaries" xlink:label="loc_cbnk_PaymentsForCapitalInjectionsToSubsidiaries_7D80C267DD3CA22397719832F2675FAB" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_cbnk_PaymentsForCapitalInjectionsToSubsidiaries_7D80C267DD3CA22397719832F2675FAB" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_IncreaseDecreaseInLoans" xlink:label="loc_cbnk_IncreaseDecreaseInLoans_3B3F9BE0B2499B84EDFD98379F2CE260" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_cbnk_IncreaseDecreaseInLoans_3B3F9BE0B2499B84EDFD98379F2CE260" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_IncreaseDecreaseInEquityMethodInvestment" xlink:label="loc_cbnk_IncreaseDecreaseInEquityMethodInvestment_A1A1BAF60695254266C5981F494AF748" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_cbnk_IncreaseDecreaseInEquityMethodInvestment_A1A1BAF60695254266C5981F494AF748" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_976aa179-beff-3c48-8a66-8efd172cdca6" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_976aa179-beff-3c48-8a66-8efd172cdca6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_90cbc3ab-f555-6407-b3b4-b2bfa84c9f18" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ShareBasedCompensation_90cbc3ab-f555-6407-b3b4-b2bfa84c9f18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_b412c390-dfec-d4c8-f13e-036e3b49278c" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_b412c390-dfec-d4c8-f13e-036e3b49278c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_21b2374f-ed59-409a-8c93-50623e6a6908" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_21b2374f-ed59-409a-8c93-50623e6a6908" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidTaxes" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_b68c9658-85e3-d0b2-4f5a-f78300bea3c1" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_b68c9658-85e3-d0b2-4f5a-f78300bea3c1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d54a644c-3d3c-bcc1-da30-2f136651f90f" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d54a644c-3d3c-bcc1-da30-2f136651f90f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_2a6d7ce6-936f-6ec3-1606-4ffc7571557c" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_2a6d7ce6-936f-6ec3-1606-4ffc7571557c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_a039d388-4db8-a076-4618-28899f6ce801" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_a039d388-4db8-a076-4618-28899f6ce801" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockOptionPlanExpense" xlink:label="loc_us-gaap_StockOptionPlanExpense_22605f61-55b5-fe3c-1a76-a8616250b25f" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_StockOptionPlanExpense_22605f61-55b5-fe3c-1a76-a8616250b25f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfDebt" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfDebt_f1208f89-67c2-4b3a-f9a0-97ee8c4f7470" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfDebt_f1208f89-67c2-4b3a-f9a0-97ee8c4f7470" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_706d3cc5-3df5-1e1a-5067-c02728407eb6" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_706d3cc5-3df5-1e1a-5067-c02728407eb6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6ec8bc8e-bcd9-36ad-d8ae-2c2fa1dfd920" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6ec8bc8e-bcd9-36ad-d8ae-2c2fa1dfd920" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_678cc0a1-75a1-b1b0-39a1-094379144ce2" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_678cc0a1-75a1-b1b0-39a1-094379144ce2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformationStatementsOfIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments" xlink:label="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_EEE4FF9939843101963F9790ECED2E96" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_EEE4FF9939843101963F9790ECED2E96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_EEE4FF9939843101963F9790ECED2E96" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_EEE4FF9939843101963F9790ECED2E96" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_d01a4d5f-b660-27b4-db84-9a80227862fc" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_d01a4d5f-b660-27b4-db84-9a80227862fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeSecurities" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecurities_6a791a49-811e-f511-9d45-2a5de1111fba" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecurities_6a791a49-811e-f511-9d45-2a5de1111fba" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendIncomeOperating" xlink:label="loc_us-gaap_DividendIncomeOperating_aaa92319-42fa-376c-15d2-159263ad86bf" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_DividendIncomeOperating_aaa92319-42fa-376c-15d2-159263ad86bf" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PremisesAndEquipment" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PremisesAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_c41a8a80-f055-9582-ccd3-a3e2c4d7a3b0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_c41a8a80-f055-9582-ccd3-a3e2c4d7a3b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOther" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOther_2f914118-e857-a5a9-c70c-bdd7d30a80df" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_c41a8a80-f055-9582-ccd3-a3e2c4d7a3b0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOther_2f914118-e857-a5a9-c70c-bdd7d30a80df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation_756a700f-4de7-4beb-e2dc-b851fb25b1c1" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_c41a8a80-f055-9582-ccd3-a3e2c4d7a3b0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation_756a700f-4de7-4beb-e2dc-b851fb25b1c1" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_OperatingLeaseRightOfUseAssetNet" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_C6DA27AC46E4FC381D3FA41CAF1A3E08" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetNet_C6DA27AC46E4FC381D3FA41CAF1A3E08" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PremisesAndEquipmentTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/QuarterlyResultsOfOperationsUnaudited" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/QuarterlyResultsOfOperationsUnauditedDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/QuarterlyResultsOfOperationsUnauditedTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RelatedPartyTransactions" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RelatedPartyTransactionsActivityInRelatedPartyLoansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RelatedPartyTransactionsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RetirementPlan" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RetirementPlanDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementsToRepurchase" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementsToRepurchaseDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementsToRepurchaseTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/Segments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SegmentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SegmentsSegmentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockSummaryDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockVestingScheduleDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0649dfa8-cc74-a19e-1ba7-b05775c16044" xlink:type="locator" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths_3CEFA8141C6C95C0AA469D87FBC4BA3F" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0649dfa8-cc74-a19e-1ba7-b05775c16044" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths_3CEFA8141C6C95C0AA469D87FBC4BA3F" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo_E301718E4A5EA69B58F69D88C73519FD" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0649dfa8-cc74-a19e-1ba7-b05775c16044" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo_E301718E4A5EA69B58F69D88C73519FD" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree_72853D6BE66E3D27BD429D8965487B46" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0649dfa8-cc74-a19e-1ba7-b05775c16044" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree_72853D6BE66E3D27BD429D8965487B46" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20191231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearFour" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearFour_2277DBCA5847DD9568929D89DEC22661" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0649dfa8-cc74-a19e-1ba7-b05775c16044" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearFour_2277DBCA5847DD9568929D89DEC22661" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationStockOptionPricingAssumptionsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationStockOptionSummaryDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SubsequentEvents" xlink:type="extended" />
</link:linkbase>
