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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:f2b0a0ef-58f1-43a4-bdeb-a996d822f2d2,g:4ab3df50-4d34-49b7-952b-b3f287a937d6-->
<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/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="cbnk-20210630.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_afaa250c-f65d-4054-9b30-d7ab2d41db2c" 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_7f6a400e-44a5-4d52-8f96-5d1d2cb8e58f" 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_afaa250c-f65d-4054-9b30-d7ab2d41db2c" xlink:to="loc_us-gaap_CommonStockValue_7f6a400e-44a5-4d52-8f96-5d1d2cb8e58f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_8f53f2dd-167f-4a74-ae06-efd2559639b8" 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_afaa250c-f65d-4054-9b30-d7ab2d41db2c" xlink:to="loc_us-gaap_AdditionalPaidInCapital_8f53f2dd-167f-4a74-ae06-efd2559639b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_23077412-60be-49e2-9676-a43f694d4936" 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_afaa250c-f65d-4054-9b30-d7ab2d41db2c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_23077412-60be-49e2-9676-a43f694d4936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_b36e7e50-274e-45da-bc44-2b67f14daea8" 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_afaa250c-f65d-4054-9b30-d7ab2d41db2c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_b36e7e50-274e-45da-bc44-2b67f14daea8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_7bd0cc17-4296-444d-ae45-e5368ed1a952" 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_c75c8467-375f-4999-9cfe-61be2bb1704d" 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_7bd0cc17-4296-444d-ae45-e5368ed1a952" xlink:to="loc_us-gaap_CashAndDueFromBanks_c75c8467-375f-4999-9cfe-61be2bb1704d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_da18b4d7-21da-4463-999c-06fdb840f0c4" 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_7bd0cc17-4296-444d-ae45-e5368ed1a952" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_da18b4d7-21da-4463-999c-06fdb840f0c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSold_b69f8b6c-8177-4fa8-a7e8-766e828d0ca3" 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_7bd0cc17-4296-444d-ae45-e5368ed1a952" xlink:to="loc_us-gaap_FederalFundsSold_b69f8b6c-8177-4fa8-a7e8-766e828d0ca3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_df3a6ba3-ef8e-472e-b51b-c6ca73391aaf" 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_7c793529-8d1c-496c-9be7-38b8500a7072" 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_df3a6ba3-ef8e-472e-b51b-c6ca73391aaf" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_7c793529-8d1c-496c-9be7-38b8500a7072" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_b5e9bbc6-28df-4e03-b5b9-9155a46a4890" 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_df3a6ba3-ef8e-472e-b51b-c6ca73391aaf" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_b5e9bbc6-28df-4e03-b5b9-9155a46a4890" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_2e73af8d-8a2d-4a3a-a359-09a18ae5db24" 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_ac130727-e07d-49e5-b812-33b83804c67a" 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_2e73af8d-8a2d-4a3a-a359-09a18ae5db24" xlink:to="loc_us-gaap_StockholdersEquity_ac130727-e07d-49e5-b812-33b83804c67a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_e8afc350-7710-4556-8158-d9b2fe2cbbce" 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_2e73af8d-8a2d-4a3a-a359-09a18ae5db24" xlink:to="loc_us-gaap_Liabilities_e8afc350-7710-4556-8158-d9b2fe2cbbce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" 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_RealEstateAcquiredThroughForeclosure_a9a34c0e-3ab5-4f65-af66-5b523bbc20b9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_a9a34c0e-3ab5-4f65-af66-5b523bbc20b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e823c7fd-adb2-40c1-966c-b7eeed91629f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e823c7fd-adb2-40c1-966c-b7eeed91629f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_25da68cc-b3ef-429e-8989-1c48ff0de31f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BankOwnedLifeInsurance"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_25da68cc-b3ef-429e-8989-1c48ff0de31f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_df596db1-3ed6-44cd-9864-2ebfb45ac37b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_df596db1-3ed6-44cd-9864-2ebfb45ac37b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_2f1c63b6-8a71-40ae-8b2c-9a6b6390ee05" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_2f1c63b6-8a71-40ae-8b2c-9a6b6390ee05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestments_6708c48e-5875-44ff-9010-aed6566d75d2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedInvestments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_RestrictedInvestments_6708c48e-5875-44ff-9010-aed6566d75d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_496a19e4-8cc2-4798-ba41-2ae8c46fa41f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_MarketableSecurities_496a19e4-8cc2-4798-ba41-2ae8c46fa41f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_2687f519-4822-4fa3-afba-37674db8c7dc" xlink:href="cbnk-20210630.xsd#cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_2687f519-4822-4fa3-afba-37674db8c7dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_e13b7d04-aa86-4109-b586-079f00aef123" 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_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_e13b7d04-aa86-4109-b586-079f00aef123" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_0c54be91-02d8-472e-83c6-3258c1223d50" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_0c54be91-02d8-472e-83c6-3258c1223d50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_664cd18a-01d4-4e95-b99e-08d423c52aed" 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_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_NotesReceivableNet_664cd18a-01d4-4e95-b99e-08d423c52aed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_18dbf870-d150-43ce-a735-460628cd1020" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_OtherAssets_18dbf870-d150-43ce-a735-460628cd1020" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_e6139f4b-d911-41bc-82a1-3c478e3ad450" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_67839f08-b2f5-4452-84df-fd32449969a0" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_e6139f4b-d911-41bc-82a1-3c478e3ad450" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_8c7f4a43-7406-4083-8637-d50abdc701b6" 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_Deposits_fb1bd5b7-9b44-4092-870b-a6b6dd6871c6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8c7f4a43-7406-4083-8637-d50abdc701b6" xlink:to="loc_us-gaap_Deposits_fb1bd5b7-9b44-4092-870b-a6b6dd6871c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_cb699615-99b4-46b5-a708-6f8f39aa0b31" 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_8c7f4a43-7406-4083-8637-d50abdc701b6" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_cb699615-99b4-46b5-a708-6f8f39aa0b31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_431922f5-29d9-47be-9ae1-cc8cef2f954c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherBorrowings"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8c7f4a43-7406-4083-8637-d50abdc701b6" xlink:to="loc_us-gaap_OtherBorrowings_431922f5-29d9-47be-9ae1-cc8cef2f954c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_38463135-283d-432c-8989-16d902d522d7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8c7f4a43-7406-4083-8637-d50abdc701b6" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_38463135-283d-432c-8989-16d902d522d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_44818625-0fd4-4c88-8eac-0fdbad1cfdf8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8c7f4a43-7406-4083-8637-d50abdc701b6" xlink:to="loc_us-gaap_OtherLiabilities_44818625-0fd4-4c88-8eac-0fdbad1cfdf8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofIncome" xlink:type="simple" xlink:href="cbnk-20210630.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_75f07045-b1ee-4b64-8822-8a28244f0a00" 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_89af921e-07d6-42d2-8c47-180b506a1bdb" 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_75f07045-b1ee-4b64-8822-8a28244f0a00" xlink:to="loc_us-gaap_NoninterestExpense_89af921e-07d6-42d2-8c47-180b506a1bdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_8f017d78-afed-470b-b1ab-8a71d655426d" 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_75f07045-b1ee-4b64-8822-8a28244f0a00" xlink:to="loc_us-gaap_NoninterestIncome_8f017d78-afed-470b-b1ab-8a71d655426d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_f413b894-3cac-4a5d-a25c-71c0126be17b" 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_75f07045-b1ee-4b64-8822-8a28244f0a00" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_f413b894-3cac-4a5d-a25c-71c0126be17b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_151c1df0-0078-475f-94c1-8309684800cb" 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_eec3df6b-963c-4bbf-bc73-7bce46b00eb1" 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_151c1df0-0078-475f-94c1-8309684800cb" xlink:to="loc_us-gaap_InterestExpense_eec3df6b-963c-4bbf-bc73-7bce46b00eb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_4b457ea7-4fc1-4a69-8895-38212dfe0012" 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_151c1df0-0078-475f-94c1-8309684800cb" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_4b457ea7-4fc1-4a69-8895-38212dfe0012" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_cdd9d310-826c-4d24-ac52-86d26fbe41d3" 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_9b473751-bed0-4a61-a9e3-9359312ce79f" 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_cdd9d310-826c-4d24-ac52-86d26fbe41d3" xlink:to="loc_us-gaap_LaborAndRelatedExpense_9b473751-bed0-4a61-a9e3-9359312ce79f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OccupancyAndEquipmentExpense_5349181a-5cb5-4ea2-b201-2933e6d75644" xlink:href="cbnk-20210630.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_cdd9d310-826c-4d24-ac52-86d26fbe41d3" xlink:to="loc_cbnk_OccupancyAndEquipmentExpense_5349181a-5cb5-4ea2-b201-2933e6d75644" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_b9a9877a-70de-4cd2-b1ca-fc311f6ce2fe" 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_cdd9d310-826c-4d24-ac52-86d26fbe41d3" xlink:to="loc_us-gaap_ProfessionalFees_b9a9877a-70de-4cd2-b1ca-fc311f6ce2fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_9ed16f85-6979-4ee0-8a42-294c1fa7402a" 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_cdd9d310-826c-4d24-ac52-86d26fbe41d3" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_9ed16f85-6979-4ee0-8a42-294c1fa7402a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_f4210066-8611-4f2c-af9f-eb52c6360971" 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_cdd9d310-826c-4d24-ac52-86d26fbe41d3" xlink:to="loc_us-gaap_AdvertisingExpense_f4210066-8611-4f2c-af9f-eb52c6360971" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanProcessingFee_089d072c-ccbb-45da-9923-0a33a46e00f0" 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_cdd9d310-826c-4d24-ac52-86d26fbe41d3" xlink:to="loc_us-gaap_LoanProcessingFee_089d072c-ccbb-45da-9923-0a33a46e00f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OtherRealEstateExpensesNet_db4cee3d-4d5d-4d6d-a22a-801c9e54f82d" xlink:href="cbnk-20210630.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_cdd9d310-826c-4d24-ac52-86d26fbe41d3" xlink:to="loc_cbnk_OtherRealEstateExpensesNet_db4cee3d-4d5d-4d6d-a22a-801c9e54f82d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_e68e877e-d540-4f29-abc1-5bc13de18ecb" 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_cdd9d310-826c-4d24-ac52-86d26fbe41d3" xlink:to="loc_us-gaap_OtherNoninterestExpense_e68e877e-d540-4f29-abc1-5bc13de18ecb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_2d1e4480-3398-4150-9fdf-78d7067489ac" 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_ac5de6a4-35a6-473a-bb86-664e26ff734e" 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_2d1e4480-3398-4150-9fdf-78d7067489ac" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_ac5de6a4-35a6-473a-bb86-664e26ff734e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_46391010-7dd5-4e43-8df6-883e1b696186" 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_2d1e4480-3398-4150-9fdf-78d7067489ac" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_46391010-7dd5-4e43-8df6-883e1b696186" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_c2613a04-80e9-405d-9404-ff3a91865510" 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_1f82451f-93f1-4991-bc40-1141bd50b141" 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_c2613a04-80e9-405d-9404-ff3a91865510" xlink:to="loc_us-gaap_InterestExpenseDeposits_1f82451f-93f1-4991-bc40-1141bd50b141" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_0159c3fa-fe2c-40c5-804f-66e3dcf4b8d0" 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_c2613a04-80e9-405d-9404-ff3a91865510" xlink:to="loc_us-gaap_InterestExpenseBorrowings_0159c3fa-fe2c-40c5-804f-66e3dcf4b8d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_aae74d39-3702-4196-ba1c-3436ae8b8175" 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_c71a77b8-2e60-4406-a15d-aa52f3592e9e" 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_aae74d39-3702-4196-ba1c-3436ae8b8175" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_c71a77b8-2e60-4406-a15d-aa52f3592e9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_4dd34650-a4db-4fbc-80e6-892bcba9a83e" 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_aae74d39-3702-4196-ba1c-3436ae8b8175" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_4dd34650-a4db-4fbc-80e6-892bcba9a83e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_11d71113-6847-492d-aece-e9e47fc0e148" 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_aae74d39-3702-4196-ba1c-3436ae8b8175" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_11d71113-6847-492d-aece-e9e47fc0e148" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_da22c921-1c33-4656-a93b-f4d6f62ad8eb" 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_0abc6823-5d34-4f07-96ef-b21bc65a0205" 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_da22c921-1c33-4656-a93b-f4d6f62ad8eb" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0abc6823-5d34-4f07-96ef-b21bc65a0205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_57c21ac5-1a54-42b4-abe3-a05bf319a27b" 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_da22c921-1c33-4656-a93b-f4d6f62ad8eb" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_57c21ac5-1a54-42b4-abe3-a05bf319a27b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_edc0985b-bbeb-4dc6-8072-c45602345472" 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_DebtSecuritiesAvailableForSaleRealizedGainLoss_e8aaa77a-f356-40c2-a8d6-9ca8afec2bfb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_edc0985b-bbeb-4dc6-8072-c45602345472" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_e8aaa77a-f356-40c2-a8d6-9ca8afec2bfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_1bd0812e-9907-466d-938d-8d9595c9c3f9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_edc0985b-bbeb-4dc6-8072-c45602345472" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_1bd0812e-9907-466d-938d-8d9595c9c3f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_952e044d-ce30-4649-b9e4-0a9708727052" 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_edc0985b-bbeb-4dc6-8072-c45602345472" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_952e044d-ce30-4649-b9e4-0a9708727052" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="cbnk-20210630.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d7bb1d80-adfe-437f-9a1f-6f014cd61979" 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_a71aa51b-f236-4ab1-9a49-651a68f24a53" 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_d7bb1d80-adfe-437f-9a1f-6f014cd61979" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_a71aa51b-f236-4ab1-9a49-651a68f24a53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_9cb9ba31-22b4-4503-94e7-70672f1540cb" 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_d7bb1d80-adfe-437f-9a1f-6f014cd61979" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_9cb9ba31-22b4-4503-94e7-70672f1540cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_2804b735-3664-468f-baf1-3c487ac77d28" 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_04a06fda-85ad-49ac-8504-82a6f06361fc" 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_2804b735-3664-468f-baf1-3c487ac77d28" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_04a06fda-85ad-49ac-8504-82a6f06361fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_a3ad22d9-4004-4670-ab29-a060a0e84d3b" 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_2804b735-3664-468f-baf1-3c487ac77d28" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_a3ad22d9-4004-4670-ab29-a060a0e84d3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_4a53bfdf-cbe9-4714-aa5c-b5b4dd29f2fc" 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_c606d476-4381-4f3f-9657-8038a46ec48c" 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_4a53bfdf-cbe9-4714-aa5c-b5b4dd29f2fc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_c606d476-4381-4f3f-9657-8038a46ec48c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0b5c5273-e67e-4636-a580-f8ecc920bcc7" 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_4a53bfdf-cbe9-4714-aa5c-b5b4dd29f2fc" xlink:to="loc_us-gaap_NetIncomeLoss_0b5c5273-e67e-4636-a580-f8ecc920bcc7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="cbnk-20210630.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" 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_IncreaseDecreaseInOtherOperatingLiabilities_20539247-ceec-4487-b528-593753ee0805" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_20539247-ceec-4487-b528-593753ee0805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_05c533ae-0f32-4a7d-bc3f-8f0b2ea19afc" 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_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_NetIncomeLoss_05c533ae-0f32-4a7d-bc3f-8f0b2ea19afc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherLosses_79ea86d8-6aa2-4310-9711-014da05ef54c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForOtherLosses"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_ProvisionForOtherLosses_79ea86d8-6aa2-4310-9711-014da05ef54c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f9115216-1f6b-4473-b8a0-c092d469433d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f9115216-1f6b-4473-b8a0-c092d469433d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_a319a5bd-58d7-420c-bb31-9230eac2235a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_a319a5bd-58d7-420c-bb31-9230eac2235a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_0c35e97e-6e9e-4147-8f7d-490643f7bbc6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_0c35e97e-6e9e-4147-8f7d-490643f7bbc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_7a9d50f7-1fa8-4a69-8f7f-d69671978549" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_7a9d50f7-1fa8-4a69-8f7f-d69671978549" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock_58efe790-75d5-47f1-8358-e79f5972074e" xlink:href="cbnk-20210630.xsd#cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock_58efe790-75d5-47f1-8358-e79f5972074e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_485a6e9a-7186-45f7-aa91-35ed4cfb14f1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_485a6e9a-7186-45f7-aa91-35ed4cfb14f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_021c0754-c469-4854-96cf-05f20d0ba45b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_021c0754-c469-4854-96cf-05f20d0ba45b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_4f612c7c-adad-4cef-9e09-f5459b871a37" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_4f612c7c-adad-4cef-9e09-f5459b871a37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_1e4bdc5b-3164-4119-b2ed-68b43a084052" 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_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_1e4bdc5b-3164-4119-b2ed-68b43a084052" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_0dea451e-3349-4642-af57-c937a9c988e4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_0dea451e-3349-4642-af57-c937a9c988e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_dbc5b38a-7563-43f5-b86c-a4e31a0741f2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_ShareBasedCompensation_dbc5b38a-7563-43f5-b86c-a4e31a0741f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_bcea3765-f6cd-4fd1-a8ce-dd99982b852e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_bcea3765-f6cd-4fd1-a8ce-dd99982b852e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_MortgageBankingAndServicingGainLoss_2b40ad8d-b359-4722-9e62-223f6ee0e58b" xlink:href="cbnk-20210630.xsd#cbnk_MortgageBankingAndServicingGainLoss"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_cbnk_MortgageBankingAndServicingGainLoss_2b40ad8d-b359-4722-9e62-223f6ee0e58b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_1f9626b2-e923-42e8-92d4-99fb3a492123" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_1f9626b2-e923-42e8-92d4-99fb3a492123" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationNonproduction_578b89b5-fd38-48a4-ab01-d7411cb3dd08" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationNonproduction"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_DepreciationNonproduction_578b89b5-fd38-48a4-ab01-d7411cb3dd08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_12afccd7-f5b9-425e-9f41-f924214cb3cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_081acde0-e649-42d8-8a1d-a8f96085ff01" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_12afccd7-f5b9-425e-9f41-f924214cb3cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4b12edde-5215-4a54-b85f-19d48d32fe46" 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_NetChangeNoninterestBearingDepositsDomestic_541b8300-ad50-4d80-bcc2-b63df641d089" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetChangeNoninterestBearingDepositsDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4b12edde-5215-4a54-b85f-19d48d32fe46" xlink:to="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_541b8300-ad50-4d80-bcc2-b63df641d089" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_d8dcc694-3afc-472f-bd25-cb45441145e0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetChangeInterestBearingDepositsDomestic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4b12edde-5215-4a54-b85f-19d48d32fe46" xlink:to="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_d8dcc694-3afc-472f-bd25-cb45441145e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_be00ecb4-2be5-4a91-8c6f-1d9635470f6b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4b12edde-5215-4a54-b85f-19d48d32fe46" xlink:to="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_be00ecb4-2be5-4a91-8c6f-1d9635470f6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_72f47e19-774a-4a79-aeb4-5d56dfd97ba7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4b12edde-5215-4a54-b85f-19d48d32fe46" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_72f47e19-774a-4a79-aeb4-5d56dfd97ba7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_6acfe733-931d-4e0f-93b1-1e1d34de612b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4b12edde-5215-4a54-b85f-19d48d32fe46" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_6acfe733-931d-4e0f-93b1-1e1d34de612b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_316e04a5-9542-4ae8-9bf2-d57d6f7816c3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfOtherDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4b12edde-5215-4a54-b85f-19d48d32fe46" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_316e04a5-9542-4ae8-9bf2-d57d6f7816c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4237ea27-0121-4564-818b-c1fe90bd32c4" 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_b810c606-41b1-439d-93b2-202e011637c1" 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_4237ea27-0121-4564-818b-c1fe90bd32c4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b810c606-41b1-439d-93b2-202e011637c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce9e7558-d402-476e-9274-70994f2f35cc" 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_4237ea27-0121-4564-818b-c1fe90bd32c4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce9e7558-d402-476e-9274-70994f2f35cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_015540c0-c18f-48f4-bc65-d62b0d29122a" 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_4237ea27-0121-4564-818b-c1fe90bd32c4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_015540c0-c18f-48f4-bc65-d62b0d29122a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_22c66cc7-519a-4f07-954c-a6c0629ef1ea" 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_us-gaap_PaymentsToAcquireLifeInsurancePolicies_d38ce4d1-6ed8-419d-aab8-3ad6e22801f4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_d38ce4d1-6ed8-419d-aab8-3ad6e22801f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_b23e0790-b4b7-4ca4-b2b3-61b98344f808" 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_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_b23e0790-b4b7-4ca4-b2b3-61b98344f808" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_c57ce48a-6174-4a13-9331-fe94df43d274" xlink:href="cbnk-20210630.xsd#cbnk_PaymentsForProceedsFromRestrictedInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_c57ce48a-6174-4a13-9331-fe94df43d274" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_4790705f-adb0-4b59-bd67-d88d69ee3bbe" 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_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_4790705f-adb0-4b59-bd67-d88d69ee3bbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_8a22914c-ba1c-45b8-9d2e-124d35c664ce" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansReceivable"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_8a22914c-ba1c-45b8-9d2e-124d35c664ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_9a9c3e01-b814-4c94-9659-2fff9831591f" xlink:href="cbnk-20210630.xsd#cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_9a9c3e01-b814-4c94-9659-2fff9831591f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_cdc3784f-5c70-45b8-a017-98eb80b6a1ec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_cdc3784f-5c70-45b8-a017-98eb80b6a1ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_865afffc-5b85-407c-9470-081a3037fa17" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_865afffc-5b85-407c-9470-081a3037fa17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_a74d9ae6-113b-4c03-9d71-fa15ae883679" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_22c66cc7-519a-4f07-954c-a6c0629ef1ea" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_a74d9ae6-113b-4c03-9d71-fa15ae883679" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationComprehensiveIncomeDetails" xlink:type="simple" xlink:href="cbnk-20210630.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_d5020922-9104-48f1-8886-6017bc467fee" 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_94d2c429-92f1-4f4d-a43a-b914620933e1" 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_d5020922-9104-48f1-8886-6017bc467fee" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_94d2c429-92f1-4f4d-a43a-b914620933e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociTaxAttributableToParent_cd9b81a8-8a39-4d75-a64d-b427fc146981" 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_d5020922-9104-48f1-8886-6017bc467fee" xlink:to="loc_us-gaap_AociTaxAttributableToParent_cd9b81a8-8a39-4d75-a64d-b427fc146981" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedcosttoEstimatedFairValueDetails" xlink:type="simple" xlink:href="cbnk-20210630.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_935ee176-df1b-42f0-a3c0-712648021ad7" 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_a6f3caf0-6180-4c14-b77e-71ffacc308dd" 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_935ee176-df1b-42f0-a3c0-712648021ad7" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_a6f3caf0-6180-4c14-b77e-71ffacc308dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_d386a550-b055-4d02-9202-b25ed7e60fcf" 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_935ee176-df1b-42f0-a3c0-712648021ad7" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_d386a550-b055-4d02-9202-b25ed7e60fcf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_ad8eb60c-2705-445e-9d59-4dd8147bb263" 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_935ee176-df1b-42f0-a3c0-712648021ad7" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_ad8eb60c-2705-445e-9d59-4dd8147bb263" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" xlink:href="cbnk-20210630.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_c5b15b97-28e8-46ac-a274-fd3a8b57b0f6" 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_72350148-492c-441a-8b90-3260919dfb25" 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_c5b15b97-28e8-46ac-a274-fd3a8b57b0f6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_72350148-492c-441a-8b90-3260919dfb25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_447b54a9-9180-440d-b72c-b7e1af5b754b" 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_c5b15b97-28e8-46ac-a274-fd3a8b57b0f6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_447b54a9-9180-440d-b72c-b7e1af5b754b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_58a38167-4bcb-4455-a4ed-cf38083c3d5f" 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_9993ccf2-ab6b-4e77-99a6-74a89429ac3e" 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_58a38167-4bcb-4455-a4ed-cf38083c3d5f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9993ccf2-ab6b-4e77-99a6-74a89429ac3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_1e4cbd4d-2e69-452e-bd90-cab4213ae9af" 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_58a38167-4bcb-4455-a4ed-cf38083c3d5f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_1e4cbd4d-2e69-452e-bd90-cab4213ae9af" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationofLoansDetails" xlink:type="simple" xlink:href="cbnk-20210630.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_bc0ab111-c54e-4970-9171-7cd577ee5be9" 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_dd64a5d3-6ad6-4bc4-904a-4fbd4c4eff39" 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_bc0ab111-c54e-4970-9171-7cd577ee5be9" xlink:to="loc_us-gaap_NotesReceivableGross_dd64a5d3-6ad6-4bc4-904a-4fbd4c4eff39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_93e0ac4e-958a-440e-b36c-fd996ece2526" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_bc0ab111-c54e-4970-9171-7cd577ee5be9" xlink:to="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_93e0ac4e-958a-440e-b36c-fd996ece2526" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_a6e71d63-1856-4c18-b661-f06887d56c26" 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_bc0ab111-c54e-4970-9171-7cd577ee5be9" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_a6e71d63-1856-4c18-b661-f06887d56c26" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails" xlink:type="simple" xlink:href="cbnk-20210630.xsd#LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_54faeae6-bc30-4fa4-ba2d-38a9c5bf2734" 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_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6aaa85b1-68ea-49b4-ad18-97de4ceeee3e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_54faeae6-bc30-4fa4-ba2d-38a9c5bf2734" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6aaa85b1-68ea-49b4-ad18-97de4ceeee3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_4dc50638-f35e-444b-8025-3e6b5644bb27" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_54faeae6-bc30-4fa4-ba2d-38a9c5bf2734" xlink:to="loc_us-gaap_OperatingLeaseLiability_4dc50638-f35e-444b-8025-3e6b5644bb27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_54055b89-dc68-4667-aa41-4f233cb1b108" xlink:href="cbnk-20210630.xsd#cbnk_OperatingLeaseRightOfUseAssetNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_0176f995-47b8-4c91-a0be-3214c22f4da2" 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_54055b89-dc68-4667-aa41-4f233cb1b108" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_0176f995-47b8-4c91-a0be-3214c22f4da2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_c0eb7f9b-4191-463f-9717-907f2b618759" xlink:href="cbnk-20210630.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_54055b89-dc68-4667-aa41-4f233cb1b108" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_c0eb7f9b-4191-463f-9717-907f2b618759" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails_1" xlink:type="simple" xlink:href="cbnk-20210630.xsd#LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abb9d6d5-cf64-4f6a-a2f0-d7cd2a60464c" 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_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_d2069f86-9624-452a-bb9e-848f91cde229" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abb9d6d5-cf64-4f6a-a2f0-d7cd2a60464c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_d2069f86-9624-452a-bb9e-848f91cde229" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_bb111803-c9a6-433c-bb78-7148838bb8b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abb9d6d5-cf64-4f6a-a2f0-d7cd2a60464c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_bb111803-c9a6-433c-bb78-7148838bb8b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_8bbf4828-1369-4d95-b9c4-7169b732788f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abb9d6d5-cf64-4f6a-a2f0-d7cd2a60464c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_8bbf4828-1369-4d95-b9c4-7169b732788f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_ab0efada-dad1-44a9-8a46-ff774d6a7ace" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abb9d6d5-cf64-4f6a-a2f0-d7cd2a60464c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_ab0efada-dad1-44a9-8a46-ff774d6a7ace" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_92f857c4-f880-4f61-bdbf-0e079325a03e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abb9d6d5-cf64-4f6a-a2f0-d7cd2a60464c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_92f857c4-f880-4f61-bdbf-0e079325a03e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_23a34210-a8cc-4b6b-866b-84151e5b3eaa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abb9d6d5-cf64-4f6a-a2f0-d7cd2a60464c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_23a34210-a8cc-4b6b-866b-84151e5b3eaa" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
