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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:6938ba0e-3605-41b9-bc2f-517c4bbeac52,g:d8768d54-d6f9-4635-9bbd-13c02f4acebd-->
<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.thefirst.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="fnlc-20260331.xsd#ConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_930fc3dd-d64a-4e4a-9136-7b662ae16cd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_930fc3dd-d64a-4e4a-9136-7b662ae16cd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_b3180db2-9a80-49b0-af09-2e74a0eaaaba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_b3180db2-9a80-49b0-af09-2e74a0eaaaba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_89c62ab7-c060-4124-aa35-61532a885312" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_89c62ab7-c060-4124-aa35-61532a885312" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_d3006dff-335c-4af8-9efe-217700bc859b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_d3006dff-335c-4af8-9efe-217700bc859b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_RestrictedEquitySecuritiesAtCost_129fea4f-74dd-47cb-adae-690898bcad96" xlink:href="fnlc-20260331.xsd#fnlc_RestrictedEquitySecuritiesAtCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_fnlc_RestrictedEquitySecuritiesAtCost_129fea4f-74dd-47cb-adae-690898bcad96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_d9b1d62a-a000-4bb7-a99c-728f9fb3ed59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_d9b1d62a-a000-4bb7-a99c-728f9fb3ed59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_dcd31a11-3c29-470e-93d5-4c38d0e2817f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_us-gaap_InterestReceivable_dcd31a11-3c29-470e-93d5-4c38d0e2817f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetNetOfAccumulatedDepreciationAndAmortization_45ddaebe-8692-40e4-b2a4-b5360517fa84" xlink:href="fnlc-20260331.xsd#fnlc_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetNetOfAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_fnlc_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetNetOfAccumulatedDepreciationAndAmortization_45ddaebe-8692-40e4-b2a4-b5360517fa84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_8fc0f598-18c5-4816-ba91-151426110168" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_us-gaap_Goodwill_8fc0f598-18c5-4816-ba91-151426110168" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_5915d8b2-8536-490b-85d8-871cd8b0faea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7e28bb09-b87e-41b3-9900-fa3a194be595" xlink:to="loc_us-gaap_OtherAssets_5915d8b2-8536-490b-85d8-871cd8b0faea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_1663cf93-2900-4b7a-8db0-be4da5bca524" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DemandDepositAccounts_2bce89c7-fae9-499e-b71a-e9dd3bfac7c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DemandDepositAccounts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_1663cf93-2900-4b7a-8db0-be4da5bca524" xlink:to="loc_us-gaap_DemandDepositAccounts_2bce89c7-fae9-499e-b71a-e9dd3bfac7c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_44a5c294-b375-484e-bcb5-6ad462dec507" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1663cf93-2900-4b7a-8db0-be4da5bca524" xlink:to="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_44a5c294-b375-484e-bcb5-6ad462dec507" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsMoneyMarketDeposits_7ff69509-d6af-421f-af39-99100a66d820" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsMoneyMarketDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_1663cf93-2900-4b7a-8db0-be4da5bca524" xlink:to="loc_us-gaap_DepositsMoneyMarketDeposits_7ff69509-d6af-421f-af39-99100a66d820" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsSavingsDeposits_dee1f3a9-3a4d-4d7e-89ee-46019b4d20e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsSavingsDeposits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_1663cf93-2900-4b7a-8db0-be4da5bca524" xlink:to="loc_us-gaap_DepositsSavingsDeposits_dee1f3a9-3a4d-4d7e-89ee-46019b4d20e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_6f5bad58-aea0-4582-8392-57d54e2d10e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1663cf93-2900-4b7a-8db0-be4da5bca524" xlink:to="loc_us-gaap_TimeDeposits_6f5bad58-aea0-4582-8392-57d54e2d10e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_214dce55-d19b-49dd-9ffd-c7a21ed4b6b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_3b6d9367-8c68-4d0d-8c00-472a4b78ed5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_214dce55-d19b-49dd-9ffd-c7a21ed4b6b7" xlink:to="loc_us-gaap_StockholdersEquity_3b6d9367-8c68-4d0d-8c00-472a4b78ed5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_3aac33cb-6d11-45a5-8f3d-a45071c77b8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_214dce55-d19b-49dd-9ffd-c7a21ed4b6b7" xlink:to="loc_us-gaap_Liabilities_3aac33cb-6d11-45a5-8f3d-a45071c77b8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_d2fe26d9-05b3-475f-a1d0-7109beb638b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_6ff5bd8f-c893-4b38-b023-d71084d3d79e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_d2fe26d9-05b3-475f-a1d0-7109beb638b4" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_6ff5bd8f-c893-4b38-b023-d71084d3d79e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_eb38e198-cf41-42e2-b03c-3b80a3532856" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_d2fe26d9-05b3-475f-a1d0-7109beb638b4" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_eb38e198-cf41-42e2-b03c-3b80a3532856" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_868d5a17-0512-4243-a054-840e2e757116" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_9e796805-52da-49ce-a63b-ddc0c2d58eb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_868d5a17-0512-4243-a054-840e2e757116" xlink:to="loc_us-gaap_OtherLiabilities_9e796805-52da-49ce-a63b-ddc0c2d58eb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_083b1f1d-469b-4225-96da-2efdc5b13f66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_868d5a17-0512-4243-a054-840e2e757116" xlink:to="loc_us-gaap_LongTermDebt_083b1f1d-469b-4225-96da-2efdc5b13f66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_8ca8a2fa-9490-4c9b-b411-84ca8e70aabb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_868d5a17-0512-4243-a054-840e2e757116" xlink:to="loc_us-gaap_ShortTermBorrowings_8ca8a2fa-9490-4c9b-b411-84ca8e70aabb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_f37fd9dd-11c0-48ad-b102-673054b25193" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_868d5a17-0512-4243-a054-840e2e757116" xlink:to="loc_us-gaap_Deposits_f37fd9dd-11c0-48ad-b102-673054b25193" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_36d7af62-74d5-41b2-9e3c-d4099cfd0d53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_33e9670d-d865-4f65-b160-ef5475dde927" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_36d7af62-74d5-41b2-9e3c-d4099cfd0d53" xlink:to="loc_us-gaap_CommonStockValue_33e9670d-d865-4f65-b160-ef5475dde927" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_24c325d0-eb3b-4da8-9f4c-63d4f3a4a25b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_36d7af62-74d5-41b2-9e3c-d4099cfd0d53" xlink:to="loc_us-gaap_AdditionalPaidInCapital_24c325d0-eb3b-4da8-9f4c-63d4f3a4a25b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_193ff9db-1e7c-4111-837d-a6a74e641031" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_36d7af62-74d5-41b2-9e3c-d4099cfd0d53" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_193ff9db-1e7c-4111-837d-a6a74e641031" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_5f75bc9f-1bf6-4030-8307-f5febae25654" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_36d7af62-74d5-41b2-9e3c-d4099cfd0d53" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_5f75bc9f-1bf6-4030-8307-f5febae25654" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_OtherComprehensiveIncomeLossAccumulatedUnrealizedGainLossonTransferofAvailableforsaleSecuritiestoHeldtomaturity_49ae809d-87fa-4e01-8eb5-d7255123fb5d" xlink:href="fnlc-20260331.xsd#fnlc_OtherComprehensiveIncomeLossAccumulatedUnrealizedGainLossonTransferofAvailableforsaleSecuritiestoHeldtomaturity"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_36d7af62-74d5-41b2-9e3c-d4099cfd0d53" xlink:to="loc_fnlc_OtherComprehensiveIncomeLossAccumulatedUnrealizedGainLossonTransferofAvailableforsaleSecuritiestoHeldtomaturity_49ae809d-87fa-4e01-8eb5-d7255123fb5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_2068f277-ba70-4fee-8901-615029135fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_36d7af62-74d5-41b2-9e3c-d4099cfd0d53" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_2068f277-ba70-4fee-8901-615029135fc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax_afabedfa-5913-4833-ae94-52b8a22fc530" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_36d7af62-74d5-41b2-9e3c-d4099cfd0d53" xlink:to="loc_us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax_afabedfa-5913-4833-ae94-52b8a22fc530" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsofIncomeandComprehensiveIncomeUnaudited" xlink:type="simple" xlink:href="fnlc-20260331.xsd#ConsolidatedStatementsofIncomeandComprehensiveIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsofIncomeandComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_fb3e5184-172a-45f5-96fa-97cb89b6104c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f20a1b16-800a-45a2-81ce-eb89a76a3f2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_fb3e5184-172a-45f5-96fa-97cb89b6104c" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f20a1b16-800a-45a2-81ce-eb89a76a3f2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5ffae956-b4d4-4da1-8b84-e9925ff4db8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_fb3e5184-172a-45f5-96fa-97cb89b6104c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5ffae956-b4d4-4da1-8b84-e9925ff4db8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_edf7aa3f-8190-4080-9c72-c7dfc1866b94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_fc4c71d6-eeef-4d21-b240-5cdb942da050" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_edf7aa3f-8190-4080-9c72-c7dfc1866b94" xlink:to="loc_us-gaap_NoninterestExpense_fc4c71d6-eeef-4d21-b240-5cdb942da050" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_717b15b2-efac-4292-bfa1-365299749daf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_edf7aa3f-8190-4080-9c72-c7dfc1866b94" xlink:to="loc_us-gaap_NoninterestIncome_717b15b2-efac-4292-bfa1-365299749daf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_6614b189-3e3c-46bd-a8d9-817ae85f1da6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_edf7aa3f-8190-4080-9c72-c7dfc1866b94" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_6614b189-3e3c-46bd-a8d9-817ae85f1da6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_f200b3c1-1b83-4626-bcd8-88d35e02e31d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_CreditLossExpenseReversal_5b7bb827-cdd9-4f9b-88ef-30747d9766eb" xlink:href="fnlc-20260331.xsd#fnlc_CreditLossExpenseReversal"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_f200b3c1-1b83-4626-bcd8-88d35e02e31d" xlink:to="loc_fnlc_CreditLossExpenseReversal_5b7bb827-cdd9-4f9b-88ef-30747d9766eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_20364613-3b71-4134-99da-322eb0aef27f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_f200b3c1-1b83-4626-bcd8-88d35e02e31d" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_20364613-3b71-4134-99da-322eb0aef27f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_bb94fa80-f051-4cb4-8260-a62e78a22498" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_125373d6-0e70-453f-a6e2-7be1930fe933" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bb94fa80-f051-4cb4-8260-a62e78a22498" xlink:to="loc_us-gaap_NetIncomeLoss_125373d6-0e70-453f-a6e2-7be1930fe933" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_94ab5150-c65b-49a2-bc92-70cda8e4f903" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bb94fa80-f051-4cb4-8260-a62e78a22498" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_94ab5150-c65b-49a2-bc92-70cda8e4f903" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_74dab4a4-3089-47ea-8dbc-e7db33f888b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_f7e4d49d-552f-472e-b52a-2396893ed2a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_74dab4a4-3089-47ea-8dbc-e7db33f888b1" xlink:to="loc_us-gaap_OtherNoninterestExpense_f7e4d49d-552f-472e-b52a-2396893ed2a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_78dc22c0-3861-49e8-ae3d-8648321948ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_74dab4a4-3089-47ea-8dbc-e7db33f888b1" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_78dc22c0-3861-49e8-ae3d-8648321948ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_883b90d8-739a-419a-8640-8b80ce2d0c6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_74dab4a4-3089-47ea-8dbc-e7db33f888b1" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_883b90d8-739a-419a-8640-8b80ce2d0c6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentExpense_e708435d-b8c4-4d0b-bdc3-2246bacdb34e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquipmentExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_74dab4a4-3089-47ea-8dbc-e7db33f888b1" xlink:to="loc_us-gaap_EquipmentExpense_e708435d-b8c4-4d0b-bdc3-2246bacdb34e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_281c55c0-de78-43aa-866a-abb479dd8c50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OccupancyNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_74dab4a4-3089-47ea-8dbc-e7db33f888b1" xlink:to="loc_us-gaap_OccupancyNet_281c55c0-de78-43aa-866a-abb479dd8c50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_42a39105-f5f9-4cf4-9ca0-fd1387786bf8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_74dab4a4-3089-47ea-8dbc-e7db33f888b1" xlink:to="loc_us-gaap_LaborAndRelatedExpense_42a39105-f5f9-4cf4-9ca0-fd1387786bf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_18c565ab-e7be-4838-b8ba-9f6d511190e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_32c50df9-1fe4-44dc-acae-42b791045133" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_18c565ab-e7be-4838-b8ba-9f6d511190e2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_32c50df9-1fe4-44dc-acae-42b791045133" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss_77bb9f36-9584-4f36-8663-5829c3c19f1d" xlink:href="fnlc-20260331.xsd#fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_18c565ab-e7be-4838-b8ba-9f6d511190e2" xlink:to="loc_fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss_77bb9f36-9584-4f36-8663-5829c3c19f1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_6c7558ad-0453-4a7d-99d2-322eec9a6f57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_18c565ab-e7be-4838-b8ba-9f6d511190e2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_6c7558ad-0453-4a7d-99d2-322eec9a6f57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_4d237dcf-c446-4da1-81bd-9e72ad080af9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_894aa094-b31d-49d4-bd88-26039b0eb87b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_4d237dcf-c446-4da1-81bd-9e72ad080af9" xlink:to="loc_us-gaap_InterestExpenseBorrowings_894aa094-b31d-49d4-bd88-26039b0eb87b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_200f76f4-49bf-4bb8-babe-b5d8e1321264" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_4d237dcf-c446-4da1-81bd-9e72ad080af9" xlink:to="loc_us-gaap_InterestExpenseDeposits_200f76f4-49bf-4bb8-babe-b5d8e1321264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_9a27aaa8-3a80-480d-88dd-b427d5f16bc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_e6e340a2-e38b-473c-be06-ef0a10391f93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9a27aaa8-3a80-480d-88dd-b427d5f16bc7" xlink:to="loc_us-gaap_InterestExpenseOperating_e6e340a2-e38b-473c-be06-ef0a10391f93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_fc025847-0b79-423e-847d-5d8d741ae450" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9a27aaa8-3a80-480d-88dd-b427d5f16bc7" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_fc025847-0b79-423e-847d-5d8d741ae450" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_1afdfecf-d8ef-4de0-a363-fedc430646d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_7cde356e-2269-43f7-ad84-99de66e729f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_1afdfecf-d8ef-4de0-a363-fedc430646d4" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_7cde356e-2269-43f7-ad84-99de66e729f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_afb8dd3a-55a3-47b2-9c57-5896674b2381" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_1afdfecf-d8ef-4de0-a363-fedc430646d4" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_afb8dd3a-55a3-47b2-9c57-5896674b2381" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019d7575-6130-733e-98db-b60113ab886e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_1afdfecf-d8ef-4de0-a363-fedc430646d4" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019d7575-6130-733e-98db-b60113ab886e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_a81d949c-54ee-4ab4-91ba-6faaa7a24e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecurities_57ac64b9-31a3-4c93-8391-70bc3bc74bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_a81d949c-54ee-4ab4-91ba-6faaa7a24e5b" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecurities_57ac64b9-31a3-4c93-8391-70bc3bc74bbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_d47f6536-077d-4f97-9db4-e495ae914635" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_a81d949c-54ee-4ab4-91ba-6faaa7a24e5b" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_d47f6536-077d-4f97-9db4-e495ae914635" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_0b0b848f-d9f2-4a68-8f31-6dd3db119b04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_a81d949c-54ee-4ab4-91ba-6faaa7a24e5b" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_0b0b848f-d9f2-4a68-8f31-6dd3db119b04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_CreditLossExpenseReversal_14ab4c5c-0d0f-4ee1-b3e5-67ef2a9f47ed" xlink:href="fnlc-20260331.xsd#fnlc_CreditLossExpenseReversal"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_63fb26ae-5ed4-48cf-9e89-a0a29f22417e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnlc_CreditLossExpenseReversal_14ab4c5c-0d0f-4ee1-b3e5-67ef2a9f47ed" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_63fb26ae-5ed4-48cf-9e89-a0a29f22417e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal_93393f2f-4af2-4d34-bd54-39fc77cc0fd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnlc_CreditLossExpenseReversal_14ab4c5c-0d0f-4ee1-b3e5-67ef2a9f47ed" xlink:to="loc_us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal_93393f2f-4af2-4d34-bd54-39fc77cc0fd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityCreditLossExpenseReversal_540f3ea2-eb60-413e-a91c-00a0df893f46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityCreditLossExpenseReversal"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fnlc_CreditLossExpenseReversal_14ab4c5c-0d0f-4ee1-b3e5-67ef2a9f47ed" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityCreditLossExpenseReversal_540f3ea2-eb60-413e-a91c-00a0df893f46" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="fnlc-20260331.xsd#ConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_00dc543d-d524-43dd-b156-536d854b0563" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_af148c93-71f4-4a80-99ac-8f545506cf4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_00dc543d-d524-43dd-b156-536d854b0563" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_af148c93-71f4-4a80-99ac-8f545506cf4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fdb27a26-1ee9-4af4-b8bb-15b3f8f8e84f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_00dc543d-d524-43dd-b156-536d854b0563" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fdb27a26-1ee9-4af4-b8bb-15b3f8f8e84f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96867458-2c9a-4dca-804a-3c245311e4d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_00dc543d-d524-43dd-b156-536d854b0563" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96867458-2c9a-4dca-804a-3c245311e4d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_InterestBearingDepositsInOtherBanks_bf6b7fda-f3fc-42ee-a676-7c168428046e" xlink:href="fnlc-20260331.xsd#fnlc_InterestBearingDepositsInOtherBanks"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_fnlc_InterestBearingDepositsInOtherBanks_bf6b7fda-f3fc-42ee-a676-7c168428046e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_90deccec-376d-4b85-aec1-b39f3a3b1ba2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_90deccec-376d-4b85-aec1-b39f3a3b1ba2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_9ab74098-63d2-407d-9e5a-c83dcc0c9ad1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_9ab74098-63d2-407d-9e5a-c83dcc0c9ad1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_e6dd13f0-b28b-4c11-ab06-5b41e13354cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_e6dd13f0-b28b-4c11-ab06-5b41e13354cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_1b4a3ae1-6bf7-4a64-bbc6-7765114ba9a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_1b4a3ae1-6bf7-4a64-bbc6-7765114ba9a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_7cf67211-b72e-4c0d-bdc9-1259e619f30b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_7cf67211-b72e-4c0d-bdc9-1259e619f30b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_9d7c4139-683e-47a4-8506-a1ca8519a438" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_9d7c4139-683e-47a4-8506-a1ca8519a438" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_IncreaseDecreaseInRestrictedEquitySecurities_8b2ca430-3c9a-4e5f-97ec-1dbfa0f1186c" xlink:href="fnlc-20260331.xsd#fnlc_IncreaseDecreaseInRestrictedEquitySecurities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_fnlc_IncreaseDecreaseInRestrictedEquitySecurities_8b2ca430-3c9a-4e5f-97ec-1dbfa0f1186c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireFinanceReceivables_81e3b1e6-06ae-42a4-88de-a834185ee5f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireFinanceReceivables"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_PaymentsToAcquireFinanceReceivables_81e3b1e6-06ae-42a4-88de-a834185ee5f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_dcbec96f-399d-436d-8288-c6fe0782f029" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_dcbec96f-399d-436d-8288-c6fe0782f029" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019d62bb-7c2f-7df3-8253-842d19b54329" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4b5aa326-f5fa-4f03-8328-a1a51493db3f" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019d62bb-7c2f-7df3-8253-842d19b54329" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7165f57d-aabf-4a7b-9af9-4466dac0e095" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_NetIncomeLoss_7165f57d-aabf-4a7b-9af9-4466dac0e095" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_f4e143c6-145a-435e-aac4-b6ef3542f2a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_Depreciation_f4e143c6-145a-435e-aac4-b6ef3542f2a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_fb3cb443-9158-4ac9-af01-53e8d615cd8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_fb3cb443-9158-4ac9-af01-53e8d615cd8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_CreditLossExpenseReversal_4955cc20-283f-4372-b706-fd796ba0fa06" xlink:href="fnlc-20260331.xsd#fnlc_CreditLossExpenseReversal"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_fnlc_CreditLossExpenseReversal_4955cc20-283f-4372-b706-fd796ba0fa06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_05177cae-c435-4c3c-85f5-b4b84b848953" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_05177cae-c435-4c3c-85f5-b4b84b848953" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_328f84b6-b848-41ca-b2a9-407ccfc69a42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_328f84b6-b848-41ca-b2a9-407ccfc69a42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_6de04106-a6c5-46ca-8600-6d29cf7c6106" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_6de04106-a6c5-46ca-8600-6d29cf7c6106" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_1a9d539a-1677-4f3d-93c8-310b3cf40f3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_1a9d539a-1677-4f3d-93c8-310b3cf40f3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_6510645e-fcac-45c9-a49d-3545ce1c20f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_6510645e-fcac-45c9-a49d-3545ce1c20f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_ba5d44b1-c6b6-4ebb-a10a-1127fecbc529" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_ShareBasedCompensation_ba5d44b1-c6b6-4ebb-a10a-1127fecbc529" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_89b467b8-5566-41c3-a312-9f883e2e9be0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_89b467b8-5566-41c3-a312-9f883e2e9be0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_85e10735-af03-4cc0-804e-9ffc869afdd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_85e10735-af03-4cc0-804e-9ffc869afdd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_4f72ecfc-52fd-4cb2-9772-6f13d44ccc68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_4f72ecfc-52fd-4cb2-9772-6f13d44ccc68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDepreciationAndAmortization_ece98c52-2a37-4ba4-b07f-391aa879a0d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherDepreciationAndAmortization"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_OtherDepreciationAndAmortization_ece98c52-2a37-4ba4-b07f-391aa879a0d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfAcquisitionCosts_8d4ca153-e597-437d-8525-1136657d0525" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfAcquisitionCosts"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_AmortizationOfAcquisitionCosts_8d4ca153-e597-437d-8525-1136657d0525" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019d62ba-8fdc-74a8-b3fb-277da3c22f7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8d8bcbcc-938f-40b8-903b-6b7f6d885dd0" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019d62ba-8fdc-74a8-b3fb-277da3c22f7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4e53a9d8-8959-43fd-825e-6f30e1f06dbc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_IncreaseDecreaseinDemandDepositsSavingsDepositsandMoneyMarketAccounts_f6df390d-519b-4b5e-8a83-b3bacb318674" xlink:href="fnlc-20260331.xsd#fnlc_IncreaseDecreaseinDemandDepositsSavingsDepositsandMoneyMarketAccounts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4e53a9d8-8959-43fd-825e-6f30e1f06dbc" xlink:to="loc_fnlc_IncreaseDecreaseinDemandDepositsSavingsDepositsandMoneyMarketAccounts_f6df390d-519b-4b5e-8a83-b3bacb318674" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInTimeDeposits_13221eb7-f53b-4ed0-8e63-21fdce21e28c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInTimeDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4e53a9d8-8959-43fd-825e-6f30e1f06dbc" xlink:to="loc_us-gaap_IncreaseDecreaseInTimeDeposits_13221eb7-f53b-4ed0-8e63-21fdce21e28c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_e1e3aadc-16a6-45fd-b175-5a806b401020" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4e53a9d8-8959-43fd-825e-6f30e1f06dbc" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_e1e3aadc-16a6-45fd-b175-5a806b401020" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_40741e18-7b0b-4573-915e-ea1f108b0447" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4e53a9d8-8959-43fd-825e-6f30e1f06dbc" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_40741e18-7b0b-4573-915e-ea1f108b0447" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_e405b1e5-f993-44f6-a058-37c595aab66b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4e53a9d8-8959-43fd-825e-6f30e1f06dbc" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_e405b1e5-f993-44f6-a058-37c595aab66b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_475b0031-cc28-45cc-8ad5-a5b535409d95" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4e53a9d8-8959-43fd-825e-6f30e1f06dbc" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_475b0031-cc28-45cc-8ad5-a5b535409d95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_019d28eb-bbbb-7bc1-8e83-e3cf6891073c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_4e53a9d8-8959-43fd-825e-6f30e1f06dbc" xlink:to="loc_us-gaap_PaymentsOfDividends_019d28eb-bbbb-7bc1-8e83-e3cf6891073c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesScheduleofAmortizedCostandEstimatedFairValueAFSHTMandRestrictedEquitySecuritiesDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#InvestmentSecuritiesScheduleofAmortizedCostandEstimatedFairValueAFSHTMandRestrictedEquitySecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesScheduleofAmortizedCostandEstimatedFairValueAFSHTMandRestrictedEquitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_703a6c26-8381-4771-80bd-a87c8d9e4701" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_c75bac5c-0652-462c-bd65-c218c3d0cf6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_703a6c26-8381-4771-80bd-a87c8d9e4701" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_c75bac5c-0652-462c-bd65-c218c3d0cf6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossExcludingAccruedInterest_9c2dceec-d981-456a-a195-584d15823c1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_703a6c26-8381-4771-80bd-a87c8d9e4701" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossExcludingAccruedInterest_9c2dceec-d981-456a-a195-584d15823c1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_ec9fa2ab-457e-4531-bb81-2569178e5eee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_637877f4-a6a9-43a2-a385-f3e836001dac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_ec9fa2ab-457e-4531-bb81-2569178e5eee" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_637877f4-a6a9-43a2-a385-f3e836001dac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_10662255-0851-4b32-859c-593f780cb6f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_ec9fa2ab-457e-4531-bb81-2569178e5eee" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_10662255-0851-4b32-859c-593f780cb6f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_6c90e204-0edd-4077-8a6d-048f51a8eb93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_ec9fa2ab-457e-4531-bb81-2569178e5eee" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_6c90e204-0edd-4077-8a6d-048f51a8eb93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock_f9a6f071-ebbf-40be-8c21-3d8b68289ff3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalReserveBankStock_95e6448b-1ab9-4d2e-b4ea-c863010285f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalReserveBankStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock_f9a6f071-ebbf-40be-8c21-3d8b68289ff3" xlink:to="loc_us-gaap_FederalReserveBankStock_95e6448b-1ab9-4d2e-b4ea-c863010285f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_425e38cb-4abd-484d-857b-10aeffcc3d4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock_f9a6f071-ebbf-40be-8c21-3d8b68289ff3" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_425e38cb-4abd-484d-857b-10aeffcc3d4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_bb33591a-1298-48a3-aead-2fe8e800b121" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_bc6cf92f-26d0-48f1-9492-ad2cd8d09b22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_bb33591a-1298-48a3-aead-2fe8e800b121" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_bc6cf92f-26d0-48f1-9492-ad2cd8d09b22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_61343ff9-e9e4-46d4-8d61-bcbeca26f6b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_bb33591a-1298-48a3-aead-2fe8e800b121" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_61343ff9-e9e4-46d4-8d61-bcbeca26f6b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_f4be74fb-cdf4-490b-a82b-94b9f19c33d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_bb33591a-1298-48a3-aead-2fe8e800b121" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_f4be74fb-cdf4-490b-a82b-94b9f19c33d2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesScheduleofContractualMaturitiesDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#InvestmentSecuritiesScheduleofContractualMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesScheduleofContractualMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_c55e65e8-8f79-43c8-a9ae-6fb6f382c539" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_ab44dfb6-3876-45fb-8810-46494103923d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_c55e65e8-8f79-43c8-a9ae-6fb6f382c539" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_ab44dfb6-3876-45fb-8810-46494103923d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_88420889-bc06-4d50-8df6-bef96c7cbecd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_c55e65e8-8f79-43c8-a9ae-6fb6f382c539" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_88420889-bc06-4d50-8df6-bef96c7cbecd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_dbb7f332-b6c5-431e-b305-5daf539f7ce4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_c55e65e8-8f79-43c8-a9ae-6fb6f382c539" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_dbb7f332-b6c5-431e-b305-5daf539f7ce4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_5ee89a13-c850-4201-a9ac-3615681ae087" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_c55e65e8-8f79-43c8-a9ae-6fb6f382c539" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_5ee89a13-c850-4201-a9ac-3615681ae087" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_01aec1b3-c37f-4766-ab23-9479cc0e047c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount_8a5535f5-3f30-4127-88bd-b18787cc8c16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_01aec1b3-c37f-4766-ab23-9479cc0e047c" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount_8a5535f5-3f30-4127-88bd-b18787cc8c16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_1e37d7dd-490b-4b39-8896-d541966ae213" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_01aec1b3-c37f-4766-ab23-9479cc0e047c" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_1e37d7dd-490b-4b39-8896-d541966ae213" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_2989d332-4394-4661-be69-796ec65e4f55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_01aec1b3-c37f-4766-ab23-9479cc0e047c" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_2989d332-4394-4661-be69-796ec65e4f55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_29f91fd9-f1c2-4348-8d97-47857458291e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_01aec1b3-c37f-4766-ab23-9479cc0e047c" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_29f91fd9-f1c2-4348-8d97-47857458291e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_7cb511c8-3e4b-4603-90d3-8a778ae01b26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_74ac5ae4-ca49-490c-bf9f-584162116eaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7cb511c8-3e4b-4603-90d3-8a778ae01b26" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_74ac5ae4-ca49-490c-bf9f-584162116eaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_a369a98c-2318-4835-86c7-0e1bca086b19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7cb511c8-3e4b-4603-90d3-8a778ae01b26" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_a369a98c-2318-4835-86c7-0e1bca086b19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_b0d68d26-e0de-4a10-8d79-9225adf3b35f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7cb511c8-3e4b-4603-90d3-8a778ae01b26" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_b0d68d26-e0de-4a10-8d79-9225adf3b35f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_d7a04055-2db4-45b6-9bd9-2fbf7f9e5f29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7cb511c8-3e4b-4603-90d3-8a778ae01b26" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_d7a04055-2db4-45b6-9bd9-2fbf7f9e5f29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_0cdb6922-4bec-4725-be8a-e04cc5f77c77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_102c9b19-f7b5-403d-91c9-28308240d5be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_0cdb6922-4bec-4725-be8a-e04cc5f77c77" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_102c9b19-f7b5-403d-91c9-28308240d5be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_d7ac956e-1175-42b0-9f13-402714bfbe4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_0cdb6922-4bec-4725-be8a-e04cc5f77c77" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_d7ac956e-1175-42b0-9f13-402714bfbe4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_98b59436-ac36-45b9-9ba2-8b9c3b1b29e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_0cdb6922-4bec-4725-be8a-e04cc5f77c77" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_98b59436-ac36-45b9-9ba2-8b9c3b1b29e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_17f44850-7fc6-4dcc-a6a1-95d03d05ffe0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_0cdb6922-4bec-4725-be8a-e04cc5f77c77" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_17f44850-7fc6-4dcc-a6a1-95d03d05ffe0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesSecuritiesGainsandLossesDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#InvestmentSecuritiesSecuritiesGainsandLossesDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesSecuritiesGainsandLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019d755f-167d-7daa-b28a-7cb67be4bbef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_019d755f-167d-7c20-823d-227bf529b5e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019d755f-167d-7daa-b28a-7cb67be4bbef" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_019d755f-167d-7c20-823d-227bf529b5e1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesSecuritiesTemporarilyImpairedDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#InvestmentSecuritiesSecuritiesTemporarilyImpairedDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesSecuritiesTemporarilyImpairedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_42290a76-162a-4cff-b17e-e409fbb88bb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_3d482ca9-fe4e-46dc-a418-c7c11126a6e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_42290a76-162a-4cff-b17e-e409fbb88bb8" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_3d482ca9-fe4e-46dc-a418-c7c11126a6e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_d9a41b7b-22fe-4bd5-911f-f621fd844657" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_42290a76-162a-4cff-b17e-e409fbb88bb8" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_d9a41b7b-22fe-4bd5-911f-f621fd844657" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_7917af5a-e31d-490d-ae60-1a0c04079e23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_58c5b73e-2d61-4ae3-b997-72cd16904a77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_7917af5a-e31d-490d-ae60-1a0c04079e23" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_58c5b73e-2d61-4ae3-b997-72cd16904a77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_9cb1d5d3-284d-4d28-8a43-ab0f3d8773ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_7917af5a-e31d-490d-ae60-1a0c04079e23" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_9cb1d5d3-284d-4d28-8a43-ab0f3d8773ac" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansNonaccrualLoansDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#LoansNonaccrualLoansDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansNonaccrualLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_10aa9158-0bcf-437a-ac22-1726e7b844eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance_304fc164-3e3f-4615-9579-83fa24437a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableNonaccrualNoAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_10aa9158-0bcf-437a-ac22-1726e7b844eb" xlink:to="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance_304fc164-3e3f-4615-9579-83fa24437a0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_FinancingReceivableNonaccrualWithAllowance_b714b68f-d041-4110-9483-4f5bf2a28ad7" xlink:href="fnlc-20260331.xsd#fnlc_FinancingReceivableNonaccrualWithAllowance"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_10aa9158-0bcf-437a-ac22-1726e7b844eb" xlink:to="loc_fnlc_FinancingReceivableNonaccrualWithAllowance_b714b68f-d041-4110-9483-4f5bf2a28ad7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceforCreditLossesCreditQualityRiskRatingsbySegmentDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#AllowanceforCreditLossesCreditQualityRiskRatingsbySegmentDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/AllowanceforCreditLossesCreditQualityRiskRatingsbySegmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_2c104806-d1d2-47c6-906e-e459ae9c8c79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_2c104806-d1d2-47c6-906e-e459ae9c8c79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_cd343bf0-6b56-475c-a648-24b5a301ceaa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_cd343bf0-6b56-475c-a648-24b5a301ceaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_5f157091-1922-43a3-b450-8fc073089ef2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_5f157091-1922-43a3-b450-8fc073089ef2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_541b9cff-05d0-4ff9-964f-8bec79d4c213" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_541b9cff-05d0-4ff9-964f-8bec79d4c213" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_0fc17969-474d-484a-96bb-d2879fec32d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_0fc17969-474d-484a-96bb-d2879fec32d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_82575aa6-b15c-478f-8208-23a9ababc62c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_82575aa6-b15c-478f-8208-23a9ababc62c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_38e766e7-c233-40f6-9fd5-87350c855faa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_38e766e7-c233-40f6-9fd5-87350c855faa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_46a0ed5e-3826-4a5f-ad4c-b601d89e7f12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_26758ac0-ab4e-41c6-81cf-c595b95d940d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_46a0ed5e-3826-4a5f-ad4c-b601d89e7f12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_e4196575-8b39-4ffd-bce0-6e3a51e2afad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_e4196575-8b39-4ffd-bce0-6e3a51e2afad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_54a83cbf-2b25-4bc3-8351-95d4d4cd17d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_54a83cbf-2b25-4bc3-8351-95d4d4cd17d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_9b53d0b8-42da-4df6-bf73-3849bbdd6030" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_9b53d0b8-42da-4df6-bf73-3849bbdd6030" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_dfab491e-42a5-4b0e-842f-1b704c482e29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_dfab491e-42a5-4b0e-842f-1b704c482e29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_a590a152-1468-4bc2-9391-3d7c9aeadcdc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_a590a152-1468-4bc2-9391-3d7c9aeadcdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_6205993b-b8f6-48f1-beca-fc18aefd4a5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_6205993b-b8f6-48f1-beca-fc18aefd4a5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_876aa3a1-fcc5-4141-8b03-08f8938e0603" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_876aa3a1-fcc5-4141-8b03-08f8938e0603" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_206b719d-d61e-4114-a954-c56958359e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_0ae8b250-0271-4b32-ab8a-687ae252e04f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_206b719d-d61e-4114-a954-c56958359e6f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#EarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_c479632c-7a95-4a37-88b4-65f0835bfde0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_8a26b977-15c1-413f-80ab-9fbc92222778" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_c479632c-7a95-4a37-88b4-65f0835bfde0" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_8a26b977-15c1-413f-80ab-9fbc92222778" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_a2057d04-b938-4823-8710-50616fdddcc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_a58680bb-08f8-44cb-87f5-39e79fd54f47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_NetIncomeLossAvailableToCommonStockholdersBasic_a2057d04-b938-4823-8710-50616fdddcc6" xlink:to="loc_us-gaap_NetIncomeLoss_a58680bb-08f8-44cb-87f5-39e79fd54f47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_70ce1d18-a082-4470-9aca-363a5bdf6f08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_397a9d4e-f8b6-4bc3-97bf-effc59ac0912" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_70ce1d18-a082-4470-9aca-363a5bdf6f08" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_397a9d4e-f8b6-4bc3-97bf-effc59ac0912" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_656c99d5-a3cb-4ea8-afb9-07bb993284da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_70ce1d18-a082-4470-9aca-363a5bdf6f08" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_656c99d5-a3cb-4ea8-afb9-07bb993284da" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansScheduleofNetPeriodicBenefitCostNotYetRecognizedDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#EmployeeBenefitPlansScheduleofNetPeriodicBenefitCostNotYetRecognizedDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansScheduleofNetPeriodicBenefitCostNotYetRecognizedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_91ab3aca-1726-41f0-a582-ed85793a379a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_AccumulatedOtherComprehensiveIncomeDefinedBenefitPlansTaxDeferredTaxBenefit_4766354b-d35c-4a87-ad8a-09bf8d0280f5" xlink:href="fnlc-20260331.xsd#fnlc_AccumulatedOtherComprehensiveIncomeDefinedBenefitPlansTaxDeferredTaxBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_91ab3aca-1726-41f0-a582-ed85793a379a" xlink:to="loc_fnlc_AccumulatedOtherComprehensiveIncomeDefinedBenefitPlansTaxDeferredTaxBenefit_4766354b-d35c-4a87-ad8a-09bf8d0280f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_ca98d895-b3c5-471f-a73c-fd654b842bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_91ab3aca-1726-41f0-a582-ed85793a379a" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_ca98d895-b3c5-471f-a73c-fd654b842bf0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossSummaryofUnrealizedGainsandLossesonAvailableforSaleSecuritiesDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#OtherComprehensiveIncomeLossSummaryofUnrealizedGainsandLossesonAvailableforSaleSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossSummaryofUnrealizedGainsandLossesonAvailableforSaleSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d30d647d-6f40-4dcd-bbee-903b9309854c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_448202f5-d44d-44e0-98e3-6ca1877196c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d30d647d-6f40-4dcd-bbee-903b9309854c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_448202f5-d44d-44e0-98e3-6ca1877196c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019d84b0-1fdd-702b-a2df-56a29fd2028f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d30d647d-6f40-4dcd-bbee-903b9309854c" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019d84b0-1fdd-702b-a2df-56a29fd2028f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_4545b2b9-deda-40a5-9c61-21658f353d4d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d30d647d-6f40-4dcd-bbee-903b9309854c" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_4545b2b9-deda-40a5-9c61-21658f353d4d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRightsScheduleofMortgageServicingRightsDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#MortgageServicingRightsScheduleofMortgageServicingRightsDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/MortgageServicingRightsScheduleofMortgageServicingRightsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtAmortizedValueFairValue_019d29bf-6951-7d9d-b64e-d5d4cbae7799" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServicingAssetAtAmortizedValueFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_MortgageServicingRightsGross_019d29bf-6951-7c6b-9f12-11d23fcc801a" xlink:href="fnlc-20260331.xsd#fnlc_MortgageServicingRightsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ServicingAssetAtAmortizedValueFairValue_019d29bf-6951-7d9d-b64e-d5d4cbae7799" xlink:to="loc_fnlc_MortgageServicingRightsGross_019d29bf-6951-7c6b-9f12-11d23fcc801a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_AccumulatedAmortizationMortgageServicingRights_019d29bf-6951-7564-b80e-1ba3778dd455" xlink:href="fnlc-20260331.xsd#fnlc_AccumulatedAmortizationMortgageServicingRights"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ServicingAssetAtAmortizedValueFairValue_019d29bf-6951-7d9d-b64e-d5d4cbae7799" xlink:to="loc_fnlc_AccumulatedAmortizationMortgageServicingRights_019d29bf-6951-7564-b80e-1ba3778dd455" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/CertificatesofDepositDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#CertificatesofDepositDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/CertificatesofDepositDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_c7b93d3e-b44a-42be-9668-471f25a1a314" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsLessThan100000_ba5ac276-a87a-436f-81e1-d0af5ee68bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositsLessThan100000"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_c7b93d3e-b44a-42be-9668-471f25a1a314" xlink:to="loc_us-gaap_TimeDepositsLessThan100000_ba5ac276-a87a-436f-81e1-d0af5ee68bb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_TimeDepositsGreaterThan100000AndLessThan250000_5a56fd88-507c-4e9e-98a7-908caf840f22" xlink:href="fnlc-20260331.xsd#fnlc_TimeDepositsGreaterThan100000AndLessThan250000"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_c7b93d3e-b44a-42be-9668-471f25a1a314" xlink:to="loc_fnlc_TimeDepositsGreaterThan100000AndLessThan250000_5a56fd88-507c-4e9e-98a7-908caf840f22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_TimeDeposits250000OrMore_cf3e529d-3c93-45e0-84af-802317ca5d8c" xlink:href="fnlc-20260331.xsd#fnlc_TimeDeposits250000OrMore"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_c7b93d3e-b44a-42be-9668-471f25a1a314" xlink:to="loc_fnlc_TimeDeposits250000OrMore_cf3e529d-3c93-45e0-84af-802317ca5d8c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsandLiabilitiesRecordedatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#FairValueAssetsandLiabilitiesRecordedatFairValueonaRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueAssetsandLiabilitiesRecordedatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_bdb25d8b-9442-4b96-87e2-7e7e09be31bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_485bb3fe-aa46-4a30-b7a6-b012cc97e93c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_AssetsFairValueDisclosure_bdb25d8b-9442-4b96-87e2-7e7e09be31bb" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_485bb3fe-aa46-4a30-b7a6-b012cc97e93c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_cf441fb2-ceb9-4639-803a-335245b00dbb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_bdb25d8b-9442-4b96-87e2-7e7e09be31bb" xlink:to="loc_us-gaap_DerivativeAssets_cf441fb2-ceb9-4639-803a-335245b00dbb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsRecordedatFairValueonaNonRecurringBasisDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#FairValueAssetsRecordedatFairValueonaNonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueAssetsRecordedatFairValueonaNonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_a58fa3f1-d6a1-4213-96fe-ba539dcfa0ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_02a5278f-b1fb-47c0-a4c7-192bb12a7589" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a58fa3f1-d6a1-4213-96fe-ba539dcfa0ec" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_02a5278f-b1fb-47c0-a4c7-192bb12a7589" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_ImpairedLoansFairValueDisclosure_42242cba-bd86-4e23-8152-68bfb33cdc95" xlink:href="fnlc-20260331.xsd#fnlc_ImpairedLoansFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a58fa3f1-d6a1-4213-96fe-ba539dcfa0ec" xlink:to="loc_fnlc_ImpairedLoansFairValueDisclosure_42242cba-bd86-4e23-8152-68bfb33cdc95" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueCarryingAmountsandEstimatedFairValuesDetails" xlink:type="simple" xlink:href="fnlc-20260331.xsd#FairValueCarryingAmountsandEstimatedFairValuesDetails"/>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueCarryingAmountsandEstimatedFairValuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_b0ec82fa-17df-4141-a71f-c7be96529509" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_fnlc_NationalCertificatesOfDeposit_f67c05c2-1c7d-4600-9893-023a5dab2ddd" xlink:href="fnlc-20260331.xsd#fnlc_NationalCertificatesOfDeposit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_b0ec82fa-17df-4141-a71f-c7be96529509" xlink:to="loc_fnlc_NationalCertificatesOfDeposit_f67c05c2-1c7d-4600-9893-023a5dab2ddd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_1a5bdd55-bc7c-425e-b780-678f1d3c6852" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_b0ec82fa-17df-4141-a71f-c7be96529509" xlink:to="loc_us-gaap_TimeDeposits_1a5bdd55-bc7c-425e-b780-678f1d3c6852" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_ea81b482-37e9-44d6-98a8-70d6903fd4a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability_2f81ecd3-fc87-4ded-bc9f-e87b538a6039" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_ea81b482-37e9-44d6-98a8-70d6903fd4a5" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability_2f81ecd3-fc87-4ded-bc9f-e87b538a6039" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_a55d1c7b-bede-4d88-a5df-93326a6fb10f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesLongTerm"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_ea81b482-37e9-44d6-98a8-70d6903fd4a5" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_a55d1c7b-bede-4d88-a5df-93326a6fb10f" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
