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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:f91e91eb-1216-49aa-ad87-e8c202910f6a,g:acbdad6e-f0d9-4fcd-ae1e-148ad1e2075e-->
<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://www.shbi.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="shbi-20241231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_2fa805ca-0da4-4edc-86ba-0ca972186a86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_cb3e1b1d-a0f7-4254-992e-ec9a7c76c7b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2fa805ca-0da4-4edc-86ba-0ca972186a86" xlink:to="loc_us-gaap_Liabilities_cb3e1b1d-a0f7-4254-992e-ec9a7c76c7b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_02f13db0-13d5-4f40-a979-6936958dafed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2fa805ca-0da4-4edc-86ba-0ca972186a86" xlink:to="loc_us-gaap_StockholdersEquity_02f13db0-13d5-4f40-a979-6936958dafed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_58565c5c-df34-40dd-8582-92de2641f7ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2fa805ca-0da4-4edc-86ba-0ca972186a86" xlink:to="loc_us-gaap_CommitmentsAndContingencies_58565c5c-df34-40dd-8582-92de2641f7ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_f6d02263-75e8-492c-8603-ccd8c019ae1c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_4987be7d-b338-4a59-832a-bfff3e4c978a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_f6d02263-75e8-492c-8603-ccd8c019ae1c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_4987be7d-b338-4a59-832a-bfff3e4c978a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_d44e448b-dd3b-470d-898d-9718c81eba78" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_f6d02263-75e8-492c-8603-ccd8c019ae1c" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_d44e448b-dd3b-470d-898d-9718c81eba78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_11f503f5-50a0-4d23-b2f9-4c8aa59f9f2b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_8dba8588-afa4-4627-b8d4-762d64398c95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDomesticDepositChecking"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_11f503f5-50a0-4d23-b2f9-4c8aa59f9f2b" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_8dba8588-afa4-4627-b8d4-762d64398c95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_01529ed3-18ea-475b-9dc3-513030bf8bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_11f503f5-50a0-4d23-b2f9-4c8aa59f9f2b" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_01529ed3-18ea-475b-9dc3-513030bf8bf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_c92a0917-67d8-4213-a7da-7bbc095ad96e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_11f503f5-50a0-4d23-b2f9-4c8aa59f9f2b" xlink:to="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_c92a0917-67d8-4213-a7da-7bbc095ad96e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_912ba06f-95d9-4d7c-9105-7176fdb2cfac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDomesticDepositMoneyMarket"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_11f503f5-50a0-4d23-b2f9-4c8aa59f9f2b" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_912ba06f-95d9-4d7c-9105-7176fdb2cfac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_182e9323-16b7-4ac3-b221-74014b568196" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_ServicingAsset_182e9323-16b7-4ac3-b221-74014b568196" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_2d586a05-1ca7-440d-b1d0-132d316d8643" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_Goodwill_2d586a05-1ca7-440d-b1d0-132d316d8643" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_17b2c4eb-7061-439a-a4c1-cebe74d02004" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_17b2c4eb-7061-439a-a4c1-cebe74d02004" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_e3d15c7f-7ce9-4b96-a7ff-9364d2131416" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_e3d15c7f-7ce9-4b96-a7ff-9364d2131416" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRestricted_b24f4feb-3aaf-4935-9c38-ca0edd30c74d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleRestricted"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRestricted_b24f4feb-3aaf-4935-9c38-ca0edd30c74d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueOfLifeInsurance_95345037-4e6b-4c67-97c0-bcfd99c206b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashSurrenderValueOfLifeInsurance"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_CashSurrenderValueOfLifeInsurance_95345037-4e6b-4c67-97c0-bcfd99c206b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c6c7b995-7e73-49d5-a191-1ff2742abbb7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c6c7b995-7e73-49d5-a191-1ff2742abbb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_39f03c8d-6521-4f41-96cf-b5ab3c544bda" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_39f03c8d-6521-4f41-96cf-b5ab3c544bda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_17de0edb-9f7c-41e7-9677-5aef578d9b99" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_17de0edb-9f7c-41e7-9677-5aef578d9b99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_9238620a-7cde-4bba-9743-3b729e9f8607" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_InterestReceivable_9238620a-7cde-4bba-9743-3b729e9f8607" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_ad737f14-bd78-4514-bf4e-c8abf24829bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_ad737f14-bd78-4514-bf4e-c8abf24829bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_a1623c4f-dd17-4d04-9f2b-4370fb8827bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_a1623c4f-dd17-4d04-9f2b-4370fb8827bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_ea5292a1-a73b-402f-a279-168058ca783c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_OtherAssets_ea5292a1-a73b-402f-a279-168058ca783c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_b2b7a070-60b6-4c67-8841-88d4b1c6ed45" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_b2b7a070-60b6-4c67-8841-88d4b1c6ed45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_3c06968d-cc58-4718-9d53-96434e65ec57" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_3c06968d-cc58-4718-9d53-96434e65ec57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_39a536b6-f33e-4144-8b2a-f56b3c10997a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e368aa66-2908-42d5-a579-b304c25cf107" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_39a536b6-f33e-4144-8b2a-f56b3c10997a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_fab7a3ac-ad3b-44b2-a0e4-ce2ebdddc303" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_d0f20deb-ea25-4faf-abc5-317e52823d24" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_CashAndCashEquivalentsAtCarryingValue_fab7a3ac-ad3b-44b2-a0e4-ce2ebdddc303" xlink:to="loc_us-gaap_CashAndDueFromBanks_d0f20deb-ea25-4faf-abc5-317e52823d24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_53585a6b-0908-4ee2-a605-5fb9ba724ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_CashAndCashEquivalentsAtCarryingValue_fab7a3ac-ad3b-44b2-a0e4-ce2ebdddc303" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_53585a6b-0908-4ee2-a605-5fb9ba724ae3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_153149db-aaf9-4a88-85ec-14cc40719685" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_9b62ef9f-df93-4b82-b6ef-f4ac84b1a262" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_153149db-aaf9-4a88-85ec-14cc40719685" xlink:to="loc_us-gaap_Deposits_9b62ef9f-df93-4b82-b6ef-f4ac84b1a262" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_BorrowingsTotal_7138f312-5b5a-4ba4-9ae1-d654fabc6d0d" xlink:href="shbi-20241231.xsd#shbi_BorrowingsTotal"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_153149db-aaf9-4a88-85ec-14cc40719685" xlink:to="loc_shbi_BorrowingsTotal_7138f312-5b5a-4ba4-9ae1-d654fabc6d0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_70166e03-7d23-45ce-9049-1fc63d79369b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_153149db-aaf9-4a88-85ec-14cc40719685" xlink:to="loc_us-gaap_OtherLiabilities_70166e03-7d23-45ce-9049-1fc63d79369b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_b4be3053-d24d-4361-a251-8a3a1443cfc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_153149db-aaf9-4a88-85ec-14cc40719685" xlink:to="loc_us-gaap_OperatingLeaseLiability_b4be3053-d24d-4361-a251-8a3a1443cfc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_cae01f43-7d79-463b-9aa6-2826d0cb4e23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_5a7b78e8-1205-4b72-911a-9062e21aba56" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_cae01f43-7d79-463b-9aa6-2826d0cb4e23" xlink:to="loc_us-gaap_CommonStockValue_5a7b78e8-1205-4b72-911a-9062e21aba56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_5b4c45d6-e0bd-42e9-b4b6-4f31cc36360a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_cae01f43-7d79-463b-9aa6-2826d0cb4e23" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_5b4c45d6-e0bd-42e9-b4b6-4f31cc36360a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_4bb52b2f-eca9-43d6-9573-2f4bed6b619a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_cae01f43-7d79-463b-9aa6-2826d0cb4e23" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_4bb52b2f-eca9-43d6-9573-2f4bed6b619a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_741816cf-4081-488d-bda1-af3997110184" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_cae01f43-7d79-463b-9aa6-2826d0cb4e23" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_741816cf-4081-488d-bda1-af3997110184" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_BorrowingsTotal_ad55366b-1ec5-449a-8f8d-f77d291208ce" xlink:href="shbi-20241231.xsd#shbi_BorrowingsTotal"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_7d8d8caf-04bf-41de-8e25-da7ef2c6678b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubordinatedDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_shbi_BorrowingsTotal_ad55366b-1ec5-449a-8f8d-f77d291208ce" xlink:to="loc_us-gaap_SubordinatedDebt_7d8d8caf-04bf-41de-8e25-da7ef2c6678b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_0fed0761-629c-4610-b9e1-e901f67898b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FederalHomeLoanBankAdvancesLongTerm"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_shbi_BorrowingsTotal_ad55366b-1ec5-449a-8f8d-f77d291208ce" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_0fed0761-629c-4610-b9e1-e901f67898b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_7a2adefe-1139-4ee0-bbce-03fb231ac482" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_shbi_BorrowingsTotal_ad55366b-1ec5-449a-8f8d-f77d291208ce" xlink:to="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_7a2adefe-1139-4ee0-bbce-03fb231ac482" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="shbi-20241231.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d6e59513-947f-4429-b0c9-db0df3561832" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_590fe331-2e78-44d8-9a54-97c416ca3e38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d6e59513-947f-4429-b0c9-db0df3561832" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_590fe331-2e78-44d8-9a54-97c416ca3e38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_ee7e4f3f-53af-486b-9373-bb1e47e854f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d6e59513-947f-4429-b0c9-db0df3561832" xlink:to="loc_us-gaap_NoninterestExpense_ee7e4f3f-53af-486b-9373-bb1e47e854f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_f94456be-1fb7-4ff8-8fb2-471c04d922b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d6e59513-947f-4429-b0c9-db0df3561832" xlink:to="loc_us-gaap_NoninterestIncome_f94456be-1fb7-4ff8-8fb2-471c04d922b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_d7d76d5c-fca0-4d41-8bfe-0687d337625d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_9b63062a-a658-4993-9d3b-56493ecda4ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_d7d76d5c-fca0-4d41-8bfe-0687d337625d" xlink:to="loc_us-gaap_InterestExpenseOperating_9b63062a-a658-4993-9d3b-56493ecda4ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_e075c538-ad79-42c8-ab7a-16d7c6d87813" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_d7d76d5c-fca0-4d41-8bfe-0687d337625d" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_e075c538-ad79-42c8-ab7a-16d7c6d87813" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_afd0d64a-3535-48f9-8fb8-14d9190709ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings_76d2aad0-f719-40f1-a5e1-ea2340a165cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_afd0d64a-3535-48f9-8fb8-14d9190709ff" xlink:to="loc_us-gaap_InterestExpenseShortTermBorrowings_76d2aad0-f719-40f1-a5e1-ea2340a165cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt_fd2b3f1a-a392-4645-8e71-82e2069b565f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseLongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_afd0d64a-3535-48f9-8fb8-14d9190709ff" xlink:to="loc_us-gaap_InterestExpenseLongTermDebt_fd2b3f1a-a392-4645-8e71-82e2069b565f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_42e8d334-d65a-4a0d-b0e4-a20c9895da11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_afd0d64a-3535-48f9-8fb8-14d9190709ff" xlink:to="loc_us-gaap_InterestExpenseDeposits_42e8d334-d65a-4a0d-b0e4-a20c9895da11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_c99da6f3-b674-4679-92d2-a304d21a6b1b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_d75c2d1d-d340-4a5d-b3ca-a70db9b2300c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c99da6f3-b674-4679-92d2-a304d21a6b1b" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_d75c2d1d-d340-4a5d-b3ca-a70db9b2300c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_d8cadae8-e50b-4c05-afdc-9dfd2929f00a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c99da6f3-b674-4679-92d2-a304d21a6b1b" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_d8cadae8-e50b-4c05-afdc-9dfd2929f00a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BrokerageCommissionsRevenue_4782fdda-8322-4661-8b5b-cf7950402030" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BrokerageCommissionsRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_us-gaap_BrokerageCommissionsRevenue_4782fdda-8322-4661-8b5b-cf7950402030" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_NoninterestIncomeOtherOperatingIncomeInScopeAndOutOfScopeOfAsu606_2265ba28-1409-4c6c-8691-cbb8b10a4846" xlink:href="shbi-20241231.xsd#shbi_NoninterestIncomeOtherOperatingIncomeInScopeAndOutOfScopeOfAsu606"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_shbi_NoninterestIncomeOtherOperatingIncomeInScopeAndOutOfScopeOfAsu606_2265ba28-1409-4c6c-8691-cbb8b10a4846" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_17ebe667-cec2-47e8-9d52-fd23f67114f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_17ebe667-cec2-47e8-9d52-fd23f67114f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_InterchangeCreditIncome_fda3a1d9-994a-4878-be8f-04e74523d7ff" xlink:href="shbi-20241231.xsd#shbi_InterchangeCreditIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_shbi_InterchangeCreditIncome_fda3a1d9-994a-4878-be8f-04e74523d7ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_TitleCompanyRevenue_4c819fa1-dbbe-4422-a892-1c3a27f4f8a7" xlink:href="shbi-20241231.xsd#shbi_TitleCompanyRevenue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_shbi_TitleCompanyRevenue_4c819fa1-dbbe-4422-a892-1c3a27f4f8a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBankingRevenue_79311e7f-cc43-4695-9b95-37c60d37cf05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentBankingRevenue"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_us-gaap_InvestmentBankingRevenue_79311e7f-cc43-4695-9b95-37c60d37cf05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_529fb06b-3b3f-4de4-b9b5-48e70b329c36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_529fb06b-3b3f-4de4-b9b5-48e70b329c36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_MortgageBankingIncome_6f3318ec-e9a1-4925-ab86-fc1a9be1f73e" xlink:href="shbi-20241231.xsd#shbi_MortgageBankingIncome"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_shbi_MortgageBankingIncome_6f3318ec-e9a1-4925-ab86-fc1a9be1f73e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfMortgageLoans_4534c25f-3278-47c3-a632-6f940e2ad5ae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfMortgageLoans"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_521dc4a0-58ee-4506-9f2d-7d38e3431640" xlink:to="loc_us-gaap_GainLossOnSaleOfMortgageLoans_4534c25f-3278-47c3-a632-6f940e2ad5ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_a58a8664-608d-4a32-b6d3-c2b2d3b94d77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_11865ac1-c5aa-4f9c-a0c1-5552f907b8e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeFederalFundsSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_a58a8664-608d-4a32-b6d3-c2b2d3b94d77" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_11865ac1-c5aa-4f9c-a0c1-5552f907b8e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_62fd3e2b-a2f5-4790-a36b-9ed45a31d1ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeSecuritiesTaxable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_a58a8664-608d-4a32-b6d3-c2b2d3b94d77" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_62fd3e2b-a2f5-4790-a36b-9ed45a31d1ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_5d73df6d-d55c-49d4-82e1-4f1c4cb6f6ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_a58a8664-608d-4a32-b6d3-c2b2d3b94d77" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_5d73df6d-d55c-49d4-82e1-4f1c4cb6f6ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_923bd2a0-bfd1-47ff-a81a-fba092160e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_a58a8664-608d-4a32-b6d3-c2b2d3b94d77" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_923bd2a0-bfd1-47ff-a81a-fba092160e0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_bd5b3629-af01-4c75-828f-9affeaa1a920" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_a58a8664-608d-4a32-b6d3-c2b2d3b94d77" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_bd5b3629-af01-4c75-828f-9affeaa1a920" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_b002ea25-ef4e-41cd-a17e-35a97bc2e7ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_b002ea25-ef4e-41cd-a17e-35a97bc2e7ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentExpense_8294664b-f2fc-40c5-84eb-2efaa7f8e80b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquipmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_EquipmentExpense_8294664b-f2fc-40c5-84eb-2efaa7f8e80b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_cf098343-eaaa-4339-853e-91f86e5401ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_cf098343-eaaa-4339-853e-91f86e5401ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_FraudLosses_615f0bc1-e70a-4e11-8bc9-fcbe039bb758" xlink:href="shbi-20241231.xsd#shbi_FraudLosses"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_shbi_FraudLosses_615f0bc1-e70a-4e11-8bc9-fcbe039bb758" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_1ee05a47-10a0-454a-b2c4-dc3d57170e41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_1ee05a47-10a0-454a-b2c4-dc3d57170e41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_6e7ccd70-08ce-4680-9879-5870d3399b87" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_6e7ccd70-08ce-4680-9879-5870d3399b87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_LegalAndProfessionalFees_ca961468-68f0-4d5e-b53a-fc0a4e06464e" xlink:href="shbi-20241231.xsd#shbi_LegalAndProfessionalFees"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_shbi_LegalAndProfessionalFees_ca961468-68f0-4d5e-b53a-fc0a4e06464e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_93ace5ef-1960-4678-a3dd-ac36efe436da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OccupancyNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_OccupancyNet_93ace5ef-1960-4678-a3dd-ac36efe436da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalariesAndWages_c566dae6-1322-46e4-8d18-d52afd4db4c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SalariesAndWages"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_SalariesAndWages_c566dae6-1322-46e4-8d18-d52afd4db4c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_2690cee6-95be-4931-a0e9-0ff3fb0bdcbe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_OtherNoninterestExpense_2690cee6-95be-4931-a0e9-0ff3fb0bdcbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpenseDirectorsFees_a0c304e0-97e2-4577-8b92-4c0bc27c8977" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestExpenseDirectorsFees"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_9fb028eb-8bc3-4907-b0e9-70b229b130ff" xlink:to="loc_us-gaap_NoninterestExpenseDirectorsFees_a0c304e0-97e2-4577-8b92-4c0bc27c8977" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_ba302999-0681-43ce-9435-78278c24bdbc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ddce2901-4fb4-4e43-bb04-156530e97540" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ba302999-0681-43ce-9435-78278c24bdbc" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ddce2901-4fb4-4e43-bb04-156530e97540" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_56505cd7-9066-4d8c-b015-6b3fb8558018" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ba302999-0681-43ce-9435-78278c24bdbc" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_56505cd7-9066-4d8c-b015-6b3fb8558018" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="shbi-20241231.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_9492afbd-a039-41a5-9554-53753a815df0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c54a6b47-1ab8-489f-bff9-3f896d1aebf4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_9492afbd-a039-41a5-9554-53753a815df0" xlink:to="loc_us-gaap_NetIncomeLoss_c54a6b47-1ab8-489f-bff9-3f896d1aebf4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_a1568cc9-f98e-4982-86de-0d19fcdd0c86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_9492afbd-a039-41a5-9554-53753a815df0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_a1568cc9-f98e-4982-86de-0d19fcdd0c86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_af791ff9-57b0-4706-82ae-c3142f33ce25" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_fdd62cba-8f46-4535-854e-655fa7fcc354" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_af791ff9-57b0-4706-82ae-c3142f33ce25" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_fdd62cba-8f46-4535-854e-655fa7fcc354" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_60b3f4f0-f8ec-4be5-9a2e-f262e8e7f036" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_af791ff9-57b0-4706-82ae-c3142f33ce25" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_60b3f4f0-f8ec-4be5-9a2e-f262e8e7f036" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="shbi-20241231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_NetAccretionOfAcquisitionAccountingEstimates_bd7a774c-c499-463a-8136-c6373db4da63" xlink:href="shbi-20241231.xsd#shbi_NetAccretionOfAcquisitionAccountingEstimates"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_shbi_NetAccretionOfAcquisitionAccountingEstimates_bd7a774c-c499-463a-8136-c6373db4da63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_cb231d4b-9ce3-45fd-b876-40a220e21488" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_cb231d4b-9ce3-45fd-b876-40a220e21488" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_2b68be42-eac4-421f-b698-d14ba8c61564" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_2b68be42-eac4-421f-b698-d14ba8c61564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfMortgageLoans_23f27b9f-5b38-4994-a9d3-c3d0ecf2c37e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfMortgageLoans"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_GainLossOnSaleOfMortgageLoans_23f27b9f-5b38-4994-a9d3-c3d0ecf2c37e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_ValuationAdjustmentsOnPremisesTransferredToHeldForSale_02a57707-2407-4cbb-a1ca-d9dbb0f65848" xlink:href="shbi-20241231.xsd#shbi_ValuationAdjustmentsOnPremisesTransferredToHeldForSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_shbi_ValuationAdjustmentsOnPremisesTransferredToHeldForSale_02a57707-2407-4cbb-a1ca-d9dbb0f65848" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_0aeb01f8-08cd-4631-a54d-b0111859b118" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_0aeb01f8-08cd-4631-a54d-b0111859b118" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherAssets_c88e4008-a741-428e-8347-e8c370e29a41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfOtherAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherAssets_c88e4008-a741-428e-8347-e8c370e29a41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DeferredIncomeTaxExpenseBenefitContinuingAndDiscontinuedOperations_af15a949-ba7e-482b-aa2a-afbc1bb76353" xlink:href="shbi-20241231.xsd#shbi_DeferredIncomeTaxExpenseBenefitContinuingAndDiscontinuedOperations"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_shbi_DeferredIncomeTaxExpenseBenefitContinuingAndDiscontinuedOperations_af15a949-ba7e-482b-aa2a-afbc1bb76353" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_1407ab6c-06fc-49e0-bbe8-3e965989ee79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_1407ab6c-06fc-49e0-bbe8-3e965989ee79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c5f1d4b6-b53a-417a-8828-eb4e8e9494c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_NetIncomeLoss_c5f1d4b6-b53a-417a-8828-eb4e8e9494c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_FairValueAdjustmentOnEquitySecurities_d575b4f4-8a55-4973-940b-016ec001c439" xlink:href="shbi-20241231.xsd#shbi_FairValueAdjustmentOnEquitySecurities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_shbi_FairValueAdjustmentOnEquitySecurities_d575b4f4-8a55-4973-940b-016ec001c439" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_08781bd2-d023-4edf-974e-75a512fe2481" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_08781bd2-d023-4edf-974e-75a512fe2481" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_54b7514d-8d42-428c-bdf9-3dfe0c0b24e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_54b7514d-8d42-428c-bdf9-3dfe0c0b24e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale_d9d6ce4b-7cd6-4d26-b27e-6b6caeb0a936" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale_d9d6ce4b-7cd6-4d26-b27e-6b6caeb0a936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageServicingRightsMSRImpairmentRecovery_4289a9c3-b7b5-4406-8db2-f70ea9917a33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MortgageServicingRightsMSRImpairmentRecovery"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_MortgageServicingRightsMSRImpairmentRecovery_4289a9c3-b7b5-4406-8db2-f70ea9917a33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_FairValueAdjustmentsOnFinancingReceivable_71b67c55-1945-461f-96ea-fa0404a1060b" xlink:href="shbi-20241231.xsd#shbi_FairValueAdjustmentsOnFinancingReceivable"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_shbi_FairValueAdjustmentsOnFinancingReceivable_71b67c55-1945-461f-96ea-fa0404a1060b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_3e25ded9-7911-4da9-a30b-ad230206e2f6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_3e25ded9-7911-4da9-a30b-ad230206e2f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_658a490a-1d79-4491-93ad-798db7ccb6cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_658a490a-1d79-4491-93ad-798db7ccb6cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_74312e4b-0d8d-4d56-9e2d-ab29fef244ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_74312e4b-0d8d-4d56-9e2d-ab29fef244ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_6ff366e6-d948-4c6f-8168-a53b934d9bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_ShareBasedCompensation_6ff366e6-d948-4c6f-8168-a53b934d9bd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_07e43675-da30-4c0e-a604-2b02dbe0ea54" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="21" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_07e43675-da30-4c0e-a604-2b02dbe0ea54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_e9a2f1ac-4185-4bb8-ac94-c9cbd4a3af43" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="22" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_e9a2f1ac-4185-4bb8-ac94-c9cbd4a3af43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDepreciationAndAmortization_496b979b-658f-4fe2-902f-a4fbe40fde9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherDepreciationAndAmortization"/>
    <link:calculationArc order="23" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_OtherDepreciationAndAmortization_496b979b-658f-4fe2-902f-a4fbe40fde9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_c1838f87-2ccc-43e3-b026-0e386860ded7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate"/>
    <link:calculationArc order="24" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_c1838f87-2ccc-43e3-b026-0e386860ded7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_GainLossOnSaleOfRepossessedAssets_9454eed0-cbf7-449e-9160-4e8bb01bfce2" xlink:href="shbi-20241231.xsd#shbi_GainLossOnSaleOfRepossessedAssets"/>
    <link:calculationArc order="25" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_shbi_GainLossOnSaleOfRepossessedAssets_9454eed0-cbf7-449e-9160-4e8bb01bfce2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_4935174d-aefb-4e19-bb29-423e3db1964a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="26" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_4935174d-aefb-4e19-bb29-423e3db1964a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_GainLossOnOtherMortgageLoanActivity_b38cebaa-c17e-49a3-b629-05f47a29a63e" xlink:href="shbi-20241231.xsd#shbi_GainLossOnOtherMortgageLoanActivity"/>
    <link:calculationArc order="27" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8adc802d-89dd-41f4-b020-9ec5d1f3cb0b" xlink:to="loc_shbi_GainLossOnOtherMortgageLoanActivity_b38cebaa-c17e-49a3-b629-05f47a29a63e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyHeldForSale_f556aab3-6664-4d08-aaaf-7b9d6853427a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfPropertyHeldForSale"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyHeldForSale_f556aab3-6664-4d08-aaaf-7b9d6853427a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_afd9a28d-3a78-420d-abf6-1ac20107b6f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_afd9a28d-3a78-420d-abf6-1ac20107b6f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_CashAcquiredFromAcquisitionNetOfCashPaid_e92c003c-9e95-40ff-8e4e-f5843882e2dc" xlink:href="shbi-20241231.xsd#shbi_CashAcquiredFromAcquisitionNetOfCashPaid"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_shbi_CashAcquiredFromAcquisitionNetOfCashPaid_e92c003c-9e95-40ff-8e4e-f5843882e2dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_80261b10-fa8c-4ca4-a853-cf8855704d89" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_80261b10-fa8c-4ca4-a853-cf8855704d89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfRestrictedInvestments_5884904c-55dd-4ac3-8cbd-c15d817d7d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromSaleOfRestrictedInvestments_5884904c-55dd-4ac3-8cbd-c15d817d7d3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2719e996-0f6a-4011-8ab8-c6a7cdd17abe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2719e996-0f6a-4011-8ab8-c6a7cdd17abe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_6bc95e7f-35e9-424b-8772-19e529f533f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_6bc95e7f-35e9-424b-8772-19e529f533f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment_ccb8c5cf-5dd0-4f0b-88cc-0e54f8a1841b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment_ccb8c5cf-5dd0-4f0b-88cc-0e54f8a1841b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_451898cc-6646-477c-81cc-a9826d21683f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_451898cc-6646-477c-81cc-a9826d21683f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_d586a49f-322c-4b2d-97e7-9ea3688063b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_d586a49f-322c-4b2d-97e7-9ea3688063b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_26277b65-b34e-451e-804d-0b0dde591bf1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_26277b65-b34e-451e-804d-0b0dde591bf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_e502a20a-10ee-45c2-a945-c8a593463ea2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_e502a20a-10ee-45c2-a945-c8a593463ea2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_29171027-c2f5-4108-b21b-4872a7babbbc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_29171027-c2f5-4108-b21b-4872a7babbbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireRestrictedInvestments_e4811c17-46a5-416c-92d5-d30c1bb012a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireRestrictedInvestments"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_PaymentsToAcquireRestrictedInvestments_e4811c17-46a5-416c-92d5-d30c1bb012a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_d04892fb-673c-4bcf-9dda-d578fdceecf9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_d04892fb-673c-4bcf-9dda-d578fdceecf9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherLoansAndLeases_c3510b5d-1b9e-4b4c-920e-20079eaa915b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromOtherLoansAndLeases"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherLoansAndLeases_c3510b5d-1b9e-4b4c-920e-20079eaa915b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLifeInsurancePolicies_be2d4524-94a7-4128-8abd-d62844dc8d63" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromLifeInsurancePolicies"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_806af3c1-3919-48fb-906c-02807ae67095" xlink:to="loc_us-gaap_ProceedsFromLifeInsurancePolicies_be2d4524-94a7-4128-8abd-d62844dc8d63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d3c904d9-c0e4-4dfd-86c3-3994f89ba390" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_4c3b049d-2527-424e-9896-aa6961728794" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d3c904d9-c0e4-4dfd-86c3-3994f89ba390" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_4c3b049d-2527-424e-9896-aa6961728794" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_970654db-6c0a-4c8e-9ca0-e6cc7025b739" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d3c904d9-c0e4-4dfd-86c3-3994f89ba390" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_970654db-6c0a-4c8e-9ca0-e6cc7025b739" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_5c0398ea-fa0d-4f21-8ce7-4c83bfc111d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetChangeNoninterestBearingDepositsDomestic"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d3c904d9-c0e4-4dfd-86c3-3994f89ba390" xlink:to="loc_us-gaap_NetChangeNoninterestBearingDepositsDomestic_5c0398ea-fa0d-4f21-8ce7-4c83bfc111d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_9ddf90ee-25c1-42a6-a666-0bfdc7f7121d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetChangeInterestBearingDepositsDomestic"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d3c904d9-c0e4-4dfd-86c3-3994f89ba390" xlink:to="loc_us-gaap_NetChangeInterestBearingDepositsDomestic_9ddf90ee-25c1-42a6-a666-0bfdc7f7121d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_a158fc13-1f93-4457-9099-5b36906b0d59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d3c904d9-c0e4-4dfd-86c3-3994f89ba390" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_a158fc13-1f93-4457-9099-5b36906b0d59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_8a82304c-3491-472f-a2e0-7fee847930a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d3c904d9-c0e4-4dfd-86c3-3994f89ba390" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_8a82304c-3491-472f-a2e0-7fee847930a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_11b3016d-e446-4bb8-92ed-2f50328f00eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_989623d7-3441-4910-a075-9d9dd28fff3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_11b3016d-e446-4bb8-92ed-2f50328f00eb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_989623d7-3441-4910-a075-9d9dd28fff3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b8e797fd-e1c9-4f74-ae90-f61bd3e23957" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_11b3016d-e446-4bb8-92ed-2f50328f00eb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b8e797fd-e1c9-4f74-ae90-f61bd3e23957" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8f429bb0-4155-4bb7-8dca-f7b6b874962b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_11b3016d-e446-4bb8-92ed-2f50328f00eb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8f429bb0-4155-4bb7-8dca-f7b6b874962b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/BusinessCombinationScheduleofBusinessAcquisitionsDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#BusinessCombinationScheduleofBusinessAcquisitionsDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/BusinessCombinationScheduleofBusinessAcquisitionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_d4fa9b94-8587-411a-8622-273264df1c70" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_a089ffc1-77d8-41e5-9e55-35bf2513a7d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_d4fa9b94-8587-411a-8622-273264df1c70" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_a089ffc1-77d8-41e5-9e55-35bf2513a7d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities_b0504b42-1d8e-4a09-b348-f9ded36cdad9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_d4fa9b94-8587-411a-8622-273264df1c70" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities_b0504b42-1d8e-4a09-b348-f9ded36cdad9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_8b4b3b17-6b7a-4a2b-853b-352ed2e8c033" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_d4fa9b94-8587-411a-8622-273264df1c70" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_8b4b3b17-6b7a-4a2b-853b-352ed2e8c033" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansNet_b2d0f775-a5c7-4323-a513-d1ddbd4c8da6" xlink:href="shbi-20241231.xsd#shbi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_d4fa9b94-8587-411a-8622-273264df1c70" xlink:to="loc_shbi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansNet_b2d0f775-a5c7-4323-a513-d1ddbd4c8da6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_dfa0f084-b791-4b9b-96ef-ecd6bbdd03ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_d4fa9b94-8587-411a-8622-273264df1c70" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_dfa0f084-b791-4b9b-96ef-ecd6bbdd03ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_da0066b2-0c1d-43db-8d0b-dec552b18593" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_d4fa9b94-8587-411a-8622-273264df1c70" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_da0066b2-0c1d-43db-8d0b-dec552b18593" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_410112b3-89d5-46da-84e3-e2a529bb8398" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_dbdc04dd-5cdb-46ab-bf51-c4545e985572" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_410112b3-89d5-46da-84e3-e2a529bb8398" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_dbdc04dd-5cdb-46ab-bf51-c4545e985572" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeposits_02d69008-e90d-497e-98a3-c8cadbebc10a" xlink:href="shbi-20241231.xsd#shbi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_410112b3-89d5-46da-84e3-e2a529bb8398" xlink:to="loc_shbi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeposits_02d69008-e90d-497e-98a3-c8cadbebc10a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_f0a57bd8-d074-44e2-a8cc-c6a50cd3648c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_410112b3-89d5-46da-84e3-e2a529bb8398" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_f0a57bd8-d074-44e2-a8cc-c6a50cd3648c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_c7aab5bf-a04a-4d47-98a8-ee487a652fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_4005dad8-4a4b-44b2-8fd5-d2ef22bfd786" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_c7aab5bf-a04a-4d47-98a8-ee487a652fc7" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_4005dad8-4a4b-44b2-8fd5-d2ef22bfd786" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_27dbf35c-6e72-42df-8f67-4264989f7c5a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_c7aab5bf-a04a-4d47-98a8-ee487a652fc7" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_27dbf35c-6e72-42df-8f67-4264989f7c5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_a596efdc-c15a-42f9-97f6-4f5956ecdf53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_03aff5dc-1f2f-495c-bbf1-c3e388a5ae64" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_a596efdc-c15a-42f9-97f6-4f5956ecdf53" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_03aff5dc-1f2f-495c-bbf1-c3e388a5ae64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_c413f5a7-2d93-4e3d-9dea-cea44c1b0193" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_a596efdc-c15a-42f9-97f6-4f5956ecdf53" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_c413f5a7-2d93-4e3d-9dea-cea44c1b0193" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_BusinessCombinationSettlementOfPreExistingDebt_c5d9a68a-4d97-49da-a1bb-d6a908394b6c" xlink:href="shbi-20241231.xsd#shbi_BusinessCombinationSettlementOfPreExistingDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_a596efdc-c15a-42f9-97f6-4f5956ecdf53" xlink:to="loc_shbi_BusinessCombinationSettlementOfPreExistingDebt_c5d9a68a-4d97-49da-a1bb-d6a908394b6c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/InvestmentSecuritiesAmortizedCostandEstimatedFairValuesofInvestmentSecuritiesDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#InvestmentSecuritiesAmortizedCostandEstimatedFairValuesofInvestmentSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/InvestmentSecuritiesAmortizedCostandEstimatedFairValuesofInvestmentSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_9f7fb856-274d-41d8-be6e-9615e64c77af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_68778c85-ee36-452c-9f6a-09c6155547d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_9f7fb856-274d-41d8-be6e-9615e64c77af" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_68778c85-ee36-452c-9f6a-09c6155547d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_a0dafd0f-a4ac-423e-99d7-dbc3b3481176" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_9f7fb856-274d-41d8-be6e-9615e64c77af" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_a0dafd0f-a4ac-423e-99d7-dbc3b3481176" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_57e9dda9-207c-48aa-be4e-f9e3df8e7b02" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9f7fb856-274d-41d8-be6e-9615e64c77af" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_57e9dda9-207c-48aa-be4e-f9e3df8e7b02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_5a8249d2-8f68-487a-952c-3ef7cc15fe6a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_b95fd372-abb6-499c-a5ee-84d0e6b6a49a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_5a8249d2-8f68-487a-952c-3ef7cc15fe6a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_b95fd372-abb6-499c-a5ee-84d0e6b6a49a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_7a3d5eb4-2613-4b26-94c3-29578977fc5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_5a8249d2-8f68-487a-952c-3ef7cc15fe6a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_7a3d5eb4-2613-4b26-94c3-29578977fc5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_0ba9165c-0f9b-4ff8-8877-bf2283c064cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_5a8249d2-8f68-487a-952c-3ef7cc15fe6a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_0ba9165c-0f9b-4ff8-8877-bf2283c064cc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyLengthofContinuousUnrealizedLossPositionDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyLengthofContinuousUnrealizedLossPositionDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyLengthofContinuousUnrealizedLossPositionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_16fbb955-87ac-4414-842b-085350c8838e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_ae9345cc-04a9-47e2-84a6-fa5502805025" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_16fbb955-87ac-4414-842b-085350c8838e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_ae9345cc-04a9-47e2-84a6-fa5502805025" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_ac6a2cc8-8e03-4d63-a61e-50ae1565f059" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_16fbb955-87ac-4414-842b-085350c8838e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_ac6a2cc8-8e03-4d63-a61e-50ae1565f059" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_2c060d04-ad7b-4d7d-be89-eedafbbbef75" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_5926308e-0faa-4489-a751-e55c4bef5619" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_2c060d04-ad7b-4d7d-be89-eedafbbbef75" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_5926308e-0faa-4489-a751-e55c4bef5619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_8005a84f-4826-4acc-9db0-729991b28e47" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_2c060d04-ad7b-4d7d-be89-eedafbbbef75" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_8005a84f-4826-4acc-9db0-729991b28e47" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/InvestmentSecuritiesScheduleofSecuritiesDebtMaturitiesDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#InvestmentSecuritiesScheduleofSecuritiesDebtMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/InvestmentSecuritiesScheduleofSecuritiesDebtMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_c9b93309-6152-4e9a-a5b0-dfb27c49acfa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_84726113-52f3-4de4-ad99-66915702654e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_c9b93309-6152-4e9a-a5b0-dfb27c49acfa" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_84726113-52f3-4de4-ad99-66915702654e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityWithoutSingleMaturityDate_57886693-2ac1-4c01-94ab-3525b5037ab1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityWithoutSingleMaturityDate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_c9b93309-6152-4e9a-a5b0-dfb27c49acfa" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityWithoutSingleMaturityDate_57886693-2ac1-4c01-94ab-3525b5037ab1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_343bfe42-721d-4a9e-922d-840f895fdd97" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear10_796c9e13-16d2-4422-adbc-5f71a99115b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear10"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_343bfe42-721d-4a9e-922d-840f895fdd97" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear10_796c9e13-16d2-4422-adbc-5f71a99115b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYearOneThroughFive_e7b959f9-b3d5-45a0-a912-918947ed162d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYearOneThroughFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_343bfe42-721d-4a9e-922d-840f895fdd97" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYearOneThroughFive_e7b959f9-b3d5-45a0-a912-918947ed162d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear5Through10_0e8c72d6-972f-478a-95b7-34eecbd2b9b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear5Through10"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_343bfe42-721d-4a9e-922d-840f895fdd97" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear5Through10_0e8c72d6-972f-478a-95b7-34eecbd2b9b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateYearOne_714d9b1b-e6d4-4211-ac99-a3cc7a7297cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateYearOne"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_343bfe42-721d-4a9e-922d-840f895fdd97" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateYearOne_714d9b1b-e6d4-4211-ac99-a3cc7a7297cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_7c98acdf-bd4f-4194-83ed-89e9b73a95fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_eaecf447-487c-4bb6-9ca3-d84dc0031768" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_7c98acdf-bd4f-4194-83ed-89e9b73a95fe" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_eaecf447-487c-4bb6-9ca3-d84dc0031768" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_d32e02a6-3f29-4c2b-b708-660b24e8fd82" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_7c98acdf-bd4f-4194-83ed-89e9b73a95fe" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_d32e02a6-3f29-4c2b-b708-660b24e8fd82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_a62f294d-50bc-4320-9b01-cf22c79bc9ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_7c98acdf-bd4f-4194-83ed-89e9b73a95fe" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_a62f294d-50bc-4320-9b01-cf22c79bc9ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_75782ed5-1c91-4cc1-8e63-5748a3c2d45a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_7c98acdf-bd4f-4194-83ed-89e9b73a95fe" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_75782ed5-1c91-4cc1-8e63-5748a3c2d45a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_0c2ef715-593e-4bd2-9630-668ba37f7d43" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_87755ded-96e9-4e08-945e-7d9ffdddf97f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_0c2ef715-593e-4bd2-9630-668ba37f7d43" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_87755ded-96e9-4e08-945e-7d9ffdddf97f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_73d75583-7a9b-43d5-af86-f16744d02de2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_0c2ef715-593e-4bd2-9630-668ba37f7d43" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_73d75583-7a9b-43d5-af86-f16744d02de2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_2a3e7d51-36c5-4254-8417-b85e62eddcc4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_1f37e762-3e07-484d-b016-25ef820c734f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_2a3e7d51-36c5-4254-8417-b85e62eddcc4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_1f37e762-3e07-484d-b016-25ef820c734f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_49067ef7-e6fa-4fb9-b761-d944ebd695af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_2a3e7d51-36c5-4254-8417-b85e62eddcc4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_49067ef7-e6fa-4fb9-b761-d944ebd695af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_9292fbca-c2d6-467a-a18f-61a66fd90fc4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_2a3e7d51-36c5-4254-8417-b85e62eddcc4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_9292fbca-c2d6-467a-a18f-61a66fd90fc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_2db75f86-7ebb-4084-ae2a-8b8976fe336d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_2a3e7d51-36c5-4254-8417-b85e62eddcc4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_2db75f86-7ebb-4084-ae2a-8b8976fe336d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_f25e801b-f172-4412-b257-7fcba02e0549" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_26f7cf1d-f4f1-4e78-b3e1-a4b449a786ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_f25e801b-f172-4412-b257-7fcba02e0549" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_26f7cf1d-f4f1-4e78-b3e1-a4b449a786ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_b26a42a9-d197-45e1-9185-d18c2ee9b94e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_f25e801b-f172-4412-b257-7fcba02e0549" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_b26a42a9-d197-45e1-9185-d18c2ee9b94e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_16e309af-d542-44bc-b5e8-e4f079d097f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_8d441d80-a005-40d0-91f2-b4efb7925198" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_16e309af-d542-44bc-b5e8-e4f079d097f0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_8d441d80-a005-40d0-91f2-b4efb7925198" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_6debb341-9a5c-4ab5-9048-4d276e5638d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_16e309af-d542-44bc-b5e8-e4f079d097f0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_6debb341-9a5c-4ab5-9048-4d276e5638d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_e1be4da7-8a7f-47f8-9090-8e40444546e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_16e309af-d542-44bc-b5e8-e4f079d097f0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_e1be4da7-8a7f-47f8-9090-8e40444546e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_2a7902d7-c483-485d-b334-ac10149e6816" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_16e309af-d542-44bc-b5e8-e4f079d097f0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_2a7902d7-c483-485d-b334-ac10149e6816" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_a9c8f9cc-8b02-4486-abe6-a90667863476" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_8e941472-a617-4c8b-b6e8-c3479c837d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_a9c8f9cc-8b02-4486-abe6-a90667863476" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_8e941472-a617-4c8b-b6e8-c3479c837d3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_3aed6dd9-774b-4dd3-a9ab-f4f1d6571273" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_a9c8f9cc-8b02-4486-abe6-a90667863476" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_3aed6dd9-774b-4dd3-a9ab-f4f1d6571273" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/LoansandAllowanceforCreditLossesNonaccrualLoansbyLoanClassDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#LoansandAllowanceforCreditLossesNonaccrualLoansbyLoanClassDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/LoansandAllowanceforCreditLossesNonaccrualLoansbyLoanClassDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualInterestIncome_6bd93659-b884-4a1f-830d-917de1271712" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableNonaccrualInterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_FinancingReceivableExcludingAccruedInterestNonaccrualWithAllowanceInterestIncome_b558bc2a-320b-45ad-b98f-043457c67687" xlink:href="shbi-20241231.xsd#shbi_FinancingReceivableExcludingAccruedInterestNonaccrualWithAllowanceInterestIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableNonaccrualInterestIncome_6bd93659-b884-4a1f-830d-917de1271712" xlink:to="loc_shbi_FinancingReceivableExcludingAccruedInterestNonaccrualWithAllowanceInterestIncome_b558bc2a-320b-45ad-b98f-043457c67687" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_FinancingReceivableNonaccrualNoAllowanceInterestIncome_183dacde-af23-4200-8d76-faf9059391ea" xlink:href="shbi-20241231.xsd#shbi_FinancingReceivableNonaccrualNoAllowanceInterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableNonaccrualInterestIncome_6bd93659-b884-4a1f-830d-917de1271712" xlink:to="loc_shbi_FinancingReceivableNonaccrualNoAllowanceInterestIncome_183dacde-af23-4200-8d76-faf9059391ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_b00b8a7c-cf21-4e72-83d8-c19166445c3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualNoAllowance_c3dcfbf1-014a-4975-931b-5ee78c3f996e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualNoAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_b00b8a7c-cf21-4e72-83d8-c19166445c3a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualNoAllowance_c3dcfbf1-014a-4975-931b-5ee78c3f996e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_FinancingReceivableExcludingAccruedInterestNonaccrualWithAllowance_55740cc3-e43e-4ab9-954f-8e5c79f6f6c4" xlink:href="shbi-20241231.xsd#shbi_FinancingReceivableExcludingAccruedInterestNonaccrualWithAllowance"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_b00b8a7c-cf21-4e72-83d8-c19166445c3a" xlink:to="loc_shbi_FinancingReceivableExcludingAccruedInterestNonaccrualWithAllowance_55740cc3-e43e-4ab9-954f-8e5c79f6f6c4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/LoansandAllowanceforCreditLossesLoanRiskRatingsDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#LoansandAllowanceforCreditLossesLoanRiskRatingsDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/LoansandAllowanceforCreditLossesLoanRiskRatingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_c798f631-c8ca-4909-8d87-53028a14754d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_c798f631-c8ca-4909-8d87-53028a14754d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_e3bdda87-2a7a-4790-8e16-d8512a212b5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_e3bdda87-2a7a-4790-8e16-d8512a212b5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_948c6cdc-3c25-420e-8bbd-9b1a2f03162f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_948c6cdc-3c25-420e-8bbd-9b1a2f03162f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_ac309d6b-35b9-47f8-8e89-927600dccadd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_ac309d6b-35b9-47f8-8e89-927600dccadd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_024b41e7-ab03-4cb0-924e-cc5b823bd05a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_024b41e7-ab03-4cb0-924e-cc5b823bd05a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_035e3b3b-af4d-4707-9a2b-08d6ec3bd9fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_035e3b3b-af4d-4707-9a2b-08d6ec3bd9fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_e77482de-7808-4f11-98b7-d3f3c3f1d4ed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_e77482de-7808-4f11-98b7-d3f3c3f1d4ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_3ead4c0f-588d-459d-9d34-2d610de926ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_a673703d-6de3-4869-b675-580d9c27195a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_3ead4c0f-588d-459d-9d34-2d610de926ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_7bea8102-50e9-4f48-9b83-ea635718d1d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_7bea8102-50e9-4f48-9b83-ea635718d1d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_2e107e23-f4bc-4b98-bb85-b17e657ff03e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_2e107e23-f4bc-4b98-bb85-b17e657ff03e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_c0e3e1a3-cbc0-4169-a629-2ff7393750ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_c0e3e1a3-cbc0-4169-a629-2ff7393750ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_601d4bca-a52d-432e-ab2e-afa9205f99c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_601d4bca-a52d-432e-ab2e-afa9205f99c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_b36ec7ce-c4b8-40e0-a9db-f9f777a27094" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_b36ec7ce-c4b8-40e0-a9db-f9f777a27094" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_93146781-5254-4bb0-8b71-63719e8e74b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_93146781-5254-4bb0-8b71-63719e8e74b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_f7b6586d-8091-4692-88ef-c8a736a9c48f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_f7b6586d-8091-4692-88ef-c8a736a9c48f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_72813bec-1be3-4079-b3b5-97c0c77b330c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_f101c91f-6dcd-4670-8235-c704e372c6a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_72813bec-1be3-4079-b3b5-97c0c77b330c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/GoodwillandOtherIntangibleAssetsFutureAmortizationExpenseforAmortizableOtherIntangibleAssetsDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#GoodwillandOtherIntangibleAssetsFutureAmortizationExpenseforAmortizableOtherIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/GoodwillandOtherIntangibleAssetsFutureAmortizationExpenseforAmortizableOtherIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45228441-541e-4552-bcfd-348397e7669e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_5300b05e-f707-4900-995a-173dbc9ef4cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45228441-541e-4552-bcfd-348397e7669e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_5300b05e-f707-4900-995a-173dbc9ef4cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_acc6e381-e0d7-4be9-92c9-bc96d349fa5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45228441-541e-4552-bcfd-348397e7669e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_acc6e381-e0d7-4be9-92c9-bc96d349fa5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_bb0ef472-35d6-4065-9a79-16a80c801e85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45228441-541e-4552-bcfd-348397e7669e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_bb0ef472-35d6-4065-9a79-16a80c801e85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_08abde11-3000-446b-b60f-68a41e3f8793" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45228441-541e-4552-bcfd-348397e7669e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_08abde11-3000-446b-b60f-68a41e3f8793" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_553fe430-a807-4bb3-8b03-b26fa01020ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45228441-541e-4552-bcfd-348397e7669e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_553fe430-a807-4bb3-8b03-b26fa01020ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_c53e1538-b151-4a79-a43d-d2080126f7c7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45228441-541e-4552-bcfd-348397e7669e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_c53e1538-b151-4a79-a43d-d2080126f7c7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/LeasesLeasecostDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#LeasesLeasecostDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/LeasesLeasecostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_e9399a24-54e4-4961-870d-a3a9901cf52d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_221e3108-451b-40d2-9cdb-78811ff1a49b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_e9399a24-54e4-4961-870d-a3a9901cf52d" xlink:to="loc_us-gaap_ShortTermLeaseCost_221e3108-451b-40d2-9cdb-78811ff1a49b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_534eecf8-f760-4dc9-82c8-f3e0f78b9f94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_e9399a24-54e4-4961-870d-a3a9901cf52d" xlink:to="loc_us-gaap_OperatingLeaseCost_534eecf8-f760-4dc9-82c8-f3e0f78b9f94" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/LeasesLeasePaymentsDueDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#LeasesLeasePaymentsDueDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/LeasesLeasePaymentsDueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9fd93a03-1723-4ed3-82d4-c78f2d8e9844" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_a606a974-de3c-4f9a-bc5f-5b0f34e104bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9fd93a03-1723-4ed3-82d4-c78f2d8e9844" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_a606a974-de3c-4f9a-bc5f-5b0f34e104bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_529c109e-fa78-4ff4-842b-0dec37562b0a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9fd93a03-1723-4ed3-82d4-c78f2d8e9844" xlink:to="loc_us-gaap_OperatingLeaseLiability_529c109e-fa78-4ff4-842b-0dec37562b0a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/LeasesLeasePaymentsDueDetails_1" xlink:type="simple" xlink:href="shbi-20241231.xsd#LeasesLeasePaymentsDueDetails_1"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/LeasesLeasePaymentsDueDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abbe8e21-446a-49c6-ba26-447e4a6a516f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_0704da25-ac73-453c-b4c7-7deccfb230cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abbe8e21-446a-49c6-ba26-447e4a6a516f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_0704da25-ac73-453c-b4c7-7deccfb230cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_6d5013f5-181d-4116-a10f-42f4805db29e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abbe8e21-446a-49c6-ba26-447e4a6a516f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_6d5013f5-181d-4116-a10f-42f4805db29e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_65c99acd-4e6b-4fbb-9b97-ebc901229af2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abbe8e21-446a-49c6-ba26-447e4a6a516f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_65c99acd-4e6b-4fbb-9b97-ebc901229af2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_f27cf4c3-dd9f-49fa-8219-a44e2d03cf85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abbe8e21-446a-49c6-ba26-447e4a6a516f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_f27cf4c3-dd9f-49fa-8219-a44e2d03cf85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_2b4b74bd-3c0d-42b0-b73a-de1d02f9188c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abbe8e21-446a-49c6-ba26-447e4a6a516f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_2b4b74bd-3c0d-42b0-b73a-de1d02f9188c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_1df2d1a8-4ecc-4378-b0b5-15c21018582d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abbe8e21-446a-49c6-ba26-447e4a6a516f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_1df2d1a8-4ecc-4378-b0b5-15c21018582d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/PremisesandEquipmentScheduleofPropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#PremisesandEquipmentScheduleofPropertyPlantandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/PremisesandEquipmentScheduleofPropertyPlantandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_48262766-1fde-4e6f-a2e6-6230d2d1080a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_0bdf7d08-26d0-4d32-8155-a0a4aa16594c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_48262766-1fde-4e6f-a2e6-6230d2d1080a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_0bdf7d08-26d0-4d32-8155-a0a4aa16594c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_79138259-54d3-458a-aa01-7c8ffd0b6140" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_48262766-1fde-4e6f-a2e6-6230d2d1080a" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_79138259-54d3-458a-aa01-7c8ffd0b6140" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/DepositsSummaryofDepositsDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#DepositsSummaryofDepositsDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/DepositsSummaryofDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_f6d3d2fe-c11f-417b-a65a-4986e4d9b936" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositDemand_c7016d28-d0b4-43de-9493-a534663f0841" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDomesticDepositDemand"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_f6d3d2fe-c11f-417b-a65a-4986e4d9b936" xlink:to="loc_us-gaap_InterestBearingDomesticDepositDemand_c7016d28-d0b4-43de-9493-a534663f0841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_ae3b5fb5-9ee7-4a25-9669-9e16ec6da264" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_f6d3d2fe-c11f-417b-a65a-4986e4d9b936" xlink:to="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_ae3b5fb5-9ee7-4a25-9669-9e16ec6da264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_6fa30edb-252b-4c79-8214-18920fe76212" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDomesticDepositMoneyMarket"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_f6d3d2fe-c11f-417b-a65a-4986e4d9b936" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_6fa30edb-252b-4c79-8214-18920fe76212" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_PercentageOfTotalDeposits_8713cbc3-ca58-4132-83fc-fbcf8b88919e" xlink:href="shbi-20241231.xsd#shbi_PercentageOfTotalDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_PercentageOfNoninterestBearingDomesticDepositsToDepositsDemand_4d0b23fb-a571-44f2-8d48-1fee70efbc28" xlink:href="shbi-20241231.xsd#shbi_PercentageOfNoninterestBearingDomesticDepositsToDepositsDemand"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_shbi_PercentageOfTotalDeposits_8713cbc3-ca58-4132-83fc-fbcf8b88919e" xlink:to="loc_shbi_PercentageOfNoninterestBearingDomesticDepositsToDepositsDemand_4d0b23fb-a571-44f2-8d48-1fee70efbc28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_36a91ab0-a9be-4614-9219-a94807633862" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_shbi_PercentageOfTotalDeposits_8713cbc3-ca58-4132-83fc-fbcf8b88919e" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_36a91ab0-a9be-4614-9219-a94807633862" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_ce51a5d7-55a6-4530-8d7a-ef1ca5552f97" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsDemand_fff2b422-2938-4a8b-87cd-e93cd846a777" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsDemand"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_ce51a5d7-55a6-4530-8d7a-ef1ca5552f97" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsDemand_fff2b422-2938-4a8b-87cd-e93cd846a777" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsCertificatesOfDeposit_459317db-51a2-4bb9-bff0-ae6c74dea394" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsCertificatesOfDeposit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_ce51a5d7-55a6-4530-8d7a-ef1ca5552f97" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsCertificatesOfDeposit_459317db-51a2-4bb9-bff0-ae6c74dea394" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsMoneyMarket_2c4a910d-ddaa-460d-be10-10a4dd2fba8c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsMoneyMarket"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_ce51a5d7-55a6-4530-8d7a-ef1ca5552f97" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsMoneyMarket_2c4a910d-ddaa-460d-be10-10a4dd2fba8c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/DepositsScheduleofContractualMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#DepositsScheduleofContractualMaturitiesofTimeDepositsDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/DepositsScheduleofContractualMaturitiesofTimeDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_b07421e3-5acf-45a4-b8b8-3dd3b08e35d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRollingYearFive_c65ac1bd-efc9-4e5c-83ca-7ea5976c0653" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesRollingYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_b07421e3-5acf-45a4-b8b8-3dd3b08e35d9" xlink:to="loc_us-gaap_TimeDepositMaturitiesRollingYearFive_c65ac1bd-efc9-4e5c-83ca-7ea5976c0653" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRollingYearThree_c6541b44-29ac-40b9-a82d-9fb2c502b259" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesRollingYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_b07421e3-5acf-45a4-b8b8-3dd3b08e35d9" xlink:to="loc_us-gaap_TimeDepositMaturitiesRollingYearThree_c6541b44-29ac-40b9-a82d-9fb2c502b259" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesNextRollingTwelveMonths_28617fd5-2a65-4d57-bf2a-931fbce66844" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesNextRollingTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_b07421e3-5acf-45a4-b8b8-3dd3b08e35d9" xlink:to="loc_us-gaap_TimeDepositMaturitiesNextRollingTwelveMonths_28617fd5-2a65-4d57-bf2a-931fbce66844" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRollingYearTwo_61df94c6-f0bb-4b9d-971f-a00b5452d7f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesRollingYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_b07421e3-5acf-45a4-b8b8-3dd3b08e35d9" xlink:to="loc_us-gaap_TimeDepositMaturitiesRollingYearTwo_61df94c6-f0bb-4b9d-971f-a00b5452d7f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesAfterRollingYearFive_4f5e2164-3e7e-42a5-8921-5fbb833a7ed3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesAfterRollingYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_b07421e3-5acf-45a4-b8b8-3dd3b08e35d9" xlink:to="loc_us-gaap_TimeDepositMaturitiesAfterRollingYearFive_4f5e2164-3e7e-42a5-8921-5fbb833a7ed3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRollingYearFour_f3ed10b7-daf1-461e-a956-f0c186c1e912" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesRollingYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_b07421e3-5acf-45a4-b8b8-3dd3b08e35d9" xlink:to="loc_us-gaap_TimeDepositMaturitiesRollingYearFour_f3ed10b7-daf1-461e-a956-f0c186c1e912" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/BorrowingsScheduleofLongTermDebtDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#BorrowingsScheduleofLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/BorrowingsScheduleofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_2db32d53-7572-4679-a71a-b302f4cbe792" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_9d926189-51ba-4951-bd69-c74a0a848209" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_LongTermDebt_2db32d53-7572-4679-a71a-b302f4cbe792" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_9d926189-51ba-4951-bd69-c74a0a848209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_35bfeef6-2417-4149-9a0e-0a0f2ddbbfc5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2db32d53-7572-4679-a71a-b302f4cbe792" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_35bfeef6-2417-4149-9a0e-0a0f2ddbbfc5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxExpenseBenefitDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#IncomeTaxesScheduleofComponentsofIncomeTaxExpenseBenefitDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxExpenseBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7e2a5d55-f42c-41c6-aec5-778115687e62" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_265b39f8-f55d-4cf6-aaae-6566f3c772e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_CurrentIncomeTaxExpenseBenefit_7e2a5d55-f42c-41c6-aec5-778115687e62" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_265b39f8-f55d-4cf6-aaae-6566f3c772e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_66fbab63-de5b-4f9b-9930-9b48d615f1a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_CurrentIncomeTaxExpenseBenefit_7e2a5d55-f42c-41c6-aec5-778115687e62" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_66fbab63-de5b-4f9b-9930-9b48d615f1a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_932c5778-4daa-45cb-b1c8-31f5f606ab7e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1bb26c35-de9b-4e4c-9d45-ae242db8f04c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_932c5778-4daa-45cb-b1c8-31f5f606ab7e" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1bb26c35-de9b-4e4c-9d45-ae242db8f04c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_ac2d4a5a-1011-4255-896b-f4fec2facea7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_932c5778-4daa-45cb-b1c8-31f5f606ab7e" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_ac2d4a5a-1011-4255-896b-f4fec2facea7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e4a036bf-5bf6-4a79-85e9-5fda75b051dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_398b9116-dd9e-4cc0-b950-8049e1fdc2a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e4a036bf-5bf6-4a79-85e9-5fda75b051dc" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_398b9116-dd9e-4cc0-b950-8049e1fdc2a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_0922679a-d8f9-4d8c-8672-765cee960e79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e4a036bf-5bf6-4a79-85e9-5fda75b051dc" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_0922679a-d8f9-4d8c-8672-765cee960e79" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_b94f3430-d515-484b-a80b-944589144096" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_8719e9d8-aa6a-4576-8b27-b22df45ab169" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_b94f3430-d515-484b-a80b-944589144096" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_8719e9d8-aa6a-4576-8b27-b22df45ab169" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_675e1e00-4f5a-440f-ae11-ef4437d97c07" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_b94f3430-d515-484b-a80b-944589144096" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_675e1e00-4f5a-440f-ae11-ef4437d97c07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_eb6c5617-52a1-42ee-954b-d5decbc616c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_b94f3430-d515-484b-a80b-944589144096" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_eb6c5617-52a1-42ee-954b-d5decbc616c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_006cc75f-bc87-4fd6-815a-c590898b43d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_b94f3430-d515-484b-a80b-944589144096" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_006cc75f-bc87-4fd6-815a-c590898b43d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_EffectiveIncomeTaxRateReconciliationBargainPurchaseGain_2d918073-2078-4c3d-94d2-e29d8d446f73" xlink:href="shbi-20241231.xsd#shbi_EffectiveIncomeTaxRateReconciliationBargainPurchaseGain"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_b94f3430-d515-484b-a80b-944589144096" xlink:to="loc_shbi_EffectiveIncomeTaxRateReconciliationBargainPurchaseGain_2d918073-2078-4c3d-94d2-e29d8d446f73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_EffectiveIncomeTaxRateReconciliationNondeductibleCompensationCostsPercent_6766ada3-3687-4b4c-86c4-9d814a9eea50" xlink:href="shbi-20241231.xsd#shbi_EffectiveIncomeTaxRateReconciliationNondeductibleCompensationCostsPercent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_b94f3430-d515-484b-a80b-944589144096" xlink:to="loc_shbi_EffectiveIncomeTaxRateReconciliationNondeductibleCompensationCostsPercent_6766ada3-3687-4b4c-86c4-9d814a9eea50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_EffectiveIncomeTaxRateReconciliationNondeductibleMergerRelatedCostsPercent_700fac9d-f238-442e-a76e-773691ee45bc" xlink:href="shbi-20241231.xsd#shbi_EffectiveIncomeTaxRateReconciliationNondeductibleMergerRelatedCostsPercent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_b94f3430-d515-484b-a80b-944589144096" xlink:to="loc_shbi_EffectiveIncomeTaxRateReconciliationNondeductibleMergerRelatedCostsPercent_700fac9d-f238-442e-a76e-773691ee45bc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic_c6b6ccbd-2a4a-4737-9873-1b2add23e213" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic_c6b6ccbd-2a4a-4737-9873-1b2add23e213" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_df9f1f85-bd9c-4ad6-9828-e56d83f03580" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_df9f1f85-bd9c-4ad6-9828-e56d83f03580" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_c8751a20-d789-48a1-9dd2-27b870121c80" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsDeferredIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_c8751a20-d789-48a1-9dd2-27b870121c80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DeferredTaxAssetsWriteDownsOtherRealEstateOwned_99a71206-7cad-477c-997c-6f4e6e2aff35" xlink:href="shbi-20241231.xsd#shbi_DeferredTaxAssetsWriteDownsOtherRealEstateOwned"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_shbi_DeferredTaxAssetsWriteDownsOtherRealEstateOwned_99a71206-7cad-477c-997c-6f4e6e2aff35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DeferredTaxAssetsLeaseLiabilities_d064bb33-fcd3-4115-8ca4-2c3282315fff" xlink:href="shbi-20241231.xsd#shbi_DeferredTaxAssetsLeaseLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_shbi_DeferredTaxAssetsLeaseLiabilities_d064bb33-fcd3-4115-8ca4-2c3282315fff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_84aa3953-c253-419b-82fa-40c832fc0672" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_84aa3953-c253-419b-82fa-40c832fc0672" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal_f3ea5062-297e-42d1-9fb3-7af220d09ef3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal_f3ea5062-297e-42d1-9fb3-7af220d09ef3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_05d563fd-56ca-4676-a42e-961c8c074c95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_05d563fd-56ca-4676-a42e-961c8c074c95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DeferredTaxAssetsAcquisitionAccountingAdjustments_0d6c3956-5d3f-4ed9-ad85-6c86c015dc8c" xlink:href="shbi-20241231.xsd#shbi_DeferredTaxAssetsAcquisitionAccountingAdjustments"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_shbi_DeferredTaxAssetsAcquisitionAccountingAdjustments_0d6c3956-5d3f-4ed9-ad85-6c86c015dc8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits_ddc49530-7935-430c-93ad-b60ade7a8681" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits_ddc49530-7935-430c-93ad-b60ade7a8681" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DeferredTaxAssetsTaxDeferredExpenseDeferredLoanCosts_70773b04-dca9-4596-bf8b-7b3a34773e28" xlink:href="shbi-20241231.xsd#shbi_DeferredTaxAssetsTaxDeferredExpenseDeferredLoanCosts"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_cefff0dc-5f9c-43af-9108-f184c2c5a591" xlink:to="loc_shbi_DeferredTaxAssetsTaxDeferredExpenseDeferredLoanCosts_70773b04-dca9-4596-bf8b-7b3a34773e28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_2c893a0b-cd23-4360-8fb5-cc8d128494bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_9a4008d7-4f5b-4afb-886d-26a87a3e4f2e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_2c893a0b-cd23-4360-8fb5-cc8d128494bd" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_9a4008d7-4f5b-4afb-886d-26a87a3e4f2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_f23889aa-b441-4fbe-a4d1-af61125ddeaf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2c893a0b-cd23-4360-8fb5-cc8d128494bd" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_f23889aa-b441-4fbe-a4d1-af61125ddeaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_a16999d4-e761-46c9-8569-21f68957bf28" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_2c893a0b-cd23-4360-8fb5-cc8d128494bd" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_a16999d4-e761-46c9-8569-21f68957bf28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_c50e4680-8f7a-4d72-b86d-0a5bf72d6891" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DeferredTaxLiabilitiesDepreciation_82886a24-9ede-4f89-ba96-6908cdf4f333" xlink:href="shbi-20241231.xsd#shbi_DeferredTaxLiabilitiesDepreciation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c50e4680-8f7a-4d72-b86d-0a5bf72d6891" xlink:to="loc_shbi_DeferredTaxLiabilitiesDepreciation_82886a24-9ede-4f89-ba96-6908cdf4f333" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DeferredTaxLiabilitiesAmortizationOnLoansFmvAdjustment_7114b5f8-609b-48d6-b82e-d5bd12045352" xlink:href="shbi-20241231.xsd#shbi_DeferredTaxLiabilitiesAmortizationOnLoansFmvAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c50e4680-8f7a-4d72-b86d-0a5bf72d6891" xlink:to="loc_shbi_DeferredTaxLiabilitiesAmortizationOnLoansFmvAdjustment_7114b5f8-609b-48d6-b82e-d5bd12045352" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_4d0026c4-7cce-461b-b2b8-b736fdaa1a43" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c50e4680-8f7a-4d72-b86d-0a5bf72d6891" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_4d0026c4-7cce-461b-b2b8-b736fdaa1a43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DeferredTaxLiabilitiesRightOfUseAssets_83fa0fd0-3c63-47f5-976e-40e814cc5c50" xlink:href="shbi-20241231.xsd#shbi_DeferredTaxLiabilitiesRightOfUseAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c50e4680-8f7a-4d72-b86d-0a5bf72d6891" xlink:to="loc_shbi_DeferredTaxLiabilitiesRightOfUseAssets_83fa0fd0-3c63-47f5-976e-40e814cc5c50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesMortgageServicingRights_971a9719-450c-42fd-89a5-750458daec58" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesMortgageServicingRights"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c50e4680-8f7a-4d72-b86d-0a5bf72d6891" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesMortgageServicingRights_971a9719-450c-42fd-89a5-750458daec58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_c4111009-2f43-489b-a1bd-d8a0d5270ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c50e4680-8f7a-4d72-b86d-0a5bf72d6891" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_c4111009-2f43-489b-a1bd-d8a0d5270ea7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/FairValueMeasurementsAssetsandLiabilitiesMeasuredonRecurringBasisDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#FairValueMeasurementsAssetsandLiabilitiesMeasuredonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/FairValueMeasurementsAssetsandLiabilitiesMeasuredonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_ef6acb60-f940-43bc-aca2-46ed6e88affe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_24bce921-9384-4e62-96ba-49502ff1a021" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_InvestmentsFairValueDisclosure_ef6acb60-f940-43bc-aca2-46ed6e88affe" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_24bce921-9384-4e62-96ba-49502ff1a021" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_b8d173fd-ac84-425d-9e98-bfb614d9c47a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_ef6acb60-f940-43bc-aca2-46ed6e88affe" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_b8d173fd-ac84-425d-9e98-bfb614d9c47a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_5511955d-0c13-491a-9d1a-91d574257c77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_ef6acb60-f940-43bc-aca2-46ed6e88affe" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_5511955d-0c13-491a-9d1a-91d574257c77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_6cee3d72-0f87-4918-a0a3-d484b7cbf731" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_ef6acb60-f940-43bc-aca2-46ed6e88affe" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_6cee3d72-0f87-4918-a0a3-d484b7cbf731" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_2f48ba7c-cc89-4c8e-856b-9e9c67a33268" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_ef6acb60-f940-43bc-aca2-46ed6e88affe" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_2f48ba7c-cc89-4c8e-856b-9e9c67a33268" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_c8c287b4-b90b-45d2-8870-144852d1e9b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_cdddb33b-90be-4ab6-a4e4-460854ed5c58" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_c8c287b4-b90b-45d2-8870-144852d1e9b1" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_cdddb33b-90be-4ab6-a4e4-460854ed5c58" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/EarningsPerCommonShareCalculationofEarningsPerCommonShareDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#EarningsPerCommonShareCalculationofEarningsPerCommonShareDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/EarningsPerCommonShareCalculationofEarningsPerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b0625b6d-47a9-4ee3-b4eb-563fe0982847" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_30ae4432-73ef-4a51-a1f4-a6b2eceacdab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b0625b6d-47a9-4ee3-b4eb-563fe0982847" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_30ae4432-73ef-4a51-a1f4-a6b2eceacdab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_c81decf4-c343-4c56-a69a-07aa1de04bef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b0625b6d-47a9-4ee3-b4eb-563fe0982847" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_c81decf4-c343-4c56-a69a-07aa1de04bef" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/RevenueRecognitionNoninterestIncomeDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#RevenueRecognitionNoninterestIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/RevenueRecognitionNoninterestIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_05c25e42-5e06-4c29-97a9-fa3df27b4793" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueNotFromContractWithCustomerExcludingInterestIncome_e1cbba1c-a4b8-4e6c-b07f-84c73fa276a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueNotFromContractWithCustomerExcludingInterestIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_05c25e42-5e06-4c29-97a9-fa3df27b4793" xlink:to="loc_us-gaap_RevenueNotFromContractWithCustomerExcludingInterestIncome_e1cbba1c-a4b8-4e6c-b07f-84c73fa276a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_526fe1f9-d6de-429f-8fdb-bafcb9ae4cc4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_05c25e42-5e06-4c29-97a9-fa3df27b4793" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_526fe1f9-d6de-429f-8fdb-bafcb9ae4cc4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/ParentCompanyFinancialInformationCondensedBalanceSheetsParentOnlyDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#ParentCompanyFinancialInformationCondensedBalanceSheetsParentOnlyDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/ParentCompanyFinancialInformationCondensedBalanceSheetsParentOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_fedffb25-6b8e-4573-8850-38c5ee962ed0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_f7ffd667-5d7f-4ac4-9a07-dc72a1533874" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fedffb25-6b8e-4573-8850-38c5ee962ed0" xlink:to="loc_us-gaap_LongTermDebt_f7ffd667-5d7f-4ac4-9a07-dc72a1533874" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_64b68ba1-a821-4b4a-8604-997bcaaa8124" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fedffb25-6b8e-4573-8850-38c5ee962ed0" xlink:to="loc_us-gaap_OtherLiabilities_64b68ba1-a821-4b4a-8604-997bcaaa8124" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_f900b153-f281-495c-b5e1-f3cc154b9075" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fedffb25-6b8e-4573-8850-38c5ee962ed0" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_f900b153-f281-495c-b5e1-f3cc154b9075" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_2e5e8d94-f6b8-4ea6-9bdd-9e9de213febf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fedffb25-6b8e-4573-8850-38c5ee962ed0" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_2e5e8d94-f6b8-4ea6-9bdd-9e9de213febf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d0f7ecd2-3446-488c-9781-76b4c9d3b69b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash_31892e36-793a-4c18-ae90-40e91c098c1c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Cash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d0f7ecd2-3446-488c-9781-76b4c9d3b69b" xlink:to="loc_us-gaap_Cash_31892e36-793a-4c18-ae90-40e91c098c1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentAggregateCost_85c660d7-b894-4a6d-bab1-31b4b0ea85d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestmentAggregateCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d0f7ecd2-3446-488c-9781-76b4c9d3b69b" xlink:to="loc_us-gaap_EquityMethodInvestmentAggregateCost_85c660d7-b894-4a6d-bab1-31b4b0ea85d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_0d76b548-81dd-4abf-8714-585e536bb0aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d0f7ecd2-3446-488c-9781-76b4c9d3b69b" xlink:to="loc_us-gaap_OtherAssets_0d76b548-81dd-4abf-8714-585e536bb0aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/ParentCompanyFinancialInformationCondensedStatementsofIncomeParentOnlyDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#ParentCompanyFinancialInformationCondensedStatementsofIncomeParentOnlyDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/ParentCompanyFinancialInformationCondensedStatementsofIncomeParentOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_3971f16c-3b96-49ed-8fa7-2aad11adbd83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_5a39f979-e09e-4daa-ba5d-10fbd02702de" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInterest_3971f16c-3b96-49ed-8fa7-2aad11adbd83" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_5a39f979-e09e-4daa-ba5d-10fbd02702de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_DividendsFromSubsidiaries_d40da1df-9e9c-4738-a6b9-ed8649b434d3" xlink:href="shbi-20241231.xsd#shbi_DividendsFromSubsidiaries"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInterest_3971f16c-3b96-49ed-8fa7-2aad11adbd83" xlink:to="loc_shbi_DividendsFromSubsidiaries_d40da1df-9e9c-4738-a6b9-ed8649b434d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainOrLossOnSaleOfStockInSubsidiary_62c76a6c-e081-41cb-85a3-7da0a65db451" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainOrLossOnSaleOfStockInSubsidiary"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInterest_3971f16c-3b96-49ed-8fa7-2aad11adbd83" xlink:to="loc_us-gaap_GainOrLossOnSaleOfStockInSubsidiary_62c76a6c-e081-41cb-85a3-7da0a65db451" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_e433ed8c-7997-42e0-9903-35b61ab11c16" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingCostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_283cc8cb-ccb6-4203-a041-3225bb376e26" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_e433ed8c-7997-42e0-9903-35b61ab11c16" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_283cc8cb-ccb6-4203-a041-3225bb376e26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_OccupancyAndEquipmentExpense_944b3b60-6d17-44ba-8e40-f8f35d6cefc8" xlink:href="shbi-20241231.xsd#shbi_OccupancyAndEquipmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_e433ed8c-7997-42e0-9903-35b61ab11c16" xlink:to="loc_shbi_OccupancyAndEquipmentExpense_944b3b60-6d17-44ba-8e40-f8f35d6cefc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_dcc25c4b-aab1-4a2c-9c55-c964eb8f4748" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_e433ed8c-7997-42e0-9903-35b61ab11c16" xlink:to="loc_us-gaap_InterestExpenseOperating_dcc25c4b-aab1-4a2c-9c55-c964eb8f4748" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_shbi_LegalAndProfessionalFeesIncludingMergerExpenses_5e7e5b9b-68cc-4b16-a0f1-04bb8681941d" xlink:href="shbi-20241231.xsd#shbi_LegalAndProfessionalFeesIncludingMergerExpenses"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_e433ed8c-7997-42e0-9903-35b61ab11c16" xlink:to="loc_shbi_LegalAndProfessionalFeesIncludingMergerExpenses_5e7e5b9b-68cc-4b16-a0f1-04bb8681941d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_762d79c9-998f-40ed-9681-a3a26287f38c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_e433ed8c-7997-42e0-9903-35b61ab11c16" xlink:to="loc_us-gaap_LaborAndRelatedExpense_762d79c9-998f-40ed-9681-a3a26287f38c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_7ac744dc-bb64-4c0e-9f08-1bdd69f3f28a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2b98724f-8c9f-426a-bf20-acb8b25c42fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_7ac744dc-bb64-4c0e-9f08-1bdd69f3f28a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2b98724f-8c9f-426a-bf20-acb8b25c42fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_38374cfb-ead9-479c-a30f-9f174db34135" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_7ac744dc-bb64-4c0e-9f08-1bdd69f3f28a" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_38374cfb-ead9-479c-a30f-9f174db34135" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_be90820f-3b66-436b-b379-6e57c9da961b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_b3c9708f-869b-463e-8240-1455211d3d44" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_be90820f-3b66-436b-b379-6e57c9da961b" xlink:to="loc_us-gaap_InvestmentIncomeInterest_b3c9708f-869b-463e-8240-1455211d3d44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_9b66e68b-e428-4ec3-bedd-1e44a060d699" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingCostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_be90820f-3b66-436b-b379-6e57c9da961b" xlink:to="loc_us-gaap_OperatingCostsAndExpenses_9b66e68b-e428-4ec3-bedd-1e44a060d699" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_647ebc3a-9425-4b02-ba54-3da428d5019c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_329be6c8-49d0-4167-9268-4ef56efc8c8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_647ebc3a-9425-4b02-ba54-3da428d5019c" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_329be6c8-49d0-4167-9268-4ef56efc8c8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_1267b900-0499-4914-8b52-1a35f90998c7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_647ebc3a-9425-4b02-ba54-3da428d5019c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_1267b900-0499-4914-8b52-1a35f90998c7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.shbi.com/role/ParentCompanyFinancialInformationCondensedStatementsofCashFlowsParentOnlyDetails" xlink:type="simple" xlink:href="shbi-20241231.xsd#ParentCompanyFinancialInformationCondensedStatementsofCashFlowsParentOnlyDetails"/>
  <link:calculationLink xlink:role="http://www.shbi.com/role/ParentCompanyFinancialInformationCondensedStatementsofCashFlowsParentOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_47de203b-df15-4e2a-af25-d20c5e64ef42" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_ShareBasedCompensation_47de203b-df15-4e2a-af25-d20c5e64ef42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_fc90cb37-483a-4c28-92da-87b8780a9e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_fc90cb37-483a-4c28-92da-87b8780a9e5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_7f6f3fc9-9bc9-4d3d-a05a-be0b08156e41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_7f6f3fc9-9bc9-4d3d-a05a-be0b08156e41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_0001a318-dcb0-4622-a897-28e661a72b2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_ProfitLoss_0001a318-dcb0-4622-a897-28e661a72b2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationAsset1_7ab8a800-161d-4edf-8956-33aa9486fe4b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationAsset1"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationAsset1_7ab8a800-161d-4edf-8956-33aa9486fe4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_f227db31-7dd1-45ce-8a66-6d90786487b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_f227db31-7dd1-45ce-8a66-6d90786487b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_5919d59f-2abb-4ed6-b6fb-9602267503f6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_5919d59f-2abb-4ed6-b6fb-9602267503f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_11e2af70-aaf9-4905-b1c7-c39dafcf4411" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_11e2af70-aaf9-4905-b1c7-c39dafcf4411" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_658af224-f1c4-48ba-a7aa-dea178bd061b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1db77faa-70e2-4f4d-b488-17d2c2f36979" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_658af224-f1c4-48ba-a7aa-dea178bd061b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6e888681-3483-428e-9ec0-8637f03c85fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_91e00076-4303-4a4c-9901-1ef3694b54dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6e888681-3483-428e-9ec0-8637f03c85fb" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_91e00076-4303-4a4c-9901-1ef3694b54dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_bf673cae-27be-4c7a-bc14-074a10a18571" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6e888681-3483-428e-9ec0-8637f03c85fb" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_bf673cae-27be-4c7a-bc14-074a10a18571" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
