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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:d66675a5-bbfa-4b98-a6d7-15856122402e,g:6f5034df-bbea-4e9f-af40-4aef119804e2-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="cbnk-20211231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_07134f6f-d464-4d54-a1d5-6f6c30819911" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_90e83b1b-76fb-4afb-a1b7-12e915e0a097" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_07134f6f-d464-4d54-a1d5-6f6c30819911" xlink:to="loc_us-gaap_CashAndDueFromBanks_90e83b1b-76fb-4afb-a1b7-12e915e0a097" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_6dff20ff-f7dc-42c5-8249-f55721a03f0e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_07134f6f-d464-4d54-a1d5-6f6c30819911" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_6dff20ff-f7dc-42c5-8249-f55721a03f0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSold_3179dd60-6d71-4799-9cbe-cbc22f1beb1b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalFundsSold"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_07134f6f-d464-4d54-a1d5-6f6c30819911" xlink:to="loc_us-gaap_FederalFundsSold_3179dd60-6d71-4799-9cbe-cbc22f1beb1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_58f009d6-3c06-426b-882e-4c9410fb2b55" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_dd79fd37-5044-44a1-913d-890ddec895c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_58f009d6-3c06-426b-882e-4c9410fb2b55" xlink:to="loc_us-gaap_OtherBorrowings_dd79fd37-5044-44a1-913d-890ddec895c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_ffd83690-de0b-4a66-8965-97a28db0aaf8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesLongTerm"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_58f009d6-3c06-426b-882e-4c9410fb2b55" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_ffd83690-de0b-4a66-8965-97a28db0aaf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_11415c7d-8033-42c8-938e-6391e5c0a4fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_58f009d6-3c06-426b-882e-4c9410fb2b55" xlink:to="loc_us-gaap_OtherLiabilities_11415c7d-8033-42c8-938e-6391e5c0a4fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_b4b8e8a4-d323-4cac-a203-5ebd09147fe7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_58f009d6-3c06-426b-882e-4c9410fb2b55" xlink:to="loc_us-gaap_Deposits_b4b8e8a4-d323-4cac-a203-5ebd09147fe7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_c622ed48-1a9c-4322-b074-2ed3ef17161f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_58f009d6-3c06-426b-882e-4c9410fb2b55" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_c622ed48-1a9c-4322-b074-2ed3ef17161f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_09eac40f-f567-440d-b487-f48d3703d9ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_f4292ca1-d008-465b-b2d7-2d6b5e3f94b1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_09eac40f-f567-440d-b487-f48d3703d9ba" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_f4292ca1-d008-465b-b2d7-2d6b5e3f94b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_da7ab2fc-9ef1-4f2b-962d-9f60bbab3204" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_09eac40f-f567-440d-b487-f48d3703d9ba" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_da7ab2fc-9ef1-4f2b-962d-9f60bbab3204" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_67330179-182c-494f-9374-7d5ef2e81603" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_67330179-182c-494f-9374-7d5ef2e81603" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_6319032f-26ae-485c-9343-a6ded063a1a9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_6319032f-26ae-485c-9343-a6ded063a1a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestments_cea98dd3-60bd-4dac-9a8f-915e3ea46ab0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_RestrictedInvestments_cea98dd3-60bd-4dac-9a8f-915e3ea46ab0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_940e097f-c923-48c3-8ef1-b30ffbc5902e" xlink:href="cbnk-20211231.xsd#cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_cbnk_FinancingReceivableSmallBusinessAdministrationPaycheckProtectionProgramNetOfFees_940e097f-c923-48c3-8ef1-b30ffbc5902e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_e2eebabe-5a65-4355-9fc5-f7185678eeb6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_e2eebabe-5a65-4355-9fc5-f7185678eeb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_49810525-95d6-4b62-87d0-cd61eb2fedc6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_49810525-95d6-4b62-87d0-cd61eb2fedc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_84909134-d82f-4c45-9f7e-95f28172e36f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_MarketableSecurities_84909134-d82f-4c45-9f7e-95f28172e36f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_8ef56098-d363-49d1-af96-73085f4a1fb9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BankOwnedLifeInsurance"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_8ef56098-d363-49d1-af96-73085f4a1fb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_6fd7539d-337b-42a0-9e1d-1b4da3784f0a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_OtherAssets_6fd7539d-337b-42a0-9e1d-1b4da3784f0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_c9d334a3-1e83-4b44-8bc6-1baa32579888" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_NotesReceivableNet_c9d334a3-1e83-4b44-8bc6-1baa32579888" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_cea585e9-58f5-4f17-affe-337be3719f20" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_cea585e9-58f5-4f17-affe-337be3719f20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_e270e7e5-ebc6-436a-b551-e849eff3cfb8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_e270e7e5-ebc6-436a-b551-e849eff3cfb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_19b928dd-d16d-489f-bceb-e9af516449d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f8730b12-d418-4266-a02b-39ee7963a9fd" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_19b928dd-d16d-489f-bceb-e9af516449d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_08259494-010e-44c5-a4c8-88a4e7757bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_73a54d2e-e5dd-46b9-9a73-93b5093ee304" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_08259494-010e-44c5-a4c8-88a4e7757bb1" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_73a54d2e-e5dd-46b9-9a73-93b5093ee304" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_FinancingReceivableBeforeAllowanceForCreditLossNetOfDeferredCommitmentFee_95a17c35-0d07-47f8-969e-6f9dc8a61855" xlink:href="cbnk-20211231.xsd#cbnk_FinancingReceivableBeforeAllowanceForCreditLossNetOfDeferredCommitmentFee"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_08259494-010e-44c5-a4c8-88a4e7757bb1" xlink:to="loc_cbnk_FinancingReceivableBeforeAllowanceForCreditLossNetOfDeferredCommitmentFee_95a17c35-0d07-47f8-969e-6f9dc8a61855" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_d19e9791-f51b-450c-92a7-c68d9b5635e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_45a99b75-fea5-486e-af54-3f5f1740485e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d19e9791-f51b-450c-92a7-c68d9b5635e2" xlink:to="loc_us-gaap_StockholdersEquity_45a99b75-fea5-486e-af54-3f5f1740485e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_e8ead897-416d-4915-af42-ca1f94f50802" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d19e9791-f51b-450c-92a7-c68d9b5635e2" xlink:to="loc_us-gaap_Liabilities_e8ead897-416d-4915-af42-ca1f94f50802" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_8cd89749-f3d5-4112-af2e-770e9530841a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_836b4739-829f-4370-b3b1-3a22ca3a6174" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8cd89749-f3d5-4112-af2e-770e9530841a" xlink:to="loc_us-gaap_CommonStockValue_836b4739-829f-4370-b3b1-3a22ca3a6174" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_e80f0b68-cb31-4c78-8d9b-ae6363467ff4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8cd89749-f3d5-4112-af2e-770e9530841a" xlink:to="loc_us-gaap_AdditionalPaidInCapital_e80f0b68-cb31-4c78-8d9b-ae6363467ff4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_c559f66b-6cc9-42d6-822f-8d1e55263b3e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8cd89749-f3d5-4112-af2e-770e9530841a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_c559f66b-6cc9-42d6-822f-8d1e55263b3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_093da92f-5ebe-4f6f-bb49-365afce7ca00" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8cd89749-f3d5-4112-af2e-770e9530841a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_093da92f-5ebe-4f6f-bb49-365afce7ca00" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofIncome" xlink:type="simple" xlink:href="cbnk-20211231.xsd#ConsolidatedStatementsofIncome"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_06ea9fa9-820b-4212-975e-5d4f23b0f8e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_1e609928-e35f-453f-a18b-80c1e08ef155" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_06ea9fa9-820b-4212-975e-5d4f23b0f8e7" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_1e609928-e35f-453f-a18b-80c1e08ef155" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_8df4d9e7-5431-47cf-8671-8e3a503b043e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_06ea9fa9-820b-4212-975e-5d4f23b0f8e7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_8df4d9e7-5431-47cf-8671-8e3a503b043e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_199cd8e8-fe7f-4e78-863f-6026020a48c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_06ea9fa9-820b-4212-975e-5d4f23b0f8e7" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_199cd8e8-fe7f-4e78-863f-6026020a48c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1fb51ab6-e579-4f05-ac38-c01bae86eabd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c2f128ec-9d88-46fb-aa68-51a7af09fa81" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1fb51ab6-e579-4f05-ac38-c01bae86eabd" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c2f128ec-9d88-46fb-aa68-51a7af09fa81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_789ddc63-5d2a-4162-944d-1729fce71b27" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_1fb51ab6-e579-4f05-ac38-c01bae86eabd" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_789ddc63-5d2a-4162-944d-1729fce71b27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_04f6d669-9b60-4a7a-85cb-3c8fc3456006" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_02e6ecf8-f242-4a01-8f34-69d4e1929d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_04f6d669-9b60-4a7a-85cb-3c8fc3456006" xlink:to="loc_us-gaap_InterestExpenseDeposits_02e6ecf8-f242-4a01-8f34-69d4e1929d7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_b022ecda-5374-4f01-bdcc-da3fe8f26a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_04f6d669-9b60-4a7a-85cb-3c8fc3456006" xlink:to="loc_us-gaap_InterestExpenseBorrowings_b022ecda-5374-4f01-bdcc-da3fe8f26a9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_0309fe1a-386f-460c-aef7-a9e600f574ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_b336749d-fd22-409d-9c1f-0c744aa1f606" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_0309fe1a-386f-460c-aef7-a9e600f574ff" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_b336749d-fd22-409d-9c1f-0c744aa1f606" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_55aa0a5c-7419-45b5-be9e-022ae959c16d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_0309fe1a-386f-460c-aef7-a9e600f574ff" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_55aa0a5c-7419-45b5-be9e-022ae959c16d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_718c7266-fcd9-4d50-9d74-ae536a8e2181" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeFederalFundsSold"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_0309fe1a-386f-460c-aef7-a9e600f574ff" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_718c7266-fcd9-4d50-9d74-ae536a8e2181" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_c0b8d3ff-3deb-46d2-afd4-9f1d67ca7c2c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_836acab7-6b91-4bac-b359-93d4346e1193" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_c0b8d3ff-3deb-46d2-afd4-9f1d67ca7c2c" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_836acab7-6b91-4bac-b359-93d4346e1193" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_3bcfc95f-b212-4248-9fd6-29383fbf76ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_c0b8d3ff-3deb-46d2-afd4-9f1d67ca7c2c" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_3bcfc95f-b212-4248-9fd6-29383fbf76ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_172f26bf-c0f0-4065-b447-a4afe4f06c95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_0c83f037-2238-4fa7-b267-eb5dfa9055bb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_172f26bf-c0f0-4065-b447-a4afe4f06c95" xlink:to="loc_us-gaap_NoninterestExpense_0c83f037-2238-4fa7-b267-eb5dfa9055bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_1f4b9821-e3a2-4d3c-833e-9bf83203ab7d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_172f26bf-c0f0-4065-b447-a4afe4f06c95" xlink:to="loc_us-gaap_NoninterestIncome_1f4b9821-e3a2-4d3c-833e-9bf83203ab7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_f3bf9363-d1d4-4d35-a746-24a3f7879bbd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_172f26bf-c0f0-4065-b447-a4afe4f06c95" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_f3bf9363-d1d4-4d35-a746-24a3f7879bbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_3938d579-dd53-46a3-a2b6-224242e2b924" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_488f4b8a-731e-49e8-90b0-955656937884" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_3938d579-dd53-46a3-a2b6-224242e2b924" xlink:to="loc_us-gaap_InterestExpense_488f4b8a-731e-49e8-90b0-955656937884" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_d568b28f-d319-4184-98cb-52b6e53ffd54" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_3938d579-dd53-46a3-a2b6-224242e2b924" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_d568b28f-d319-4184-98cb-52b6e53ffd54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_a156acb0-5998-4a12-9f04-5f9e1df850b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:to="loc_us-gaap_LaborAndRelatedExpense_a156acb0-5998-4a12-9f04-5f9e1df850b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OccupancyAndEquipmentExpense_fe062d27-c06c-42ef-a93b-c6434b82ed47" xlink:href="cbnk-20211231.xsd#cbnk_OccupancyAndEquipmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:to="loc_cbnk_OccupancyAndEquipmentExpense_fe062d27-c06c-42ef-a93b-c6434b82ed47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_b763cecb-d58f-40ba-b843-bb243dd7cf22" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:to="loc_us-gaap_ProfessionalFees_b763cecb-d58f-40ba-b843-bb243dd7cf22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_b060563a-0fb6-410f-80fd-45ed37d1c500" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_b060563a-0fb6-410f-80fd-45ed37d1c500" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_03095f04-8f3c-4c92-9578-e5b00e21eefa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdvertisingExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:to="loc_us-gaap_AdvertisingExpense_03095f04-8f3c-4c92-9578-e5b00e21eefa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanProcessingFee_200e8e12-0351-486b-826a-1c6dd2677f2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoanProcessingFee"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:to="loc_us-gaap_LoanProcessingFee_200e8e12-0351-486b-826a-1c6dd2677f2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OtherRealEstateExpensesNet_0ec18242-3bb6-4701-a046-95bbc39dc0e0" xlink:href="cbnk-20211231.xsd#cbnk_OtherRealEstateExpensesNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:to="loc_cbnk_OtherRealEstateExpensesNet_0ec18242-3bb6-4701-a046-95bbc39dc0e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_62db45ee-990a-4e42-8ce1-957d58564274" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6bc2639c-8e92-4264-9929-06626b3fbe43" xlink:to="loc_us-gaap_OtherNoninterestExpense_62db45ee-990a-4e42-8ce1-957d58564274" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="cbnk-20211231.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_b80dd198-61ec-4920-9ab6-3a6e740f79ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_835df2ca-8085-4d72-a5c1-ed4ec0335dfd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_b80dd198-61ec-4920-9ab6-3a6e740f79ef" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_835df2ca-8085-4d72-a5c1-ed4ec0335dfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_c9b4f171-4bc1-4687-afb7-3d2bc0374c8a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_b80dd198-61ec-4920-9ab6-3a6e740f79ef" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_c9b4f171-4bc1-4687-afb7-3d2bc0374c8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d8b8d500-b4bd-46a2-8ecf-ebcbac41ad88" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_bc3731d1-5b25-4c66-85cd-015542e56d27" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d8b8d500-b4bd-46a2-8ecf-ebcbac41ad88" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_bc3731d1-5b25-4c66-85cd-015542e56d27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_b3c52d5e-e8a1-435a-a33f-847d9b935b88" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d8b8d500-b4bd-46a2-8ecf-ebcbac41ad88" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_b3c52d5e-e8a1-435a-a33f-847d9b935b88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_f63b2255-13c8-44a6-9641-995a8c0640e9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_c1af22d1-7ca6-4811-bee0-d5ab2cf23817" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f63b2255-13c8-44a6-9641-995a8c0640e9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_c1af22d1-7ca6-4811-bee0-d5ab2cf23817" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_af85a87c-d3bf-4ebd-af23-3741549442f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f63b2255-13c8-44a6-9641-995a8c0640e9" xlink:to="loc_us-gaap_NetIncomeLoss_af85a87c-d3bf-4ebd-af23-3741549442f5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="cbnk-20211231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_13e314e9-fdfd-401b-aea4-a8a7bebba751" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_317c520f-bd1c-4a6c-b225-dc696031bfe3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_13e314e9-fdfd-401b-aea4-a8a7bebba751" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_317c520f-bd1c-4a6c-b225-dc696031bfe3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_384d4b17-85a3-4bad-bcc9-8ba15742e06c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_13e314e9-fdfd-401b-aea4-a8a7bebba751" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_384d4b17-85a3-4bad-bcc9-8ba15742e06c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_7b8237ca-8252-46f2-9f61-e143088a913e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_13e314e9-fdfd-401b-aea4-a8a7bebba751" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_7b8237ca-8252-46f2-9f61-e143088a913e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_3f1efaaa-389f-4f2b-b70a-51e6f02a6102" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_3f1efaaa-389f-4f2b-b70a-51e6f02a6102" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_647781f0-cbe0-4b78-80dd-37c1f91e9de9" xlink:href="cbnk-20211231.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_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_cbnk_PaymentsForProceedsFromRestrictedInvestments_647781f0-cbe0-4b78-80dd-37c1f91e9de9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_f76e0d46-db74-4a9d-bc10-bc257ffd5258" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_f76e0d46-db74-4a9d-bc10-bc257ffd5258" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_ce71f1d7-4f65-4752-b4bc-331a060534cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_ce71f1d7-4f65-4752-b4bc-331a060534cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_c51f695b-f563-4ad9-ae96-c5d451cf943f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_c51f695b-f563-4ad9-ae96-c5d451cf943f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_76b01bfe-4aa7-496d-b25c-cd5174591831" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansReceivable"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_76b01bfe-4aa7-496d-b25c-cd5174591831" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_d8974c4b-829e-41c1-bd07-781bca623dea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromProductiveAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_d8974c4b-829e-41c1-bd07-781bca623dea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_4ce11f57-c05d-45fb-946c-2d8538cbfb84" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_4ce11f57-c05d-45fb-946c-2d8538cbfb84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_3ea81fd4-82e5-4bdf-8d5b-0eab3d3aad29" xlink:href="cbnk-20211231.xsd#cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9d8c75ea-7835-408b-a142-a4b5f9db8a23" xlink:to="loc_cbnk_PaymentsForProceedsFromLoansReceivableSmallBusinessAdministrationPaycheckProtectionProgram_3ea81fd4-82e5-4bdf-8d5b-0eab3d3aad29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_5a185841-6c8e-4107-beb8-ccc600b7b660" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_5a185841-6c8e-4107-beb8-ccc600b7b660" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_d0a32e23-77e3-4ba1-99b1-7509be90693e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_d0a32e23-77e3-4ba1-99b1-7509be90693e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_MortgageBankingAndServicingGainLoss_aab346f6-016f-4437-8db1-ca9c93f42bb1" xlink:href="cbnk-20211231.xsd#cbnk_MortgageBankingAndServicingGainLoss"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_cbnk_MortgageBankingAndServicingGainLoss_aab346f6-016f-4437-8db1-ca9c93f42bb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1f32f626-54ec-4bdf-aec1-1ed1760d6aa8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_NetIncomeLoss_1f32f626-54ec-4bdf-aec1-1ed1760d6aa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_18b54196-d90a-45ab-896a-b641c7654978" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_18b54196-d90a-45ab-896a-b641c7654978" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_8d7b77e4-e06c-409a-bea3-d44e6a35c498" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_8d7b77e4-e06c-409a-bea3-d44e6a35c498" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_eb01f61f-1e0f-482a-9211-d60029ab6b5d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_eb01f61f-1e0f-482a-9211-d60029ab6b5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_62eec06b-f3cd-4bb4-bd30-c8f338ad5b5b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_62eec06b-f3cd-4bb4-bd30-c8f338ad5b5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationNonproduction_ea803aa1-e2ab-40df-b250-65138092e9b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationNonproduction"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_DepreciationNonproduction_ea803aa1-e2ab-40df-b250-65138092e9b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_1d74dce1-e6c4-4395-a214-7e23df71ec0a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_1d74dce1-e6c4-4395-a214-7e23df71ec0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_b1e9c37d-ccbc-41e0-9eee-ce72e9064cbc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_b1e9c37d-ccbc-41e0-9eee-ce72e9064cbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4c7eb6f0-ef52-4e71-be72-c2a3ee2e0298" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4c7eb6f0-ef52-4e71-be72-c2a3ee2e0298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_37096b0b-feb6-492f-897e-60a49889e6fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredCompensation"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_37096b0b-feb6-492f-897e-60a49889e6fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f5fbe0eb-4dfd-4f56-9e5f-21ef177d880a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f5fbe0eb-4dfd-4f56-9e5f-21ef177d880a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherLosses_89509911-d1b0-4d8c-a552-029006469b06" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForOtherLosses"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_ProvisionForOtherLosses_89509911-d1b0-4d8c-a552-029006469b06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_50a38566-badc-45bc-9126-166ee4fad845" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_50a38566-badc-45bc-9126-166ee4fad845" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_329d9d40-f3cc-4b0e-a81a-c810e58dd7ed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_329d9d40-f3cc-4b0e-a81a-c810e58dd7ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_59810821-5fad-4216-a8d9-013e0218fb4f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_59810821-5fad-4216-a8d9-013e0218fb4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_739b5c87-10ce-4f92-b639-6d602c028a13" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_ShareBasedCompensation_739b5c87-10ce-4f92-b639-6d602c028a13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock_51d29990-1527-45a7-a9be-c8b3b6bf2660" xlink:href="cbnk-20211231.xsd#cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_cbnk_ShareBasedPaymentArrangementDirectorAndEmployeeCompensationPaidInStock_51d29990-1527-45a7-a9be-c8b3b6bf2660" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue_4684a29f-1ae8-42ab-acc0-4c2ce1c21777" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue"/>
    <link:calculationArc order="21" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue_4684a29f-1ae8-42ab-acc0-4c2ce1c21777" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DerivativesValuationAllowance_41af621f-344c-4452-b218-9dd2a1d1dfa0" xlink:href="cbnk-20211231.xsd#cbnk_DerivativesValuationAllowance"/>
    <link:calculationArc order="22" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_cbnk_DerivativesValuationAllowance_41af621f-344c-4452-b218-9dd2a1d1dfa0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_9dd24fec-d7db-4836-8d54-58762dd02c0d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate"/>
    <link:calculationArc order="23" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_95e8149f-1cd2-43c5-b82e-94012fe21f1b" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_9dd24fec-d7db-4836-8d54-58762dd02c0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_efac5b67-805d-4cf1-a293-3b332d5e96ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_b6d7d43f-1b68-43f7-bb8e-f9ff0906da59" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_efac5b67-805d-4cf1-a293-3b332d5e96ea" xlink:to="loc_us-gaap_PaymentsOfDividends_b6d7d43f-1b68-43f7-bb8e-f9ff0906da59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5461c223-b00d-4ce0-88d1-bf5db6ff07a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_efac5b67-805d-4cf1-a293-3b332d5e96ea" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5461c223-b00d-4ce0-88d1-bf5db6ff07a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_6a47f10e-8bc8-4063-96e2-28533dbcc792" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfOtherDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_efac5b67-805d-4cf1-a293-3b332d5e96ea" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_6a47f10e-8bc8-4063-96e2-28533dbcc792" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_a5eebc0f-d578-4531-b4c8-dd2095145783" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_efac5b67-805d-4cf1-a293-3b332d5e96ea" xlink:to="loc_us-gaap_IncreaseDecreaseInLoansFromOtherFederalHomeLoanBanks_a5eebc0f-d578-4531-b4c8-dd2095145783" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_92fccffd-9871-4d09-9d88-abab00f4cd57" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_efac5b67-805d-4cf1-a293-3b332d5e96ea" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_92fccffd-9871-4d09-9d88-abab00f4cd57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_c2c9e7a6-d6dd-4563-adb7-bc63e915b67e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetChangeNoninterestBearingDepositsDomestic"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_efac5b67-805d-4cf1-a293-3b332d5e96ea" xlink:to="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_c2c9e7a6-d6dd-4563-adb7-bc63e915b67e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_fad0f396-b863-4474-a530-3307c101bd20" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetChangeInterestBearingDepositsDomestic"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_efac5b67-805d-4cf1-a293-3b332d5e96ea" xlink:to="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_fad0f396-b863-4474-a530-3307c101bd20" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationComprehensiveIncomeDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#NatureofBusinessandBasisofPresentationComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/NatureofBusinessandBasisofPresentationComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6fcaf7bf-c0ba-45d2-a8df-80016346a973" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociBeforeTaxAttributableToParent_dcdc5f2b-efc8-4be6-ad1a-fbaa69f65a48" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AociBeforeTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6fcaf7bf-c0ba-45d2-a8df-80016346a973" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_dcdc5f2b-efc8-4be6-ad1a-fbaa69f65a48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociTaxAttributableToParent_57088e83-57b0-4f47-89e4-ade105ff6d1e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AociTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6fcaf7bf-c0ba-45d2-a8df-80016346a973" xlink:to="loc_us-gaap_AociTaxAttributableToParent_57088e83-57b0-4f47-89e4-ade105ff6d1e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedcosttoEstimatedFairValueDetails" xlink:type="simple" xlink:href="cbnk-20211231.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_6b2421fc-23f7-43cf-9b4f-8c04c8590873" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_24e2a2fa-965c-450f-aa6a-4abd165bf679" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_6b2421fc-23f7-43cf-9b4f-8c04c8590873" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_24e2a2fa-965c-450f-aa6a-4abd165bf679" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_38ee0f62-5cd7-4890-8937-585804227efd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_6b2421fc-23f7-43cf-9b4f-8c04c8590873" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_38ee0f62-5cd7-4890-8937-585804227efd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_fc82d2da-2375-4b1d-8de8-634da42819b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_6b2421fc-23f7-43cf-9b4f-8c04c8590873" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_fc82d2da-2375-4b1d-8de8-634da42819b8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#InvestmentSecuritiesUnrealizedLossesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_e16dedd7-4ca0-498b-a94e-d6d034369dc3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_487bdcfb-0f92-4c55-a4d1-f216e9bc539c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_e16dedd7-4ca0-498b-a94e-d6d034369dc3" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_487bdcfb-0f92-4c55-a4d1-f216e9bc539c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_72d18a51-e6db-4f11-8c6c-6df5f905966d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_e16dedd7-4ca0-498b-a94e-d6d034369dc3" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_72d18a51-e6db-4f11-8c6c-6df5f905966d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_f9753a34-255b-4097-9442-ba8d9d7ce3cd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_13451986-8fa8-4200-b22a-bff17d79905b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_f9753a34-255b-4097-9442-ba8d9d7ce3cd" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_13451986-8fa8-4200-b22a-bff17d79905b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_ffea5d23-109b-402a-9ff6-20f5b3cb85d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_f9753a34-255b-4097-9442-ba8d9d7ce3cd" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_ffea5d23-109b-402a-9ff6-20f5b3cb85d2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationofLoansDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#PortfolioLoansReceivableClassificationofLoansDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationofLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_8cbfaaa3-be1d-4fc7-a301-19f53ce0c3dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableDeferredIncome_73ca3e58-3347-48c2-8453-af4c70c3a7cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_NotesReceivableNet_8cbfaaa3-be1d-4fc7-a301-19f53ce0c3dd" xlink:to="loc_us-gaap_FinancingReceivableDeferredIncome_73ca3e58-3347-48c2-8453-af4c70c3a7cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_ae171617-6c34-4afc-8740-f2d896180363" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_8cbfaaa3-be1d-4fc7-a301-19f53ce0c3dd" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_ae171617-6c34-4afc-8740-f2d896180363" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_8f61d2b5-738d-4ac3-abe1-4c261429f785" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_8cbfaaa3-be1d-4fc7-a301-19f53ce0c3dd" xlink:to="loc_us-gaap_NotesReceivableGross_8f61d2b5-738d-4ac3-abe1-4c261429f785" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/PremisesandEquipmentDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#PremisesandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/PremisesandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_56273a59-7f0c-4254-b968-570f3112b15d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_fe0814ae-5f53-4c41-a62b-61999287592a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_56273a59-7f0c-4254-b968-570f3112b15d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_fe0814ae-5f53-4c41-a62b-61999287592a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_4f6d11fe-de89-4903-b34e-43642a488bdf" xlink:href="cbnk-20211231.xsd#cbnk_OperatingLeaseRightOfUseAssetNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_56273a59-7f0c-4254-b968-570f3112b15d" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetNet_4f6d11fe-de89-4903-b34e-43642a488bdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_7f3ea131-db02-40f7-82eb-8ef582098e64" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOther_f2f41eae-77d0-4581-8be1-7f9e8835a1f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_7f3ea131-db02-40f7-82eb-8ef582098e64" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOther_f2f41eae-77d0-4581-8be1-7f9e8835a1f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation_2d829a0a-9099-4c36-a32a-d3555527e70d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentOtherNet_7f3ea131-db02-40f7-82eb-8ef582098e64" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentOtherAccumulatedDepreciation_2d829a0a-9099-4c36-a32a-d3555527e70d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails" xlink:type="simple" xlink:href="cbnk-20211231.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_da5c976b-37db-4816-8993-00826a67dfe6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_16f8efc5-5a3c-40f9-a18b-b0d521fcd60e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_da5c976b-37db-4816-8993-00826a67dfe6" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_16f8efc5-5a3c-40f9-a18b-b0d521fcd60e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0da3fb2b-913c-4b7b-804b-5d3e473bee9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_da5c976b-37db-4816-8993-00826a67dfe6" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0da3fb2b-913c-4b7b-804b-5d3e473bee9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_5618757d-af56-4045-b3e3-8f143fd834b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_da5c976b-37db-4816-8993-00826a67dfe6" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_5618757d-af56-4045-b3e3-8f143fd834b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_df3ad5dc-224a-44b5-81d1-fbdae20ab34e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_da5c976b-37db-4816-8993-00826a67dfe6" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_df3ad5dc-224a-44b5-81d1-fbdae20ab34e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_d9dfbbcb-8718-445a-961f-3412776de82a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_da5c976b-37db-4816-8993-00826a67dfe6" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_d9dfbbcb-8718-445a-961f-3412776de82a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_ecc1d214-4b18-4162-b6b1-be9d48dc6d53" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseLiabilityAccumulatedAmortization_7b83e20d-8582-49f5-9e1b-528e87568785" xlink:href="cbnk-20211231.xsd#cbnk_OperatingLeaseLiabilityAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_ecc1d214-4b18-4162-b6b1-be9d48dc6d53" xlink:to="loc_cbnk_OperatingLeaseLiabilityAccumulatedAmortization_7b83e20d-8582-49f5-9e1b-528e87568785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseLiabilityIncludingAccumulatedAmortization_471db027-65f9-4da4-aaa1-b339325d858e" xlink:href="cbnk-20211231.xsd#cbnk_OperatingLeaseLiabilityIncludingAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_ecc1d214-4b18-4162-b6b1-be9d48dc6d53" xlink:to="loc_cbnk_OperatingLeaseLiabilityIncludingAccumulatedAmortization_471db027-65f9-4da4-aaa1-b339325d858e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_53bce2ca-c813-4999-a8ab-a9fc51625e7b" xlink:href="cbnk-20211231.xsd#cbnk_OperatingLeaseRightOfUseAssetNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_866ed12e-1c9a-494a-9d1e-dbef19f85f9d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseRightOfUseAssetNet_53bce2ca-c813-4999-a8ab-a9fc51625e7b" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_866ed12e-1c9a-494a-9d1e-dbef19f85f9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_78674462-b92a-47c4-88b2-3badf926586e" xlink:href="cbnk-20211231.xsd#cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_OperatingLeaseRightOfUseAssetNet_53bce2ca-c813-4999-a8ab-a9fc51625e7b" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetAccumulatedAmortization_78674462-b92a-47c4-88b2-3badf926586e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsandLiabilitiesandLeasePaymentObligationsDetails_1" xlink:type="simple" xlink:href="cbnk-20211231.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_b18d4e88-f2ae-4e89-ae7a-e06f0511d0c8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_66ce1afa-4618-4a2c-8b38-7d4628eedb1e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b18d4e88-f2ae-4e89-ae7a-e06f0511d0c8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_66ce1afa-4618-4a2c-8b38-7d4628eedb1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_a31a79f1-ba91-467d-bd6d-bed47c23cbef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b18d4e88-f2ae-4e89-ae7a-e06f0511d0c8" xlink:to="loc_us-gaap_OperatingLeaseLiability_a31a79f1-ba91-467d-bd6d-bed47c23cbef" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDepositsMajorCategoriesDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#InterestBearingDepositsMajorCategoriesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDepositsMajorCategoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_68fd7f98-f1f5-4678-a569-b986e548e503" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_99ecd5e6-2ad6-4547-86b3-05104c417581" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepositsNegotiableOrderOfWithdrawalNOW"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_68fd7f98-f1f5-4678-a569-b986e548e503" xlink:to="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_99ecd5e6-2ad6-4547-86b3-05104c417581" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsMoneyMarketDeposits_2a16f8a4-a0c2-4c6b-8a49-161b9b94511d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepositsMoneyMarketDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_68fd7f98-f1f5-4678-a569-b986e548e503" xlink:to="loc_us-gaap_DepositsMoneyMarketDeposits_2a16f8a4-a0c2-4c6b-8a49-161b9b94511d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsSavingsDeposits_2d6641a1-ff75-4a85-938b-e15e62a8c0b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepositsSavingsDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_68fd7f98-f1f5-4678-a569-b986e548e503" xlink:to="loc_us-gaap_DepositsSavingsDeposits_2d6641a1-ff75-4a85-938b-e15e62a8c0b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_9f8776b4-fa8c-4a74-8320-a960fa654d89" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_68fd7f98-f1f5-4678-a569-b986e548e503" xlink:to="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_9f8776b4-fa8c-4a74-8320-a960fa654d89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_TimeDepositsOther_3981cdb5-6c57-4ee7-b7e7-1dae4a1162df" xlink:href="cbnk-20211231.xsd#cbnk_TimeDepositsOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_68fd7f98-f1f5-4678-a569-b986e548e503" xlink:to="loc_cbnk_TimeDepositsOther_3981cdb5-6c57-4ee7-b7e7-1dae4a1162df" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/InterestBearingDepositsMaturitiesDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#InterestBearingDepositsMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/InterestBearingDepositsMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_e603f5e7-fb3d-4148-ad93-ae920e2f4298" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_fc75bd97-b7d0-4be2-ba61-3e9ba8db2f78" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_e603f5e7-fb3d-4148-ad93-ae920e2f4298" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_fc75bd97-b7d0-4be2-ba61-3e9ba8db2f78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_e1346586-97d7-4bb0-9216-9c95de54e86f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_e603f5e7-fb3d-4148-ad93-ae920e2f4298" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_e1346586-97d7-4bb0-9216-9c95de54e86f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_8a7f8055-eeb1-45d3-8ac8-f6f5d0b697f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_e603f5e7-fb3d-4148-ad93-ae920e2f4298" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_8a7f8055-eeb1-45d3-8ac8-f6f5d0b697f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_81698363-533f-4442-aace-c40991d69135" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_e603f5e7-fb3d-4148-ad93-ae920e2f4298" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_81698363-533f-4442-aace-c40991d69135" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_TimeDepositMaturitiesYearFiveandThereafter_d7d1f3e8-bedf-405d-ab1b-1998e84f8e6b" xlink:href="cbnk-20211231.xsd#cbnk_TimeDepositMaturitiesYearFiveandThereafter"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_e603f5e7-fb3d-4148-ad93-ae920e2f4298" xlink:to="loc_cbnk_TimeDepositMaturitiesYearFiveandThereafter_d7d1f3e8-bedf-405d-ab1b-1998e84f8e6b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/BorrowedFundsScheduleofBorrowingsDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#BorrowedFundsScheduleofBorrowingsDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/BorrowedFundsScheduleofBorrowingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_74ff0d32-c81d-4cfb-936f-92ea7a9fcb1c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherBorrowings"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_10ed5a44-5717-4a61-8564-1ce673c7f7aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherBorrowings_74ff0d32-c81d-4cfb-936f-92ea7a9fcb1c" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_10ed5a44-5717-4a61-8564-1ce673c7f7aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#IncomeTaxesComponentsofIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_60313b94-946c-4279-bd32-59ed18399715" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_9becc165-3032-4491-a825-2e764a40eb13" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_60313b94-946c-4279-bd32-59ed18399715" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_9becc165-3032-4491-a825-2e764a40eb13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7fba2609-c01b-438a-bc6e-ad5fceb2208f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_60313b94-946c-4279-bd32-59ed18399715" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7fba2609-c01b-438a-bc6e-ad5fceb2208f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_941e30f2-ff23-45bf-bcd6-337da3ee7133" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_fccde761-fcef-4ed8-acd6-7777ef5355cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_941e30f2-ff23-45bf-bcd6-337da3ee7133" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_fccde761-fcef-4ed8-acd6-7777ef5355cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_50de6852-66a8-413f-9229-c22557381c04" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_941e30f2-ff23-45bf-bcd6-337da3ee7133" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_50de6852-66a8-413f-9229-c22557381c04" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesComponentsofNetDeferredTaxAssetDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#IncomeTaxesComponentsofNetDeferredTaxAssetDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesComponentsofNetDeferredTaxAssetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_e1f868bd-4acc-4b31-85a4-10bd5f20c853" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_e1f868bd-4acc-4b31-85a4-10bd5f20c853" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_88a7fd08-44f7-479b-9075-6094eb08be81" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_88a7fd08-44f7-479b-9075-6094eb08be81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsDeferredLoanFees_b49bf627-d70b-4837-8bf2-3e0cf5dab2e2" xlink:href="cbnk-20211231.xsd#cbnk_DeferredTaxAssetsDeferredLoanFees"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:to="loc_cbnk_DeferredTaxAssetsDeferredLoanFees_b49bf627-d70b-4837-8bf2-3e0cf5dab2e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold_4225ba52-e5a3-4eaf-89e0-f3a811b0a14c" xlink:href="cbnk-20211231.xsd#cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:to="loc_cbnk_DeferredTaxAssetsTaxDeferredExpenseReservesandAccrualsReserveForRecourseOnMortgageLoansSold_4225ba52-e5a3-4eaf-89e0-f3a811b0a14c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_3ea60154-ea39-47f0-9452-d267c385b8fc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_3ea60154-ea39-47f0-9452-d267c385b8fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_6e16d0ae-5596-40b9-88a8-fe150a8430dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_6e16d0ae-5596-40b9-88a8-fe150a8430dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_7e33353b-b1f3-4cbe-8464-15ec03815e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_7e33353b-b1f3-4cbe-8464-15ec03815e9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_f5970c47-34d5-4708-be46-95fa429d2b74" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_28a25112-85a1-4c9b-8477-da2fd3374a19" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_f5970c47-34d5-4708-be46-95fa429d2b74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_ea62571b-2046-457b-9209-f377ef570659" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain_29eb9803-16d6-44a5-a369-c3c1396b8f41" xlink:href="cbnk-20211231.xsd#cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ea62571b-2046-457b-9209-f377ef570659" xlink:to="loc_cbnk_DeferredTaxLiabilitiesDeferredCasualtyGain_29eb9803-16d6-44a5-a369-c3c1396b8f41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation_4278a949-aa69-4ddd-8db4-9f815c1d1594" xlink:href="cbnk-20211231.xsd#cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ea62571b-2046-457b-9209-f377ef570659" xlink:to="loc_cbnk_DeferredTaxLiabilitiesAccumulatedDepreciation_4278a949-aa69-4ddd-8db4-9f815c1d1594" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities_c4b51727-0704-41bb-b405-f1f902b443d9" xlink:href="cbnk-20211231.xsd#cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ea62571b-2046-457b-9209-f377ef570659" xlink:to="loc_cbnk_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities_c4b51727-0704-41bb-b405-f1f902b443d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_443939bd-916b-424e-9573-372e061cf4a7" xlink:href="cbnk-20211231.xsd#cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_157f9b3a-8384-4994-856d-789975b8562e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_443939bd-916b-424e-9573-372e061cf4a7" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_157f9b3a-8384-4994-856d-789975b8562e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_c200d566-7f17-423d-b360-3e58b3358839" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_443939bd-916b-424e-9573-372e061cf4a7" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_c200d566-7f17-423d-b360-3e58b3358839" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_54acee69-e0de-4a49-82d7-e16dbd1c93db" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_fa4efb8e-d528-4303-be11-12dec2c51a5e" xlink:href="cbnk-20211231.xsd#cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_54acee69-e0de-4a49-82d7-e16dbd1c93db" xlink:to="loc_cbnk_DeferredTaxAssetsLiabilitiesBeforeValuationAllowance_fa4efb8e-d528-4303-be11-12dec2c51a5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_561c32ba-58f6-43e6-a24a-5f2f9451dd01" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_54acee69-e0de-4a49-82d7-e16dbd1c93db" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_561c32ba-58f6-43e6-a24a-5f2f9451dd01" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/IncomeTaxesReconciliationofFederalTaxRatetotheEffectiveRateDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#IncomeTaxesReconciliationofFederalTaxRatetotheEffectiveRateDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/IncomeTaxesReconciliationofFederalTaxRatetotheEffectiveRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_9ab64948-f494-4c7f-9159-f7e3f000b558" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_249dfc90-62f5-4a68-af8c-20115916903a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_9ab64948-f494-4c7f-9159-f7e3f000b558" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_249dfc90-62f5-4a68-af8c-20115916903a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_eb9df2af-ac1a-4621-b9c0-717c19dea619" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_9ab64948-f494-4c7f-9159-f7e3f000b558" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_eb9df2af-ac1a-4621-b9c0-717c19dea619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_03519d8b-8c57-4f3c-aaa9-d98c59caebdd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_9ab64948-f494-4c7f-9159-f7e3f000b558" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_03519d8b-8c57-4f3c-aaa9-d98c59caebdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_18a69ec1-64f6-43bd-aac5-8dc8881f0da5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_9ab64948-f494-4c7f-9159-f7e3f000b558" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_18a69ec1-64f6-43bd-aac5-8dc8881f0da5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_b870eeeb-35bc-479d-bb58-736d58662cb8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_9ab64948-f494-4c7f-9159-f7e3f000b558" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_b870eeeb-35bc-479d-bb58-736d58662cb8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockVestingScheduleDetails" xlink:type="simple" xlink:href="cbnk-20211231.xsd#StockBasedCompensationRestrictedStockVestingScheduleDetails"/>
  <link:calculationLink xlink:role="http://capitalbankmd.com/role/StockBasedCompensationRestrictedStockVestingScheduleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_78fa9142-2039-4603-88f7-12afce095cee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths_5f97d1f6-8c72-4de4-a5c7-64bbb6908b0c" xlink:href="cbnk-20211231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_78fa9142-2039-4603-88f7-12afce095cee" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingNextTwelveMonths_5f97d1f6-8c72-4de4-a5c7-64bbb6908b0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree_f6dda64c-fef7-43f3-8902-3929e6ef77c0" xlink:href="cbnk-20211231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_78fa9142-2039-4603-88f7-12afce095cee" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearThree_f6dda64c-fef7-43f3-8902-3929e6ef77c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo_98e23019-1322-4b08-bf3e-4c76f4962dee" xlink:href="cbnk-20211231.xsd#cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_78fa9142-2039-4603-88f7-12afce095cee" xlink:to="loc_cbnk_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedVestingYearTwo_98e23019-1322-4b08-bf3e-4c76f4962dee" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
