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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:3e33db48-eaf3-437e-b723-61e5db7bc32d,g:401e0f8b-3198-4f83-b767-2aa878a354fe-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://capitalbankmd.com/role/CoverPage" xlink:type="simple" xlink:href="cbnk-20201231.xsd#CoverPage"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CoverPage" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_faf4e9e3-cef8-405d-94ee-ca0e8a2b55bb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_d5019561-7411-49f3-835f-5f19c2d52645" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_faf4e9e3-cef8-405d-94ee-ca0e8a2b55bb" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_d5019561-7411-49f3-835f-5f19c2d52645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_a9ea1c6d-330e-46f8-869b-81c60732af47" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_faf4e9e3-cef8-405d-94ee-ca0e8a2b55bb" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_a9ea1c6d-330e-46f8-869b-81c60732af47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_6304070d-15e5-4f54-bc34-86fc0444410c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_cd121f4f-2164-4ab3-959e-8a01871c9ce9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6304070d-15e5-4f54-bc34-86fc0444410c" xlink:to="loc_us-gaap_CommonStockValue_cd121f4f-2164-4ab3-959e-8a01871c9ce9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_36c28412-cd6e-4905-8b8b-8a37e2050f15" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6304070d-15e5-4f54-bc34-86fc0444410c" xlink:to="loc_us-gaap_AdditionalPaidInCapital_36c28412-cd6e-4905-8b8b-8a37e2050f15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6744f7ef-d166-4fe8-b986-435de9e43967" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6304070d-15e5-4f54-bc34-86fc0444410c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6744f7ef-d166-4fe8-b986-435de9e43967" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_5f75dae4-5477-4fe1-b462-9202bfce8932" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6304070d-15e5-4f54-bc34-86fc0444410c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_5f75dae4-5477-4fe1-b462-9202bfce8932" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_d394c1f5-6504-4572-a775-86c1757b8a85" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_8849193a-72b4-4ef4-a26e-15028c8b1839" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d394c1f5-6504-4572-a775-86c1757b8a85" xlink:to="loc_us-gaap_OtherBorrowings_8849193a-72b4-4ef4-a26e-15028c8b1839" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_0fa1cb67-4353-4090-816f-be8253f15331" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesLongTerm"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d394c1f5-6504-4572-a775-86c1757b8a85" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_0fa1cb67-4353-4090-816f-be8253f15331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_bbb4668f-3a4d-468b-9ef2-2ee056c6bd04" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d394c1f5-6504-4572-a775-86c1757b8a85" xlink:to="loc_us-gaap_OtherLiabilities_bbb4668f-3a4d-468b-9ef2-2ee056c6bd04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_ecdc2a9a-cb7f-4d62-973d-0bdfbace0842" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d394c1f5-6504-4572-a775-86c1757b8a85" xlink:to="loc_us-gaap_Deposits_ecdc2a9a-cb7f-4d62-973d-0bdfbace0842" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_7f001003-22ba-4521-950c-aac0e0fd241c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d394c1f5-6504-4572-a775-86c1757b8a85" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_7f001003-22ba-4521-950c-aac0e0fd241c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_69ae641b-f0dd-4a19-8024-895aeb90cd08" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_5d5b4c9a-fc66-418c-b3e1-4d4cbe0ccf58" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_69ae641b-f0dd-4a19-8024-895aeb90cd08" xlink:to="loc_us-gaap_CashAndDueFromBanks_5d5b4c9a-fc66-418c-b3e1-4d4cbe0ccf58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_90273dec-3a74-4f32-8207-344d21b99de8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_69ae641b-f0dd-4a19-8024-895aeb90cd08" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_90273dec-3a74-4f32-8207-344d21b99de8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSold_29fbeea7-dbcc-4f59-8e69-38852130f8fa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FederalFundsSold"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_69ae641b-f0dd-4a19-8024-895aeb90cd08" xlink:to="loc_us-gaap_FederalFundsSold_29fbeea7-dbcc-4f59-8e69-38852130f8fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_bd254117-91e1-45b9-9552-e73490ed7ca0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_bd254117-91e1-45b9-9552-e73490ed7ca0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestments_43c9cb0c-267c-4748-b814-7e98c23bff78" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_RestrictedInvestments_43c9cb0c-267c-4748-b814-7e98c23bff78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_7556d855-2ea9-4b28-89ce-b8ae85e55c96" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_7556d855-2ea9-4b28-89ce-b8ae85e55c96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_f579b5e0-b47c-490b-bbfe-594eaa15710a" xlink:href="cbnk-20201231.xsd#cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_f579b5e0-b47c-490b-bbfe-594eaa15710a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_ecbf5c5b-72ff-4afa-8dcb-63e6dd12759a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_OtherAssets_ecbf5c5b-72ff-4afa-8dcb-63e6dd12759a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_de17146e-5a5e-4d04-8f9b-9ff477e33602" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_de17146e-5a5e-4d04-8f9b-9ff477e33602" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_1615903d-b52f-4725-bfe3-987aafdaaab8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_1615903d-b52f-4725-bfe3-987aafdaaab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_3100b8fa-6a7f-4b69-af48-63e5b5770605" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_3100b8fa-6a7f-4b69-af48-63e5b5770605" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_16e93c99-8193-4735-96b1-a03c33c50c71" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_16e93c99-8193-4735-96b1-a03c33c50c71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_7dc21f4e-1eb7-4c70-8758-6b303157d280" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_7dc21f4e-1eb7-4c70-8758-6b303157d280" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_0c468620-bf7b-41dd-851e-8d02a8acd101" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c634da48-2286-4969-b44d-209b809ba500" xlink:to="loc_us-gaap_NotesReceivableNet_0c468620-bf7b-41dd-851e-8d02a8acd101" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_c1570fad-3d90-4d8a-924e-406a27022e28" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7a100277-02b5-426c-a3bc-a500b454ef22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_c1570fad-3d90-4d8a-924e-406a27022e28" xlink:to="loc_us-gaap_StockholdersEquity_7a100277-02b5-426c-a3bc-a500b454ef22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_04dfa184-a374-4826-8e78-0c72082c2d51" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_c1570fad-3d90-4d8a-924e-406a27022e28" xlink:to="loc_us-gaap_Liabilities_04dfa184-a374-4826-8e78-0c72082c2d51" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ConsolidatedBalanceSheetsParenthetical"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofIncome" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ConsolidatedStatementsofIncome"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_fbfbe44b-f92d-4ed3-9172-9237bfb9b02d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_21780dd3-cd2f-46c8-8cba-260df43297ec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_fbfbe44b-f92d-4ed3-9172-9237bfb9b02d" xlink:to="loc_us-gaap_NoninterestExpense_21780dd3-cd2f-46c8-8cba-260df43297ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_0ba06b9c-a21f-432b-92ad-445de7ef80ee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_fbfbe44b-f92d-4ed3-9172-9237bfb9b02d" xlink:to="loc_us-gaap_NoninterestIncome_0ba06b9c-a21f-432b-92ad-445de7ef80ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_185bf5ad-8b0a-4e3b-a97b-b7012b1ab768" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_fbfbe44b-f92d-4ed3-9172-9237bfb9b02d" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_185bf5ad-8b0a-4e3b-a97b-b7012b1ab768" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_467b0544-6954-4d55-8cc1-82bd021fc46a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_ffcffe6f-4696-4fa8-922e-92956272bfec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_467b0544-6954-4d55-8cc1-82bd021fc46a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_ffcffe6f-4696-4fa8-922e-92956272bfec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_672e370d-b501-43fe-9c4e-f5e352af49d3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_467b0544-6954-4d55-8cc1-82bd021fc46a" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_672e370d-b501-43fe-9c4e-f5e352af49d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_e827a8f1-f295-4d53-a772-ae966e73f06d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_1ee2c3d9-a864-4f0d-97ca-ffa18a6977b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_e827a8f1-f295-4d53-a772-ae966e73f06d" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_1ee2c3d9-a864-4f0d-97ca-ffa18a6977b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_5ed2b218-c86b-496b-bb0f-e4aa2427d89c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_e827a8f1-f295-4d53-a772-ae966e73f06d" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_5ed2b218-c86b-496b-bb0f-e4aa2427d89c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_7cd49db2-52e5-49cd-aa07-11ce26dbf2f6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_4301f288-f92f-4ecd-81cb-a824725ae1b9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_7cd49db2-52e5-49cd-aa07-11ce26dbf2f6" xlink:to="loc_us-gaap_InterestExpenseDeposits_4301f288-f92f-4ecd-81cb-a824725ae1b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_9917ed6e-a377-45e2-a608-9db5e77cb56a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_7cd49db2-52e5-49cd-aa07-11ce26dbf2f6" xlink:to="loc_us-gaap_InterestExpenseBorrowings_9917ed6e-a377-45e2-a608-9db5e77cb56a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_0976f3b5-ad60-4302-8ce6-bd332c2ef70f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_ddb6d44e-ffbc-428a-abe7-cfa76753fd18" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_0976f3b5-ad60-4302-8ce6-bd332c2ef70f" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_ddb6d44e-ffbc-428a-abe7-cfa76753fd18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_9b604794-efc8-4246-aee1-231d031dc5e7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_0976f3b5-ad60-4302-8ce6-bd332c2ef70f" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_9b604794-efc8-4246-aee1-231d031dc5e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_21b14b28-3feb-4953-ad19-0f2b78f1f086" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeFederalFundsSold"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_0976f3b5-ad60-4302-8ce6-bd332c2ef70f" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_21b14b28-3feb-4953-ad19-0f2b78f1f086" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_839a2e77-e8f4-4fbc-8eee-d97e9cf5e579" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:to="loc_us-gaap_LaborAndRelatedExpense_839a2e77-e8f4-4fbc-8eee-d97e9cf5e579" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OccupancyAndEquipmentExpense_552117a8-1f4c-4ac2-a1a5-48f5a1376f61" xlink:href="cbnk-20201231.xsd#cbnk_OccupancyAndEquipmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:to="loc_cbnk_OccupancyAndEquipmentExpense_552117a8-1f4c-4ac2-a1a5-48f5a1376f61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_41452757-44bf-4266-b02e-ae03d43ba3fe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:to="loc_us-gaap_ProfessionalFees_41452757-44bf-4266-b02e-ae03d43ba3fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_e630a851-51dd-4416-a74a-fd212f7fb1a9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_e630a851-51dd-4416-a74a-fd212f7fb1a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_51a3fd74-cb34-42f4-ad43-8e8a564e6178" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdvertisingExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:to="loc_us-gaap_AdvertisingExpense_51a3fd74-cb34-42f4-ad43-8e8a564e6178" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanProcessingFee_3c06d72b-0e54-4950-bd43-28b1250f7b62" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoanProcessingFee"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:to="loc_us-gaap_LoanProcessingFee_3c06d72b-0e54-4950-bd43-28b1250f7b62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OtherRealEstateExpensesNet_c21c65ff-c66b-466a-a668-61ce54a54284" xlink:href="cbnk-20201231.xsd#cbnk_OtherRealEstateExpensesNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:to="loc_cbnk_OtherRealEstateExpensesNet_c21c65ff-c66b-466a-a668-61ce54a54284" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_8d61bfc9-6437-464b-93d2-a508222b9a8c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_f8d3381f-f5df-4b8c-8a13-cdc702d8f0b4" xlink:to="loc_us-gaap_OtherNoninterestExpense_8d61bfc9-6437-464b-93d2-a508222b9a8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_4e8ffc7c-6862-4ce1-acaa-2dfac9d13a02" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_58699c40-d480-4bab-88af-64bde7029bcf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_4e8ffc7c-6862-4ce1-acaa-2dfac9d13a02" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_58699c40-d480-4bab-88af-64bde7029bcf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_c0fd0364-65c5-4d8a-8371-4dc9d91c98bd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_4e8ffc7c-6862-4ce1-acaa-2dfac9d13a02" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_c0fd0364-65c5-4d8a-8371-4dc9d91c98bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_4a814685-6d74-4a4a-9491-350b11a5736c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_4e8ffc7c-6862-4ce1-acaa-2dfac9d13a02" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_4a814685-6d74-4a4a-9491-350b11a5736c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_2ba2b118-45e0-4a34-8b8a-cc4449c19913" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_8ec67670-a248-4515-8803-82e5cde578a4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_2ba2b118-45e0-4a34-8b8a-cc4449c19913" xlink:to="loc_us-gaap_InterestExpense_8ec67670-a248-4515-8803-82e5cde578a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_0ca4da27-ce3c-409e-9230-5a53e61cffc5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_2ba2b118-45e0-4a34-8b8a-cc4449c19913" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_0ca4da27-ce3c-409e-9230-5a53e61cffc5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofIncomeParenthetical" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ConsolidatedStatementsofIncomeParenthetical"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofIncomeParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_37bb2b2c-63cf-4d92-a95b-59e0c071433c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_480197e8-0d19-4010-8010-83292894d5e6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_37bb2b2c-63cf-4d92-a95b-59e0c071433c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_480197e8-0d19-4010-8010-83292894d5e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_0bd83de0-3b1c-44fd-8cb3-9c8d5b67fcc3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_37bb2b2c-63cf-4d92-a95b-59e0c071433c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_0bd83de0-3b1c-44fd-8cb3-9c8d5b67fcc3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_131d907b-3b57-473e-92b0-59fdb1be0c1a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_37bb2b2c-63cf-4d92-a95b-59e0c071433c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_131d907b-3b57-473e-92b0-59fdb1be0c1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_535e2e42-679e-4da4-b79b-a60ea7b2b4a6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_fd15b501-ebac-4fd1-abd1-f87574bae00a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_535e2e42-679e-4da4-b79b-a60ea7b2b4a6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_fd15b501-ebac-4fd1-abd1-f87574bae00a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_bdc7bc3c-2d81-43c3-a2b4-6dfc0e8dd2a1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_535e2e42-679e-4da4-b79b-a60ea7b2b4a6" xlink:to="loc_us-gaap_NetIncomeLoss_bdc7bc3c-2d81-43c3-a2b4-6dfc0e8dd2a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_75a384ff-adbf-4e54-87c4-f149d1610f65" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_ff1dc260-ade1-4c0e-b6d2-e540dd640c05" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_75a384ff-adbf-4e54-87c4-f149d1610f65" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_ff1dc260-ade1-4c0e-b6d2-e540dd640c05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_c8d693cc-bf2b-4425-bad2-c259cd7d983a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_75a384ff-adbf-4e54-87c4-f149d1610f65" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_c8d693cc-bf2b-4425-bad2-c259cd7d983a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofChangesinShareholdersEquity" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ConsolidatedStatementsofChangesinShareholdersEquity"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofChangesinShareholdersEquity" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_dc2f6d0f-7cca-4f80-8362-e4b0a61b8121" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d2dafc3-b08f-4682-84e6-11d1cd94ebc2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_dc2f6d0f-7cca-4f80-8362-e4b0a61b8121" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2d2dafc3-b08f-4682-84e6-11d1cd94ebc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bca1f4a-c0a6-49fe-a90a-85f81c952709" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_dc2f6d0f-7cca-4f80-8362-e4b0a61b8121" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bca1f4a-c0a6-49fe-a90a-85f81c952709" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_053aca14-a276-4c83-bc8c-824b104da8b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_dc2f6d0f-7cca-4f80-8362-e4b0a61b8121" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_053aca14-a276-4c83-bc8c-824b104da8b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_8b73566c-5473-4e21-97bb-f35c2458ba7f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetChangeInterestBearingDepositsDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:to="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_8b73566c-5473-4e21-97bb-f35c2458ba7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_dc79729b-82b0-4bc9-b9f6-f7f64a2b3763" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:to="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_dc79729b-82b0-4bc9-b9f6-f7f64a2b3763" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFederalFundsPurchased_ce7997fc-777e-455f-853f-6bc15035574f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInFederalFundsPurchased"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:to="loc_us-gaap_IncreaseDecreaseInFederalFundsPurchased_ce7997fc-777e-455f-853f-6bc15035574f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5f7b41d2-00b4-4f1b-b915-17c2d7f2efb7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5f7b41d2-00b4-4f1b-b915-17c2d7f2efb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_d45757eb-ab8f-4deb-8188-317be923d2db" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfOtherDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_d45757eb-ab8f-4deb-8188-317be923d2db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_3b8ca357-7489-4ddb-a90e-29efdfe1a8d8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetChangeNoninterestBearingDepositsDomestic"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:to="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_3b8ca357-7489-4ddb-a90e-29efdfe1a8d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase_979950c0-6c8c-4c47-b823-bf56f22d6777" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase_979950c0-6c8c-4c47-b823-bf56f22d6777" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_0668600c-0f1f-4b84-9943-82637a72bafc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_07cbd8f2-29d3-4f7c-8786-48f940c2c688" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_0668600c-0f1f-4b84-9943-82637a72bafc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_2b40ab56-bbf9-46ae-be8c-bd96584de5c0" xlink:href="cbnk-20201231.xsd#cbnk_PaymentsForProceedsFromRestrictedInvestments"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:to="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_2b40ab56-bbf9-46ae-be8c-bd96584de5c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_ba1b0847-77bc-49d4-8607-ae133358e58e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForProceedsFromProductiveAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_ba1b0847-77bc-49d4-8607-ae133358e58e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_98abdb3d-281e-4034-a940-ffb671992ef6" xlink:href="cbnk-20201231.xsd#cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:to="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_98abdb3d-281e-4034-a940-ffb671992ef6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_1c65e04a-856d-4f34-9d8e-a42b9089adde" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_1c65e04a-856d-4f34-9d8e-a42b9089adde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_e67f1a04-2b93-4a7e-b843-952782c81e31" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_e67f1a04-2b93-4a7e-b843-952782c81e31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_4b330729-e952-459c-8b41-0e238e14d3d3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_4b330729-e952-459c-8b41-0e238e14d3d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_bcccc84f-0350-4305-ade3-3861ccf28d7d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_bcccc84f-0350-4305-ade3-3861ccf28d7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_64469a89-ca62-4d9a-8298-e62333b08e4a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aaaab242-4a99-413f-81c4-d4154c9873d7" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_64469a89-ca62-4d9a-8298-e62333b08e4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_dc2dd887-7f02-42c0-877d-026947524283" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_dc2dd887-7f02-42c0-877d-026947524283" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_a2d71b86-3710-47bc-9c5c-9812adb21d78" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_a2d71b86-3710-47bc-9c5c-9812adb21d78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_MortgageBankingAndServicingGainLoss_9564f06d-fe8b-4131-a748-a33a2c1f0632" xlink:href="cbnk-20201231.xsd#cbnk_MortgageBankingAndServicingGainLoss"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_cbnk_MortgageBankingAndServicingGainLoss_9564f06d-fe8b-4131-a748-a33a2c1f0632" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c30faa2d-66ac-4e59-ad0f-5d671fd1f6fa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_NetIncomeLoss_c30faa2d-66ac-4e59-ad0f-5d671fd1f6fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_b6a7f14d-7aad-4b8a-af94-26e7b3d81a22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_b6a7f14d-7aad-4b8a-af94-26e7b3d81a22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_5fe4355a-b641-4748-910b-b4d0306ec704" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_5fe4355a-b641-4748-910b-b4d0306ec704" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionPlanExpense_2779fe57-fee3-4eaf-acae-4fa118236031" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockOptionPlanExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_StockOptionPlanExpense_2779fe57-fee3-4eaf-acae-4fa118236031" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_f86946c4-802d-465e-88f8-fd1a43458318" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_f86946c4-802d-465e-88f8-fd1a43458318" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_ec77a4e0-a83b-4413-8f5a-59d9043199b8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_ec77a4e0-a83b-4413-8f5a-59d9043199b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationNonproduction_73217166-8de3-4a57-8bf8-8f2eae58a286" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationNonproduction"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_DepreciationNonproduction_73217166-8de3-4a57-8bf8-8f2eae58a286" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_46ccd621-4aae-4f58-bb8e-19f8b1cf5caf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_46ccd621-4aae-4f58-bb8e-19f8b1cf5caf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_a19f2adf-b4a8-4120-9403-b97b4c6a8c35" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_a19f2adf-b4a8-4120-9403-b97b4c6a8c35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_0ca90b36-6519-4265-bd66-e2c11c3778c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_0ca90b36-6519-4265-bd66-e2c11c3778c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_d7d2c8cb-f2e1-43c5-87ef-c04e83f6c9b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_d7d2c8cb-f2e1-43c5-87ef-c04e83f6c9b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherLosses_cebf3863-45ea-4269-ac16-f1a15e0a060d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForOtherLosses"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_ProvisionForOtherLosses_cebf3863-45ea-4269-ac16-f1a15e0a060d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_cf8f588e-afc7-43bf-b6be-c6656e0da044" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidTaxes"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_cf8f588e-afc7-43bf-b6be-c6656e0da044" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_ed40703f-bafa-4908-a30b-8fb4e8cb69cc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_ed40703f-bafa-4908-a30b-8fb4e8cb69cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_eb428dca-fab0-43ee-9f7b-0ae554015631" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_eb428dca-fab0-43ee-9f7b-0ae554015631" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_6e86c251-c9b2-467c-ac11-c07df5f3da8c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_6e86c251-c9b2-467c-ac11-c07df5f3da8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_d0465bdd-c738-46e9-b08f-69f4865493a6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_us-gaap_ShareBasedCompensation_d0465bdd-c738-46e9-b08f-69f4865493a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock_d8ec4419-d131-48dd-98d1-b79e7aa45764" xlink:href="cbnk-20201231.xsd#cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_72d6fd97-1dff-4ffc-9e4e-cb9fca46225d" xlink:to="loc_cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock_d8ec4419-d131-48dd-98d1-b79e7aa45764" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentation" xlink:type="simple" xlink:href="cbnk-20201231.xsd#NatureofBusinessandBasisofPresentation"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentation" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationPolicies" xlink:type="simple" xlink:href="cbnk-20201231.xsd#NatureofBusinessandBasisofPresentationPolicies"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#NatureofBusinessandBasisofPresentationTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationAdditionalInformationDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#NatureofBusinessandBasisofPresentationAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationLoanDeferralDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#NatureofBusinessandBasisofPresentationLoanDeferralDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationLoanDeferralDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationEarningsperShareDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#NatureofBusinessandBasisofPresentationEarningsperShareDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationEarningsperShareDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationComprehensiveIncomeDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#NatureofBusinessandBasisofPresentationComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_64232225-49dd-42c1-9e97-9d34620b5c1a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociBeforeTaxAttributableToParent_f0228598-2888-4fe0-9afc-5a1265258352" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AociBeforeTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_64232225-49dd-42c1-9e97-9d34620b5c1a" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_f0228598-2888-4fe0-9afc-5a1265258352" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociTaxAttributableToParent_fdc039d9-1657-42bf-a173-150b50be2fe7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AociTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_64232225-49dd-42c1-9e97-9d34620b5c1a" xlink:to="loc_us-gaap_AociTaxAttributableToParent_fdc039d9-1657-42bf-a173-150b50be2fe7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationNewAccountingPronouncementsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#NatureofBusinessandBasisofPresentationNewAccountingPronouncementsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationNewAccountingPronouncementsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/CashandCashEquivalents" xlink:type="simple" xlink:href="cbnk-20201231.xsd#CashandCashEquivalents"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CashandCashEquivalents" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecurities" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InvestmentSecurities"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecurities" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InvestmentSecuritiesTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedcosttoEstimatedFairValueDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InvestmentSecuritiesAmortizedcosttoEstimatedFairValueDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedcosttoEstimatedFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2bc62005-76ee-4ff9-be64-34affe2d7434" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_0608681f-d449-46bf-8e68-7620b7bc8ac9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2bc62005-76ee-4ff9-be64-34affe2d7434" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_0608681f-d449-46bf-8e68-7620b7bc8ac9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_6e56ef50-970a-45de-88fc-07caec0fe8e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2bc62005-76ee-4ff9-be64-34affe2d7434" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_6e56ef50-970a-45de-88fc-07caec0fe8e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b93404a5-9155-484f-8325-fb8880cea7ad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2bc62005-76ee-4ff9-be64-34affe2d7434" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b93404a5-9155-484f-8325-fb8880cea7ad" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InvestmentSecuritiesUnrealizedLossesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5e0a215a-1b74-4a71-b152-e6f41657c816" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_e24b2485-c426-4c5b-ad0b-3bdd1e18993f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5e0a215a-1b74-4a71-b152-e6f41657c816" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_e24b2485-c426-4c5b-ad0b-3bdd1e18993f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_27a381c2-886f-4574-8e57-63eb37afc784" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5e0a215a-1b74-4a71-b152-e6f41657c816" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_27a381c2-886f-4574-8e57-63eb37afc784" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_cf07471a-894d-417a-bbcd-74372d7eba52" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_623fc5c2-8618-4dc1-8885-24e1cf501367" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_cf07471a-894d-417a-bbcd-74372d7eba52" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_623fc5c2-8618-4dc1-8885-24e1cf501367" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_9ec7f4cc-a8a4-4c93-8e7e-5ef852538294" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_cf07471a-894d-417a-bbcd-74372d7eba52" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_9ec7f4cc-a8a4-4c93-8e7e-5ef852538294" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InvestmentSecuritiesPledgedSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesbyMaturityDatesDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InvestmentSecuritiesbyMaturityDatesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesbyMaturityDatesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SBAPPPLoans" xlink:type="simple" xlink:href="cbnk-20201231.xsd#SBAPPPLoans"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SBAPPPLoans" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SBAPPPLoansDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#SBAPPPLoansDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SBAPPPLoansDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivable" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivable"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivable" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationofLoansDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableClassificationofLoansDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationofLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_f5b7978b-9a41-4c75-b9f2-f387a55efa5c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_727710c5-b390-44ec-8f3c-7dd9947755a5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_f5b7978b-9a41-4c75-b9f2-f387a55efa5c" xlink:to="loc_us-gaap_NotesReceivableGross_727710c5-b390-44ec-8f3c-7dd9947755a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableDeferredIncome_d867d1d7-9dc6-4308-a40e-7fe9530d5275" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableDeferredIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_f5b7978b-9a41-4c75-b9f2-f387a55efa5c" xlink:to="loc_us-gaap_FinancingReceivableDeferredIncome_d867d1d7-9dc6-4308-a40e-7fe9530d5275" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_c023e827-0d4d-412a-9c40-37530339c185" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_f5b7978b-9a41-4c75-b9f2-f387a55efa5c" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_c023e827-0d4d-412a-9c40-37530339c185" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableAccretableDiscountDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableAccretableDiscountDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableAccretableDiscountDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableAllowanceforLoanLossesDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableAllowanceforLoanLossesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableAllowanceforLoanLossesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivablePastDueFinancingReceivableDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivablePastDueFinancingReceivableDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivablePastDueFinancingReceivableDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableImpairedLoansDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableImpairedLoansDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableImpairedLoansDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableCreditQualityIndicatorsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableCreditQualityIndicatorsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableCreditQualityIndicatorsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableTroubleDebtRestructuringDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableTroubleDebtRestructuringDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableTroubleDebtRestructuringDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableOutstandingLoanCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableActivityinAllowanceforLoanLossesDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PortfolioLoansReceivableActivityinAllowanceforLoanLossesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableActivityinAllowanceforLoanLossesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PremisesandEquipment" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PremisesandEquipment"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PremisesandEquipment" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PremisesandEquipmentTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PremisesandEquipmentTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PremisesandEquipmentTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PremisesandEquipmentDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#PremisesandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PremisesandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_9d00049f-7b1b-4555-a2bc-ee6717d4ef95" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_9367b1f9-b7b8-472d-ae7f-344200fc8652" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_9d00049f-7b1b-4555-a2bc-ee6717d4ef95" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_9367b1f9-b7b8-472d-ae7f-344200fc8652" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_ba1820cc-9919-448b-905d-7e43b0effe21" xlink:href="cbnk-20201231.xsd#cbnk_OperatingLeaseRightOfUseAssetNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_9d00049f-7b1b-4555-a2bc-ee6717d4ef95" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetNet_ba1820cc-9919-448b-905d-7e43b0effe21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_5c51cdb4-a1f1-4396-8e35-18933da10297" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOther_d5386b7b-a0cc-4584-9de5-701c42d6213b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_5c51cdb4-a1f1-4396-8e35-18933da10297" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOther_d5386b7b-a0cc-4584-9de5-701c42d6213b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation_52cfb474-b93f-4b55-8058-908104ca0f08" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_5c51cdb4-a1f1-4396-8e35-18933da10297" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation_52cfb474-b93f-4b55-8058-908104ca0f08" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/Leases" xlink:type="simple" xlink:href="cbnk-20201231.xsd#Leases"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/Leases" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#LeasesTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeasesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAdditionalInformationDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#LeasesAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeasesAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseLiabilityNet_b28297f1-084e-49f9-ab62-2b999e9a6f18" xlink:href="cbnk-20201231.xsd#cbnk_OperatingLeaseLiabilityNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_9794c449-4717-456f-8eae-666e88f98bfe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseLiabilityNet_b28297f1-084e-49f9-ab62-2b999e9a6f18" xlink:to="loc_us-gaap_OperatingLeaseLiability_9794c449-4717-456f-8eae-666e88f98bfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseLiabilityAccumulatedAmortization_755c75d2-2fdd-4176-94ca-16ca51e4bcaa" xlink:href="cbnk-20201231.xsd#cbnk_OperatingLeaseLiabilityAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseLiabilityNet_b28297f1-084e-49f9-ab62-2b999e9a6f18" xlink:to="loc_cbnk_OperatingLeaseLiabilityAccumulatedAmortization_755c75d2-2fdd-4176-94ca-16ca51e4bcaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_840255f7-7484-4c55-9208-47c333f3995c" xlink:href="cbnk-20201231.xsd#cbnk_OperatingLeaseRightOfUseAssetNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_ac936d9f-50d7-4c16-865b-203e6fb18edd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseRightOfUseAssetNet_840255f7-7484-4c55-9208-47c333f3995c" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_ac936d9f-50d7-4c16-865b-203e6fb18edd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_d3942f8b-9fc1-4c4e-9375-e3c7c0e1c71e" xlink:href="cbnk-20201231.xsd#cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseRightOfUseAssetNet_840255f7-7484-4c55-9208-47c333f3995c" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_d3942f8b-9fc1-4c4e-9375-e3c7c0e1c71e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_de15c1ae-8add-4ad3-8d90-10bc9f3886ea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_de3ace5e-e172-4faf-90a2-0863c665585e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_de15c1ae-8add-4ad3-8d90-10bc9f3886ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_de3ace5e-e172-4faf-90a2-0863c665585e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_4aa872e6-ebcb-4fb6-9eff-a1db5b0dfa2f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_de15c1ae-8add-4ad3-8d90-10bc9f3886ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_4aa872e6-ebcb-4fb6-9eff-a1db5b0dfa2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_a4ffe3de-da62-4281-a01f-cc002d2887ef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_de15c1ae-8add-4ad3-8d90-10bc9f3886ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_a4ffe3de-da62-4281-a01f-cc002d2887ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_5f106c10-76bb-4f41-9324-0b6ef42d2d86" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_de15c1ae-8add-4ad3-8d90-10bc9f3886ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_5f106c10-76bb-4f41-9324-0b6ef42d2d86" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:type="simple" xlink:href="cbnk-20201231.xsd#DerivativeFinancialInstruments"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#DerivativeFinancialInstrumentsTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#DerivativeFinancialInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDeposits" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InterestBearingDeposits"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDeposits" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDepositsTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InterestBearingDepositsTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDepositsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDepositsMajorCategoriesDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InterestBearingDepositsMajorCategoriesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDepositsMajorCategoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_3e14e1f9-1dbb-4ea3-b643-128d9e60cba2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_0af31f6d-bcbf-4add-8fa3-aa1220f54042" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepositsNegotiableOrderOfWithdrawalNOW"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_3e14e1f9-1dbb-4ea3-b643-128d9e60cba2" xlink:to="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_0af31f6d-bcbf-4add-8fa3-aa1220f54042" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsMoneyMarketDeposits_65ac8ce2-6191-4a85-b108-618766be72e7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepositsMoneyMarketDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_3e14e1f9-1dbb-4ea3-b643-128d9e60cba2" xlink:to="loc_us-gaap_DepositsMoneyMarketDeposits_65ac8ce2-6191-4a85-b108-618766be72e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsSavingsDeposits_8ef188b9-859e-45d5-8b19-472c3cae24f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepositsSavingsDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_3e14e1f9-1dbb-4ea3-b643-128d9e60cba2" xlink:to="loc_us-gaap_DepositsSavingsDeposits_8ef188b9-859e-45d5-8b19-472c3cae24f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_0c52df5a-6990-4b89-8d12-8f48f58b217c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_3e14e1f9-1dbb-4ea3-b643-128d9e60cba2" xlink:to="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_0c52df5a-6990-4b89-8d12-8f48f58b217c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_TimeDepositsOther_da3580d1-690c-4de2-939e-b1669f9bc2a2" xlink:href="cbnk-20201231.xsd#cbnk_TimeDepositsOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_3e14e1f9-1dbb-4ea3-b643-128d9e60cba2" xlink:to="loc_cbnk_TimeDepositsOther_da3580d1-690c-4de2-939e-b1669f9bc2a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDepositsMaturitiesDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#InterestBearingDepositsMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDepositsMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_a03ace16-6da4-4421-a272-36b1edb57645" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_40561524-e786-4952-a42c-15c4c5184787" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_a03ace16-6da4-4421-a272-36b1edb57645" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_40561524-e786-4952-a42c-15c4c5184787" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_87ece5e0-59cd-4f77-a066-bd2003e5fac6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_a03ace16-6da4-4421-a272-36b1edb57645" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_87ece5e0-59cd-4f77-a066-bd2003e5fac6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_7b89dc59-9c86-417d-9196-1bfc3f233322" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_a03ace16-6da4-4421-a272-36b1edb57645" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_7b89dc59-9c86-417d-9196-1bfc3f233322" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_3f0fa87f-d811-4e10-b7d4-0d7e5353356f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_a03ace16-6da4-4421-a272-36b1edb57645" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_3f0fa87f-d811-4e10-b7d4-0d7e5353356f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_TimeDepositMaturitiesYearFiveandThereafter_84a21ba6-f831-445e-87f9-62785ec9d6b3" xlink:href="cbnk-20201231.xsd#cbnk_TimeDepositMaturitiesYearFiveandThereafter"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_a03ace16-6da4-4421-a272-36b1edb57645" xlink:to="loc_cbnk_TimeDepositMaturitiesYearFiveandThereafter_84a21ba6-f831-445e-87f9-62785ec9d6b3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementstoRepurchase" xlink:type="simple" xlink:href="cbnk-20201231.xsd#SecuritiesSoldUnderAgreementstoRepurchase"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementstoRepurchase" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementstoRepurchaseTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#SecuritiesSoldUnderAgreementstoRepurchaseTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementstoRepurchaseTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementstoRepurchaseDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#SecuritiesSoldUnderAgreementstoRepurchaseDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SecuritiesSoldUnderAgreementstoRepurchaseDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFunds" xlink:type="simple" xlink:href="cbnk-20201231.xsd#BorrowedFunds"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFunds" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFundsTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#BorrowedFundsTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFundsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFundsScheduleofBorrowingsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#BorrowedFundsScheduleofBorrowingsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFundsScheduleofBorrowingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_c5fbc653-9b19-490b-b924-2de0a1c872c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherBorrowings"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_58666e4a-849e-409f-af84-f35ae3d7d916" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherBorrowings_c5fbc653-9b19-490b-b924-2de0a1c872c1" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_58666e4a-849e-409f-af84-f35ae3d7d916" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_baa7a76e-d757-4fba-8df9-89fdef698108" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherBorrowings_c5fbc653-9b19-490b-b924-2de0a1c872c1" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_baa7a76e-d757-4fba-8df9-89fdef698108" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFundsAdditionalInformationDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#BorrowedFundsAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFundsAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/RetirementPlan" xlink:type="simple" xlink:href="cbnk-20201231.xsd#RetirementPlan"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RetirementPlan" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/RetirementPlanDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#RetirementPlanDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RetirementPlanDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/RelatedPartyTransactions" xlink:type="simple" xlink:href="cbnk-20201231.xsd#RelatedPartyTransactions"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RelatedPartyTransactions" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/RelatedPartyTransactionsTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#RelatedPartyTransactionsTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RelatedPartyTransactionsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/RelatedPartyTransactionsActivityinRelatedPartyLoansDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#RelatedPartyTransactionsActivityinRelatedPartyLoansDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RelatedPartyTransactionsActivityinRelatedPartyLoansDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#RelatedPartyTransactionsAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxes" xlink:type="simple" xlink:href="cbnk-20201231.xsd#IncomeTaxes"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxes" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#IncomeTaxesTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#IncomeTaxesComponentsofIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_f4cb2c8f-e0d5-465e-9a47-c8ec78bae748" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_cabc346f-5214-4cc2-8ddd-c030c457ab54" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_f4cb2c8f-e0d5-465e-9a47-c8ec78bae748" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_cabc346f-5214-4cc2-8ddd-c030c457ab54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_2509da33-87bd-4f0e-9a80-dc1259d37ef3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_f4cb2c8f-e0d5-465e-9a47-c8ec78bae748" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_2509da33-87bd-4f0e-9a80-dc1259d37ef3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_150c4b03-1088-461b-ab1c-4d7efc635519" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_86b02228-059b-4dd9-aaac-c40e5015d88c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_150c4b03-1088-461b-ab1c-4d7efc635519" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_86b02228-059b-4dd9-aaac-c40e5015d88c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_dc5a73be-f256-480a-9d22-d3712c3f0180" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_150c4b03-1088-461b-ab1c-4d7efc635519" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_dc5a73be-f256-480a-9d22-d3712c3f0180" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesComponentsofNetDeferredTaxAssetDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#IncomeTaxesComponentsofNetDeferredTaxAssetDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesComponentsofNetDeferredTaxAssetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_7efbf1ea-6821-4513-a457-b10c09033d34" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain_f9ce4b27-9ef9-41db-b3c4-e60bda683267" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7efbf1ea-6821-4513-a457-b10c09033d34" xlink:to="loc_cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain_f9ce4b27-9ef9-41db-b3c4-e60bda683267" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation_d83dcff8-17b8-4dd9-9b60-4b3ac316182b" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7efbf1ea-6821-4513-a457-b10c09033d34" xlink:to="loc_cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation_d83dcff8-17b8-4dd9-9b60-4b3ac316182b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainOnLoansHeldForSale_24e5c94a-e794-4512-b8fc-a832bd5c267f" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxLiabilitiesUnrealizedGainOnLoansHeldForSale"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7efbf1ea-6821-4513-a457-b10c09033d34" xlink:to="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainOnLoansHeldForSale_24e5c94a-e794-4512-b8fc-a832bd5c267f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities_71bac01f-f147-432a-952a-e591f0809a90" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_7efbf1ea-6821-4513-a457-b10c09033d34" xlink:to="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities_71bac01f-f147-432a-952a-e591f0809a90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_04b7c05c-ac3f-43fb-bfbb-03ad235d2054" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_04b7c05c-ac3f-43fb-bfbb-03ad235d2054" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold_b79fb7da-d832-4a4b-857e-c40bd49135b1" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold_b79fb7da-d832-4a4b-857e-c40bd49135b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsNonaccrualInterest_4ac72bec-8d8c-4b20-9b01-d1e15b16f6ec" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxAssetsNonaccrualInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_cbnk_DeferredTaxAssetsNonaccrualInterest_4ac72bec-8d8c-4b20-9b01-d1e15b16f6ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsForeclosedRealEstateWriteDowns_8ef23722-d9bc-4c34-bb1f-4eb6fea284f1" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxAssetsForeclosedRealEstateWriteDowns"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_cbnk_DeferredTaxAssetsForeclosedRealEstateWriteDowns_8ef23722-d9bc-4c34-bb1f-4eb6fea284f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_5727a106-0b12-47f5-8ebc-98009f52eb52" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_5727a106-0b12-47f5-8ebc-98009f52eb52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_2fca3415-fd5b-4dd9-8ed8-d7be1570cea4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_2fca3415-fd5b-4dd9-8ed8-d7be1570cea4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_5ba1dbcc-d7ff-4dac-8567-25da53b5fb1c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_5ba1dbcc-d7ff-4dac-8567-25da53b5fb1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_06ae8221-c6a8-4283-9f79-b6182c56e6ec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_06ae8221-c6a8-4283-9f79-b6182c56e6ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_9375b48c-6e19-4c72-a9e3-5952d2ae12df" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_ce992d7b-529f-47d8-9250-4ca3395d52c3" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_9375b48c-6e19-4c72-a9e3-5952d2ae12df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_3593efd7-8b6d-4853-a71e-ea8415d690cc" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_e405f0e8-d76d-4aea-92d4-27eef03d62e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_3593efd7-8b6d-4853-a71e-ea8415d690cc" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_e405f0e8-d76d-4aea-92d4-27eef03d62e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_fd1686ce-77a4-4b85-a3a5-16aa2b9130b7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_3593efd7-8b6d-4853-a71e-ea8415d690cc" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_fd1686ce-77a4-4b85-a3a5-16aa2b9130b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_e4cf9dd5-82ec-4990-acc5-0215a51f3d81" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_6944daac-b84b-41c4-99bf-6f5af1599214" xlink:href="cbnk-20201231.xsd#cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_e4cf9dd5-82ec-4990-acc5-0215a51f3d81" xlink:to="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_6944daac-b84b-41c4-99bf-6f5af1599214" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_2938292a-303a-4767-a350-105b9031496e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_e4cf9dd5-82ec-4990-acc5-0215a51f3d81" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_2938292a-303a-4767-a350-105b9031496e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesReconciliationofFederalTaxRatetotheEffectiveRateDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#IncomeTaxesReconciliationofFederalTaxRatetotheEffectiveRateDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesReconciliationofFederalTaxRatetotheEffectiveRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7e81f98f-ca89-418e-99e5-2ec4400ba1ce" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_1228a04d-3479-415f-878d-514342966785" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7e81f98f-ca89-418e-99e5-2ec4400ba1ce" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_1228a04d-3479-415f-878d-514342966785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_895e9750-1052-4952-8274-84b1e3e48567" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7e81f98f-ca89-418e-99e5-2ec4400ba1ce" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_895e9750-1052-4952-8274-84b1e3e48567" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_cf188e3c-2e2d-44fe-a4c2-ffd7ed09629f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7e81f98f-ca89-418e-99e5-2ec4400ba1ce" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_cf188e3c-2e2d-44fe-a4c2-ffd7ed09629f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_1dea5e46-d4bf-45c2-a68e-3877da53c961" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7e81f98f-ca89-418e-99e5-2ec4400ba1ce" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_1dea5e46-d4bf-45c2-a68e-3877da53c961" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_d9145e95-8f35-4439-b100-17de31a458c9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7e81f98f-ca89-418e-99e5-2ec4400ba1ce" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_d9145e95-8f35-4439-b100-17de31a458c9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/CapitalStandards" xlink:type="simple" xlink:href="cbnk-20201231.xsd#CapitalStandards"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CapitalStandards" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/CapitalStandardsTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#CapitalStandardsTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CapitalStandardsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/CapitalStandardsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#CapitalStandardsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/CapitalStandardsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensation" xlink:type="simple" xlink:href="cbnk-20201231.xsd#StockBasedCompensation"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensation" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#StockBasedCompensationTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#StockBasedCompensationAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#StockBasedCompensationStockOptionsOutstandingDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationStockOptionSummaryDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#StockBasedCompensationStockOptionSummaryDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationStockOptionSummaryDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationStockOptionPricingAssumptionsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#StockBasedCompensationStockOptionPricingAssumptionsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationStockOptionPricingAssumptionsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockSummaryDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#StockBasedCompensationRestrictedStockSummaryDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockSummaryDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockVestingScheduleDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#StockBasedCompensationRestrictedStockVestingScheduleDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockVestingScheduleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_021feec2-d4a0-499b-8ad6-fa9855a012d7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths_c29dfd71-6afa-4345-926f-cebd52c5f4cc" xlink:href="cbnk-20201231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_021feec2-d4a0-499b-8ad6-fa9855a012d7" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths_c29dfd71-6afa-4345-926f-cebd52c5f4cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo_9cbba7b6-690d-4d27-981d-2c7f9bd750c9" xlink:href="cbnk-20201231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_021feec2-d4a0-499b-8ad6-fa9855a012d7" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo_9cbba7b6-690d-4d27-981d-2c7f9bd750c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree_a7e7898d-c8af-4267-9c3b-83fcb0158f91" xlink:href="cbnk-20201231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_021feec2-d4a0-499b-8ad6-fa9855a012d7" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree_a7e7898d-c8af-4267-9c3b-83fcb0158f91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearFour_a7c4969f-a98d-4011-ab52-761085a4bb46" xlink:href="cbnk-20201231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_021feec2-d4a0-499b-8ad6-fa9855a012d7" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearFour_a7c4969f-a98d-4011-ab52-761085a4bb46" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformation" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ParentCompanyFinancialInformation"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformation" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformationTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ParentCompanyFinancialInformationTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformationBalanceSheetsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ParentCompanyFinancialInformationBalanceSheetsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformationBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_fd3d51a4-bb96-4544-85da-58914bbd6293" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:to="loc_us-gaap_EquityMethodInvestments_fd3d51a4-bb96-4544-85da-58914bbd6293" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_c700a488-d50f-4da2-a23f-0e805a44a516" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:to="loc_us-gaap_NotesReceivableNet_c700a488-d50f-4da2-a23f-0e805a44a516" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_5a9b5433-2abf-47ca-af22-0cf5aeeea5e8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_5a9b5433-2abf-47ca-af22-0cf5aeeea5e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesToAffiliate_4076704a-2681-480b-a5ae-ca813cbf357b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdvancesToAffiliate"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:to="loc_us-gaap_AdvancesToAffiliate_4076704a-2681-480b-a5ae-ca813cbf357b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidTaxes_4b89d444-38ae-4a58-a744-fe72ef528bfa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidTaxes"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:to="loc_us-gaap_PrepaidTaxes_4b89d444-38ae-4a58-a744-fe72ef528bfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_0dcbe2ff-ada9-416b-a8df-a474cd8b3f40" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_0dcbe2ff-ada9-416b-a8df-a474cd8b3f40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_f15aaae0-45ef-4ccd-b861-feffd716ede0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:to="loc_us-gaap_OtherAssets_f15aaae0-45ef-4ccd-b861-feffd716ede0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_54cc661c-db5c-4afc-abbf-d0d9a178f3c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2aa8432-9653-4a54-adee-91e962ce19bb" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_54cc661c-db5c-4afc-abbf-d0d9a178f3c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_df7328c6-a745-4368-98b5-5d93ef9dcfbe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_c4d2e306-5e10-4ea1-956b-4c8c63bc860d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_df7328c6-a745-4368-98b5-5d93ef9dcfbe" xlink:to="loc_us-gaap_OtherBorrowings_c4d2e306-5e10-4ea1-956b-4c8c63bc860d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_0fa6a48b-a31a-4a1c-8e76-575efe7616af" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_df7328c6-a745-4368-98b5-5d93ef9dcfbe" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_0fa6a48b-a31a-4a1c-8e76-575efe7616af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_5fda3a65-3de3-4ca2-8f17-b6fbb2206a23" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_df7328c6-a745-4368-98b5-5d93ef9dcfbe" xlink:to="loc_us-gaap_OtherLiabilities_5fda3a65-3de3-4ca2-8f17-b6fbb2206a23" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformationStatementsofIncomeDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ParentCompanyFinancialInformationStatementsofIncomeDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformationStatementsofIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_f41b6ea3-bb09-4c09-811b-9c4afbb38033" xlink:href="cbnk-20201231.xsd#cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2c254b60-a285-4797-8ecf-c73a1700aff9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_f41b6ea3-bb09-4c09-811b-9c4afbb38033" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2c254b60-a285-4797-8ecf-c73a1700aff9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_b6193220-5251-481f-acc8-5f0e76abbd14" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_f41b6ea3-bb09-4c09-811b-9c4afbb38033" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_b6193220-5251-481f-acc8-5f0e76abbd14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_70209786-5199-4288-b0d9-6a8314c89bad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_aa71c8ea-5ca4-436d-8fad-7cb0b45a1031" xlink:href="cbnk-20201231.xsd#cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_70209786-5199-4288-b0d9-6a8314c89bad" xlink:to="loc_cbnk_IncomeLossFromContinuingOperationsAfterTaxBeforeEquityMethodInvestments_aa71c8ea-5ca4-436d-8fad-7cb0b45a1031" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_5aa7263d-e46c-419c-ad98-9e45466dcdbd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_70209786-5199-4288-b0d9-6a8314c89bad" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_5aa7263d-e46c-419c-ad98-9e45466dcdbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_756c27cf-e15a-4749-b061-f4265fb33686" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecurities_459e35be-fb09-4a2d-b604-ac98d268281f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_756c27cf-e15a-4749-b061-f4265fb33686" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecurities_459e35be-fb09-4a2d-b604-ac98d268281f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperating_542b11b8-94e8-4ded-aa28-d9e549345d8f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_756c27cf-e15a-4749-b061-f4265fb33686" xlink:to="loc_us-gaap_DividendIncomeOperating_542b11b8-94e8-4ded-aa28-d9e549345d8f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ParentCompanyFinancialInformationStatementsofCashFlowsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#ParentCompanyFinancialInformationStatementsofCashFlowsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ParentCompanyFinancialInformationStatementsofCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9277009c-ef22-4e44-91a2-693ed99bb067" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForCapitalInjectionsToSubsidiaries_71b22a80-994f-46ca-8bbb-ecc496d6103f" xlink:href="cbnk-20201231.xsd#cbnk_PaymentsForCapitalInjectionsToSubsidiaries"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9277009c-ef22-4e44-91a2-693ed99bb067" xlink:to="loc_cbnk_PaymentsForCapitalInjectionsToSubsidiaries_71b22a80-994f-46ca-8bbb-ecc496d6103f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_IncreaseDecreaseInLoans_98f205f1-a452-4b62-b274-e80d0e9ceb7d" xlink:href="cbnk-20201231.xsd#cbnk_IncreaseDecreaseInLoans"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9277009c-ef22-4e44-91a2-693ed99bb067" xlink:to="loc_cbnk_IncreaseDecreaseInLoans_98f205f1-a452-4b62-b274-e80d0e9ceb7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_060a74fc-438b-4b75-b57c-e2bd64f8c71d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_b1794130-a324-4a22-b077-b198cbeb5527" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_060a74fc-438b-4b75-b57c-e2bd64f8c71d" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_b1794130-a324-4a22-b077-b198cbeb5527" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_1d009857-dce9-4a17-93f2-249ec3fca840" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_060a74fc-438b-4b75-b57c-e2bd64f8c71d" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_1d009857-dce9-4a17-93f2-249ec3fca840" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfDebt_d2d310ce-3566-4481-8487-8ea0f5c0b138" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_060a74fc-438b-4b75-b57c-e2bd64f8c71d" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfDebt_d2d310ce-3566-4481-8487-8ea0f5c0b138" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_22a7b4b9-aded-49a2-aeca-bd9f7abf12eb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_NetIncomeLoss_22a7b4b9-aded-49a2-aeca-bd9f7abf12eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_ce4f12ca-642f-446c-a2de-08f09f292e12" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_ce4f12ca-642f-446c-a2de-08f09f292e12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_IncreaseDecreaseInEquityMethodInvestment_298663eb-c09f-4dd6-97e4-3360e6e15283" xlink:href="cbnk-20201231.xsd#cbnk_IncreaseDecreaseInEquityMethodInvestment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_cbnk_IncreaseDecreaseInEquityMethodInvestment_298663eb-c09f-4dd6-97e4-3360e6e15283" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_d07d7cd3-4569-42cb-961d-4484f3d5879e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_d07d7cd3-4569-42cb-961d-4484f3d5879e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_995f83c2-bf66-4ec3-86aa-919d367ef787" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_ShareBasedCompensation_995f83c2-bf66-4ec3-86aa-919d367ef787" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_deed59c5-0318-4a78-befa-9132087820a2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_deed59c5-0318-4a78-befa-9132087820a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_01581e3b-4a0b-4e1c-bdbc-26387f6410ac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_01581e3b-4a0b-4e1c-bdbc-26387f6410ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_daa44240-1f56-4aa6-9bb2-bf57a093c6ba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_daa44240-1f56-4aa6-9bb2-bf57a093c6ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_cda2c7d4-a0a6-40c0-929f-0d37bd6b12b7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidTaxes"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_cda2c7d4-a0a6-40c0-929f-0d37bd6b12b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_ffca67d5-b03e-4b21-8e98-4848fb75024f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_ffca67d5-b03e-4b21-8e98-4848fb75024f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_7ac51b01-cc5f-4cf8-9b0c-c155049826c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_7ac51b01-cc5f-4cf8-9b0c-c155049826c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_899b58ac-2d2b-449b-b0bb-609a75a3cdb1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_899b58ac-2d2b-449b-b0bb-609a75a3cdb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionPlanExpense_4ea80952-1d1d-4c44-ada1-b18a20936508" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockOptionPlanExpense"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bd79005b-3f5f-4165-968a-1b9fb5271ab0" xlink:to="loc_us-gaap_StockOptionPlanExpense_4ea80952-1d1d-4c44-ada1-b18a20936508" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValue" xlink:type="simple" xlink:href="cbnk-20201231.xsd#FairValue"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValue" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#FairValueTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsMeasuredatFVonRecurringBasisDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#FairValueFinancialInstrumentsMeasuredatFVonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueFinancialInstrumentsMeasuredatFVonRecurringBasisDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueLoansHeldForSaleDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#FairValueLoansHeldForSaleDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueLoansHeldForSaleDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueImpairedLoansandForeclosedRealEstateDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#FairValueImpairedLoansandForeclosedRealEstateDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueImpairedLoansandForeclosedRealEstateDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsCarryingAmountFVandPlacementDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#FairValueFinancialInstrumentsCarryingAmountFVandPlacementDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/FairValueFinancialInstrumentsCarryingAmountFVandPlacementDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/Segments" xlink:type="simple" xlink:href="cbnk-20201231.xsd#Segments"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/Segments" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsSegmentsTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#SegmentsSegmentsTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SegmentsSegmentsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#SegmentsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SegmentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/Litigation" xlink:type="simple" xlink:href="cbnk-20201231.xsd#Litigation"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/Litigation" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/QuarterlyResultsofOperationsunaudited" xlink:type="simple" xlink:href="cbnk-20201231.xsd#QuarterlyResultsofOperationsunaudited"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/QuarterlyResultsofOperationsunaudited" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/QuarterlyResultsofOperationsunauditedTables" xlink:type="simple" xlink:href="cbnk-20201231.xsd#QuarterlyResultsofOperationsunauditedTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/QuarterlyResultsofOperationsunauditedTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/QuarterlyResultsofOperationsunauditedDetails" xlink:type="simple" xlink:href="cbnk-20201231.xsd#QuarterlyResultsofOperationsunauditedDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/QuarterlyResultsofOperationsunauditedDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SubsequentEvents" xlink:type="simple" xlink:href="cbnk-20201231.xsd#SubsequentEvents"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SubsequentEvents" xlink:type="extended"/>
</link:linkbase>
