

<!--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/ConsolidatedBalanceSheets" xlink:href="cbnk-20190630.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="cbnk-20190630.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="cbnk-20190630.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:href="cbnk-20190630.xsd#ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:href="cbnk-20190630.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnauditedCalc2" xlink:href="cbnk-20190630.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnauditedCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:href="cbnk-20190630.xsd#ConsolidatedStatementsOfIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnauditedParenthetical" xlink:href="cbnk-20190630.xsd#ConsolidatedStatementsOfIncomeUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:href="cbnk-20190630.xsd#DerivativeFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:href="cbnk-20190630.xsd#DerivativeFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsTables" xlink:href="cbnk-20190630.xsd#DerivativeFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DocumentAndEntityInformation" xlink:href="cbnk-20190630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValue" xlink:href="cbnk-20190630.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:href="cbnk-20190630.xsd#FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:href="cbnk-20190630.xsd#FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:href="cbnk-20190630.xsd#FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueLoansHeldForSaleDetails" xlink:href="cbnk-20190630.xsd#FairValueLoansHeldForSaleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueTables" xlink:href="cbnk-20190630.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecurities" xlink:href="cbnk-20190630.xsd#InvestmentSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:href="cbnk-20190630.xsd#InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesByMaturityDatesDetails" xlink:href="cbnk-20190630.xsd#InvestmentSecuritiesByMaturityDatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:href="cbnk-20190630.xsd#InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesTables" xlink:href="cbnk-20190630.xsd#InvestmentSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:href="cbnk-20190630.xsd#InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Leases" xlink:href="cbnk-20190630.xsd#Leases" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAdditionalInformationDetails" xlink:href="cbnk-20190630.xsd#LeasesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:href="cbnk-20190630.xsd#LeasesAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesTables" xlink:href="cbnk-20190630.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Litigation" xlink:href="cbnk-20190630.xsd#Litigation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LitigationDetails" xlink:href="cbnk-20190630.xsd#LitigationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivable" xlink:href="cbnk-20190630.xsd#LoansReceivable" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableAccretableDiscountDetails" xlink:href="cbnk-20190630.xsd#LoansReceivableAccretableDiscountDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:href="cbnk-20190630.xsd#LoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableAllowanceForLoanLossesDetails" xlink:href="cbnk-20190630.xsd#LoansReceivableAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableClassificationOfLoansDetails" xlink:href="cbnk-20190630.xsd#LoansReceivableClassificationOfLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableCreditQualityIndicatorsDetails" xlink:href="cbnk-20190630.xsd#LoansReceivableCreditQualityIndicatorsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableImpairedLoansDetails" xlink:href="cbnk-20190630.xsd#LoansReceivableImpairedLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableOutstandingLoanCommitmentsDetails" xlink:href="cbnk-20190630.xsd#LoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivablePastDueFinancingReceivableDetails" xlink:href="cbnk-20190630.xsd#LoansReceivablePastDueFinancingReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableTables" xlink:href="cbnk-20190630.xsd#LoansReceivableTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableTroubleDebtRestructuringDetails" xlink:href="cbnk-20190630.xsd#LoansReceivableTroubleDebtRestructuringDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentation" xlink:href="cbnk-20190630.xsd#NatureOfBusinessAndBasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails" xlink:href="cbnk-20190630.xsd#NatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:href="cbnk-20190630.xsd#NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:href="cbnk-20190630.xsd#NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationInitialPublicOfferingDetails" xlink:href="cbnk-20190630.xsd#NatureOfBusinessAndBasisOfPresentationInitialPublicOfferingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationLeasesDetails" xlink:href="cbnk-20190630.xsd#NatureOfBusinessAndBasisOfPresentationLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPolicies" xlink:href="cbnk-20190630.xsd#NatureOfBusinessAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationTables" xlink:href="cbnk-20190630.xsd#NatureOfBusinessAndBasisOfPresentationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SubsequentEvents" xlink:href="cbnk-20190630.xsd#SubsequentEvents" xlink:type="simple" />
  <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_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: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_PrepaidTaxes" xlink:label="loc_us-gaap_PrepaidTaxes_5c64780a-8042-167d-1fc1-34577f9444e7" 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_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_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="locator" />
    <link:calculationArc order="11" 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:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" 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_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks" xlink:label="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_cb97475e-fddf-ad2e-23d5-a30018b69c45" 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_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="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_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_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_706d3cc5-3df5-1e1a-5067-c02728407eb6" 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_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_IncreaseDecreaseInFederalFundsSold" xlink:label="loc_us-gaap_IncreaseDecreaseInFederalFundsSold_18735153-1de0-0921-ee66-f90c0f4f34fe" 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_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_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" 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_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_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_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_DepreciationNonproduction" xlink:label="loc_us-gaap_DepreciationNonproduction_0483610d-3058-1de3-f97a-c4a2f043abbb" 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_DepreciationNonproduction_0483610d-3058-1de3-f97a-c4a2f043abbb" 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="cbnk-20190630.xsd#cbnk_MortgageBankingAndServicingGainLoss" xlink:label="loc_cbnk_MortgageBankingAndServicingGainLoss_C4788302F537535ACA977E354A464325" 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_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_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_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b2d1473c-d06a-7053-5039-5cb1510f932e" 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_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="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_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="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_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="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_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_PaymentsForProceedsFromProductiveAssets" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_1dd583ec-94d8-2c14-d8df-b394a200c234" 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_PaymentsForProceedsFromProductiveAssets_1dd583ec-94d8-2c14-d8df-b394a200c234" 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_PaymentsToAcquireAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5a6cca43-79c5-34f3-6172-5859b13486b1" 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_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5a6cca43-79c5-34f3-6172-5859b13486b1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" 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/ConsolidatedStatementsOfComprehensiveIncomeUnauditedCalc2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnaudited" 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-20190630.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-20190630.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="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="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_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="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_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/ConsolidatedStatementsOfIncomeUnauditedParenthetical" 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/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_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: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:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/Leases" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeasesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeasesAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" 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_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_d0e3c4ab-df94-52c6-3761-ce2ed0f2f507" 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_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_d0e3c4ab-df94-52c6-3761-ce2ed0f2f507" 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="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_a8c7556a-9f4c-b4fb-2e42-b21cf84287a7" xlink:type="locator" />
    <link:calculationArc order="6" 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_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_a8c7556a-9f4c-b4fb-2e42-b21cf84287a7" 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:loc xlink:href="cbnk-20190630.xsd#cbnk_OperatingLeaseLiabilityNet" xlink:label="loc_cbnk_OperatingLeaseLiabilityNet_757EB65411837E1F7B32A42AA690C091" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilities_b7c80bbc-e033-5d39-6a1b-ed85fbc903f7" xlink:to="loc_cbnk_OperatingLeaseLiabilityNet_757EB65411837E1F7B32A42AA690C091" xlink:type="arc" />
    <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-20190630.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-20190630.xsd#cbnk_OtherLiabilitiesMiscellaneous" xlink:label="loc_cbnk_OtherLiabilitiesMiscellaneous_22F19D61D854DEFD91D1A42EE8339CA5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilities_b7c80bbc-e033-5d39-6a1b-ed85fbc903f7" xlink:to="loc_cbnk_OtherLiabilitiesMiscellaneous_22F19D61D854DEFD91D1A42EE8339CA5" 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:loc xlink:href="cbnk-20190630.xsd#cbnk_OperatingLeaseRightOfUseAssetNet" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_C6DA27AC46E4FC381D3FA41CAF1A3E08" 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_cbnk_OperatingLeaseRightOfUseAssetNet_C6DA27AC46E4FC381D3FA41CAF1A3E08" xlink:type="arc" />
    <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-20190630.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: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="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_us-gaap_PropertyPlantAndEquipmentOtherNet_c41a8a80-f055-9582-ccd3-a3e2c4d7a3b0" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeasesTables" 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_7231E6D340D15F2CB15DB8A1F85FFD9D" 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_09E089898CDF5EF29AC918D27BDB426A" 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_7231E6D340D15F2CB15DB8A1F85FFD9D" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_09E089898CDF5EF29AC918D27BDB426A" 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_6EBA5AD4FCE45B1CBC0FA39A9273E777" 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_7231E6D340D15F2CB15DB8A1F85FFD9D" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_6EBA5AD4FCE45B1CBC0FA39A9273E777" 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_6C229E2162BC5212AB75B700FB1B848C" 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_7231E6D340D15F2CB15DB8A1F85FFD9D" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_6C229E2162BC5212AB75B700FB1B848C" 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_516DC3D6205E57E9812ADF05ED4E7AC5" 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_3316E531A232569F8D6914ECDDBA755E" 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_516DC3D6205E57E9812ADF05ED4E7AC5" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_3316E531A232569F8D6914ECDDBA755E" 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_78F3094366325A7EBF94DDC3732BF22D" 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_516DC3D6205E57E9812ADF05ED4E7AC5" xlink:to="loc_us-gaap_AociTaxAttributableToParent_78F3094366325A7EBF94DDC3732BF22D" 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/NatureOfBusinessAndBasisOfPresentationLeasesDetails" 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/SubsequentEvents" xlink:type="extended" />
</link:linkbase>





