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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:01a011fc-3df1-7929-ae29-4e265fbf6cc6,g:ed4bdc11-f00d-405b-9897-e0ed6a75bf6a-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/CONSOLIDATEDSTATEMENTSOFCONDITION" xlink:type="simple" xlink:href="bmrc-20260930.xsd#CONSOLIDATEDSTATEMENTSOFCONDITION"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/CONSOLIDATEDSTATEMENTSOFCONDITION" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_01a011fc-4322-7f24-8427-1f994923722b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_01a011fc-4322-7f24-8427-1f994923722b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Investments_01a011fc-4322-7061-a1dd-c268dde5a8e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Investments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_Investments_01a011fc-4322-7061-a1dd-c268dde5a8e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4322-7172-b035-6714d68562a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4322-7172-b035-6714d68562a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_01a011fc-4322-7c54-abe2-4abd9325ecd9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_Goodwill_01a011fc-4322-7c54-abe2-4abd9325ecd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_01a011fc-4322-713f-9bae-3a86fc4b63b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsurance"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_01a011fc-4322-713f-9bae-3a86fc4b63b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_01a011fc-4322-7abc-916a-57f84c018ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_01a011fc-4322-7abc-916a-57f84c018ba9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_01a011fc-4322-7827-a53b-ab827f08bc58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_01a011fc-4322-7827-a53b-ab827f08bc58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedCoreDepositsGross_01a011fc-4322-75fa-9e58-2c1f20840287" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedCoreDepositsGross"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_FiniteLivedCoreDepositsGross_01a011fc-4322-75fa-9e58-2c1f20840287" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_01a011fc-4322-742b-9d09-86b5c9870595" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a011fc-4322-783e-9e30-201df4881193" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_01a011fc-4322-742b-9d09-86b5c9870595" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Investments_01a011fc-4322-71ae-a62e-b1d536a84980" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Investments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4322-72c1-bc9b-3c110fd7bdde" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Investments_01a011fc-4322-71ae-a62e-b1d536a84980" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4322-72c1-bc9b-3c110fd7bdde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a011fc-4322-7999-91c9-e825bd1c8089" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01a011fc-4322-7d90-ba40-fa5fd5d7c309" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a011fc-4322-7999-91c9-e825bd1c8089" xlink:to="loc_us-gaap_Liabilities_01a011fc-4322-7d90-ba40-fa5fd5d7c309" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_01a011fc-4322-79ed-aca3-0508131d47ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a011fc-4322-7999-91c9-e825bd1c8089" xlink:to="loc_us-gaap_StockholdersEquity_01a011fc-4322-79ed-aca3-0508131d47ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_01a011fc-4322-712a-8a08-45511a8c1b2c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a011fc-4322-7999-91c9-e825bd1c8089" xlink:to="loc_us-gaap_CommitmentsAndContingencies_01a011fc-4322-712a-8a08-45511a8c1b2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_01a011fc-4322-7ad5-b394-306844cd5f4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_01a011fc-4322-7862-84c5-27421c95ec17" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a011fc-4322-7ad5-b394-306844cd5f4e" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_01a011fc-4322-7862-84c5-27421c95ec17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_01a011fc-4322-7156-805b-5c9e3949569f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsNegotiableOrderOfWithdrawalNOW"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a011fc-4322-7ad5-b394-306844cd5f4e" xlink:to="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_01a011fc-4322-7156-805b-5c9e3949569f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsSavingsDeposits_01a011fc-4322-73b7-9a46-4c32409891c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsSavingsDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a011fc-4322-7ad5-b394-306844cd5f4e" xlink:to="loc_us-gaap_DepositsSavingsDeposits_01a011fc-4322-73b7-9a46-4c32409891c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsMoneyMarketDeposits_01a011fc-4322-757e-9617-c31ec623c1b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsMoneyMarketDeposits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a011fc-4322-7ad5-b394-306844cd5f4e" xlink:to="loc_us-gaap_DepositsMoneyMarketDeposits_01a011fc-4322-757e-9617-c31ec623c1b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_01a011fc-4322-75af-9bbd-9d7448d090eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TimeDeposits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a011fc-4322-7ad5-b394-306844cd5f4e" xlink:to="loc_us-gaap_TimeDeposits_01a011fc-4322-75af-9bbd-9d7448d090eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01a011fc-4322-765a-9a92-c9b0d1889b81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_01a011fc-4322-701e-80bf-84aed79d6bb4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a011fc-4322-765a-9a92-c9b0d1889b81" xlink:to="loc_us-gaap_OtherLiabilities_01a011fc-4322-701e-80bf-84aed79d6bb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_01a011fc-4322-728d-890b-2a3ce8a48400" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a011fc-4322-765a-9a92-c9b0d1889b81" xlink:to="loc_us-gaap_Deposits_01a011fc-4322-728d-890b-2a3ce8a48400" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_01a011fc-4322-75c7-b487-d305a24e88da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a011fc-4322-765a-9a92-c9b0d1889b81" xlink:to="loc_us-gaap_OperatingLeaseLiability_01a011fc-4322-75c7-b487-d305a24e88da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_OtherDebtAndLeaseObligations_01a011fc-4322-7767-bbe9-c2e1d532eb55" xlink:href="bmrc-20260930.xsd#bmrc_OtherDebtAndLeaseObligations"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a011fc-4322-765a-9a92-c9b0d1889b81" xlink:to="loc_bmrc_OtherDebtAndLeaseObligations_01a011fc-4322-7767-bbe9-c2e1d532eb55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_01a011fc-4322-708e-ab16-57e24c416124" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubordinatedDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a011fc-4322-765a-9a92-c9b0d1889b81" xlink:to="loc_us-gaap_SubordinatedDebt_01a011fc-4322-708e-ab16-57e24c416124" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_01a011fc-4322-7c40-8c91-6fb5efbbdc17" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_01a011fc-4322-707d-8cbd-05edde56430f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a011fc-4322-7c40-8c91-6fb5efbbdc17" xlink:to="loc_us-gaap_PreferredStockValue_01a011fc-4322-707d-8cbd-05edde56430f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_01a011fc-4322-7500-83c8-020afcfd4cbb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a011fc-4322-7c40-8c91-6fb5efbbdc17" xlink:to="loc_us-gaap_CommonStockValue_01a011fc-4322-7500-83c8-020afcfd4cbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_01a011fc-4322-78a5-bb0a-d497da5468d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a011fc-4322-7c40-8c91-6fb5efbbdc17" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_01a011fc-4322-78a5-bb0a-d497da5468d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_01a011fc-4322-75a6-956f-28035c01b0b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a011fc-4322-7c40-8c91-6fb5efbbdc17" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_01a011fc-4322-75a6-956f-28035c01b0b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4322-75e7-9145-4a3549ab3101" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4322-7138-9782-b8247f2758e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4322-75e7-9145-4a3549ab3101" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4322-7138-9782-b8247f2758e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_01a011fc-4322-7ad4-a166-9530416c395c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4322-75e7-9145-4a3549ab3101" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_01a011fc-4322-7ad4-a166-9530416c395c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="bmrc-20260930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_01a011fc-4322-7ed6-b32f-19c89f7dfea5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_AmortizationOfNetUnrealizedLossOnAvailableForSaleSecuritiesTransferredToHeldToMaturity_01a011fc-4322-7947-9c46-e010231ede3c" xlink:href="bmrc-20260930.xsd#bmrc_AmortizationOfNetUnrealizedLossOnAvailableForSaleSecuritiesTransferredToHeldToMaturity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_01a011fc-4322-7ed6-b32f-19c89f7dfea5" xlink:to="loc_bmrc_AmortizationOfNetUnrealizedLossOnAvailableForSaleSecuritiesTransferredToHeldToMaturity_01a011fc-4322-7947-9c46-e010231ede3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_01a011fc-4322-70c0-8e31-f77aded30a5d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_01a011fc-4322-7ed6-b32f-19c89f7dfea5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_01a011fc-4322-70c0-8e31-f77aded30a5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_01a011fc-4322-70d7-b02d-3cb0ee153747" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_01a011fc-4322-7ed6-b32f-19c89f7dfea5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_01a011fc-4322-70d7-b02d-3cb0ee153747" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_01a011fc-4322-7e6e-9f93-e71b8c2757d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_01a011fc-4322-7fdd-b8ef-68b9b24013b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a011fc-4322-7e6e-9f93-e71b8c2757d4" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_01a011fc-4322-7fdd-b8ef-68b9b24013b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_01a011fc-4322-71aa-a7d5-f668b018a36a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a011fc-4322-7e6e-9f93-e71b8c2757d4" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_01a011fc-4322-71aa-a7d5-f668b018a36a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DividendIncomeFederalHomeLoanBank_01a011fc-4322-78b1-85c0-55d13861c1fd" xlink:href="bmrc-20260930.xsd#bmrc_DividendIncomeFederalHomeLoanBank"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a011fc-4322-7e6e-9f93-e71b8c2757d4" xlink:to="loc_bmrc_DividendIncomeFederalHomeLoanBank_01a011fc-4322-78b1-85c0-55d13861c1fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_EarningsOnBankOwnedLifeInsuranceDeathBenefits_01a011fc-4322-79af-ab32-b0aead6fac55" xlink:href="bmrc-20260930.xsd#bmrc_EarningsOnBankOwnedLifeInsuranceDeathBenefits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a011fc-4322-7e6e-9f93-e71b8c2757d4" xlink:to="loc_bmrc_EarningsOnBankOwnedLifeInsuranceDeathBenefits_01a011fc-4322-79af-ab32-b0aead6fac55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_01a011fc-4322-7298-a9f4-f1b3f5c6da20" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a011fc-4322-7e6e-9f93-e71b8c2757d4" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_01a011fc-4322-7298-a9f4-f1b3f5c6da20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_01a011fc-4322-7439-aa9b-626b503e5f7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a011fc-4322-7e6e-9f93-e71b8c2757d4" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_01a011fc-4322-7439-aa9b-626b503e5f7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_CharitableContributionsExpense_01a011fc-4322-703b-a794-984464ac3a44" xlink:href="bmrc-20260930.xsd#bmrc_CharitableContributionsExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_bmrc_CharitableContributionsExpense_01a011fc-4322-703b-a794-984464ac3a44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_01a011fc-4322-7b3b-8323-5874ce3ef826" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_us-gaap_OtherNoninterestExpense_01a011fc-4322-7b3b-8323-5874ce3ef826" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpenseDirectorsFees_01a011fc-4322-7497-bc40-c7074c28ec39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpenseDirectorsFees"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_us-gaap_NoninterestExpenseDirectorsFees_01a011fc-4322-7497-bc40-c7074c28ec39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_01a011fc-4322-73eb-999a-c53a2ad63107" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_us-gaap_ProfessionalFees_01a011fc-4322-73eb-999a-c53a2ad63107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_InformationTechnology_01a011fc-4322-78ca-a7df-06c6f6947128" xlink:href="bmrc-20260930.xsd#bmrc_InformationTechnology"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_bmrc_InformationTechnology_01a011fc-4322-78ca-a7df-06c6f6947128" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_01a011fc-4322-7301-9a45-dab71a49819c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_us-gaap_LaborAndRelatedExpense_01a011fc-4322-7301-9a45-dab71a49819c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_01a011fc-4322-7d27-9ea5-d6230af40d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_01a011fc-4322-7d27-9ea5-d6230af40d4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DepreciationDepletionAndAmortizationNonproductionExcludingAmortizationOfIntangibleAssets_01a011fc-4322-72c0-8466-106155ff9f90" xlink:href="bmrc-20260930.xsd#bmrc_DepreciationDepletionAndAmortizationNonproductionExcludingAmortizationOfIntangibleAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_bmrc_DepreciationDepletionAndAmortizationNonproductionExcludingAmortizationOfIntangibleAssets_01a011fc-4322-72c0-8466-106155ff9f90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_OccupancyAndEquipment_01a011fc-4322-72af-9ed1-0e991518c937" xlink:href="bmrc-20260930.xsd#bmrc_OccupancyAndEquipment"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_bmrc_OccupancyAndEquipment_01a011fc-4322-72af-9ed1-0e991518c937" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DataProcessing_01a011fc-4322-7318-a878-7c92d4b52a85" xlink:href="bmrc-20260930.xsd#bmrc_DataProcessing"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_bmrc_DataProcessing_01a011fc-4322-7318-a878-7c92d4b52a85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DepositNetworkFees_01a011fc-4322-729b-ad54-377776343276" xlink:href="bmrc-20260930.xsd#bmrc_DepositNetworkFees"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_bmrc_DepositNetworkFees_01a011fc-4322-729b-ad54-377776343276" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_01a011fc-4322-7d67-9440-52ee4355971f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a011fc-4322-7995-9e83-0eb7b86095ea" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_01a011fc-4322-7d67-9440-52ee4355971f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_01a011fc-4322-77ca-a0aa-011282f8d206" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-7284-afcb-03d04e2dc196" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_01a011fc-4322-77ca-a0aa-011282f8d206" xlink:to="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-7284-afcb-03d04e2dc196" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_01a011fc-4322-7eaa-a372-91b23276172f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_01a011fc-4322-77ca-a0aa-011282f8d206" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_01a011fc-4322-7eaa-a372-91b23276172f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a011fc-4322-7239-8ccc-e66f3837c9ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a011fc-4322-7137-a51f-0032cde5411e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a011fc-4322-7239-8ccc-e66f3837c9ab" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a011fc-4322-7137-a51f-0032cde5411e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_01a011fc-4322-78eb-8501-2aa88f1cab08" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a011fc-4322-7239-8ccc-e66f3837c9ab" xlink:to="loc_us-gaap_NoninterestIncome_01a011fc-4322-78eb-8501-2aa88f1cab08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_01a011fc-4322-7432-aad4-e9341a3aa780" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a011fc-4322-7239-8ccc-e66f3837c9ab" xlink:to="loc_us-gaap_NoninterestExpense_01a011fc-4322-7432-aad4-e9341a3aa780" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a011fc-4322-7d9a-95bf-77802fad0d2a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_01a011fc-4322-78eb-a553-bf50a41dd6ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a011fc-4322-7d9a-95bf-77802fad0d2a" xlink:to="loc_us-gaap_NetIncomeLoss_01a011fc-4322-78eb-a553-bf50a41dd6ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_01a011fc-4322-771d-aee3-e618d7ef5cd2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a011fc-4322-7d9a-95bf-77802fad0d2a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_01a011fc-4322-771d-aee3-e618d7ef5cd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_01a011fc-4322-74be-bfc6-39fb174468e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_01a011fc-4322-7274-b2ca-8f1a2b9a3564" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_01a011fc-4322-74be-bfc6-39fb174468e1" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_01a011fc-4322-7274-b2ca-8f1a2b9a3564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_01a011fc-4322-7a46-a261-15167e58e9b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_01a011fc-4322-74be-bfc6-39fb174468e1" xlink:to="loc_us-gaap_InterestIncomeOperating_01a011fc-4322-7a46-a261-15167e58e9b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_01a011fc-4322-74a0-a84d-f6df62587c2a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_01a011fc-4322-74be-bfc6-39fb174468e1" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_01a011fc-4322-74a0-a84d-f6df62587c2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-72ce-889d-0a612238c3e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseTimeDeposits_01a011fc-4322-7210-ad54-038df7d4d8d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseTimeDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-72ce-889d-0a612238c3e7" xlink:to="loc_us-gaap_InterestExpenseTimeDeposits_01a011fc-4322-7210-ad54-038df7d4d8d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseMoneyMarketDeposits_01a011fc-4322-7f60-8c9b-7429f8b5269b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseMoneyMarketDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-72ce-889d-0a612238c3e7" xlink:to="loc_us-gaap_InterestExpenseMoneyMarketDeposits_01a011fc-4322-7f60-8c9b-7429f8b5269b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSavingsDeposits_01a011fc-4322-754c-91ab-d812aadba2ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseSavingsDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-72ce-889d-0a612238c3e7" xlink:to="loc_us-gaap_InterestExpenseSavingsDeposits_01a011fc-4322-754c-91ab-d812aadba2ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseTrustPreferredSecurities_01a011fc-4322-7b28-b77b-6a41c63a1688" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseTrustPreferredSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-72ce-889d-0a612238c3e7" xlink:to="loc_us-gaap_InterestExpenseTrustPreferredSecurities_01a011fc-4322-7b28-b77b-6a41c63a1688" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNegotiableOrderOfWithdrawalNOWDeposits_01a011fc-4322-7a0d-bcea-5e0aa20ed029" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNegotiableOrderOfWithdrawalNOWDeposits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-72ce-889d-0a612238c3e7" xlink:to="loc_us-gaap_InterestExpenseNegotiableOrderOfWithdrawalNOWDeposits_01a011fc-4322-7a0d-bcea-5e0aa20ed029" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_InterestExpenseBorrowingsAndOtherObligations_01a011fc-4322-70cf-8212-d7019c896b92" xlink:href="bmrc-20260930.xsd#bmrc_InterestExpenseBorrowingsAndOtherObligations"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a011fc-4322-72ce-889d-0a612238c3e7" xlink:to="loc_bmrc_InterestExpenseBorrowingsAndOtherObligations_01a011fc-4322-70cf-8212-d7019c896b92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a011fc-4322-7bee-921c-188e8804c703" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_01a011fc-4322-7ce3-9b88-9e35062ed0f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a011fc-4322-7bee-921c-188e8804c703" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_01a011fc-4322-7ce3-9b88-9e35062ed0f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_01a011fc-4322-7dc3-ba5a-053d4859b3a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a011fc-4322-7bee-921c-188e8804c703" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_01a011fc-4322-7dc3-ba5a-053d4859b3a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal_01a011fc-4322-75a6-b7ae-33e8a414ec6f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a011fc-4322-7bee-921c-188e8804c703" xlink:to="loc_us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal_01a011fc-4322-75a6-b7ae-33e8a414ec6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_01a011fc-4322-7daf-93b3-8db8d8b46865" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_01a011fc-4322-75ac-880d-634e975142ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_01a011fc-4322-7daf-93b3-8db8d8b46865" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_01a011fc-4322-75ac-880d-634e975142ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent_01a011fc-4322-73a9-b43a-bbcebd6fc228" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_01a011fc-4322-7daf-93b3-8db8d8b46865" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent_01a011fc-4322-73a9-b43a-bbcebd6fc228" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_01a011fc-4322-74dd-b794-ecf3e9b81bde" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a011fc-4322-71eb-9d89-ee692b015944" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_01a011fc-4322-74dd-b794-ecf3e9b81bde" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a011fc-4322-71eb-9d89-ee692b015944" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_01a011fc-4322-7274-bd21-f4289e24773a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_01a011fc-4322-74dd-b794-ecf3e9b81bde" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_01a011fc-4322-7274-bd21-f4289e24773a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="bmrc-20260930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_01a011fc-4322-7095-8484-ba9f8c01bbf5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_01a011fc-4322-7095-8484-ba9f8c01bbf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_ProvisionForCreditLossesOnUnfundedLoanCommitments_01a011fc-4322-75d2-a88d-a8cb42621795" xlink:href="bmrc-20260930.xsd#bmrc_ProvisionForCreditLossesOnUnfundedLoanCommitments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_bmrc_ProvisionForCreditLossesOnUnfundedLoanCommitments_01a011fc-4322-75d2-a88d-a8cb42621795" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense_01a011fc-4322-72f8-a5f6-00795af7c556" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense_01a011fc-4322-72f8-a5f6-00795af7c556" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_CompensationExpenseCommonStockForDirectorFees_01a011fc-4322-7005-ad5a-7955b3f0602b" xlink:href="bmrc-20260930.xsd#bmrc_CompensationExpenseCommonStockForDirectorFees"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_bmrc_CompensationExpenseCommonStockForDirectorFees_01a011fc-4322-7005-ad5a-7955b3f0602b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_01a011fc-4322-7bdd-a905-4bbf2ba632f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_ShareBasedCompensation_01a011fc-4322-7bdd-a905-4bbf2ba632f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_01a011fc-4322-7244-8a19-794dbeb711e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_01a011fc-4322-7244-8a19-794dbeb711e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_01a011fc-4322-7faf-92fa-bd68d236b3d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_01a011fc-4322-7faf-92fa-bd68d236b3d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_AccretionOfDiscountOnAcquiredLoans_01a011fc-4322-707d-9f4b-5da96298dbb8" xlink:href="bmrc-20260930.xsd#bmrc_AccretionOfDiscountOnAcquiredLoans"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_bmrc_AccretionOfDiscountOnAcquiredLoans_01a011fc-4322-707d-9f4b-5da96298dbb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_01a011fc-4322-785b-8ab6-58205b2e0d77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_01a011fc-4322-785b-8ab6-58205b2e0d77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_01a011fc-4322-7476-a0b0-565ee1d4d995" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_01a011fc-4322-7476-a0b0-565ee1d4d995" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_01a011fc-4322-76da-ab6f-0d14ecb24b73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_01a011fc-4322-76da-ab6f-0d14ecb24b73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DepreciationDepletionAmortizationNonproductionExcludingAmortizationOfIntangibleAssets_01a011fc-4322-7bab-ae2d-cdc08e0c557f" xlink:href="bmrc-20260930.xsd#bmrc_DepreciationDepletionAmortizationNonproductionExcludingAmortizationOfIntangibleAssets"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_bmrc_DepreciationDepletionAmortizationNonproductionExcludingAmortizationOfIntangibleAssets_01a011fc-4322-7bab-ae2d-cdc08e0c557f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a011fc-4322-709b-9e4f-57939a6bd8f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a011fc-4322-709b-9e4f-57939a6bd8f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_01a011fc-4322-751f-98d8-44c0671f7e44" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_01a011fc-4322-751f-98d8-44c0671f7e44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_EarningsOnBankOwnedLifeInsuranceDeathBenefits_01a011fc-4322-7a62-badb-8d97349cff7a" xlink:href="bmrc-20260930.xsd#bmrc_EarningsOnBankOwnedLifeInsuranceDeathBenefits"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_bmrc_EarningsOnBankOwnedLifeInsuranceDeathBenefits_01a011fc-4322-7a62-badb-8d97349cff7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_01a0c3a1-9b83-7def-9da3-67adf4877a95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_01a0c3a1-9b83-7def-9da3-67adf4877a95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_01a0c3a1-9b83-7c5a-a95f-7ed221f0c824" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-7356-a6ff-c5654677a934" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_01a0c3a1-9b83-7c5a-a95f-7ed221f0c824" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_01a011fc-4322-74e0-9671-2f09647ec177" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_01a011fc-4322-74e0-9671-2f09647ec177" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_01a011fc-4322-7786-940a-b2f82b6d09ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_01a011fc-4322-7786-940a-b2f82b6d09ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_01a011fc-4322-744f-b75c-c79d0764af83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_01a011fc-4322-744f-b75c-c79d0764af83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_01a011fc-4322-7fac-982b-e484b6d3503d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_01a011fc-4322-7fac-982b-e484b6d3503d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_01a011fc-4322-7084-989e-486440ef06a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfFinanceReceivables"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_01a011fc-4322-7084-989e-486440ef06a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_IncreaseInFinanceReceivableNet_01a011fc-4322-7a32-81fd-fcf9aee35d71" xlink:href="bmrc-20260930.xsd#bmrc_IncreaseInFinanceReceivableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_bmrc_IncreaseInFinanceReceivableNet_01a011fc-4322-7a32-81fd-fcf9aee35d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansReceivable_01a011fc-4322-7e3d-818b-a8ff3dc7f874" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireLoansReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_us-gaap_PaymentsToAcquireLoansReceivable_01a011fc-4322-7e3d-818b-a8ff3dc7f874" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLifeInsurancePolicies_01a0c3a2-2b46-739c-8a09-1a05c86e6870" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromLifeInsurancePolicies"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_us-gaap_ProceedsFromLifeInsurancePolicies_01a0c3a2-2b46-739c-8a09-1a05c86e6870" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_01a0c3a2-2b46-7254-8f5c-f20a4b5d64df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-72f4-823d-0f3d2003c6c1" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_01a0c3a2-2b46-7254-8f5c-f20a4b5d64df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a011fc-4322-759f-8fb0-8b2f5511b732" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7953-9cd8-1e60df193722" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a011fc-4322-759f-8fb0-8b2f5511b732" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7953-9cd8-1e60df193722" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-7266-9902-6fa5664d369a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a011fc-4322-759f-8fb0-8b2f5511b732" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a011fc-4322-7266-9902-6fa5664d369a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a011fc-4322-7bd5-9ef3-66ba26659666" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a011fc-4322-759f-8fb0-8b2f5511b732" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a011fc-4322-7bd5-9ef3-66ba26659666" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7ab8-8035-937abc720c33" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_01a011fc-4322-7602-98e7-b8d5743bb3ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7ab8-8035-937abc720c33" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_01a011fc-4322-7602-98e7-b8d5743bb3ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_01a011fc-4322-7484-ab7e-03ed3a7a9b58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7ab8-8035-937abc720c33" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_01a011fc-4322-7484-ab7e-03ed3a7a9b58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_01a011fc-4322-7c0e-982a-17459d274677" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7ab8-8035-937abc720c33" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_01a011fc-4322-7c0e-982a-17459d274677" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_01a011fc-4322-7187-a700-3550fb025bb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7ab8-8035-937abc720c33" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_01a011fc-4322-7187-a700-3550fb025bb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_01a011fc-4322-74fa-82be-dea4ff6b0f6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7ab8-8035-937abc720c33" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_01a011fc-4322-74fa-82be-dea4ff6b0f6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfEquity_01a011fc-4322-79dd-b3fc-df867d57857a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfEquity"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7ab8-8035-937abc720c33" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfEquity_01a011fc-4322-79dd-b3fc-df867d57857a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_01a011fc-4322-756c-89ff-88bb37cf801c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a011fc-4322-7ab8-8035-937abc720c33" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_01a011fc-4322-756c-89ff-88bb37cf801c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a011fc-4322-7117-84db-7001e8ac518f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_01a011fc-4322-7dc7-8644-b2b633f84177" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a011fc-4322-7117-84db-7001e8ac518f" xlink:to="loc_us-gaap_NetIncomeLoss_01a011fc-4322-7dc7-8644-b2b633f84177" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-702f-bdaa-d6ba83bbcebb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a011fc-4322-7117-84db-7001e8ac518f" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_01a011fc-4322-702f-bdaa-d6ba83bbcebb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/BasisofPresentationScheduleofEarningsPerShareReconciliationDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#BasisofPresentationScheduleofEarningsPerShareReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/BasisofPresentationScheduleofEarningsPerShareReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a011fc-4322-7681-8b4f-15f5bd21c87d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_01a011fc-4322-7584-9c58-3e963e10234b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a011fc-4322-7681-8b4f-15f5bd21c87d" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_01a011fc-4322-7584-9c58-3e963e10234b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_01a011fc-4322-7061-a866-9242039339da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a011fc-4322-7681-8b4f-15f5bd21c87d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_01a011fc-4322-7061-a866-9242039339da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_01a011fc-4322-70f7-ade2-2863c205127e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a011fc-4322-7681-8b4f-15f5bd21c87d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_01a011fc-4322-70f7-ade2-2863c205127e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesScheduleofAvailableforSaleSecuritiesAmortizedCostandFairValueDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#InvestmentSecuritiesScheduleofAvailableforSaleSecuritiesAmortizedCostandFairValueDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/InvestmentSecuritiesScheduleofAvailableforSaleSecuritiesAmortizedCostandFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7bc1-bb6b-9a1b15d64e48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_01a011fc-4323-74fb-b3ec-6f97d2e03858" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7bc1-bb6b-9a1b15d64e48" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_01a011fc-4323-74fb-b3ec-6f97d2e03858" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest_01a011fc-4323-76a9-9ad7-c63b9e991d19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7bc1-bb6b-9a1b15d64e48" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest_01a011fc-4323-76a9-9ad7-c63b9e991d19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4323-71e1-a9bc-7821b7a3c49d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7bc1-bb6b-9a1b15d64e48" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4323-71e1-a9bc-7821b7a3c49d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_01a011fc-4323-7bef-9626-00f776b0bf22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7bc1-bb6b-9a1b15d64e48" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_01a011fc-4323-7bef-9626-00f776b0bf22" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesScheduleofInvestmentsClassifiedbyContractualMaturityDateDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#InvestmentSecuritiesScheduleofInvestmentsClassifiedbyContractualMaturityDateDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/InvestmentSecuritiesScheduleofInvestmentsClassifiedbyContractualMaturityDateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4323-71c1-b3c7-6518d39f0aaa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_01a011fc-4323-7c25-86ae-c362a709eed6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4323-71c1-b3c7-6518d39f0aaa" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_01a011fc-4323-7c25-86ae-c362a709eed6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_01a011fc-4323-731d-a04d-9fdef44e8a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4323-71c1-b3c7-6518d39f0aaa" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_01a011fc-4323-731d-a04d-9fdef44e8a3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_01a011fc-4323-760d-ba40-3874b5d32867" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4323-71c1-b3c7-6518d39f0aaa" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_01a011fc-4323-760d-ba40-3874b5d32867" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_01a011fc-4323-7138-8bb6-47271438faf2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a011fc-4323-71c1-b3c7-6518d39f0aaa" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_01a011fc-4323-7138-8bb6-47271438faf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4323-7f45-bf4f-7d2a02659f0b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_01a011fc-4323-7ca0-8307-e5f73048b6b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4323-7f45-bf4f-7d2a02659f0b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_01a011fc-4323-7ca0-8307-e5f73048b6b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_01a011fc-4323-7661-bd9b-6bde9d6f26f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4323-7f45-bf4f-7d2a02659f0b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_01a011fc-4323-7661-bd9b-6bde9d6f26f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_01a011fc-4323-7736-acac-3eda5e262e7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4323-7f45-bf4f-7d2a02659f0b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_01a011fc-4323-7736-acac-3eda5e262e7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_01a011fc-4323-79f7-9583-9f097c8fc6b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_01a011fc-4323-7f45-bf4f-7d2a02659f0b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_01a011fc-4323-79f7-9583-9f097c8fc6b1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesScheduleofUnrealizedLossonInvestmentsDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#InvestmentSecuritiesScheduleofUnrealizedLossonInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/InvestmentSecuritiesScheduleofUnrealizedLossonInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_01a011fc-4323-7fe8-8c17-4239f06646d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_01a011fc-4323-76a1-8ce5-4a06e4164c88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_01a011fc-4323-7fe8-8c17-4239f06646d7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_01a011fc-4323-76a1-8ce5-4a06e4164c88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_01a011fc-4323-7ba3-9964-c235c1371594" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_01a011fc-4323-7fe8-8c17-4239f06646d7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_01a011fc-4323-7ba3-9964-c235c1371594" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_01a011fc-4323-72e7-a9bd-bcec05b65dde" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_01a011fc-4323-7e01-a578-93b57cd408d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_01a011fc-4323-72e7-a9bd-bcec05b65dde" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_01a011fc-4323-7e01-a578-93b57cd408d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_01a011fc-4323-7b29-96df-fbcb8b4662d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_01a011fc-4323-72e7-a9bd-bcec05b65dde" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_01a011fc-4323-7b29-96df-fbcb8b4662d6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/LoansandAllowanceforCreditLossesonLoansScheduleofLoansbyRiskGradeandOriginationYearDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#LoansandAllowanceforCreditLossesonLoansScheduleofLoansbyRiskGradeandOriginationYearDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/LoansandAllowanceforCreditLossesonLoansScheduleofLoansbyRiskGradeandOriginationYearDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7c69-8b49-ce548889a00f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_01a011fc-4323-7393-964b-05f817560ef5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7c69-8b49-ce548889a00f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_01a011fc-4323-7393-964b-05f817560ef5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_01a011fc-4323-73d7-ab3f-6dafd691441d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7c69-8b49-ce548889a00f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_01a011fc-4323-73d7-ab3f-6dafd691441d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_01a011fc-4323-737f-80c4-a4efba49e9df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7c69-8b49-ce548889a00f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_01a011fc-4323-737f-80c4-a4efba49e9df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_01a011fc-4323-7e95-9a18-1b1c4f02e06f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7c69-8b49-ce548889a00f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_01a011fc-4323-7e95-9a18-1b1c4f02e06f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_01a011fc-4323-7505-88dc-6ef5bf7d0a27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7c69-8b49-ce548889a00f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_01a011fc-4323-7505-88dc-6ef5bf7d0a27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_01a011fc-4323-7d39-81c0-6e88540dbd5d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7c69-8b49-ce548889a00f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_01a011fc-4323-7d39-81c0-6e88540dbd5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_01a011fc-4323-7dda-96d4-a82210f3f718" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a011fc-4323-7c69-8b49-ce548889a00f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_01a011fc-4323-7dda-96d4-a82210f3f718" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a011fc-4323-7b16-8bb9-73e042f0a181" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7574-8c0f-0ddc2817f09f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a011fc-4323-7b16-8bb9-73e042f0a181" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7574-8c0f-0ddc2817f09f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7b4b-a041-81cb8225fe61" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a011fc-4323-7b16-8bb9-73e042f0a181" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7b4b-a041-81cb8225fe61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7ba4-9dd7-bcc93c102767" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a011fc-4323-7b16-8bb9-73e042f0a181" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7ba4-9dd7-bcc93c102767" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7290-baf1-41e127e757e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a011fc-4323-7b16-8bb9-73e042f0a181" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7290-baf1-41e127e757e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_01a011fc-4323-7a1d-adce-69d7649687b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a011fc-4323-7b16-8bb9-73e042f0a181" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_01a011fc-4323-7a1d-adce-69d7649687b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7b22-83d6-90972c00aabd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a011fc-4323-7b16-8bb9-73e042f0a181" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_01a011fc-4323-7b22-83d6-90972c00aabd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_01a011fc-4323-7cb1-abab-e24e700b0851" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a011fc-4323-7b16-8bb9-73e042f0a181" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_01a011fc-4323-7cb1-abab-e24e700b0851" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/BorrowingsandOtherObligationsScheduleofDebtDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#BorrowingsandOtherObligationsScheduleofDebtDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/BorrowingsandOtherObligationsScheduleofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DebtAndLeaseObligationAverageAmountOutstanding_01a011fc-4323-7214-b99b-db35597d4b1e" xlink:href="bmrc-20260930.xsd#bmrc_DebtAndLeaseObligationAverageAmountOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAverageAmountOutstanding_01a011fc-4323-7f47-9335-62cd53785c99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAverageAmountOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_bmrc_DebtAndLeaseObligationAverageAmountOutstanding_01a011fc-4323-7214-b99b-db35597d4b1e" xlink:to="loc_us-gaap_LongTermDebtAverageAmountOutstanding_01a011fc-4323-7f47-9335-62cd53785c99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_FinanceLeaseLiabilityAverageAmountOutstanding_01a011fc-4323-7647-b551-488931c36b86" xlink:href="bmrc-20260930.xsd#bmrc_FinanceLeaseLiabilityAverageAmountOutstanding"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_bmrc_DebtAndLeaseObligationAverageAmountOutstanding_01a011fc-4323-7214-b99b-db35597d4b1e" xlink:to="loc_bmrc_FinanceLeaseLiabilityAverageAmountOutstanding_01a011fc-4323-7647-b551-488931c36b86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_01a011fc-4323-7d8e-b42f-7d159eeeeadd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_01a011fc-4323-77f5-92d7-71921ca0f5b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_01a011fc-4323-7d8e-b42f-7d159eeeeadd" xlink:to="loc_us-gaap_LineOfCredit_01a011fc-4323-77f5-92d7-71921ca0f5b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_01a011fc-4323-77dd-8fab-bf5979b0836c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubordinatedDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_01a011fc-4323-7d8e-b42f-7d159eeeeadd" xlink:to="loc_us-gaap_SubordinatedDebt_01a011fc-4323-77dd-8fab-bf5979b0836c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LinesOfCreditCurrent_01a011fc-4323-7a13-873d-a2ab17f76e82" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LinesOfCreditCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_01a011fc-4323-7d8e-b42f-7d159eeeeadd" xlink:to="loc_us-gaap_LinesOfCreditCurrent_01a011fc-4323-7a13-873d-a2ab17f76e82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_01a011fc-4323-7726-83a2-c8fbe5bbb1d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_01a011fc-4323-7d8e-b42f-7d159eeeeadd" xlink:to="loc_us-gaap_FinanceLeaseLiability_01a011fc-4323-7726-83a2-c8fbe5bbb1d5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseRightofUseAssetsandLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseRightofUseAssetsandLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseRightofUseAssetsandLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_01a011fc-43cb-70d1-b6fc-cb0601e0b69b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_01a011fc-43cb-7400-9597-37bd3bcd6539" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseRightOfUseAsset_01a011fc-43cb-70d1-b6fc-cb0601e0b69b" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_01a011fc-43cb-7400-9597-37bd3bcd6539" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization_01a011fc-43cb-727f-adb3-4c4c5158fda9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseRightOfUseAsset_01a011fc-43cb-70d1-b6fc-cb0601e0b69b" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization_01a011fc-43cb-727f-adb3-4c4c5158fda9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/CommitmentsandContingentLiabilitiesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#CommitmentsandContingentLiabilitiesScheduleofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/CommitmentsandContingentLiabilitiesScheduleofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_FinanceLeaseCost_01a011fc-43cb-7c77-91eb-52d3e327e7d7" xlink:href="bmrc-20260930.xsd#bmrc_FinanceLeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_01a011fc-43cb-7c2a-91bb-9b8f27beade3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_bmrc_FinanceLeaseCost_01a011fc-43cb-7c77-91eb-52d3e327e7d7" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_01a011fc-43cb-7c2a-91bb-9b8f27beade3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_01a011fc-43cb-7137-907b-a87936432768" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_bmrc_FinanceLeaseCost_01a011fc-43cb-7c77-91eb-52d3e327e7d7" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_01a011fc-43cb-7137-907b-a87936432768" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_01a011fc-43cb-7428-ace2-291b290c2c4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_FinanceLeaseCost_01a011fc-43cb-7b45-b75a-baa569fbf165" xlink:href="bmrc-20260930.xsd#bmrc_FinanceLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_01a011fc-43cb-7428-ace2-291b290c2c4a" xlink:to="loc_bmrc_FinanceLeaseCost_01a011fc-43cb-7b45-b75a-baa569fbf165" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_01a011fc-43cb-7cf6-b0bc-f758831188bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_01a011fc-43cb-7428-ace2-291b290c2c4a" xlink:to="loc_us-gaap_OperatingLeaseCost_01a011fc-43cb-7cf6-b0bc-f758831188bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseLiabilityMaturitiesDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseLiabilityMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseLiabilityMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7614-a5de-77cf27ce0940" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_01a011fc-43cb-786a-b896-1cfe1bfb9ea8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7614-a5de-77cf27ce0940" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_01a011fc-43cb-786a-b896-1cfe1bfb9ea8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_01a011fc-43cb-77d4-9e0f-9f64825a5643" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7614-a5de-77cf27ce0940" xlink:to="loc_us-gaap_FinanceLeaseLiability_01a011fc-43cb-77d4-9e0f-9f64825a5643" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7b97-a6eb-e1447a806ef3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_01a011fc-43cb-79e5-8e0b-605164a3936b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7b97-a6eb-e1447a806ef3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_01a011fc-43cb-79e5-8e0b-605164a3936b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_01a011fc-43cb-7ba3-8c57-73f21abbfb5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7b97-a6eb-e1447a806ef3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_01a011fc-43cb-7ba3-8c57-73f21abbfb5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_01a011fc-43cb-74d0-a530-c4d68b3c81c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7b97-a6eb-e1447a806ef3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_01a011fc-43cb-74d0-a530-c4d68b3c81c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_01a011fc-43cb-7fb7-966f-68daa9ebc0ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7b97-a6eb-e1447a806ef3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_01a011fc-43cb-7fb7-966f-68daa9ebc0ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_01a011fc-43cb-708e-94e6-d29dcb47aa00" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7b97-a6eb-e1447a806ef3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_01a011fc-43cb-708e-94e6-d29dcb47aa00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_01a011fc-43cb-7529-871e-5e1fb8a688af" xlink:href="bmrc-20260930.xsd#bmrc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7b97-a6eb-e1447a806ef3" xlink:to="loc_bmrc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_01a011fc-43cb-7529-871e-5e1fb8a688af" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseLiabilityMaturitiesDetails_1" xlink:type="simple" xlink:href="bmrc-20260930.xsd#CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseLiabilityMaturitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/CommitmentsandContingentLiabilitiesScheduleofOperatingandFinanceLeaseLiabilityMaturitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7573-915f-8aeabc0028c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_01a011fc-43cb-7668-9715-50aae4507e7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7573-915f-8aeabc0028c1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_01a011fc-43cb-7668-9715-50aae4507e7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_01a011fc-43cb-77d1-8be6-88132a17a0e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7573-915f-8aeabc0028c1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_01a011fc-43cb-77d1-8be6-88132a17a0e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_FinanceLeaseLiabilityToBePaidAfterYearFour_01a011fc-43cb-7877-9885-889926542e39" xlink:href="bmrc-20260930.xsd#bmrc_FinanceLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7573-915f-8aeabc0028c1" xlink:to="loc_bmrc_FinanceLeaseLiabilityToBePaidAfterYearFour_01a011fc-43cb-7877-9885-889926542e39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_01a011fc-43cb-7010-9fe3-f95a52895a55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7573-915f-8aeabc0028c1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_01a011fc-43cb-7010-9fe3-f95a52895a55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_01a011fc-43cb-71c5-8e4a-496e5b985427" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7573-915f-8aeabc0028c1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_01a011fc-43cb-71c5-8e4a-496e5b985427" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_01a011fc-43cb-73f8-9c35-4b0eeb1e7bd0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_01a011fc-43cb-7573-915f-8aeabc0028c1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_01a011fc-43cb-73f8-9c35-4b0eeb1e7bd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7a46-b189-46bd1bccb16b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_01a011fc-43cb-75d7-827c-2e26e3998757" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7a46-b189-46bd1bccb16b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_01a011fc-43cb-75d7-827c-2e26e3998757" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_01a011fc-43cb-758d-9ed2-fe1d0cf84523" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a011fc-43cb-7a46-b189-46bd1bccb16b" xlink:to="loc_us-gaap_OperatingLeaseLiability_01a011fc-43cb-758d-9ed2-fe1d0cf84523" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsandHedgingActivitiesScheduleofInterestIncomeDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#DerivativeFinancialInstrumentsandHedgingActivitiesScheduleofInterestIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsandHedgingActivitiesScheduleofInterestIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a011fc-43cb-756e-aa0b-ea0719069f38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DerivativeHedgedInterestEarnedPaid_01a011fc-43cb-7d6e-8a09-2664a92d4e99" xlink:href="bmrc-20260930.xsd#bmrc_DerivativeHedgedInterestEarnedPaid"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a011fc-43cb-756e-aa0b-ea0719069f38" xlink:to="loc_bmrc_DerivativeHedgedInterestEarnedPaid_01a011fc-43cb-7d6e-8a09-2664a92d4e99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFairValueOfHedgedItemInInterestRateFairValueHedge1_01a011fc-43cb-73d4-8448-d54d9aebde02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInFairValueOfHedgedItemInInterestRateFairValueHedge1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a011fc-43cb-756e-aa0b-ea0719069f38" xlink:to="loc_us-gaap_IncreaseDecreaseInFairValueOfHedgedItemInInterestRateFairValueHedge1_01a011fc-43cb-73d4-8448-d54d9aebde02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DerivativeIncreaseDecreaseInValueOfYieldMaintenanceAgreement_01a011fc-43cb-7630-ba20-2e72b2bb1e91" xlink:href="bmrc-20260930.xsd#bmrc_DerivativeIncreaseDecreaseInValueOfYieldMaintenanceAgreement"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a011fc-43cb-756e-aa0b-ea0719069f38" xlink:to="loc_bmrc_DerivativeIncreaseDecreaseInValueOfYieldMaintenanceAgreement_01a011fc-43cb-7630-ba20-2e72b2bb1e91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_bmrc_DecreaseIncreaseInFairValueOfInterestRateFairValueHedgingInstruments_01a011fc-43cb-7486-a37b-2bad710348dc" xlink:href="bmrc-20260930.xsd#bmrc_DecreaseIncreaseInFairValueOfInterestRateFairValueHedgingInstruments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a011fc-43cb-756e-aa0b-ea0719069f38" xlink:to="loc_bmrc_DecreaseIncreaseInFairValueOfInterestRateFairValueHedgingInstruments_01a011fc-43cb-7486-a37b-2bad710348dc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsandHedgingActivitiesScheduleofOffsettingofAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="bmrc-20260930.xsd#DerivativeFinancialInstrumentsandHedgingActivitiesScheduleofOffsettingofAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsandHedgingActivitiesScheduleofOffsettingofAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_01a011fc-43cb-74c4-8e3b-fb58b85fab3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_01a011fc-43cb-7f55-be72-9a5b5b43b58d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_01a011fc-43cb-74c4-8e3b-fb58b85fab3d" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_01a011fc-43cb-7f55-be72-9a5b5b43b58d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnCash_01a011fc-43cb-765e-ac60-02993b8fd6d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralObligationToReturnCash"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_01a011fc-43cb-74c4-8e3b-fb58b85fab3d" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnCash_01a011fc-43cb-765e-ac60-02993b8fd6d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_01a011fc-43cb-7962-bdc0-a16ee039ba8d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_01a011fc-43cb-74c4-8e3b-fb58b85fab3d" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_01a011fc-43cb-7962-bdc0-a16ee039ba8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_01a011fc-43cb-7229-a3e6-c62c187ae16a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_01a011fc-43cb-764f-b2f3-5e388eee3008" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_01a011fc-43cb-7229-a3e6-c62c187ae16a" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_01a011fc-43cb-764f-b2f3-5e388eee3008" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_01a011fc-43cb-75e4-a626-bd43b6cf00be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_01a011fc-43cb-7229-a3e6-c62c187ae16a" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_01a011fc-43cb-75e4-a626-bd43b6cf00be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_01a011fc-43cb-7dea-ac4b-9299ff8ab64f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_01a011fc-43cb-7229-a3e6-c62c187ae16a" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_01a011fc-43cb-7dea-ac4b-9299ff8ab64f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_01a011fc-43cb-7502-b4b7-b0aad6d154a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_01a011fc-43cb-714c-b44a-1826762b05d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_01a011fc-43cb-7502-b4b7-b0aad6d154a9" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_01a011fc-43cb-714c-b44a-1826762b05d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_01a011fc-43cb-78d5-aeae-f5ed6f2257f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_01a011fc-43cb-7502-b4b7-b0aad6d154a9" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_01a011fc-43cb-78d5-aeae-f5ed6f2257f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_01a011fc-43cb-7929-b82d-64b9806065ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_01a011fc-43cb-7d9f-923f-bf468d8d5ceb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_01a011fc-43cb-7929-b82d-64b9806065ea" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_01a011fc-43cb-7d9f-923f-bf468d8d5ceb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_01a011fc-43cb-70c3-b15c-4e9bbde1cc40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_01a011fc-43cb-7929-b82d-64b9806065ea" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_01a011fc-43cb-70c3-b15c-4e9bbde1cc40" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
