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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:bbce6567-ca8d-4188-97b4-587d08c002ce,g:79d07a0b-ddba-4890-9ae5-cabf812430df-->
<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-20210331.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-20210331.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_f74d7b32-fd57-4564-ba21-68e0518c886a" 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_ddb7396e-1c23-4227-8705-03a932bd49ac" 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_f74d7b32-fd57-4564-ba21-68e0518c886a" xlink:to="loc_us-gaap_CashAndDueFromBanks_ddb7396e-1c23-4227-8705-03a932bd49ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_b7267cc9-18a5-42c2-9af0-0fe3f70981c8" 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_f74d7b32-fd57-4564-ba21-68e0518c886a" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_b7267cc9-18a5-42c2-9af0-0fe3f70981c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSold_62c6159f-7676-410e-b3f7-9d9f1199b5b8" 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_f74d7b32-fd57-4564-ba21-68e0518c886a" xlink:to="loc_us-gaap_FederalFundsSold_62c6159f-7676-410e-b3f7-9d9f1199b5b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" 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_fa10e840-2f13-4d15-8194-7e003b5effd0" 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_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_fa10e840-2f13-4d15-8194-7e003b5effd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d335fd1f-51fe-4677-9458-4a3a54e445b0" 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_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d335fd1f-51fe-4677-9458-4a3a54e445b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestments_bd48222f-03c0-498d-951f-dcd01ff6deec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_RestrictedInvestments_bd48222f-03c0-498d-951f-dcd01ff6deec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_3d01cc8a-bc94-4a48-8e49-66dc56614e9f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_3d01cc8a-bc94-4a48-8e49-66dc56614e9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_55f59d8c-be65-46cd-8d96-bf7d62c3691d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_NotesReceivableNet_55f59d8c-be65-46cd-8d96-bf7d62c3691d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f1ab8d07-6174-4ab8-9f73-69bfc81fdfd0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f1ab8d07-6174-4ab8-9f73-69bfc81fdfd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_974f5061-173e-401e-b59f-1775eafcd5cc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_974f5061-173e-401e-b59f-1775eafcd5cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_e2bd522a-3ddd-4d2e-b6f7-706a6e711e53" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_e2bd522a-3ddd-4d2e-b6f7-706a6e711e53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_c74ac255-970b-45e7-bf63-2a9b5990bd4e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_c74ac255-970b-45e7-bf63-2a9b5990bd4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_8bc206f9-0b1a-41c4-a03f-284d91697404" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_OtherAssets_8bc206f9-0b1a-41c4-a03f-284d91697404" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_b9a8cda0-887c-4f94-9652-3c57bca12746" xlink:href="cbnk-20210331.xsd#cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_b9a8cda0-887c-4f94-9652-3c57bca12746" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_6fa5a305-35cf-499f-b7ad-ab9f7d82e0ba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8bc0d76e-a0b8-4d3e-a753-59dd107ae9b9" xlink:to="loc_us-gaap_MarketableSecurities_6fa5a305-35cf-499f-b7ad-ab9f7d82e0ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_6d3fc5f4-e223-4a98-b2de-86f8d825b10a" 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_95375dbf-7a84-4296-b0a2-87432d0e2704" 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_6d3fc5f4-e223-4a98-b2de-86f8d825b10a" xlink:to="loc_us-gaap_Deposits_95375dbf-7a84-4296-b0a2-87432d0e2704" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_0772a850-6b3f-4f43-b4fe-0b37ba0f57e8" 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_6d3fc5f4-e223-4a98-b2de-86f8d825b10a" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_0772a850-6b3f-4f43-b4fe-0b37ba0f57e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_4e89d4a6-3c6a-4c4f-a210-1c6794f869a6" 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_6d3fc5f4-e223-4a98-b2de-86f8d825b10a" xlink:to="loc_us-gaap_OtherBorrowings_4e89d4a6-3c6a-4c4f-a210-1c6794f869a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_1bb6a82b-a4e8-4897-95fd-7c98bc239076" 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_6d3fc5f4-e223-4a98-b2de-86f8d825b10a" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_1bb6a82b-a4e8-4897-95fd-7c98bc239076" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_8e84a7fb-0853-466b-958a-9bde28a6532a" 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_6d3fc5f4-e223-4a98-b2de-86f8d825b10a" xlink:to="loc_us-gaap_OtherLiabilities_8e84a7fb-0853-466b-958a-9bde28a6532a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_746f987f-da75-4856-9705-8b5117b281ee" 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_fd5ceb31-7499-4711-8354-cf3e5e849c39" 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_746f987f-da75-4856-9705-8b5117b281ee" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_fd5ceb31-7499-4711-8354-cf3e5e849c39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_b69c4f9b-8caa-46ea-b9f0-b2e63023bb8c" 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_746f987f-da75-4856-9705-8b5117b281ee" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_b69c4f9b-8caa-46ea-b9f0-b2e63023bb8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_211cb256-6ca0-40a8-92ac-4aa70cfb6289" 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_837bc532-33cf-4767-8417-42d0a6c10282" 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_211cb256-6ca0-40a8-92ac-4aa70cfb6289" xlink:to="loc_us-gaap_StockholdersEquity_837bc532-33cf-4767-8417-42d0a6c10282" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_8896d9f4-0a65-4b6b-b364-af9c89054d41" 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_211cb256-6ca0-40a8-92ac-4aa70cfb6289" xlink:to="loc_us-gaap_Liabilities_8896d9f4-0a65-4b6b-b364-af9c89054d41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7ef83089-8e7b-479d-81cf-c8be76af600c" 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_45e247cb-b096-4cad-b53e-248b0a4e2070" 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_7ef83089-8e7b-479d-81cf-c8be76af600c" xlink:to="loc_us-gaap_CommonStockValue_45e247cb-b096-4cad-b53e-248b0a4e2070" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_2485bf79-6889-4b48-8610-f1ebc7f90b31" 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_7ef83089-8e7b-479d-81cf-c8be76af600c" xlink:to="loc_us-gaap_AdditionalPaidInCapital_2485bf79-6889-4b48-8610-f1ebc7f90b31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_5a7c19cc-33e9-4d97-8d76-85b604d25d11" 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_7ef83089-8e7b-479d-81cf-c8be76af600c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_5a7c19cc-33e9-4d97-8d76-85b604d25d11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_20bde2e7-28ee-4c5d-b10f-4a7bdbca75b8" 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_7ef83089-8e7b-479d-81cf-c8be76af600c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_20bde2e7-28ee-4c5d-b10f-4a7bdbca75b8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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_12c07f9c-cc5a-4943-8e19-684c7eb44ad5" 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_4ff1053a-1312-4c77-b789-fa25722aeb53" 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_12c07f9c-cc5a-4943-8e19-684c7eb44ad5" xlink:to="loc_us-gaap_NoninterestExpense_4ff1053a-1312-4c77-b789-fa25722aeb53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_87f22650-71ba-4524-b9f1-88b4def97329" 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_12c07f9c-cc5a-4943-8e19-684c7eb44ad5" xlink:to="loc_us-gaap_NoninterestIncome_87f22650-71ba-4524-b9f1-88b4def97329" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_024b9884-37c2-4bda-bf55-b256162adde1" 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_12c07f9c-cc5a-4943-8e19-684c7eb44ad5" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_024b9884-37c2-4bda-bf55-b256162adde1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_f7c1763b-4104-4d9c-8730-1f203dfcc3cd" 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_895664b2-ba04-4568-b37a-be4576e140a7" 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_f7c1763b-4104-4d9c-8730-1f203dfcc3cd" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_895664b2-ba04-4568-b37a-be4576e140a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_7e1b7457-94a1-4183-9675-6e855d7c1fec" 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_f7c1763b-4104-4d9c-8730-1f203dfcc3cd" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_7e1b7457-94a1-4183-9675-6e855d7c1fec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_aa1fc61a-04e2-466f-9162-c2c2ab121027" 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_d2e2ac38-8402-4d5a-94ce-13ed4843e819" 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_aa1fc61a-04e2-466f-9162-c2c2ab121027" xlink:to="loc_us-gaap_InterestExpense_d2e2ac38-8402-4d5a-94ce-13ed4843e819" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_08b4f2d3-49ab-44dc-9289-e4d0fb9cab1a" 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_aa1fc61a-04e2-466f-9162-c2c2ab121027" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_08b4f2d3-49ab-44dc-9289-e4d0fb9cab1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_ae8e847f-193d-4338-8995-ff5e154dedf3" 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_932c1249-27b0-4044-9bd5-9d85d84f4beb" 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_ae8e847f-193d-4338-8995-ff5e154dedf3" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_932c1249-27b0-4044-9bd5-9d85d84f4beb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_e3b5286d-6696-4006-9225-49f7d2c1a19e" 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_ae8e847f-193d-4338-8995-ff5e154dedf3" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_e3b5286d-6696-4006-9225-49f7d2c1a19e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_3582b5f4-520d-4c19-9196-1de8075ca1f1" 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_ae8e847f-193d-4338-8995-ff5e154dedf3" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_3582b5f4-520d-4c19-9196-1de8075ca1f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43609829-528d-4841-80fb-3999d5264b21" 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_77a57748-9b31-45ea-b5a2-d7bf968cf430" 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_43609829-528d-4841-80fb-3999d5264b21" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_77a57748-9b31-45ea-b5a2-d7bf968cf430" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_21aecb6c-e341-4039-ac5c-f47bfdba7fb0" 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_43609829-528d-4841-80fb-3999d5264b21" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_21aecb6c-e341-4039-ac5c-f47bfdba7fb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" 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_b8cd01d1-710e-42bc-9293-c6088fadb61d" 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_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" xlink:to="loc_us-gaap_LaborAndRelatedExpense_b8cd01d1-710e-42bc-9293-c6088fadb61d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OccupancyAndEquipmentExpense_7a8fa92b-beee-47c9-a6e4-702dcd6f5d71" xlink:href="cbnk-20210331.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_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" xlink:to="loc_cbnk_OccupancyAndEquipmentExpense_7a8fa92b-beee-47c9-a6e4-702dcd6f5d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_7c1b0e50-fead-4b16-890f-7b61fc3837f3" 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_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" xlink:to="loc_us-gaap_ProfessionalFees_7c1b0e50-fead-4b16-890f-7b61fc3837f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_e366ac35-6c81-45da-b124-78aeac9b6d95" 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_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_e366ac35-6c81-45da-b124-78aeac9b6d95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_deb19650-cd15-4651-8196-6ab27850fb69" 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_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" xlink:to="loc_us-gaap_AdvertisingExpense_deb19650-cd15-4651-8196-6ab27850fb69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanProcessingFee_27360899-ace0-4d05-935c-18013b9a78a4" 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_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" xlink:to="loc_us-gaap_LoanProcessingFee_27360899-ace0-4d05-935c-18013b9a78a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OtherRealEstateExpensesNet_53b56bfa-005f-4b53-b031-370dfb51153f" xlink:href="cbnk-20210331.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_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" xlink:to="loc_cbnk_OtherRealEstateExpensesNet_53b56bfa-005f-4b53-b031-370dfb51153f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_2de485a5-20e9-4d33-b35c-f637e2cb3286" 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_c51e703e-1718-4e3b-8188-eb9b7b5edd0e" xlink:to="loc_us-gaap_OtherNoninterestExpense_2de485a5-20e9-4d33-b35c-f637e2cb3286" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_1b1a874d-a0f2-4681-8955-5077478689f1" 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_8616717d-258e-4263-b65d-2c531d8fd918" 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_1b1a874d-a0f2-4681-8955-5077478689f1" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_8616717d-258e-4263-b65d-2c531d8fd918" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_e3d498ed-9c45-42f6-9868-72dc95e77b37" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_1b1a874d-a0f2-4681-8955-5077478689f1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_e3d498ed-9c45-42f6-9868-72dc95e77b37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_8fbe0a1e-3b88-4cf6-a299-5b1c76c6f033" 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_04f008fc-784a-448c-ac74-600b1ff099f3" 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_8fbe0a1e-3b88-4cf6-a299-5b1c76c6f033" xlink:to="loc_us-gaap_InterestExpenseDeposits_04f008fc-784a-448c-ac74-600b1ff099f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_cbd591da-854e-4ca5-a40e-12b0ca737cae" 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_8fbe0a1e-3b88-4cf6-a299-5b1c76c6f033" xlink:to="loc_us-gaap_InterestExpenseBorrowings_cbd591da-854e-4ca5-a40e-12b0ca737cae" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofIncomeParenthetical" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_3a20f19e-ff1e-4dac-96b0-980bc1a6cca7" 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_b877c334-5718-4d4a-815b-50542baacb9c" 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_3a20f19e-ff1e-4dac-96b0-980bc1a6cca7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_b877c334-5718-4d4a-815b-50542baacb9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_6eb50262-f64f-4608-82c5-061b73898d16" 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_3a20f19e-ff1e-4dac-96b0-980bc1a6cca7" xlink:to="loc_us-gaap_NetIncomeLoss_6eb50262-f64f-4608-82c5-061b73898d16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_e459d5a5-ca48-4c6b-9788-8eae168d003f" 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_131801a3-a5d0-4dbf-949c-7b8b75d03f37" 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_e459d5a5-ca48-4c6b-9788-8eae168d003f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_131801a3-a5d0-4dbf-949c-7b8b75d03f37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e5961914-3630-4232-babe-99c920b4da01" 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_3860e029-5fe4-4f4e-b05d-2f9706d2718f" 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_e5961914-3630-4232-babe-99c920b4da01" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_3860e029-5fe4-4f4e-b05d-2f9706d2718f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_c20ff47b-ba4e-402e-8d1d-c313ba08c026" 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_e5961914-3630-4232-babe-99c920b4da01" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_c20ff47b-ba4e-402e-8d1d-c313ba08c026" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofChangesinShareholdersEquity" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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_29d9e025-2fe6-4941-986b-329ab83ae2aa" 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_677fd5eb-1426-4a9d-87d0-7ede6f53c315" 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_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_NetIncomeLoss_677fd5eb-1426-4a9d-87d0-7ede6f53c315" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_9d0f0d14-0e76-4849-a05c-5d1871f2eb5d" 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_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_9d0f0d14-0e76-4849-a05c-5d1871f2eb5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherLosses_f95aa78b-19f1-4a1d-b71d-152f8dbaf861" 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_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_ProvisionForOtherLosses_f95aa78b-19f1-4a1d-b71d-152f8dbaf861" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_33982ee6-3285-4eb7-a85a-7bc49f9df9fd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_33982ee6-3285-4eb7-a85a-7bc49f9df9fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_e7b4bc3e-4b33-4c1d-aab4-22173a5a0f50" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_e7b4bc3e-4b33-4c1d-aab4-22173a5a0f50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationNonproduction_1c1b94fc-950e-426c-ac92-b274372ff60a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationNonproduction"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_DepreciationNonproduction_1c1b94fc-950e-426c-ac92-b274372ff60a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_d19ebeca-1c97-4ca4-8fbf-846a015c6f22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_ShareBasedCompensation_d19ebeca-1c97-4ca4-8fbf-846a015c6f22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_34bd8534-a1ec-4203-896c-6d2b90ba6f6e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_34bd8534-a1ec-4203-896c-6d2b90ba6f6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_8060145f-ddfc-48e2-a09e-ab6e650312f2" 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_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_8060145f-ddfc-48e2-a09e-ab6e650312f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_51c4da82-3328-480f-bb43-40a6312e27f7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_51c4da82-3328-480f-bb43-40a6312e27f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_901a5bc4-d68c-456b-8405-1df5426a37fe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_901a5bc4-d68c-456b-8405-1df5426a37fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_9f509e4e-e0da-4a2a-81b3-b7cc6b007281" 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_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_9f509e4e-e0da-4a2a-81b3-b7cc6b007281" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_d010383a-5297-4679-ad31-8b09d6cfcb9e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_d010383a-5297-4679-ad31-8b09d6cfcb9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_f4217a89-e9b7-4f04-8243-299557b6b58b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_f4217a89-e9b7-4f04-8243-299557b6b58b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_e47ac8d4-bb4c-4020-a5c0-a1452cc0c5e2" 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_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_e47ac8d4-bb4c-4020-a5c0-a1452cc0c5e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_MortgageBankingAndServicingGainLoss_edfc1e00-a741-4c41-90ba-367c753c818d" xlink:href="cbnk-20210331.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_29d9e025-2fe6-4941-986b-329ab83ae2aa" xlink:to="loc_cbnk_MortgageBankingAndServicingGainLoss_edfc1e00-a741-4c41-90ba-367c753c818d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a0d257f8-de44-4954-846d-5851dcf61645" 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_3e167c35-eacc-4cb7-a36c-fe65e337e849" 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_a0d257f8-de44-4954-846d-5851dcf61645" xlink:to="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_3e167c35-eacc-4cb7-a36c-fe65e337e849" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_0bf61472-03cc-43c1-8f93-097a848748f9" 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_a0d257f8-de44-4954-846d-5851dcf61645" xlink:to="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_0bf61472-03cc-43c1-8f93-097a848748f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_7c8df1df-b171-493e-af73-a6fd725e69a7" 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_a0d257f8-de44-4954-846d-5851dcf61645" xlink:to="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_7c8df1df-b171-493e-af73-a6fd725e69a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_930a8380-edf7-409c-a297-f9046100b244" 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_a0d257f8-de44-4954-846d-5851dcf61645" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_930a8380-edf7-409c-a297-f9046100b244" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5d1450e7-8eba-4870-9d00-a70dac17f88d" 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_a0d257f8-de44-4954-846d-5851dcf61645" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5d1450e7-8eba-4870-9d00-a70dac17f88d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_f9daf6dd-bd58-430c-9e26-e680bbe49e3b" 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_a0d257f8-de44-4954-846d-5851dcf61645" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_f9daf6dd-bd58-430c-9e26-e680bbe49e3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_23cadc84-099d-4954-afbc-84d15f2c204f" 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_e23907d1-aad6-4ae8-9966-81af89f370ea" 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_23cadc84-099d-4954-afbc-84d15f2c204f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e23907d1-aad6-4ae8-9966-81af89f370ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8b4d0a97-b737-479a-a066-be49c2374e54" 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_23cadc84-099d-4954-afbc-84d15f2c204f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8b4d0a97-b737-479a-a066-be49c2374e54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_05956488-e764-4be2-b378-a2898135d3fd" 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_23cadc84-099d-4954-afbc-84d15f2c204f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_05956488-e764-4be2-b378-a2898135d3fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94c6c695-6525-4787-a19f-30a127b4f571" 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_PaymentsToAcquireAvailableForSaleSecuritiesDebt_397dc336-64f2-4b41-881d-bec4936b09e4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94c6c695-6525-4787-a19f-30a127b4f571" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_397dc336-64f2-4b41-881d-bec4936b09e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_5a08a213-1bfe-4de7-ac41-859bb63912e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94c6c695-6525-4787-a19f-30a127b4f571" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_5a08a213-1bfe-4de7-ac41-859bb63912e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_db9f2c66-f0a5-4eb4-b48a-9968ee0bbb3a" xlink:href="cbnk-20210331.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_94c6c695-6525-4787-a19f-30a127b4f571" xlink:to="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_db9f2c66-f0a5-4eb4-b48a-9968ee0bbb3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_0eec572a-80f6-4b67-b057-b3b8f5964108" xlink:href="cbnk-20210331.xsd#cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94c6c695-6525-4787-a19f-30a127b4f571" xlink:to="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_0eec572a-80f6-4b67-b057-b3b8f5964108" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_649a9031-bbf2-4e7b-880a-1e733d4ca480" 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_94c6c695-6525-4787-a19f-30a127b4f571" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_649a9031-bbf2-4e7b-880a-1e733d4ca480" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_35084879-e551-46c1-8711-087610c023c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForProceedsFromProductiveAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94c6c695-6525-4787-a19f-30a127b4f571" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_35084879-e551-46c1-8711-087610c023c7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentation" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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-20210331.xsd#NatureofBusinessandBasisofPresentationTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationBasisofpresentationDetails" xlink:type="simple" xlink:href="cbnk-20210331.xsd#NatureofBusinessandBasisofPresentationBasisofpresentationDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationBasisofpresentationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationSBAPaycheckProtectionProgramDetails" xlink:type="simple" xlink:href="cbnk-20210331.xsd#NatureofBusinessandBasisofPresentationSBAPaycheckProtectionProgramDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationSBAPaycheckProtectionProgramDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationPremisesandequipmentDetails" xlink:type="simple" xlink:href="cbnk-20210331.xsd#NatureofBusinessandBasisofPresentationPremisesandequipmentDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationPremisesandequipmentDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationEarningsperShareDetails" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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_01368c2a-da43-4ecd-8179-c88b96339aa8" 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_f0adfebc-1bba-4b89-bdeb-2339bf1813ef" 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_01368c2a-da43-4ecd-8179-c88b96339aa8" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_f0adfebc-1bba-4b89-bdeb-2339bf1813ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociTaxAttributableToParent_460e0318-9951-4b8d-b0ee-4fb8fa1bf7be" 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_01368c2a-da43-4ecd-8179-c88b96339aa8" xlink:to="loc_us-gaap_AociTaxAttributableToParent_460e0318-9951-4b8d-b0ee-4fb8fa1bf7be" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/CashandCashEquivalents" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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-20210331.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-20210331.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_cb4fa9f7-c5e7-4d95-9b63-2b39f07991c6" 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_da2bf1f7-f189-4cd7-b00d-1e403ceb97ae" 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_cb4fa9f7-c5e7-4d95-9b63-2b39f07991c6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_da2bf1f7-f189-4cd7-b00d-1e403ceb97ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_8e3ac754-889b-4fe2-8b22-fc045f52c50a" 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_cb4fa9f7-c5e7-4d95-9b63-2b39f07991c6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_8e3ac754-889b-4fe2-8b22-fc045f52c50a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_0f87cae3-b841-4ab5-a143-74c4d1c4b596" 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_cb4fa9f7-c5e7-4d95-9b63-2b39f07991c6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_0f87cae3-b841-4ab5-a143-74c4d1c4b596" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" xlink:href="cbnk-20210331.xsd#InvestmentSecuritiesUnrealizedLossesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_ba60f7a2-3926-4ac4-a9d7-3a3cb581a39e" 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_2fddf1c6-bb72-4bcf-bc1e-9a0d6a18d1c2" 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_ba60f7a2-3926-4ac4-a9d7-3a3cb581a39e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_2fddf1c6-bb72-4bcf-bc1e-9a0d6a18d1c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_8d1afa86-9786-403e-8710-a20960aee2eb" 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_ba60f7a2-3926-4ac4-a9d7-3a3cb581a39e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_8d1afa86-9786-403e-8710-a20960aee2eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_cc1969ec-799d-4fb9-bdf1-b5e9169fa2c5" 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_5681757e-4b47-49a7-853e-2e2a6205e04f" 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_cc1969ec-799d-4fb9-bdf1-b5e9169fa2c5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_5681757e-4b47-49a7-853e-2e2a6205e04f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_9c39f88e-26af-4bf8-a816-3e7b87836cab" 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_cc1969ec-799d-4fb9-bdf1-b5e9169fa2c5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_9c39f88e-26af-4bf8-a816-3e7b87836cab" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.xsd#InvestmentSecuritiesbyMaturityDatesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesbyMaturityDatesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SBAPPPLoansReceivable" xlink:type="simple" xlink:href="cbnk-20210331.xsd#SBAPPPLoansReceivable"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SBAPPPLoansReceivable" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SBAPPPLoansReceivableDetails" xlink:type="simple" xlink:href="cbnk-20210331.xsd#SBAPPPLoansReceivableDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SBAPPPLoansReceivableDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivable" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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-20210331.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_6d88df3e-f76f-4f07-a5d0-36f412a21446" 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_5429ceb7-ccd9-4f5c-8d58-e3d9dbcf6dfb" 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_6d88df3e-f76f-4f07-a5d0-36f412a21446" xlink:to="loc_us-gaap_NotesReceivableGross_5429ceb7-ccd9-4f5c-8d58-e3d9dbcf6dfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_ffc19d79-ceb6-42cd-8275-f99dd7bbaacc" 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_6d88df3e-f76f-4f07-a5d0-36f412a21446" xlink:to="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_ffc19d79-ceb6-42cd-8275-f99dd7bbaacc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_de56571c-e636-453f-8f41-e7b174f61dca" 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_6d88df3e-f76f-4f07-a5d0-36f412a21446" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_de56571c-e636-453f-8f41-e7b174f61dca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableAccretableDiscountDetails" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.xsd#PortfolioLoansReceivableActivityinAllowanceforLoanLossesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableActivityinAllowanceforLoanLossesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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-20210331.xsd#DerivativeFinancialInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/Leases" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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-20210331.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-20210331.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_45ae2509-d17a-4156-acff-aa8f3b0d0349" 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_8cdb654c-71f6-4c0f-bf95-dcded0330bb4" 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_45ae2509-d17a-4156-acff-aa8f3b0d0349" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_8cdb654c-71f6-4c0f-bf95-dcded0330bb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_e285435b-5df1-4207-9826-91c375d0dff1" 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_45ae2509-d17a-4156-acff-aa8f3b0d0349" xlink:to="loc_us-gaap_OperatingLeaseLiability_e285435b-5df1-4207-9826-91c375d0dff1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_271c21a7-d25a-46a2-96ac-861d225963bd" xlink:href="cbnk-20210331.xsd#cbnk_OperatingLeaseRightOfUseAssetNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_ffd4018e-00d8-4eeb-b431-17330b348c54" 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_271c21a7-d25a-46a2-96ac-861d225963bd" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_ffd4018e-00d8-4eeb-b431-17330b348c54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_2a1b990f-1be5-41f7-9974-fe133971cefd" xlink:href="cbnk-20210331.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_271c21a7-d25a-46a2-96ac-861d225963bd" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_2a1b990f-1be5-41f7-9974-fe133971cefd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails_1" xlink:type="simple" xlink:href="cbnk-20210331.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_cdd5a86c-8e24-4283-acc0-5af78ea9ef8d" 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_1f2dd19d-9041-43b8-82ee-35eb937da4a7" 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_cdd5a86c-8e24-4283-acc0-5af78ea9ef8d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_1f2dd19d-9041-43b8-82ee-35eb937da4a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_dd19068e-b1c1-4575-9ffd-25d0e44b5936" 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_cdd5a86c-8e24-4283-acc0-5af78ea9ef8d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_dd19068e-b1c1-4575-9ffd-25d0e44b5936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_167bb7d4-4b11-4b06-9268-a075923dabc4" 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_cdd5a86c-8e24-4283-acc0-5af78ea9ef8d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_167bb7d4-4b11-4b06-9268-a075923dabc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_bc16bf93-1220-45b0-b70c-6dd9811cc254" 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_cdd5a86c-8e24-4283-acc0-5af78ea9ef8d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_bc16bf93-1220-45b0-b70c-6dd9811cc254" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValue" xlink:type="simple" xlink:href="cbnk-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.xsd#Segments"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/Segments" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsTables" xlink:type="simple" xlink:href="cbnk-20210331.xsd#SegmentsTables"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SegmentsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsDetails" xlink:type="simple" xlink:href="cbnk-20210331.xsd#SegmentsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/SegmentsDetails" xlink:type="extended"/>
</link:linkbase>
