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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:d300cdf4-8102-4c36-a800-2d3af9b832c2,g:276c95a2-0d43-4a2e-a274-472f0e4b64b3-->
<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/ConsolidatedBalanceSheetsunaudited" xlink:type="simple" xlink:href="cbnk-20230930.xsd#ConsolidatedBalanceSheetsunaudited"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_c6a106bf-9d41-4037-b252-a9c07dcb034a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_FinancingReceivableBeforeAllowanceForCreditLossNetOfDeferredCommitmentFee_49d0d60d-2004-4af0-a636-5440cab35f23" xlink:href="cbnk-20230930.xsd#cbnk_FinancingReceivableBeforeAllowanceForCreditLossNetOfDeferredCommitmentFee"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_c6a106bf-9d41-4037-b252-a9c07dcb034a" xlink:to="loc_cbnk_FinancingReceivableBeforeAllowanceForCreditLossNetOfDeferredCommitmentFee_49d0d60d-2004-4af0-a636-5440cab35f23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_1bf7cc98-913b-4021-bf03-792c563fd9b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_c6a106bf-9d41-4037-b252-a9c07dcb034a" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_1bf7cc98-913b-4021-bf03-792c563fd9b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_27594c94-63da-4f29-91f9-577d99b2972b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSold_99907a71-7836-4a53-9974-1d10ab4c53b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FederalFundsSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_27594c94-63da-4f29-91f9-577d99b2972b" xlink:to="loc_us-gaap_FederalFundsSold_99907a71-7836-4a53-9974-1d10ab4c53b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_e6fcf192-9f46-4310-bd18-e35adaebff6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_27594c94-63da-4f29-91f9-577d99b2972b" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_e6fcf192-9f46-4310-bd18-e35adaebff6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_58a8fbc8-69d4-41c8-becf-a59fbe6ec5be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_27594c94-63da-4f29-91f9-577d99b2972b" xlink:to="loc_us-gaap_CashAndDueFromBanks_58a8fbc8-69d4-41c8-becf-a59fbe6ec5be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_a6e49658-0eae-42aa-b86f-a6ceea33d13a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_ea033d66-acb9-4064-97f4-c0316407dd99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a6e49658-0eae-42aa-b86f-a6ceea33d13a" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_ea033d66-acb9-4064-97f4-c0316407dd99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_53eed563-7724-4e1d-bd8e-b9d723c36da3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a6e49658-0eae-42aa-b86f-a6ceea33d13a" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_53eed563-7724-4e1d-bd8e-b9d723c36da3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_c2573941-d071-4c3f-b976-319f93c2f90a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_8af4dbae-dc05-459f-a71b-fe0b41fcd829" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2573941-d071-4c3f-b976-319f93c2f90a" xlink:to="loc_us-gaap_CommonStockValue_8af4dbae-dc05-459f-a71b-fe0b41fcd829" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_30424542-2989-4c4d-8a62-15e8251d1284" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2573941-d071-4c3f-b976-319f93c2f90a" xlink:to="loc_us-gaap_AdditionalPaidInCapital_30424542-2989-4c4d-8a62-15e8251d1284" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_732e1a6d-252a-41d7-930e-a89b5fa1745a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2573941-d071-4c3f-b976-319f93c2f90a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_732e1a6d-252a-41d7-930e-a89b5fa1745a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_45c399fc-4eb4-45c7-bad5-a437810fbcb8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2573941-d071-4c3f-b976-319f93c2f90a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_45c399fc-4eb4-45c7-bad5-a437810fbcb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_28c32da9-6d19-4823-ba1e-a33393e75dfb" xlink:href="cbnk-20230930.xsd#cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_28c32da9-6d19-4823-ba1e-a33393e75dfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_9097826b-4852-4ad6-b706-618e8d5516a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_9097826b-4852-4ad6-b706-618e8d5516a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_09bb7779-3306-48a0-9b5a-c5812f440ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_09bb7779-3306-48a0-9b5a-c5812f440ae0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_112de465-6886-4c6a-871b-051eca34a9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_112de465-6886-4c6a-871b-051eca34a9dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_ab7b9c92-6761-4da1-8e6e-953a8038207b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_ab7b9c92-6761-4da1-8e6e-953a8038207b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestments_f949e36f-ddb1-4bc5-bf24-559729e8deac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_RestrictedInvestments_f949e36f-ddb1-4bc5-bf24-559729e8deac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_81766bbe-c83d-423a-a1f3-8b269fa94d71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_OtherAssets_81766bbe-c83d-423a-a1f3-8b269fa94d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_e38ffeae-2584-4b8b-b2d1-baae427954ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_e38ffeae-2584-4b8b-b2d1-baae427954ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_01b22cc8-0fa7-49e3-a505-632f4d594283" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_01b22cc8-0fa7-49e3-a505-632f4d594283" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_5f6c1afa-5f38-4d43-a87b-ac0d77dc30d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_5f6c1afa-5f38-4d43-a87b-ac0d77dc30d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_bf427c6e-4fa0-4e74-82e0-8b922f6e7f6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_83243bab-41cc-450a-b221-0da78c2aa3d2" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_bf427c6e-4fa0-4e74-82e0-8b922f6e7f6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_24d56b83-445b-4fe7-b602-398743a91754" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_2daacae3-ef62-4133-a427-26a33f0f4127" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_24d56b83-445b-4fe7-b602-398743a91754" xlink:to="loc_us-gaap_Deposits_2daacae3-ef62-4133-a427-26a33f0f4127" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_ee748774-0dfc-48e4-bfd7-dcd176c25d4b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_24d56b83-445b-4fe7-b602-398743a91754" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_ee748774-0dfc-48e4-bfd7-dcd176c25d4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_f1aed655-cdff-4159-884c-98473b500899" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_24d56b83-445b-4fe7-b602-398743a91754" xlink:to="loc_us-gaap_OtherBorrowings_f1aed655-cdff-4159-884c-98473b500899" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_e81b2970-fa8f-41c5-9a43-a433fab750de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_24d56b83-445b-4fe7-b602-398743a91754" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_e81b2970-fa8f-41c5-9a43-a433fab750de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_0639f6a9-a6a0-412d-add5-57c95e1fe196" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_24d56b83-445b-4fe7-b602-398743a91754" xlink:to="loc_us-gaap_OtherLiabilities_0639f6a9-a6a0-412d-add5-57c95e1fe196" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_f15df672-715e-4959-86d5-123058baa9c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_cc596c2a-d5c7-42e5-8594-9577ee0aec08" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f15df672-715e-4959-86d5-123058baa9c0" xlink:to="loc_us-gaap_StockholdersEquity_cc596c2a-d5c7-42e5-8594-9577ee0aec08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_473ec496-7b19-4395-a6e2-1059171de69a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f15df672-715e-4959-86d5-123058baa9c0" xlink:to="loc_us-gaap_Liabilities_473ec496-7b19-4395-a6e2-1059171de69a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofIncomeunaudited" xlink:type="simple" xlink:href="cbnk-20230930.xsd#ConsolidatedStatementsofIncomeunaudited"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofIncomeunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_d8d6b343-7f1a-475e-aeda-c4ead48bce1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_d2f0b1bc-460e-47ac-9fa6-99e5318f9985" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d8d6b343-7f1a-475e-aeda-c4ead48bce1c" xlink:to="loc_us-gaap_InterestExpense_d2f0b1bc-460e-47ac-9fa6-99e5318f9985" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_281074f6-a967-4ab1-bc49-6188bbaa4054" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d8d6b343-7f1a-475e-aeda-c4ead48bce1c" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_281074f6-a967-4ab1-bc49-6188bbaa4054" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6904884f-1ee9-45d8-9531-3adb29d42df1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_bcf62314-28e6-48be-b51e-01d8e8dc42ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6904884f-1ee9-45d8-9531-3adb29d42df1" xlink:to="loc_us-gaap_NoninterestExpense_bcf62314-28e6-48be-b51e-01d8e8dc42ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_4be690d3-8635-4030-946a-7574fe8dc6d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6904884f-1ee9-45d8-9531-3adb29d42df1" xlink:to="loc_us-gaap_NoninterestIncome_4be690d3-8635-4030-946a-7574fe8dc6d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_2f30e99c-2baf-480b-9f2d-22a9000a8a51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6904884f-1ee9-45d8-9531-3adb29d42df1" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_2f30e99c-2baf-480b-9f2d-22a9000a8a51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_fa11f5c9-a361-45c6-aa60-9a93494f9014" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_85e69b0e-3428-490e-9c98-408855a98f42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fa11f5c9-a361-45c6-aa60-9a93494f9014" xlink:to="loc_us-gaap_InterestExpenseDeposits_85e69b0e-3428-490e-9c98-408855a98f42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_6fd89633-112d-4e92-ad64-3386c4c2977a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fa11f5c9-a361-45c6-aa60-9a93494f9014" xlink:to="loc_us-gaap_InterestExpenseBorrowings_6fd89633-112d-4e92-ad64-3386c4c2977a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_cc6d9e43-5af6-4325-926a-15d082cce85b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_83ccef96-3262-4f0d-a561-04e82603c0b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_cc6d9e43-5af6-4325-926a-15d082cce85b" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_83ccef96-3262-4f0d-a561-04e82603c0b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_ecf5fed6-b50d-4ed7-a94b-dd5765d964ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_cc6d9e43-5af6-4325-926a-15d082cce85b" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_ecf5fed6-b50d-4ed7-a94b-dd5765d964ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_3b61b0b0-4cbb-455c-8508-86903cc804be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_cbc02e12-93ce-40b1-9f97-c43924cb8e7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b61b0b0-4cbb-455c-8508-86903cc804be" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_cbc02e12-93ce-40b1-9f97-c43924cb8e7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_5b34b486-3768-4b86-a0f5-7ada4e6b115e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b61b0b0-4cbb-455c-8508-86903cc804be" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_5b34b486-3768-4b86-a0f5-7ada4e6b115e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_d0e3c22b-aa1c-4afc-9bae-a29a252a1374" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b61b0b0-4cbb-455c-8508-86903cc804be" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_d0e3c22b-aa1c-4afc-9bae-a29a252a1374" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanProcessingFee_88c80588-bdf0-4f40-9b75-3365af128f75" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LoanProcessingFee"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:to="loc_us-gaap_LoanProcessingFee_88c80588-bdf0-4f40-9b75-3365af128f75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_052a35b1-b8f3-4718-a129-50628cc264e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdvertisingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:to="loc_us-gaap_AdvertisingExpense_052a35b1-b8f3-4718-a129-50628cc264e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_c30323a2-9318-445c-8384-9a9b32afdafa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:to="loc_us-gaap_OtherNoninterestExpense_c30323a2-9318-445c-8384-9a9b32afdafa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OtherRealEstateExpensesNet_f2ac9e6e-749a-4112-97a1-824b763fffb8" xlink:href="cbnk-20230930.xsd#cbnk_OtherRealEstateExpensesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:to="loc_cbnk_OtherRealEstateExpensesNet_f2ac9e6e-749a-4112-97a1-824b763fffb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_71b82a0a-c60e-4386-9d7f-6bf6883a27db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:to="loc_us-gaap_ProfessionalFees_71b82a0a-c60e-4386-9d7f-6bf6883a27db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_72086491-5ab1-4072-bb92-e7be24f7f93d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_72086491-5ab1-4072-bb92-e7be24f7f93d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OccupancyAndEquipmentExpense_c5bfe6ea-2033-4ce7-a6d5-da667b03dd07" xlink:href="cbnk-20230930.xsd#cbnk_OccupancyAndEquipmentExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:to="loc_cbnk_OccupancyAndEquipmentExpense_c5bfe6ea-2033-4ce7-a6d5-da667b03dd07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_154b180c-b628-440d-95c9-9333e7b1f2fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_0e1f97aa-d1bd-4d2a-9e49-ddd12b24fc85" xlink:to="loc_us-gaap_LaborAndRelatedExpense_154b180c-b628-440d-95c9-9333e7b1f2fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_8f5c00a2-d637-42f2-89df-cd1cc0e6df51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_UnfundedCommitmentsCreditLossExpenseReversal_b46009a5-245a-4f79-966c-061e9f1ee26a" xlink:href="cbnk-20230930.xsd#cbnk_UnfundedCommitmentsCreditLossExpenseReversal"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_8f5c00a2-d637-42f2-89df-cd1cc0e6df51" xlink:to="loc_cbnk_UnfundedCommitmentsCreditLossExpenseReversal_b46009a5-245a-4f79-966c-061e9f1ee26a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_1f855389-8ed2-40b7-b421-1a724972422e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_8f5c00a2-d637-42f2-89df-cd1cc0e6df51" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_1f855389-8ed2-40b7-b421-1a724972422e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_3a703718-e95e-4907-b9b3-f9558ef1294a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_8f5c00a2-d637-42f2-89df-cd1cc0e6df51" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_3a703718-e95e-4907-b9b3-f9558ef1294a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_61a1171b-a1a6-4336-bb49-50f747800055" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_a531ac67-6a3a-4e2f-9ef7-f322847cdbe2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_61a1171b-a1a6-4336-bb49-50f747800055" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_a531ac67-6a3a-4e2f-9ef7-f322847cdbe2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_2e5dd75f-8738-4fea-a6e7-6ec25af8b6e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_61a1171b-a1a6-4336-bb49-50f747800055" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_2e5dd75f-8738-4fea-a6e7-6ec25af8b6e8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncomeunaudited" xlink:type="simple" xlink:href="cbnk-20230930.xsd#ConsolidatedStatementsofComprehensiveIncomeunaudited"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncomeunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_802157df-439e-4321-a6c0-2d48da19af9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_22379a3f-9d9a-4c17-bdc3-0f7f21afc58a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_802157df-439e-4321-a6c0-2d48da19af9f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_22379a3f-9d9a-4c17-bdc3-0f7f21afc58a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_db65a463-5cc7-4ada-b579-4c37a340991f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_802157df-439e-4321-a6c0-2d48da19af9f" xlink:to="loc_us-gaap_NetIncomeLoss_db65a463-5cc7-4ada-b579-4c37a340991f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4035a89b-39d8-4f34-b6d2-0e7db03592ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_111c3f00-5eeb-4193-84e6-1379a8c87b25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4035a89b-39d8-4f34-b6d2-0e7db03592ba" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_111c3f00-5eeb-4193-84e6-1379a8c87b25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_66deebcb-58de-46c2-a0da-af8e8c84e880" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4035a89b-39d8-4f34-b6d2-0e7db03592ba" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_66deebcb-58de-46c2-a0da-af8e8c84e880" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofCashFlowsunaudited" xlink:type="simple" xlink:href="cbnk-20230930.xsd#ConsolidatedStatementsofCashFlowsunaudited"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofCashFlowsunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_6ffbb210-b30f-4d7c-81d1-723506b0d796" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_NetIncomeLoss_6ffbb210-b30f-4d7c-81d1-723506b0d796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_CreditLossExpenseReversalOnUnfundedCommitments_b511f937-40d3-4364-b864-126e9c74fd9f" xlink:href="cbnk-20230930.xsd#cbnk_CreditLossExpenseReversalOnUnfundedCommitments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_cbnk_CreditLossExpenseReversalOnUnfundedCommitments_b511f937-40d3-4364-b864-126e9c74fd9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherLosses_6765535b-9487-4c12-a8cb-60503891aa7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_ProvisionForOtherLosses_6765535b-9487-4c12-a8cb-60503891aa7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable_5dda0299-3f10-404f-ba73-4c466492dab6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable_5dda0299-3f10-404f-ba73-4c466492dab6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_9530a35a-4d4d-499e-8257-deb624f068ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_9530a35a-4d4d-499e-8257-deb624f068ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock_102bdd36-c998-4de2-8cbb-3a3d2d9dd3ba" xlink:href="cbnk-20230930.xsd#cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock_102bdd36-c998-4de2-8cbb-3a3d2d9dd3ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_305d334b-85d5-4621-a5db-2562f8f51bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_305d334b-85d5-4621-a5db-2562f8f51bf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_e8becb4e-339c-40a9-8543-94e4da014e2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_e8becb4e-339c-40a9-8543-94e4da014e2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_c8773048-c55f-4547-aa68-0ca97d9e541c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_c8773048-c55f-4547-aa68-0ca97d9e541c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_IncreaseDecreaseDerivativesValuationOnAllowance_4178833d-2503-431f-88d6-179692a09426" xlink:href="cbnk-20230930.xsd#cbnk_IncreaseDecreaseDerivativesValuationOnAllowance"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_cbnk_IncreaseDecreaseDerivativesValuationOnAllowance_4178833d-2503-431f-88d6-179692a09426" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_fddc5554-f2ed-4c6c-854d-929f83068114" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_fddc5554-f2ed-4c6c-854d-929f83068114" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_26946bc2-b4eb-4384-86dd-9da4cd2119d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_26946bc2-b4eb-4384-86dd-9da4cd2119d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_1ec8bc93-0e3d-41bc-b3b6-710a5690a1b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_1ec8bc93-0e3d-41bc-b3b6-710a5690a1b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_bbdc7a04-0ece-4d3f-8dfe-01704f0076a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_ShareBasedCompensation_bbdc7a04-0ece-4d3f-8dfe-01704f0076a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_f085de1c-1adf-4dcc-9a3f-3d670d3f8ddd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDeferredCompensation"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_f085de1c-1adf-4dcc-9a3f-3d670d3f8ddd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationNonproduction_cf7627e9-91e7-4c30-91da-c28d0ecc7616" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationNonproduction"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_DepreciationNonproduction_cf7627e9-91e7-4c30-91da-c28d0ecc7616" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_6d226243-eb39-407e-8153-9fcbc801b303" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_6d226243-eb39-407e-8153-9fcbc801b303" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_MortgageBankingAndServicingGainLoss_04cfbbfb-0acc-4f8b-8aeb-70e72eae0308" xlink:href="cbnk-20230930.xsd#cbnk_MortgageBankingAndServicingGainLoss"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_cbnk_MortgageBankingAndServicingGainLoss_04cfbbfb-0acc-4f8b-8aeb-70e72eae0308" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue_4865ebc0-9892-4972-b886-bf304e4f9903" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue_4865ebc0-9892-4972-b886-bf304e4f9903" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_36e944bf-420c-4f52-91d1-9015a7387405" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_36e944bf-420c-4f52-91d1-9015a7387405" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_c1e28c43-ecc0-40f4-b6f5-e5be9da71b85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="21" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_c1e28c43-ecc0-40f4-b6f5-e5be9da71b85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_FinancingReceivableCreditLossExpenseReversalNetOfReleaseOfCreditLossesOnUnfundedCommitments_af58c00f-86e1-46cc-a6d3-9befc023d7d2" xlink:href="cbnk-20230930.xsd#cbnk_FinancingReceivableCreditLossExpenseReversalNetOfReleaseOfCreditLossesOnUnfundedCommitments"/>
    <link:calculationArc order="22" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_cbnk_FinancingReceivableCreditLossExpenseReversalNetOfReleaseOfCreditLossesOnUnfundedCommitments_af58c00f-86e1-46cc-a6d3-9befc023d7d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesGainLossExcludingOtherThanTemporaryImpairments_56b1f8e5-00a8-470e-b432-1ce65a1fb243" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesGainLossExcludingOtherThanTemporaryImpairments"/>
    <link:calculationArc order="23" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_26f2768b-2594-492f-ac78-738bf5e6d03a" xlink:to="loc_us-gaap_MarketableSecuritiesGainLossExcludingOtherThanTemporaryImpairments_56b1f8e5-00a8-470e-b432-1ce65a1fb243" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_58f8c8da-5dd0-43b9-bff4-340fa965299a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06eb7a11-ac28-4b2d-afac-5ad1af278a99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_58f8c8da-5dd0-43b9-bff4-340fa965299a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06eb7a11-ac28-4b2d-afac-5ad1af278a99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e3ab9c5e-bba4-42fc-9d1d-4a4f38046aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_58f8c8da-5dd0-43b9-bff4-340fa965299a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e3ab9c5e-bba4-42fc-9d1d-4a4f38046aa0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0a1a8488-0b20-4834-b597-915b386c656a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_58f8c8da-5dd0-43b9-bff4-340fa965299a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0a1a8488-0b20-4834-b597-915b386c656a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_90279511-5c5d-4320-ad5b-c22acb6b190a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_f5fecf01-5147-432b-91d7-b977d2343b81" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_90279511-5c5d-4320-ad5b-c22acb6b190a" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_f5fecf01-5147-432b-91d7-b977d2343b81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_ee382fdb-1237-4f97-b175-422f95a99c67" xlink:href="cbnk-20230930.xsd#cbnk_PaymentsForProceedsFromRestrictedInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_90279511-5c5d-4320-ad5b-c22acb6b190a" xlink:to="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_ee382fdb-1237-4f97-b175-422f95a99c67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_5059d046-442d-4ba4-950a-4aeeeba3654a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromLoansReceivable"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_90279511-5c5d-4320-ad5b-c22acb6b190a" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_5059d046-442d-4ba4-950a-4aeeeba3654a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_60c116bf-9686-48e8-92e7-3896d86675f7" xlink:href="cbnk-20230930.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_90279511-5c5d-4320-ad5b-c22acb6b190a" xlink:to="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_60c116bf-9686-48e8-92e7-3896d86675f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_4b1d9de1-d911-4f42-bcdc-24096e898379" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_90279511-5c5d-4320-ad5b-c22acb6b190a" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_4b1d9de1-d911-4f42-bcdc-24096e898379" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_98418b1f-0b7a-4b88-8078-e5f081f1d564" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_90279511-5c5d-4320-ad5b-c22acb6b190a" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_98418b1f-0b7a-4b88-8078-e5f081f1d564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_ed338618-3ec2-4da6-8f30-ec9891bcf54c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_90279511-5c5d-4320-ad5b-c22acb6b190a" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_ed338618-3ec2-4da6-8f30-ec9891bcf54c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_99e6646f-b8a5-452b-8b6a-f2983568145e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_48432057-8f14-47ef-842d-931561fb00ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetChangeInterestBearingDepositsDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_99e6646f-b8a5-452b-8b6a-f2983568145e" xlink:to="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_48432057-8f14-47ef-842d-931561fb00ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_4d6b29a6-f2c2-43f9-8b14-b78879e6350b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetChangeNoninterestBearingDepositsDomestic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_99e6646f-b8a5-452b-8b6a-f2983568145e" xlink:to="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_4d6b29a6-f2c2-43f9-8b14-b78879e6350b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5f78bae6-b678-4468-b43a-607fc8a6734e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_99e6646f-b8a5-452b-8b6a-f2983568145e" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5f78bae6-b678-4468-b43a-607fc8a6734e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_38f3e9cd-b362-4f6a-ac52-938c282cc72a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_99e6646f-b8a5-452b-8b6a-f2983568145e" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_38f3e9cd-b362-4f6a-ac52-938c282cc72a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_6da4b370-f290-4221-803b-a4907dcd634e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_99e6646f-b8a5-452b-8b6a-f2983568145e" xlink:to="loc_us-gaap_PaymentsOfDividends_6da4b370-f290-4221-803b-a4907dcd634e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_684b3b7d-710d-4eca-871a-2a35579f149c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_99e6646f-b8a5-452b-8b6a-f2983568145e" xlink:to="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_684b3b7d-710d-4eca-871a-2a35579f149c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationComprehensiveLossDetails" xlink:type="simple" xlink:href="cbnk-20230930.xsd#NatureofBusinessandBasisofPresentationComprehensiveLossDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationComprehensiveLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_37cd43e1-3fa2-4d56-84d1-30c4fb8c81c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociBeforeTaxAttributableToParent_339741ab-65c8-494f-a824-f4bfeade2815" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37cd43e1-3fa2-4d56-84d1-30c4fb8c81c9" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_339741ab-65c8-494f-a824-f4bfeade2815" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociTaxAttributableToParent_8e879cdf-2086-47aa-89b5-413b3ebed9af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37cd43e1-3fa2-4d56-84d1-30c4fb8c81c9" xlink:to="loc_us-gaap_AociTaxAttributableToParent_8e879cdf-2086-47aa-89b5-413b3ebed9af" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedCosttoEstimatedFairValueDetails" xlink:type="simple" xlink:href="cbnk-20230930.xsd#InvestmentSecuritiesAmortizedCosttoEstimatedFairValueDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedCosttoEstimatedFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_2d5c6b6d-b876-48e6-b4a8-c90fc316f9e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_98f19252-2237-4731-a234-5d82634575da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_2d5c6b6d-b876-48e6-b4a8-c90fc316f9e3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_98f19252-2237-4731-a234-5d82634575da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_db3fc4f3-63b0-44a1-aa8d-cd4b5b67a73c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_2d5c6b6d-b876-48e6-b4a8-c90fc316f9e3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_db3fc4f3-63b0-44a1-aa8d-cd4b5b67a73c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_3abb4b09-aba7-4fbb-9a7c-3a75eaad4653" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_2d5c6b6d-b876-48e6-b4a8-c90fc316f9e3" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_3abb4b09-aba7-4fbb-9a7c-3a75eaad4653" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" xlink:href="cbnk-20230930.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_56a2d7b5-e8d8-4403-911d-4eed3ee3267c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_93966f3c-2d15-469e-a8b6-77134c4baebb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_56a2d7b5-e8d8-4403-911d-4eed3ee3267c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_93966f3c-2d15-469e-a8b6-77134c4baebb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_c9b1f56c-ea47-4530-86c1-6e7578ee9cad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_56a2d7b5-e8d8-4403-911d-4eed3ee3267c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_c9b1f56c-ea47-4530-86c1-6e7578ee9cad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_6feb2a28-2bda-47c4-910d-e281c18e7142" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_4f838bba-2e6f-4c4b-a60d-60d33e22cb2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6feb2a28-2bda-47c4-910d-e281c18e7142" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_4f838bba-2e6f-4c4b-a60d-60d33e22cb2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_f82a43f4-6540-4ff6-8d1b-6216308d9b58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6feb2a28-2bda-47c4-910d-e281c18e7142" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_f82a43f4-6540-4ff6-8d1b-6216308d9b58" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationofLoansDetails" xlink:type="simple" xlink:href="cbnk-20230930.xsd#PortfolioLoansReceivableClassificationofLoansDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationofLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_52116218-9a61-4122-a371-1189902a8b10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableDeferredIncome_c3468a66-1a8e-4c39-9501-0dfeb662f399" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableDeferredIncome"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_52116218-9a61-4122-a371-1189902a8b10" xlink:to="loc_us-gaap_FinancingReceivableDeferredIncome_c3468a66-1a8e-4c39-9501-0dfeb662f399" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_330b4179-56d4-4bef-9859-a7f01ee1f894" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_52116218-9a61-4122-a371-1189902a8b10" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_330b4179-56d4-4bef-9859-a7f01ee1f894" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_0af2c202-e9b4-4f2e-9c2c-4347cad89f77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_52116218-9a61-4122-a371-1189902a8b10" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_0af2c202-e9b4-4f2e-9c2c-4347cad89f77" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableImpairedLoansDetails" xlink:type="simple" xlink:href="cbnk-20230930.xsd#PortfolioLoansReceivableImpairedLoansDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableImpairedLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_b723b0fc-c6fe-464b-ad16-ebcd89d2f26e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_4d4dfc0b-9d16-4ad2-aa29-538ac0310da4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_b723b0fc-c6fe-464b-ad16-ebcd89d2f26e" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_4d4dfc0b-9d16-4ad2-aa29-538ac0310da4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_519a1312-87d8-4d35-9d86-e567a8d90937" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_b723b0fc-c6fe-464b-ad16-ebcd89d2f26e" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_519a1312-87d8-4d35-9d86-e567a8d90937" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableCreditQualityIndicatorsandChargeoffsDetails" xlink:type="simple" xlink:href="cbnk-20230930.xsd#PortfolioLoansReceivableCreditQualityIndicatorsandChargeoffsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableCreditQualityIndicatorsandChargeoffsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_9047489c-388c-4952-8e82-2107b82d9ad7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_fc030f4b-d448-41dd-93a9-752960e9f452" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_9047489c-388c-4952-8e82-2107b82d9ad7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_fc030f4b-d448-41dd-93a9-752960e9f452" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_9f695055-37f3-460d-a92c-53b9244dc8a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_9047489c-388c-4952-8e82-2107b82d9ad7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_9f695055-37f3-460d-a92c-53b9244dc8a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_c312091b-6d63-4963-a662-ab3a46560eac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_9047489c-388c-4952-8e82-2107b82d9ad7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_c312091b-6d63-4963-a662-ab3a46560eac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_eebc1861-9257-43ae-b1f1-6e88b5624bbb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_9047489c-388c-4952-8e82-2107b82d9ad7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_eebc1861-9257-43ae-b1f1-6e88b5624bbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_55e27802-f341-4e3a-9c64-91ab92dd8682" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_9047489c-388c-4952-8e82-2107b82d9ad7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_55e27802-f341-4e3a-9c64-91ab92dd8682" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_a96466dd-217c-408b-8bd3-7d86fb020ae5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_9047489c-388c-4952-8e82-2107b82d9ad7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_a96466dd-217c-408b-8bd3-7d86fb020ae5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_d6ef5140-0253-4311-a01e-53b835f82bcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_9047489c-388c-4952-8e82-2107b82d9ad7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_d6ef5140-0253-4311-a01e-53b835f82bcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_aefc818f-3bb6-4f12-8129-6011d94f7316" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_545542bf-71f3-4f27-a74f-ff2eccfd567e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_aefc818f-3bb6-4f12-8129-6011d94f7316" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_545542bf-71f3-4f27-a74f-ff2eccfd567e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_6f601374-fb4a-4e1a-ac41-158ccb2cc93e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_aefc818f-3bb6-4f12-8129-6011d94f7316" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_6f601374-fb4a-4e1a-ac41-158ccb2cc93e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_1b5c8453-0f9a-48d4-8ce6-faa664d58bfe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_aefc818f-3bb6-4f12-8129-6011d94f7316" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_1b5c8453-0f9a-48d4-8ce6-faa664d58bfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_badef8d5-ed96-4e8d-ab26-e5da68086022" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_aefc818f-3bb6-4f12-8129-6011d94f7316" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_badef8d5-ed96-4e8d-ab26-e5da68086022" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_6de92824-a126-4430-ae3d-8e3511b9f0ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_aefc818f-3bb6-4f12-8129-6011d94f7316" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_6de92824-a126-4430-ae3d-8e3511b9f0ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_bdcd56c1-29c8-478f-92cf-e93fd436aea6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_aefc818f-3bb6-4f12-8129-6011d94f7316" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_bdcd56c1-29c8-478f-92cf-e93fd436aea6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_55b39140-9b4b-44ce-874c-d9368eb6c07f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_aefc818f-3bb6-4f12-8129-6011d94f7316" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_55b39140-9b4b-44ce-874c-d9368eb6c07f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails" xlink:type="simple" xlink:href="cbnk-20230930.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_2e301878-2e36-4f1a-b5d5-0b3825abffd5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_LesseeOperatingLeaseLiabilityToBePaidYearThreeAndThereafter_1b0123be-1407-4769-9430-2ec7149fdaa6" xlink:href="cbnk-20230930.xsd#cbnk_LesseeOperatingLeaseLiabilityToBePaidYearThreeAndThereafter"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2e301878-2e36-4f1a-b5d5-0b3825abffd5" xlink:to="loc_cbnk_LesseeOperatingLeaseLiabilityToBePaidYearThreeAndThereafter_1b0123be-1407-4769-9430-2ec7149fdaa6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_a978ff31-6835-473e-9058-8b1d42d9d0a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2e301878-2e36-4f1a-b5d5-0b3825abffd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_a978ff31-6835-473e-9058-8b1d42d9d0a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_ff52184a-4486-4c4f-9a61-5061dbc73174" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2e301878-2e36-4f1a-b5d5-0b3825abffd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_ff52184a-4486-4c4f-9a61-5061dbc73174" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_53ea2f82-e1cd-45fc-8bf8-9162842020c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2e301878-2e36-4f1a-b5d5-0b3825abffd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_53ea2f82-e1cd-45fc-8bf8-9162842020c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_0ec90427-5e78-4d1b-bdc4-a17dc71f2b2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2e301878-2e36-4f1a-b5d5-0b3825abffd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_0ec90427-5e78-4d1b-bdc4-a17dc71f2b2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_bb7ae61b-46f8-42a4-bb67-7eed80e3d62a" xlink:href="cbnk-20230930.xsd#cbnk_OperatingLeaseRightOfUseAssetNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_6f0547ce-3e58-4d28-a380-5fe92bf82b5e" xlink:href="cbnk-20230930.xsd#cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseRightOfUseAssetNet_bb7ae61b-46f8-42a4-bb67-7eed80e3d62a" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_6f0547ce-3e58-4d28-a380-5fe92bf82b5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetBeforeAccumulatedAmortization_e972502d-edb4-4ade-9268-696935113fae" xlink:href="cbnk-20230930.xsd#cbnk_OperatingLeaseRightOfUseAssetBeforeAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseRightOfUseAssetNet_bb7ae61b-46f8-42a4-bb67-7eed80e3d62a" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetBeforeAccumulatedAmortization_e972502d-edb4-4ade-9268-696935113fae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_9726dfbb-f1a6-40c0-b36d-ac30568afdc1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseLiabilityIncludingAccumulatedAmortization_dd1bf55a-cbe1-473f-a3da-a5189c2bc08b" xlink:href="cbnk-20230930.xsd#cbnk_OperatingLeaseLiabilityIncludingAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_9726dfbb-f1a6-40c0-b36d-ac30568afdc1" xlink:to="loc_cbnk_OperatingLeaseLiabilityIncludingAccumulatedAmortization_dd1bf55a-cbe1-473f-a3da-a5189c2bc08b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseLiabilityAccumulatedAmortization_fa3ca363-337d-452b-9662-6f6a2648b2b2" xlink:href="cbnk-20230930.xsd#cbnk_OperatingLeaseLiabilityAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_9726dfbb-f1a6-40c0-b36d-ac30568afdc1" xlink:to="loc_cbnk_OperatingLeaseLiabilityAccumulatedAmortization_fa3ca363-337d-452b-9662-6f6a2648b2b2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails_1" xlink:type="simple" xlink:href="cbnk-20230930.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_159fa87d-8fc1-4487-a86e-f6e95d4fbe21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_2791c1e3-d8a2-4eed-aee6-c60cc04db25e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_159fa87d-8fc1-4487-a86e-f6e95d4fbe21" xlink:to="loc_us-gaap_OperatingLeaseLiability_2791c1e3-d8a2-4eed-aee6-c60cc04db25e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_7df49497-ad2e-43b3-82f4-1cb17f3e29b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_159fa87d-8fc1-4487-a86e-f6e95d4fbe21" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_7df49497-ad2e-43b3-82f4-1cb17f3e29b1" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
