<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" 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">
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLosses" xlink:href="fnlc-20190331.xsd#AllowanceForLoanLosses" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesAllowanceForLoanLossActivityByClassDetails" xlink:href="fnlc-20190331.xsd#AllowanceForLoanLossesAllowanceForLoanLossActivityByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesFinancingReceivableAndAllowanceElementByClassDetails" xlink:href="fnlc-20190331.xsd#AllowanceForLoanLossesFinancingReceivableAndAllowanceElementByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesNarrativeDetails" xlink:href="fnlc-20190331.xsd#AllowanceForLoanLossesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesRiskRatingsBySegmentDetails" xlink:href="fnlc-20190331.xsd#AllowanceForLoanLossesRiskRatingsBySegmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesTables" xlink:href="fnlc-20190331.xsd#AllowanceForLoanLossesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/BasisOfPresentation" xlink:href="fnlc-20190331.xsd#BasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/BasisOfPresentationPolicies" xlink:href="fnlc-20190331.xsd#BasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/CertificatesOfDeposit" xlink:href="fnlc-20190331.xsd#CertificatesOfDeposit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/CertificatesOfDepositDetails" xlink:href="fnlc-20190331.xsd#CertificatesOfDepositDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/CertificatesOfDepositTables" xlink:href="fnlc-20190331.xsd#CertificatesOfDepositTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:href="fnlc-20190331.xsd#ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:href="fnlc-20190331.xsd#ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="fnlc-20190331.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfCashFlowsUnauditedCalc2" xlink:href="fnlc-20190331.xsd#ConsolidatedStatementsOfCashFlowsUnauditedCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:href="fnlc-20190331.xsd#ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:href="fnlc-20190331.xsd#ConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnaudited" xlink:href="fnlc-20190331.xsd#ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnauditedParenthetical" xlink:href="fnlc-20190331.xsd#ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/DocumentAndEntityInformation" xlink:href="fnlc-20190331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EarningsPerShare" xlink:href="fnlc-20190331.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EarningsPerShareScheduleOfBasicAndDilutedEarningsPerShareDetails" xlink:href="fnlc-20190331.xsd#EarningsPerShareScheduleOfBasicAndDilutedEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EarningsPerShareTables" xlink:href="fnlc-20190331.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlans" xlink:href="fnlc-20190331.xsd#EmployeeBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansAccumulatedPostRetirementBenefitObligationFundedStatusAndNetPeriodicBenefitCostDetails" xlink:href="fnlc-20190331.xsd#EmployeeBenefitPlansAccumulatedPostRetirementBenefitObligationFundedStatusAndNetPeriodicBenefitCostDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:href="fnlc-20190331.xsd#EmployeeBenefitPlansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansScheduleOfNetPeriodicBenefitCostNotYetRecognizedDetails" xlink:href="fnlc-20190331.xsd#EmployeeBenefitPlansScheduleOfNetPeriodicBenefitCostNotYetRecognizedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansTables" xlink:href="fnlc-20190331.xsd#EmployeeBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValue" xlink:href="fnlc-20190331.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAdditionalInformationDetails" xlink:href="fnlc-20190331.xsd#FairValueAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsAndLiabilitiesAtFairValueDetails" xlink:href="fnlc-20190331.xsd#FairValueAssetsAndLiabilitiesAtFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsAndLiabilitiesAtFairValueDetailsCalc2" xlink:href="fnlc-20190331.xsd#FairValueAssetsAndLiabilitiesAtFairValueDetailsCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsRecordedAtFairValueOnNonRecurringBasisDetails" xlink:href="fnlc-20190331.xsd#FairValueAssetsRecordedAtFairValueOnNonRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsRecordedAtFairValueOnRecurringBasisDetails" xlink:href="fnlc-20190331.xsd#FairValueAssetsRecordedAtFairValueOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueTables" xlink:href="fnlc-20190331.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FinancialDerivativeInstruments" xlink:href="fnlc-20190331.xsd#FinancialDerivativeInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FinancialDerivativeInstrumentsDetails" xlink:href="fnlc-20190331.xsd#FinancialDerivativeInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FinancialDerivativeInstrumentsTables" xlink:href="fnlc-20190331.xsd#FinancialDerivativeInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ImpactOfRecentlyIssuedAccountingStandards" xlink:href="fnlc-20190331.xsd#ImpactOfRecentlyIssuedAccountingStandards" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ImpactOfRecentlyIssuedAccountingStandardsDetails" xlink:href="fnlc-20190331.xsd#ImpactOfRecentlyIssuedAccountingStandardsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/IncomeTaxes" xlink:href="fnlc-20190331.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecurities" xlink:href="fnlc-20190331.xsd#InvestmentSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesAdditionalInformationDetails" xlink:href="fnlc-20190331.xsd#InvestmentSecuritiesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfAvailableForSaleSecuritiesDetails" xlink:href="fnlc-20190331.xsd#InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfAvailableForSaleSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfHeldToMaturitySecuritiesDetails" xlink:href="fnlc-20190331.xsd#InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfHeldToMaturitySecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfRestrictedEquitySecuritiesDetails" xlink:href="fnlc-20190331.xsd#InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfRestrictedEquitySecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesContractualMaturitiesOfInvestmentSecuritiesDetails" xlink:href="fnlc-20190331.xsd#InvestmentSecuritiesContractualMaturitiesOfInvestmentSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesGainsAndLossesDetails" xlink:href="fnlc-20190331.xsd#InvestmentSecuritiesGainsAndLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesTables" xlink:href="fnlc-20190331.xsd#InvestmentSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesTemporarilyImpairedSecuritiesDetails" xlink:href="fnlc-20190331.xsd#InvestmentSecuritiesTemporarilyImpairedSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/Loans" xlink:href="fnlc-20190331.xsd#Loans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansImpairedLoansByClassDetails" xlink:href="fnlc-20190331.xsd#LoansImpairedLoansByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansLoanPortfolioDetails" xlink:href="fnlc-20190331.xsd#LoansLoanPortfolioDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansNarrativeDetails" xlink:href="fnlc-20190331.xsd#LoansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansNonaccrualLoansDetails" xlink:href="fnlc-20190331.xsd#LoansNonaccrualLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansPastDueStatusOfLoansByClassDetails" xlink:href="fnlc-20190331.xsd#LoansPastDueStatusOfLoansByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansPreModificationAndPostModificationOutstandingRecordedInvestmentDetails" xlink:href="fnlc-20190331.xsd#LoansPreModificationAndPostModificationOutstandingRecordedInvestmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansTables" xlink:href="fnlc-20190331.xsd#LoansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansTdrsByClassAndSpecificReservesDetails" xlink:href="fnlc-20190331.xsd#LoansTdrsByClassAndSpecificReservesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansTdrsByClassAndSpecificReservesMoreThan30DaysPastDueDetails" xlink:href="fnlc-20190331.xsd#LoansTdrsByClassAndSpecificReservesMoreThan30DaysPastDueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRights" xlink:href="fnlc-20190331.xsd#MortgageServicingRights" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRightsNarrativeDetails" xlink:href="fnlc-20190331.xsd#MortgageServicingRightsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRightsScheduleOfMortgageServicingRightsDetails" xlink:href="fnlc-20190331.xsd#MortgageServicingRightsScheduleOfMortgageServicingRightsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRightsTables" xlink:href="fnlc-20190331.xsd#MortgageServicingRightsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLoss" xlink:href="fnlc-20190331.xsd#OtherComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossDerivativeInstrumentsIncludedInOtherComprehensiveIncomeLossDetails" xlink:href="fnlc-20190331.xsd#OtherComprehensiveIncomeLossDerivativeInstrumentsIncludedInOtherComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossReclassificationOfAvailableForSaleSecuritiesToHeldToMaturitySecuritiesDetails" xlink:href="fnlc-20190331.xsd#OtherComprehensiveIncomeLossReclassificationOfAvailableForSaleSecuritiesToHeldToMaturitySecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails" xlink:href="fnlc-20190331.xsd#OtherComprehensiveIncomeLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossSummaryOfAvailableForSaleSecuritiesActivityDetails" xlink:href="fnlc-20190331.xsd#OtherComprehensiveIncomeLossSummaryOfAvailableForSaleSecuritiesActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossTables" xlink:href="fnlc-20190331.xsd#OtherComprehensiveIncomeLossTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/PreferredAndCommonStock" xlink:href="fnlc-20190331.xsd#PreferredAndCommonStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/PreferredAndCommonStockDetails" xlink:href="fnlc-20190331.xsd#PreferredAndCommonStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/Reclassifications" xlink:href="fnlc-20190331.xsd#Reclassifications" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/StockBasedCompensation" xlink:href="fnlc-20190331.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/StockBasedCompensationNarrativeDetails" xlink:href="fnlc-20190331.xsd#StockBasedCompensationNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/StockBasedCompensationSharesOfRestrictedStockGrantedUnder2010PlanDetails" xlink:href="fnlc-20190331.xsd#StockBasedCompensationSharesOfRestrictedStockGrantedUnder2010PlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/StockBasedCompensationTables" xlink:href="fnlc-20190331.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLosses" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesAllowanceForLoanLossActivityByClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_003ABBFCD23F5B15B18FF2E8E84C6D73" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_98D7AADDFD625E179A966C8AA266B5D4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_003ABBFCD23F5B15B18FF2E8E84C6D73" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_98D7AADDFD625E179A966C8AA266B5D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_95F2646A3B3656D7B754759336C10620" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_003ABBFCD23F5B15B18FF2E8E84C6D73" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_95F2646A3B3656D7B754759336C10620" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_E40010AC4B125A0BA451D820E3E4DDBD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_D01FE62A708457888C6664A078C4AAFB" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableAllowance_E40010AC4B125A0BA451D820E3E4DDBD" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_D01FE62A708457888C6664A078C4AAFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_EEF6D8B202875039BA8DD993D5C513AA" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableAllowance_E40010AC4B125A0BA451D820E3E4DDBD" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_EEF6D8B202875039BA8DD993D5C513AA" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesFinancingReceivableAndAllowanceElementByClassDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesRiskRatingsBySegmentDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/BasisOfPresentation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/BasisOfPresentationPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/CertificatesOfDeposit" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/CertificatesOfDepositDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDeposits" xlink:label="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositsLessThan100000" xlink:label="loc_us-gaap_TimeDepositsLessThan100000_9ab27dbc-a4d5-e60b-fb89-eb4c5d933b25" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositsLessThan100000_9ab27dbc-a4d5-e60b-fb89-eb4c5d933b25" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_TimeDepositsGreaterThan100000AndLessThan250000" xlink:label="loc_fnlc_TimeDepositsGreaterThan100000AndLessThan250000_f3f93872-ee3c-8856-ab53-4777f412fcff" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_fnlc_TimeDepositsGreaterThan100000AndLessThan250000_f3f93872-ee3c-8856-ab53-4777f412fcff" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_TimeDeposits250000OrMore" xlink:label="loc_fnlc_TimeDeposits250000OrMore_695deb73-17e1-9ca6-7475-4777f2d76db5" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_fnlc_TimeDeposits250000OrMore_695deb73-17e1-9ca6-7475-4777f2d76db5" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/CertificatesOfDepositTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_831ad0b9-9dba-3997-20e6-e99a19aa28db" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_Goodwill_831ad0b9-9dba-3997-20e6-e99a19aa28db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherRealEstateAndForeclosedAssets" xlink:label="loc_us-gaap_OtherRealEstateAndForeclosedAssets_74061dc7-0bcf-d22a-ceed-c86cae4ed9f5" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_OtherRealEstateAndForeclosedAssets_74061dc7-0bcf-d22a-ceed-c86cae4ed9f5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestReceivable" xlink:label="loc_us-gaap_InterestReceivable_1b69c830-bc0e-9c5b-41c9-e13cffc645fa" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_InterestReceivable_1b69c830-bc0e-9c5b-41c9-e13cffc645fa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_5354ee7f-4abe-680e-b0f4-37e4ed632b64" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_5354ee7f-4abe-680e-b0f4-37e4ed632b64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_7fc12937-eaa2-55a7-e865-f85ce1360766" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_7fc12937-eaa2-55a7-e865-f85ce1360766" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_5d8b58e7-97e6-818e-869d-dc6a546b63a2" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_5d8b58e7-97e6-818e-869d-dc6a546b63a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_70d0d4df-f8d1-cf12-e04c-edcdce30731a" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_HeldToMaturitySecurities_70d0d4df-f8d1-cf12-e04c-edcdce30731a" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_RestrictedEquitySecuritiesAtCost" xlink:label="loc_fnlc_RestrictedEquitySecuritiesAtCost_2f55ce0e-2994-c0c1-53a6-4777f3eca867" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_fnlc_RestrictedEquitySecuritiesAtCost_2f55ce0e-2994-c0c1-53a6-4777f3eca867" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_1dd90997-0e7b-b088-cfa0-724136f63de4" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_1dd90997-0e7b-b088-cfa0-724136f63de4" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_DebtSecuritiesAvailableforsaleandEquitySecurities" xlink:label="loc_fnlc_DebtSecuritiesAvailableforsaleandEquitySecurities_F0ADD7D7C7403580E5CC5BA4DFA9E022" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_fnlc_DebtSecuritiesAvailableforsaleandEquitySecurities_F0ADD7D7C7403580E5CC5BA4DFA9E022" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_1ce4b89e-fa52-7101-5bea-622168a4559a" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_1ce4b89e-fa52-7101-5bea-622168a4559a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_6dca832a-861c-478d-b1a0-396533beb40d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_AdditionalPaidInCapital_6dca832a-861c-478d-b1a0-396533beb40d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_b816b2f2-cf69-18b5-b5d6-e7abc588aff4" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_b816b2f2-cf69-18b5-b5d6-e7abc588aff4" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_OtherComprehensiveIncomeLossAccumulatedUnrealizedGainLossonTransferofAvailableforsaleSecuritiestoHeldtomaturity" xlink:label="loc_fnlc_OtherComprehensiveIncomeLossAccumulatedUnrealizedGainLossonTransferofAvailableforsaleSecuritiestoHeldtomaturity_402cc149-645b-b6fc-83d9-4777f2d8e5db" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_fnlc_OtherComprehensiveIncomeLossAccumulatedUnrealizedGainLossonTransferofAvailableforsaleSecuritiestoHeldtomaturity_402cc149-645b-b6fc-83d9-4777f2d8e5db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax_cbc3485e-bc9f-c002-5811-ce05974ded91" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax_cbc3485e-bc9f-c002-5811-ce05974ded91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_554168ae-c5a9-50ba-bf77-d6e4b2d4a227" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_554168ae-c5a9-50ba-bf77-d6e4b2d4a227" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_b7c80bbc-e033-5d39-6a1b-ed85fbc903f7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_OtherLiabilities_b7c80bbc-e033-5d39-6a1b-ed85fbc903f7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_422d7c41-753d-7765-5880-50978d071d31" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_ShortTermBorrowings_422d7c41-753d-7765-5880-50978d071d31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DemandDepositAccounts" xlink:label="loc_us-gaap_DemandDepositAccounts_82ce20ae-dfdf-d271-6516-2ed2bdf960d4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_DemandDepositAccounts_82ce20ae-dfdf-d271-6516-2ed2bdf960d4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" xlink:label="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_cc9472a3-3b35-52ad-8a21-c6c21671d08c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_cc9472a3-3b35-52ad-8a21-c6c21671d08c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepositsMoneyMarketDeposits" xlink:label="loc_us-gaap_DepositsMoneyMarketDeposits_7a2ceda8-cf68-7bff-7f74-f8b6ed0b1d07" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_DepositsMoneyMarketDeposits_7a2ceda8-cf68-7bff-7f74-f8b6ed0b1d07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepositsSavingsDeposits" xlink:label="loc_us-gaap_DepositsSavingsDeposits_3a2d9e56-b53d-135f-e591-681784530216" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_DepositsSavingsDeposits_3a2d9e56-b53d-135f-e591-681784530216" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDeposits" xlink:label="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_38b416a4-4707-fba3-1084-9b8a37fd745a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_Depreciation_38b416a4-4707-fba3-1084-9b8a37fd745a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_577bdd45-f35a-c8f3-52b3-586cf5b560ca" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_577bdd45-f35a-c8f3-52b3-586cf5b560ca" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_15470135-fa44-b789-5789-9bcc9fdb7da5" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_15470135-fa44-b789-5789-9bcc9fdb7da5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_3ca1a017-0d3d-17e6-864b-f2de767399fe" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_3ca1a017-0d3d-17e6-864b-f2de767399fe" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesGainLoss_2474bb81-61be-7329-1e86-d0f49c219913" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_DebtSecuritiesGainLoss_2474bb81-61be-7329-1e86-d0f49c219913" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f3832d5-e2fd-470b-5e04-ece38e7ab02d" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f3832d5-e2fd-470b-5e04-ece38e7ab02d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_7051af50-65b8-3377-3a03-896140e3a07f" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_7051af50-65b8-3377-3a03-896140e3a07f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_90cbc3ab-f555-6407-b3b4-b2bfa84c9f18" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ShareBasedCompensation_90cbc3ab-f555-6407-b3b4-b2bfa84c9f18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d54a644c-3d3c-bcc1-da30-2f136651f90f" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d54a644c-3d3c-bcc1-da30-2f136651f90f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_a039d388-4db8-a076-4618-28899f6ce801" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_a039d388-4db8-a076-4618-28899f6ce801" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_8b5c4371-c0a9-6562-81fc-36e3ee510d15" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_8b5c4371-c0a9-6562-81fc-36e3ee510d15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherDepreciationAndAmortization" xlink:label="loc_us-gaap_OtherDepreciationAndAmortization_cad51b02-4985-8a39-fe32-340b8f368d21" xlink:type="locator" />
    <link:calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_OtherDepreciationAndAmortization_cad51b02-4985-8a39-fe32-340b8f368d21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfAcquisitionCosts" xlink:label="loc_us-gaap_AmortizationOfAcquisitionCosts_60f11e24-de3b-04a3-f35e-6739ffc86b25" xlink:type="locator" />
    <link:calculationArc order="16" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AmortizationOfAcquisitionCosts_60f11e24-de3b-04a3-f35e-6739ffc86b25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_e8af2fca-81f7-f33a-8acf-39682ab6a5e9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_e8af2fca-81f7-f33a-8acf-39682ab6a5e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInTimeDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInTimeDeposits_988aecf2-3d43-7f84-90c0-8674a1691fdf" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_IncreaseDecreaseInTimeDeposits_988aecf2-3d43-7f84-90c0-8674a1691fdf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_0ad26e66-f00d-eb22-5d27-4b24aacf3047" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_0ad26e66-f00d-eb22-5d27-4b24aacf3047" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6ec8bc8e-bcd9-36ad-d8ae-2c2fa1dfd920" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6ec8bc8e-bcd9-36ad-d8ae-2c2fa1dfd920" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_13cc8818-e792-6246-5e41-c56e1150a319" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsOfDividends_13cc8818-e792-6246-5e41-c56e1150a319" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfOtherLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_407e71b9-1eb7-c52c-3cea-1d5ca72c07e8" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_407e71b9-1eb7-c52c-3cea-1d5ca72c07e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_858d4efd-0d7c-ee5c-52f0-1e178d025835" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_858d4efd-0d7c-ee5c-52f0-1e178d025835" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_751169d3-8c6d-0ce2-a346-a493e5946cdf" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_751169d3-8c6d-0ce2-a346-a493e5946cdf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_dc943f7d-cd66-bc7b-55b1-34b41b88cbae" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_dc943f7d-cd66-bc7b-55b1-34b41b88cbae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b2d1473c-d06a-7053-5039-5cb1510f932e" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b2d1473c-d06a-7053-5039-5cb1510f932e" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_PaymentsForInterestBearingDepositsInOtherBanks" xlink:label="loc_fnlc_PaymentsForInterestBearingDepositsInOtherBanks_4141f191-7f12-0f90-ebf7-4777f2d6c270" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_fnlc_PaymentsForInterestBearingDepositsInOtherBanks_4141f191-7f12-0f90-ebf7-4777f2d6c270" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_40ce8088-5e1c-7bee-0f55-ade0fc08e2af" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_40ce8088-5e1c-7bee-0f55-ade0fc08e2af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6d89f221-3ede-36b2-fcad-4a4ce1606f6a" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6d89f221-3ede-36b2-fcad-4a4ce1606f6a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireRestrictedInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireRestrictedInvestments_1dfcadc1-c44a-0d65-a587-751fbfe86f47" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireRestrictedInvestments_1dfcadc1-c44a-0d65-a587-751fbfe86f47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_33cd5d62-efc5-7725-6424-7800a10af341" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_33cd5d62-efc5-7725-6424-7800a10af341" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5a6cca43-79c5-34f3-6172-5859b13486b1" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5a6cca43-79c5-34f3-6172-5859b13486b1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_RedemptionOfRestrictedEquitySecurities" xlink:label="loc_fnlc_RedemptionOfRestrictedEquitySecurities_1f0d0315-a54d-f73d-ad82-4777f3a5fc72" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_fnlc_RedemptionOfRestrictedEquitySecurities_1f0d0315-a54d-f73d-ad82-4777f3a5fc72" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfCashFlowsUnauditedCalc2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_0e67d263-6e0f-cbd4-f553-6c8cebeb68d8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_0e67d263-6e0f-cbd4-f553-6c8cebeb68d8" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:to="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense_d09da395-8fdb-b903-4fff-0036db8908fa" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_OtherNoninterestExpense_d09da395-8fdb-b903-4fff-0036db8908fa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_afd0f625-a29a-3806-bad0-ad0ca19e7015" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_afd0f625-a29a-3806-bad0-ad0ca19e7015" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_837625a4-2315-6777-7d14-c530eb215f29" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_837625a4-2315-6777-7d14-c530eb215f29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquipmentExpense" xlink:label="loc_us-gaap_EquipmentExpense_e486451a-0282-8c6b-c236-2daa0445a0d1" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_EquipmentExpense_e486451a-0282-8c6b-c236-2daa0445a0d1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet_68bf179a-5657-6e43-7e40-d1c7486e0d10" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_OccupancyNet_68bf179a-5657-6e43-7e40-d1c7486e0d10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_1283cb92-0ae2-bdeb-f803-6d5e502ce8d9" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_LaborAndRelatedExpense_1283cb92-0ae2-bdeb-f803-6d5e502ce8d9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:to="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_4562fc03-cbaf-a89b-d454-b9d16c5936b8" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_4562fc03-cbaf-a89b-d454-b9d16c5936b8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_d380605d-211f-0160-5c76-7d7032901bae" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_d380605d-211f-0160-5c76-7d7032901bae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_3757e0a1-8c93-5316-53c9-8f3b34503211" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_3757e0a1-8c93-5316-53c9-8f3b34503211" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_19dfad62-5a43-dcc4-04a8-012732c1ed97" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:to="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="loc_us-gaap_InterestExpenseBorrowings_f0b31bbd-d00d-9f85-44b1-5d58621ff6a2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:to="loc_us-gaap_InterestExpenseBorrowings_f0b31bbd-d00d-9f85-44b1-5d58621ff6a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_d554fc30-4424-de12-7895-30d935df889b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:to="loc_us-gaap_InterestExpenseDeposits_d554fc30-4424-de12-7895-30d935df889b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeSecurities" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecurities_6a791a49-811e-f511-9d45-2a5de1111fba" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecurities_6a791a49-811e-f511-9d45-2a5de1111fba" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_651d736f-655d-be0a-ac8e-ce4531b220f5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_651d736f-655d-be0a-ac8e-ce4531b220f5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_5e280e98-99c6-f098-f4f9-65bce8235b66" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_5e280e98-99c6-f098-f4f9-65bce8235b66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_0e67d263-6e0f-cbd4-f553-6c8cebeb68d8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_6df44786-4260-4fa4-e123-591abd5e882d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_6df44786-4260-4fa4-e123-591abd5e882d" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss" xlink:label="loc_fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss_28ccf60a-b02b-a20f-5a29-4777f2ed60df" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:to="loc_fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss_28ccf60a-b02b-a20f-5a29-4777f2ed60df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrealizedGainLossOnCashFlowHedgingInstruments" xlink:label="loc_us-gaap_UnrealizedGainLossOnCashFlowHedgingInstruments_87f4c460-c47b-c399-bd38-bf40a00237a5" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:to="loc_us-gaap_UnrealizedGainLossOnCashFlowHedgingInstruments_87f4c460-c47b-c399-bd38-bf40a00237a5" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EarningsPerShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EarningsPerShareScheduleOfBasicAndDilutedEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_A400DC93D07D5D23B8871F3AED1EA5F2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_1E115BE166755A2680B950866704E1A4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_A400DC93D07D5D23B8871F3AED1EA5F2" xlink:to="loc_us-gaap_NetIncomeLoss_1E115BE166755A2680B950866704E1A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_D3721A1121705C229FFA8EB669573FCD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_A05C3DC3C92F5D529B8068BEBCAE7F50" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_D3721A1121705C229FFA8EB669573FCD" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_A05C3DC3C92F5D529B8068BEBCAE7F50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_48A9715DF92253A6A1C3CC35871AD85A" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_D3721A1121705C229FFA8EB669573FCD" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_48A9715DF92253A6A1C3CC35871AD85A" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlans" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansAccumulatedPostRetirementBenefitObligationFundedStatusAndNetPeriodicBenefitCostDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_6756bfa8-d44d-11e3-e639-2c0d1784c09a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_4a6a9edc-7d09-7c7e-e64b-45faecd35930" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_6756bfa8-d44d-11e3-e639-2c0d1784c09a" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_4a6a9edc-7d09-7c7e-e64b-45faecd35930" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_UnamortizedPriorServiceCost" xlink:label="loc_fnlc_UnamortizedPriorServiceCost_be4b6cdb-87e4-cebd-2374-4777f3a3e794" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_6756bfa8-d44d-11e3-e639-2c0d1784c09a" xlink:to="loc_fnlc_UnamortizedPriorServiceCost_be4b6cdb-87e4-cebd-2374-4777f3a3e794" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_cc5d4539-1440-3488-daaf-595604d399d2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_cc5d4539-1440-3488-daaf-595604d399d2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansScheduleOfNetPeriodicBenefitCostNotYetRecognizedDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_554168ae-c5a9-50ba-bf77-d6e4b2d4a227" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_AccumulatedOtherComprehensiveIncomeDefinedBenefitPlansTaxDeferredTaxBenefit" xlink:label="loc_fnlc_AccumulatedOtherComprehensiveIncomeDefinedBenefitPlansTaxDeferredTaxBenefit_975de1b8-77bf-d51e-47eb-4777f3159c0a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_554168ae-c5a9-50ba-bf77-d6e4b2d4a227" xlink:to="loc_fnlc_AccumulatedOtherComprehensiveIncomeDefinedBenefitPlansTaxDeferredTaxBenefit_975de1b8-77bf-d51e-47eb-4777f3159c0a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_489d8e73-cdae-5246-456e-868aff0fc625" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_554168ae-c5a9-50ba-bf77-d6e4b2d4a227" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_489d8e73-cdae-5246-456e-868aff0fc625" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValue" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueAssetsAndLiabilitiesAtFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_LocalCertificatesofDeposit" xlink:label="loc_fnlc_LocalCertificatesofDeposit_fc8172ed-6037-f448-4b6f-4777f4237de3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_fnlc_LocalCertificatesofDeposit_fc8172ed-6037-f448-4b6f-4777f4237de3" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_NationalCertificatesOfDeposit" xlink:label="loc_fnlc_NationalCertificatesOfDeposit_1065967e-2344-4ef8-60b8-4777f358d1b5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_fnlc_NationalCertificatesOfDeposit_1065967e-2344-4ef8-60b8-4777f358d1b5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_7af59755-3d0e-afb6-d02a-69abd398a504" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability_7d0a2372-0c15-b6b6-38d8-0ec03ee334e9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7af59755-3d0e-afb6-d02a-69abd398a504" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability_7d0a2372-0c15-b6b6-38d8-0ec03ee334e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesLongTerm" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_943629f8-c8c6-6ff2-373b-90d26bc04fe5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_7af59755-3d0e-afb6-d02a-69abd398a504" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_943629f8-c8c6-6ff2-373b-90d26bc04fe5" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueAssetsAndLiabilitiesAtFairValueDetailsCalc2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueAssetsRecordedAtFairValueOnNonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_4f2d2e40-e149-3246-b591-f2ca332c7df6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherRealEstateAndForeclosedAssets" xlink:label="loc_us-gaap_OtherRealEstateAndForeclosedAssets_74061dc7-0bcf-d22a-ceed-c86cae4ed9f5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_4f2d2e40-e149-3246-b591-f2ca332c7df6" xlink:to="loc_us-gaap_OtherRealEstateAndForeclosedAssets_74061dc7-0bcf-d22a-ceed-c86cae4ed9f5" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_ImpairedLoansFairValueDisclosure" xlink:label="loc_fnlc_ImpairedLoansFairValueDisclosure_4f373d74-4db3-38c4-a78c-4777f3f4656d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_4f2d2e40-e149-3246-b591-f2ca332c7df6" xlink:to="loc_fnlc_ImpairedLoansFairValueDisclosure_4f373d74-4db3-38c4-a78c-4777f3f4656d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueAssetsRecordedAtFairValueOnRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_4f2d2e40-e149-3246-b591-f2ca332c7df6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_4f2d2e40-e149-3246-b591-f2ca332c7df6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_082aa8c2-a051-1bb7-d441-a6d93b3f45f4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_4f2d2e40-e149-3246-b591-f2ca332c7df6" xlink:to="loc_us-gaap_DerivativeAssets_082aa8c2-a051-1bb7-d441-a6d93b3f45f4" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FairValueTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FinancialDerivativeInstruments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FinancialDerivativeInstrumentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/FinancialDerivativeInstrumentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ImpactOfRecentlyIssuedAccountingStandards" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/ImpactOfRecentlyIssuedAccountingStandardsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/IncomeTaxes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecurities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfAvailableForSaleSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5d23fa7e-7f76-6507-b72f-382f81b88e34" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5d23fa7e-7f76-6507-b72f-382f81b88e34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e0f935d0-20e2-15fc-55a1-79c116fbc07c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e0f935d0-20e2-15fc-55a1-79c116fbc07c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfHeldToMaturitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_1af1043c-d5ba-9501-5875-2d031d7f13a3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_abe48828-9d92-0e83-5730-ba70a8083c3b" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_1af1043c-d5ba-9501-5875-2d031d7f13a3" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_abe48828-9d92-0e83-5730-ba70a8083c3b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_37bc052a-21f1-a371-de44-8a4fe82fd6d4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_1af1043c-d5ba-9501-5875-2d031d7f13a3" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_37bc052a-21f1-a371-de44-8a4fe82fd6d4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_c753596c-1aed-a7fd-2522-bb2a6b00b58d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_1af1043c-d5ba-9501-5875-2d031d7f13a3" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_c753596c-1aed-a7fd-2522-bb2a6b00b58d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfRestrictedEquitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock" xlink:label="loc_us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock_ebfb1b8f-1f77-ce9b-33a5-255c96814b91" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankStock" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_91f6ccf0-462e-33f8-5e55-7954faca296e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock_ebfb1b8f-1f77-ce9b-33a5-255c96814b91" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_91f6ccf0-462e-33f8-5e55-7954faca296e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalReserveBankStock" xlink:label="loc_us-gaap_FederalReserveBankStock_06d50c41-07ea-36ad-a134-b726ac7c6ebc" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock_ebfb1b8f-1f77-ce9b-33a5-255c96814b91" xlink:to="loc_us-gaap_FederalReserveBankStock_06d50c41-07ea-36ad-a134-b726ac7c6ebc" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesContractualMaturitiesOfInvestmentSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_70d0d4df-f8d1-cf12-e04c-edcdce30731a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_4e5d8420-0224-e5af-0fa7-a7d9c8c772c3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_70d0d4df-f8d1-cf12-e04c-edcdce30731a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_4e5d8420-0224-e5af-0fa7-a7d9c8c772c3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_b2179ead-1ac7-921b-26e6-04d4631da5b9" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_70d0d4df-f8d1-cf12-e04c-edcdce30731a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_b2179ead-1ac7-921b-26e6-04d4631da5b9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount_b1d17ae4-c454-43ab-f70a-deb767a341d4" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_70d0d4df-f8d1-cf12-e04c-edcdce30731a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount_b1d17ae4-c454-43ab-f70a-deb767a341d4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_b4c9bf84-e80e-4c1e-4f85-2e144f479cb3" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_70d0d4df-f8d1-cf12-e04c-edcdce30731a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_b4c9bf84-e80e-4c1e-4f85-2e144f479cb3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_329a232f-6b5a-4dfb-de74-33d6f53aa8f1" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_329a232f-6b5a-4dfb-de74-33d6f53aa8f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb6f3730-d49d-30bc-8e52-6eba94f7dba4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb6f3730-d49d-30bc-8e52-6eba94f7dba4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_1f4f4376-806c-dd72-8312-c94d523600df" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_1f4f4376-806c-dd72-8312-c94d523600df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_d316f11c-0e79-8624-0aa3-665874b29cb1" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_d316f11c-0e79-8624-0aa3-665874b29cb1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_a97722c4-c88e-0258-6d8c-8f5c45929660" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_a97722c4-c88e-0258-6d8c-8f5c45929660" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_ad47d869-5bf7-62ba-8427-e58f9319b050" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_ad47d869-5bf7-62ba-8427-e58f9319b050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_e50aac2c-ef64-4942-acff-fb35c69b9a7d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_e50aac2c-ef64-4942-acff-fb35c69b9a7d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_74070219-b8a4-ccaf-5a43-c0049bc918af" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_74070219-b8a4-ccaf-5a43-c0049bc918af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_c753596c-1aed-a7fd-2522-bb2a6b00b58d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_d3288305-0b52-6ac1-7f8d-af6cbb1f3465" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_c753596c-1aed-a7fd-2522-bb2a6b00b58d" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_d3288305-0b52-6ac1-7f8d-af6cbb1f3465" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_abfd51ec-8537-f35d-9797-85313c9da9b0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_c753596c-1aed-a7fd-2522-bb2a6b00b58d" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_abfd51ec-8537-f35d-9797-85313c9da9b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_029f2c2b-f8da-95b9-3c80-b392ca20124e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_c753596c-1aed-a7fd-2522-bb2a6b00b58d" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_029f2c2b-f8da-95b9-3c80-b392ca20124e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_62a31f3a-7356-c90a-3545-38c2feb20d19" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_c753596c-1aed-a7fd-2522-bb2a6b00b58d" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_62a31f3a-7356-c90a-3545-38c2feb20d19" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesGainsAndLossesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesGainLoss_3E1D7DEDF4795FEEAD0913727FF8541E" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_DebtSecuritiesRealizedGain" xlink:label="loc_fnlc_DebtSecuritiesRealizedGain_297579224A5D5099BCFF33CE00D55728" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesGainLoss_3E1D7DEDF4795FEEAD0913727FF8541E" xlink:to="loc_fnlc_DebtSecuritiesRealizedGain_297579224A5D5099BCFF33CE00D55728" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_DebtSecuritiesRealizedLoss" xlink:label="loc_fnlc_DebtSecuritiesRealizedLoss_A20A52F82D015A8FB1020F61EBE5CBCA" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesGainLoss_3E1D7DEDF4795FEEAD0913727FF8541E" xlink:to="loc_fnlc_DebtSecuritiesRealizedLoss_A20A52F82D015A8FB1020F61EBE5CBCA" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesTemporarilyImpairedSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_540feb58-a104-9e2c-e527-965521238e74" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_540feb58-a104-9e2c-e527-965521238e74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_9dc7d38b-d1f1-ee4c-83ca-bf0de39ac02c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_9dc7d38b-d1f1-ee4c-83ca-bf0de39ac02c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_db9e5922-2e70-406b-1ac3-0318ebdc102f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_db9e5922-2e70-406b-1ac3-0318ebdc102f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_97b62833-0a42-058f-3886-4b4d65c49079" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_97b62833-0a42-058f-3886-4b4d65c49079" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/Loans" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansImpairedLoansByClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_A84E46D088765B448871D6C62FF7EAD3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_224B551C4E325BEAAD22B34CE7171F3C" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_A84E46D088765B448871D6C62FF7EAD3" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_224B551C4E325BEAAD22B34CE7171F3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_776BCDCC28665B9F941005D9F88802E3" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_A84E46D088765B448871D6C62FF7EAD3" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_776BCDCC28665B9F941005D9F88802E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod_25D23F6A5A9B5AE0932CBF8AF1B6E310" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod_0CAB8491714257518EB741E503332C8E" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod_25D23F6A5A9B5AE0932CBF8AF1B6E310" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod_0CAB8491714257518EB741E503332C8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod_C8F3F8DF10A251B196C1F18973AB73EA" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod_25D23F6A5A9B5AE0932CBF8AF1B6E310" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod_C8F3F8DF10A251B196C1F18973AB73EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_5BD2ECB2BD295607AA916CA7A5B14123" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_CA569ED3A4B05847ADAFA206CF557865" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_5BD2ECB2BD295607AA916CA7A5B14123" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_CA569ED3A4B05847ADAFA206CF557865" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_E2875BC160815A1A8B55928F0D8E1B8F" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_5BD2ECB2BD295607AA916CA7A5B14123" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_E2875BC160815A1A8B55928F0D8E1B8F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_4F6EC8DEBCB2535B8A10ACE0F82E637B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment_11BFD242BDC854528EB02E7768050761" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_4F6EC8DEBCB2535B8A10ACE0F82E637B" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment_11BFD242BDC854528EB02E7768050761" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment_8088B37C3C8A59068B079797A59E96FF" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_4F6EC8DEBCB2535B8A10ACE0F82E637B" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment_8088B37C3C8A59068B079797A59E96FF" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansLoanPortfolioDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansNonaccrualLoansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansPastDueStatusOfLoansByClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_003ABBFCD23F5B15B18FF2E8E84C6D73" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_2992B5FB610454D68583EFA396A59D6C" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_003ABBFCD23F5B15B18FF2E8E84C6D73" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_2992B5FB610454D68583EFA396A59D6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_11A1ADEA80D758A997EDC9B825F80AB0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_003ABBFCD23F5B15B18FF2E8E84C6D73" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_11A1ADEA80D758A997EDC9B825F80AB0" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansPreModificationAndPostModificationOutstandingRecordedInvestmentDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansTdrsByClassAndSpecificReservesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/LoansTdrsByClassAndSpecificReservesMoreThan30DaysPastDueDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/MortgageServicingRights" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/MortgageServicingRightsNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/MortgageServicingRightsScheduleOfMortgageServicingRightsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ServicingAssetAtAmortizedValueFairValue" xlink:label="loc_us-gaap_ServicingAssetAtAmortizedValueFairValue_b068cf7f-add0-605e-d4ea-28897569d10c" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_MortgageServicingRightsGross" xlink:label="loc_fnlc_MortgageServicingRightsGross_49c306ef-fe6c-c65e-5b67-4777f4311291" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ServicingAssetAtAmortizedValueFairValue_b068cf7f-add0-605e-d4ea-28897569d10c" xlink:to="loc_fnlc_MortgageServicingRightsGross_49c306ef-fe6c-c65e-5b67-4777f4311291" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_AccumulatedAmortizationMortgageServicingRights" xlink:label="loc_fnlc_AccumulatedAmortizationMortgageServicingRights_2b9952c8-217a-1490-1dbb-4777f3325a87" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ServicingAssetAtAmortizedValueFairValue_b068cf7f-add0-605e-d4ea-28897569d10c" xlink:to="loc_fnlc_AccumulatedAmortizationMortgageServicingRights_2b9952c8-217a-1490-1dbb-4777f3325a87" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20190331.xsd#fnlc_ReserveForImpairmentOfMortgageServicingRights" xlink:label="loc_fnlc_ReserveForImpairmentOfMortgageServicingRights_15a4a219-878b-fa97-5883-4777f357d7f7" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ServicingAssetAtAmortizedValueFairValue_b068cf7f-add0-605e-d4ea-28897569d10c" xlink:to="loc_fnlc_ReserveForImpairmentOfMortgageServicingRights_15a4a219-878b-fa97-5883-4777f357d7f7" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/MortgageServicingRightsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLoss" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossDerivativeInstrumentsIncludedInOtherComprehensiveIncomeLossDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossReclassificationOfAvailableForSaleSecuritiesToHeldToMaturitySecuritiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossSummaryOfAvailableForSaleSecuritiesActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_3abb3548-5c4d-f7e9-ec84-657c5af7d43a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_3abb3548-5c4d-f7e9-ec84-657c5af7d43a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_19a9882d-ffc5-f60a-48da-a57a1ebf19e9" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_19a9882d-ffc5-f60a-48da-a57a1ebf19e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_aa6d7695-3c9c-a820-1c3c-0e977db4a781" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e68ce304-18e4-96c0-3260-363a872863db" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_aa6d7695-3c9c-a820-1c3c-0e977db4a781" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/PreferredAndCommonStock" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/PreferredAndCommonStockDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/Reclassifications" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/StockBasedCompensationNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/StockBasedCompensationSharesOfRestrictedStockGrantedUnder2010PlanDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.thefirst.com/role/StockBasedCompensationTables" xlink:type="extended" />
</link:linkbase>
