<?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.firstmid.com/role/Borrowings" xlink:href="fmbh-20161231.xsd#Borrowings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BorrowingsDebtDetails" xlink:href="fmbh-20161231.xsd#BorrowingsDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BorrowingsRepurchaseAgreementsAndOtherBorrowingsDetails" xlink:href="fmbh-20161231.xsd#BorrowingsRepurchaseAgreementsAndOtherBorrowingsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BorrowingsScheduleOfBorrowingsDetails" xlink:href="fmbh-20161231.xsd#BorrowingsScheduleOfBorrowingsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BorrowingsSecuritiesSoldUnderAgreementToRepurchaseDetails" xlink:href="fmbh-20161231.xsd#BorrowingsSecuritiesSoldUnderAgreementToRepurchaseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BorrowingsSubordinatedDebenturesDetails" xlink:href="fmbh-20161231.xsd#BorrowingsSubordinatedDebenturesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BorrowingsTables" xlink:href="fmbh-20161231.xsd#BorrowingsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BusinessCombinationsEstimatedFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails" xlink:href="fmbh-20161231.xsd#BusinessCombinationsEstimatedFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BusinessCombinationsNarrativeDetails" xlink:href="fmbh-20161231.xsd#BusinessCombinationsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BusinessCombinationsNotes" xlink:href="fmbh-20161231.xsd#BusinessCombinationsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BusinessCombinationsProFormaInformationDetails" xlink:href="fmbh-20161231.xsd#BusinessCombinationsProFormaInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/BusinessCombinationsTables" xlink:href="fmbh-20161231.xsd#BusinessCombinationsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/CashAndDueFromBanks" xlink:href="fmbh-20161231.xsd#CashAndDueFromBanks" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/CashAndDueFromBanksCashAndDueFromBanksDetails" xlink:href="fmbh-20161231.xsd#CashAndDueFromBanksCashAndDueFromBanksDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesDetails" xlink:href="fmbh-20161231.xsd#CommitmentsAndContingentLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesNotes" xlink:href="fmbh-20161231.xsd#CommitmentsAndContingentLiabilitiesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesTables" xlink:href="fmbh-20161231.xsd#CommitmentsAndContingentLiabilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ConsolidatedBalanceSheets" xlink:href="fmbh-20161231.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="fmbh-20161231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="fmbh-20161231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="fmbh-20161231.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="fmbh-20161231.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="fmbh-20161231.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:href="fmbh-20161231.xsd#ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ConsolidatedStatementsOfIncome" xlink:href="fmbh-20161231.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DeferredCompensationPlanDetails" xlink:href="fmbh-20161231.xsd#DeferredCompensationPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DeferredCompensationPlanNotes" xlink:href="fmbh-20161231.xsd#DeferredCompensationPlanNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DepositsDepositInterestComponentsDetails" xlink:href="fmbh-20161231.xsd#DepositsDepositInterestComponentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DepositsDetails" xlink:href="fmbh-20161231.xsd#DepositsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DepositsNotes" xlink:href="fmbh-20161231.xsd#DepositsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DepositsTables" xlink:href="fmbh-20161231.xsd#DepositsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstruments" xlink:href="fmbh-20161231.xsd#DisclosuresOfFairValuesOfFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsDetails" xlink:href="fmbh-20161231.xsd#DisclosuresOfFairValuesOfFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsPartIiDetails" xlink:href="fmbh-20161231.xsd#DisclosuresOfFairValuesOfFinancialInstrumentsPartIiDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsTables" xlink:href="fmbh-20161231.xsd#DisclosuresOfFairValuesOfFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DividendRestrictionsDetails" xlink:href="fmbh-20161231.xsd#DividendRestrictionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DividendRestrictionsNotes" xlink:href="fmbh-20161231.xsd#DividendRestrictionsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/DocumentAndEntityInformation" xlink:href="fmbh-20161231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/EarningsPerShare" xlink:href="fmbh-20161231.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/EarningsPerShareDetails" xlink:href="fmbh-20161231.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/EarningsPerShareTables" xlink:href="fmbh-20161231.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/FhlbAdvancesDetails" xlink:href="fmbh-20161231.xsd#FhlbAdvancesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/GoodwillAndIntangibleAssets" xlink:href="fmbh-20161231.xsd#GoodwillAndIntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/GoodwillAndIntangibleAssetsDetails" xlink:href="fmbh-20161231.xsd#GoodwillAndIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/GoodwillAndIntangibleAssetsMortgageServicingRightsDetails" xlink:href="fmbh-20161231.xsd#GoodwillAndIntangibleAssetsMortgageServicingRightsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/GoodwillAndIntangibleAssetsReconciliationOfPurchasePriceToGoodwillRecordedDetails" xlink:href="fmbh-20161231.xsd#GoodwillAndIntangibleAssetsReconciliationOfPurchasePriceToGoodwillRecordedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/GoodwillAndIntangibleAssetsTables" xlink:href="fmbh-20161231.xsd#GoodwillAndIntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/IncomeTaxesDetails" xlink:href="fmbh-20161231.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/IncomeTaxesIncomeTaxReconciliationDetails" xlink:href="fmbh-20161231.xsd#IncomeTaxesIncomeTaxReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/IncomeTaxesNotes" xlink:href="fmbh-20161231.xsd#IncomeTaxesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/IncomeTaxesTables" xlink:href="fmbh-20161231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/IncomeTaxesTemporaryDifferencesDetails" xlink:href="fmbh-20161231.xsd#IncomeTaxesTemporaryDifferencesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/InvestmentSecurities" xlink:href="fmbh-20161231.xsd#InvestmentSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/InvestmentSecuritiesDetails" xlink:href="fmbh-20161231.xsd#InvestmentSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/InvestmentSecuritiesInvestmentSecuritiesPartIiiDetails" xlink:href="fmbh-20161231.xsd#InvestmentSecuritiesInvestmentSecuritiesPartIiiDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/InvestmentSecuritiesPartIiDetails" xlink:href="fmbh-20161231.xsd#InvestmentSecuritiesPartIiDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/InvestmentSecuritiesTables" xlink:href="fmbh-20161231.xsd#InvestmentSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LeasesDetails" xlink:href="fmbh-20161231.xsd#LeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LeasesLeaseTermsDetailsDetails" xlink:href="fmbh-20161231.xsd#LeasesLeaseTermsDetailsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LeasesNotes" xlink:href="fmbh-20161231.xsd#LeasesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LeasesTables" xlink:href="fmbh-20161231.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LoansAndAllowanceForLoanLosses" xlink:href="fmbh-20161231.xsd#LoansAndAllowanceForLoanLosses" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesDetails" xlink:href="fmbh-20161231.xsd#LoansAndAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesLoansAndAllowanceForLoanLossesAllowanceDetails" xlink:href="fmbh-20161231.xsd#LoansAndAllowanceForLoanLossesLoansAndAllowanceForLoanLossesAllowanceDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesLoansAndAllowanceForLoanLossesPciLoansDetails" xlink:href="fmbh-20161231.xsd#LoansAndAllowanceForLoanLossesLoansAndAllowanceForLoanLossesPciLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesPartIiDetails" xlink:href="fmbh-20161231.xsd#LoansAndAllowanceForLoanLossesPartIiDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesTables" xlink:href="fmbh-20161231.xsd#LoansAndAllowanceForLoanLossesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedBalanceSheetsDetails" xlink:href="fmbh-20161231.xsd#ParentCompanyOnlyFinancialStatementsCondensedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedStatementsOfCashFlowsDetails" xlink:href="fmbh-20161231.xsd#ParentCompanyOnlyFinancialStatementsCondensedStatementsOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedStatementsOfIncomeDetails" xlink:href="fmbh-20161231.xsd#ParentCompanyOnlyFinancialStatementsCondensedStatementsOfIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsNotes" xlink:href="fmbh-20161231.xsd#ParentCompanyOnlyFinancialStatementsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsTables" xlink:href="fmbh-20161231.xsd#ParentCompanyOnlyFinancialStatementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/PremisesAndEquipmentNetDetails" xlink:href="fmbh-20161231.xsd#PremisesAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/PremisesAndEquipmentNetNotes" xlink:href="fmbh-20161231.xsd#PremisesAndEquipmentNetNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/PremisesAndEquipmentNetTables" xlink:href="fmbh-20161231.xsd#PremisesAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:href="fmbh-20161231.xsd#QuarterlyFinancialDataUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedNotes" xlink:href="fmbh-20161231.xsd#QuarterlyFinancialDataUnauditedNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedTables" xlink:href="fmbh-20161231.xsd#QuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RegulatoryCapitalDetails" xlink:href="fmbh-20161231.xsd#RegulatoryCapitalDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RegulatoryCapitalDetails2Details" xlink:href="fmbh-20161231.xsd#RegulatoryCapitalDetails2Details" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RegulatoryCapitalNotes" xlink:href="fmbh-20161231.xsd#RegulatoryCapitalNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RegulatoryCapitalTables" xlink:href="fmbh-20161231.xsd#RegulatoryCapitalTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RelatedPartyTransactionsDetails" xlink:href="fmbh-20161231.xsd#RelatedPartyTransactionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RelatedPartyTransactionsNotes" xlink:href="fmbh-20161231.xsd#RelatedPartyTransactionsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RelatedPartyTransactionsTables" xlink:href="fmbh-20161231.xsd#RelatedPartyTransactionsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RetirementPlansEmployeeRetirementPlanDetails" xlink:href="fmbh-20161231.xsd#RetirementPlansEmployeeRetirementPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RetirementPlansNotes" xlink:href="fmbh-20161231.xsd#RetirementPlansNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/RetirementPlansSerpDetails" xlink:href="fmbh-20161231.xsd#RetirementPlansSerpDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/StockIncentivePlanCompensationCostDetails" xlink:href="fmbh-20161231.xsd#StockIncentivePlanCompensationCostDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/StockIncentivePlanDetails" xlink:href="fmbh-20161231.xsd#StockIncentivePlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/StockIncentivePlanNotes" xlink:href="fmbh-20161231.xsd#StockIncentivePlanNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/StockIncentivePlanSummaryOfOptionsByRangeOfExercisePriceDetails" xlink:href="fmbh-20161231.xsd#StockIncentivePlanSummaryOfOptionsByRangeOfExercisePriceDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/StockIncentivePlanSummaryOfStockOptionActivityDetails" xlink:href="fmbh-20161231.xsd#StockIncentivePlanSummaryOfStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/StockIncentivePlanSummaryOfUnvestedOptionsDetails" xlink:href="fmbh-20161231.xsd#StockIncentivePlanSummaryOfUnvestedOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/StockIncentivePlanSummaryOfUnvestedStockAndStockUnitsDetails" xlink:href="fmbh-20161231.xsd#StockIncentivePlanSummaryOfUnvestedStockAndStockUnitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/StockIncentivePlanTables" xlink:href="fmbh-20161231.xsd#StockIncentivePlanTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="fmbh-20161231.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesAoci" xlink:href="fmbh-20161231.xsd#SummaryOfSignificantAccountingPoliciesAoci" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="fmbh-20161231.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesPpe" xlink:href="fmbh-20161231.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesPpe" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesPreferredStock" xlink:href="fmbh-20161231.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesPreferredStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesSip" xlink:href="fmbh-20161231.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesSip" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTrustAssets" xlink:href="fmbh-20161231.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTrustAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="fmbh-20161231.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/Borrowings" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BorrowingsDebtDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BorrowingsRepurchaseAgreementsAndOtherBorrowingsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BorrowingsScheduleOfBorrowingsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BorrowingsSecuritiesSoldUnderAgreementToRepurchaseDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BorrowingsSubordinatedDebenturesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BorrowingsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BusinessCombinationsEstimatedFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BusinessCombinationsNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BusinessCombinationsNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BusinessCombinationsProFormaInformationDetails" xlink:type="extended">
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_BusinessAcquisitionsProFormaNetIncomeAvailableToCommonStockholders" xlink:label="loc_fmbh_BusinessAcquisitionsProFormaNetIncomeAvailableToCommonStockholders_c81db0c9-4e51-a4ca-a61b-64b271edb307" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_e7f34086-0940-b80f-e531-cc76673e1345" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_BusinessAcquisitionsProFormaNetIncomeAvailableToCommonStockholders_c81db0c9-4e51-a4ca-a61b-64b271edb307" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_e7f34086-0940-b80f-e531-cc76673e1345" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_BusinessAcquisitionsProFormaIncomebeforeIncomeTaxes" xlink:label="loc_fmbh_BusinessAcquisitionsProFormaIncomebeforeIncomeTaxes_86a25cee-42b4-f90f-8a71-64b271fd5d43" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_e7f34086-0940-b80f-e531-cc76673e1345" xlink:to="loc_fmbh_BusinessAcquisitionsProFormaIncomebeforeIncomeTaxes_86a25cee-42b4-f90f-8a71-64b271fd5d43" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_BusinessAcquisitionsProFormaNetInterestIncome" xlink:label="loc_fmbh_BusinessAcquisitionsProFormaNetInterestIncome_55c3e56c-2662-9c21-7155-64b2721ccb09" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_BusinessAcquisitionsProFormaIncomebeforeIncomeTaxes_86a25cee-42b4-f90f-8a71-64b271fd5d43" xlink:to="loc_fmbh_BusinessAcquisitionsProFormaNetInterestIncome_55c3e56c-2662-9c21-7155-64b2721ccb09" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_BusinessAcquisitionsProFormaProvisionForLoanLosses" xlink:label="loc_fmbh_BusinessAcquisitionsProFormaProvisionForLoanLosses_33be5e2f-b0e7-45a2-d5d0-64b27161c4dc" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_BusinessAcquisitionsProFormaIncomebeforeIncomeTaxes_86a25cee-42b4-f90f-8a71-64b271fd5d43" xlink:to="loc_fmbh_BusinessAcquisitionsProFormaProvisionForLoanLosses_33be5e2f-b0e7-45a2-d5d0-64b27161c4dc" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_BusinessAcquisitionsProFormaNonInterestIncome" xlink:label="loc_fmbh_BusinessAcquisitionsProFormaNonInterestIncome_f85cfaae-6df0-8372-0736-64b271fd947f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_BusinessAcquisitionsProFormaIncomebeforeIncomeTaxes_86a25cee-42b4-f90f-8a71-64b271fd5d43" xlink:to="loc_fmbh_BusinessAcquisitionsProFormaNonInterestIncome_f85cfaae-6df0-8372-0736-64b271fd947f" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_BusinessAcquisitionsProFormaNonInterestExpense" xlink:label="loc_fmbh_BusinessAcquisitionsProFormaNonInterestExpense_341cb29a-0073-1430-4331-64b271ed2a14" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_BusinessAcquisitionsProFormaIncomebeforeIncomeTaxes_86a25cee-42b4-f90f-8a71-64b271fd5d43" xlink:to="loc_fmbh_BusinessAcquisitionsProFormaNonInterestExpense_341cb29a-0073-1430-4331-64b271ed2a14" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_BusinessAcquisitionsProFormaIncomeTaxExpense" xlink:label="loc_fmbh_BusinessAcquisitionsProFormaIncomeTaxExpense_dced34fe-78c2-4330-6a48-64b2724b10ff" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_e7f34086-0940-b80f-e531-cc76673e1345" xlink:to="loc_fmbh_BusinessAcquisitionsProFormaIncomeTaxExpense_dced34fe-78c2-4330-6a48-64b2724b10ff" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_BusinessAcquisitionsProFormaDividendsOnPreferredShares" xlink:label="loc_fmbh_BusinessAcquisitionsProFormaDividendsOnPreferredShares_8c4a1a4f-eb10-61f1-238b-64b272d7789b" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_BusinessAcquisitionsProFormaNetIncomeAvailableToCommonStockholders_c81db0c9-4e51-a4ca-a61b-64b271edb307" xlink:to="loc_fmbh_BusinessAcquisitionsProFormaDividendsOnPreferredShares_8c4a1a4f-eb10-61f1-238b-64b272d7789b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/BusinessCombinationsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/CashAndDueFromBanks" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/CashAndDueFromBanksCashAndDueFromBanksDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" 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_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_Deposits_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilities" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_42e5cf5b-036c-9b16-6000-f676a552a6ea" 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_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_42e5cf5b-036c-9b16-6000-f676a552a6ea" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_7fbf7bcc-c34d-7e8e-26b5-b00651bf4bd8" 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_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_7fbf7bcc-c34d-7e8e-26b5-b00651bf4bd8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_81048ac9-0ea7-fac8-5cfc-bf46e923e25c" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_81048ac9-0ea7-fac8-5cfc-bf46e923e25c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_c2d5bfa9-eb74-1699-dfa8-58eba6b790cf" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_c2d5bfa9-eb74-1699-dfa8-58eba6b790cf" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_FederalHomeLoanBankAdvancesShortAndLongTerm" xlink:label="loc_fmbh_FederalHomeLoanBankAdvancesShortAndLongTerm_d62f4cd4-bbf0-d5fa-ebe2-64b2722c75f0" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_fmbh_FederalHomeLoanBankAdvancesShortAndLongTerm_d62f4cd4-bbf0-d5fa-ebe2-64b2722c75f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherBorrowings" xlink:label="loc_us-gaap_OtherBorrowings_a18e3d15-5bf3-f5e3-cb7a-e9d38d376860" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_OtherBorrowings_a18e3d15-5bf3-f5e3-cb7a-e9d38d376860" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:label="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_52b2a5ac-3839-95c0-f002-0c93f9ba34b1" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_52b2a5ac-3839-95c0-f002-0c93f9ba34b1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableCurrent" xlink:label="loc_us-gaap_DividendsPayableCurrent_074bd34b-fe55-9059-4d4d-01f7bae9398c" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_DividendsPayableCurrent_074bd34b-fe55-9059-4d4d-01f7bae9398c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_66ed6ae5-8093-76ad-2daf-2d375db91738" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_OtherLiabilities_66ed6ae5-8093-76ad-2daf-2d375db91738" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" 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_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_3c8f3df4-466c-f78c-b021-17337fc4a147" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_PreferredStockValue_3c8f3df4-466c-f78c-b021-17337fc4a147" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_d53388e7-4c8c-4e6d-6e90-7a6e0a100b74" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_CommonStockValue_d53388e7-4c8c-4e6d-6e90-7a6e0a100b74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b1a68b05-ec26-b896-ce8e-937cca99264e" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b1a68b05-ec26-b896-ce8e-937cca99264e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f759e73e-9f4f-941e-1138-49bc44f6b118" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f759e73e-9f4f-941e-1138-49bc44f6b118" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_DeferredCompensationPlanEquity" xlink:label="loc_fmbh_DeferredCompensationPlanEquity_bd74c570-9cb7-cf74-b331-64b272e7b31b" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_fmbh_DeferredCompensationPlanEquity_bd74c570-9cb7-cf74-b331-64b272e7b31b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_aeb1020a-508a-a8c1-f34c-bafff16c26cb" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_aeb1020a-508a-a8c1-f34c-bafff16c26cb" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_TreasuryStockValueIncludingRabbiTrustShares" xlink:label="loc_fmbh_TreasuryStockValueIncludingRabbiTrustShares_62bfd539-d8a8-e720-b5d9-64b271bfc5a4" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_fmbh_TreasuryStockValueIncludingRabbiTrustShares_62bfd539-d8a8-e720-b5d9-64b271bfc5a4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueFromBanks" xlink:label="loc_us-gaap_DueFromBanks_95e058fd-2b65-3aad-db14-bb9702bf71da" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:to="loc_us-gaap_DueFromBanks_95e058fd-2b65-3aad-db14-bb9702bf71da" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_d17c456f-8834-5c79-eaec-c4dc250bfe59" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_d17c456f-8834-5c79-eaec-c4dc250bfe59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FederalFundsSold" xlink:label="loc_us-gaap_FederalFundsSold_1f2aabfa-399b-051c-78b8-a4f1bcad1fac" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:to="loc_us-gaap_FederalFundsSold_1f2aabfa-399b-051c-78b8-a4f1bcad1fac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertificatesOfDepositAtCarryingValue" xlink:label="loc_us-gaap_CertificatesOfDepositAtCarryingValue_8786d614-6fd4-47f0-207f-cacfd1bd40c3" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_CertificatesOfDepositAtCarryingValue_8786d614-6fd4-47f0-207f-cacfd1bd40c3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_01be169b-08cc-7c30-55f5-941791d17ef8" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_AvailableForSaleSecurities_01be169b-08cc-7c30-55f5-941791d17ef8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_f4e7830b-ffb8-ff7f-823f-479245ca22dc" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_HeldToMaturitySecurities_f4e7830b-ffb8-ff7f-823f-479245ca22dc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_15e2e8b0-b5fc-285f-61dc-2cdc4cfd9f2d" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_15e2e8b0-b5fc-285f-61dc-2cdc4cfd9f2d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_308d45ee-f404-eda1-c95a-704fc5d0fb0a" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_308d45ee-f404-eda1-c95a-704fc5d0fb0a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_ad68c54f-cfc7-5329-34c2-817e096ab189" 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_308d45ee-f404-eda1-c95a-704fc5d0fb0a" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_ad68c54f-cfc7-5329-34c2-817e096ab189" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_c0903adb-9417-416f-428a-6e40312a9d63" 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_308d45ee-f404-eda1-c95a-704fc5d0fb0a" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_c0903adb-9417-416f-428a-6e40312a9d63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestReceivable" xlink:label="loc_us-gaap_InterestReceivable_74579b51-461d-0f61-62b7-4c0cad213b39" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_InterestReceivable_74579b51-461d-0f61-62b7-4c0cad213b39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_9aa93112-3fc5-3ab9-8d9e-c7af7eb504d5" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_9aa93112-3fc5-3ab9-8d9e-c7af7eb504d5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_d723083e-f7a3-6d89-9926-32afaa010d8a" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_Goodwill_d723083e-f7a3-6d89-9926-32afaa010d8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_27b15389-386a-f983-c189-731d6d3c3fbb" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_27b15389-386a-f983-c189-731d6d3c3fbb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BankOwnedLifeInsurance" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_16341fb7-199a-1789-2eb7-56ec9b6a880f" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_16341fb7-199a-1789-2eb7-56ec9b6a880f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_89f93c65-85fd-29e8-1936-9df58443c9af" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_OtherAssets_89f93c65-85fd-29e8-1936-9df58443c9af" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_9de639ea-b6d8-521b-ae97-abd9b91ff5cf" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_9de639ea-b6d8-521b-ae97-abd9b91ff5cf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase_e544456e-225b-2418-1a09-2cc8f5e63d56" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase_e544456e-225b-2418-1a09-2cc8f5e63d56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xlink:label="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_5c3bbd59-c3a6-bad4-82a8-52518d85e533" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_5c3bbd59-c3a6-bad4-82a8-52518d85e533" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromShortTermDebt" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_e7ddcb24-b3e5-0a11-2460-5998d7a8070d" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_e7ddcb24-b3e5-0a11-2460-5998d7a8070d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfShortTermDebt" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_54d643f0-a79e-1f1e-12d8-556a1c54d0b2" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_54d643f0-a79e-1f1e-12d8-556a1c54d0b2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_866e0d33-eabf-2b46-aabe-ae0e1d229b78" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_866e0d33-eabf-2b46-aabe-ae0e1d229b78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_df373d95-9aed-55aa-3255-855344ae0add" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_df373d95-9aed-55aa-3255-855344ae0add" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_a92fcd53-a70b-5961-cbbe-44e0298b332c" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_a92fcd53-a70b-5961-cbbe-44e0298b332c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fc2ca57d-dc62-7ce6-b2c4-25896bddd1fc" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fc2ca57d-dc62-7ce6-b2c4-25896bddd1fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_ec8e472b-5895-cdb0-378b-1469517f8a95" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_ec8e472b-5895-cdb0-378b-1469517f8a95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_a269f982-b168-8b73-b7b4-38da20c0fb35" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_a269f982-b168-8b73-b7b4-38da20c0fb35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromFederalHomeLoanBankAdvances" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankAdvances_4759cf09-2376-d5c8-1661-9c3e7743527c" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankAdvances_4759cf09-2376-d5c8-1661-9c3e7743527c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments_83dfca2d-51ff-eb05-ab76-bde6e79b97eb" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments_83dfca2d-51ff-eb05-ab76-bde6e79b97eb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireOtherInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_0e632ecb-cbb9-0b49-7e2e-844f7ae9d915" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_0e632ecb-cbb9-0b49-7e2e-844f7ae9d915" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_37f1e565-0f5b-d294-1fab-1f43106882e2" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_37f1e565-0f5b-d294-1fab-1f43106882e2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_35e371be-e4e5-d620-67c2-e88ff60896e0" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_35e371be-e4e5-d620-67c2-e88ff60896e0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_8537a914-fea0-e31b-4574-5efbd321ed57" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_8537a914-fea0-e31b-4574-5efbd321ed57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_c02ad689-0839-347f-dbb5-560ba41e6864" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_c02ad689-0839-347f-dbb5-560ba41e6864" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_4776c6ab-2a4a-c9df-52bd-dd60cf4b3246" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_4776c6ab-2a4a-c9df-52bd-dd60cf4b3246" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_30b4b64f-0860-e5f8-4b62-5013043091ed" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_30b4b64f-0860-e5f8-4b62-5013043091ed" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_da5d3613-0426-0efc-e877-f02868c1f6ef" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_da5d3613-0426-0efc-e877-f02868c1f6ef" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_991d89e2-25f7-1061-f5f8-86acc91f176b" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_991d89e2-25f7-1061-f5f8-86acc91f176b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_647ddd1f-29da-f9a0-2f0c-a02b399aca9e" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_647ddd1f-29da-f9a0-2f0c-a02b399aca9e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_183cf7a2-b762-c090-f1fd-a185dadd564b" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_183cf7a2-b762-c090-f1fd-a185dadd564b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireMortgageServicingRightsMSR" xlink:label="loc_us-gaap_PaymentsToAcquireMortgageServicingRightsMSR_dcb282e0-ac94-b9a9-93ed-0e7733892bce" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireMortgageServicingRightsMSR_dcb282e0-ac94-b9a9-93ed-0e7733892bce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_11be17d8-cdf3-5dff-9c97-3bc59877acaf" xlink:type="locator" />
    <link:calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_11be17d8-cdf3-5dff-9c97-3bc59877acaf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_e492b395-3057-513f-a7ad-7b0b6ca286a5" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_e492b395-3057-513f-a7ad-7b0b6ca286a5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationAmortizationAndAccretionNet" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_31fc303b-1b94-6362-1b8a-157609a23bce" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_31fc303b-1b94-6362-1b8a-157609a23bce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue" xlink:label="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue_ec25f31b-eef2-4015-c87e-2deb9fe805c0" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue_ec25f31b-eef2-4015-c87e-2deb9fe805c0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_432488d8-28ca-5b8d-679b-29be120957b5" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_ShareBasedCompensation_432488d8-28ca-5b8d-679b-29be120957b5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrealizedGainLossOnSecurities" xlink:label="loc_us-gaap_UnrealizedGainLossOnSecurities_1be59d59-9b8b-3362-c4b6-f30b0c5b797e" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_UnrealizedGainLossOnSecurities_1be59d59-9b8b-3362-c4b6-f30b0c5b797e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_b2556e97-1ad5-7d94-3285-9306db957a5d" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_b2556e97-1ad5-7d94-3285-9306db957a5d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_4f25f358-0eb6-8948-fd67-cb4acfcd66ec" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_4f25f358-0eb6-8948-fd67-cb4acfcd66ec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges" xlink:label="loc_us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges_c8fc17f4-fe0c-c177-a493-d2f27b86c6e8" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges_c8fc17f4-fe0c-c177-a493-d2f27b86c6e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_fa5ab09c-9063-67a9-6f6e-01a281dbb57f" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_fa5ab09c-9063-67a9-6f6e-01a281dbb57f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_91674616-989d-90e8-1302-b52ff7a33098" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_91674616-989d-90e8-1302-b52ff7a33098" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_0521c87b-a031-be38-f769-8fdf4c03f98a" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_0521c87b-a031-be38-f769-8fdf4c03f98a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_e0f76ffa-e5a2-315e-fb9f-0e3dc9ccc4ca" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_e0f76ffa-e5a2-315e-fb9f-0e3dc9ccc4ca" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_4f2c72dc-c33f-2396-299a-5fd89c0655d3" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_4f2c72dc-c33f-2396-299a-5fd89c0655d3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_aecff951-1627-806c-5fcf-8241de3e1fa8" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_aecff951-1627-806c-5fcf-8241de3e1fa8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d8c0a214-0b0d-1fc8-686b-ed5eca49895f" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d8c0a214-0b0d-1fc8-686b-ed5eca49895f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_7a016eeb-d472-4272-2fad-97e749a6fbc2" xlink:type="locator" />
    <link:calculationArc order="17" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_7a016eeb-d472-4272-2fad-97e749a6fbc2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_045a7791-44b8-d416-a735-af6ac83e7eb3" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_045a7791-44b8-d416-a735-af6ac83e7eb3" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_OtherComprehensiveIncomeLossTransfersFromAvailableForSaletoHeldToMaturityNetOfTax" xlink:label="loc_fmbh_OtherComprehensiveIncomeLossTransfersFromAvailableForSaletoHeldToMaturityNetOfTax_020a74a9-bd41-2109-ab18-64b2721c7bd7" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_fmbh_OtherComprehensiveIncomeLossTransfersFromAvailableForSaletoHeldToMaturityNetOfTax_020a74a9-bd41-2109-ab18-64b2721c7bd7" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_OtherComprehensiveIncomeLossReclassificationAdjustmentForSaleOrWritedownOfSecuritiesIncludedInNetIncomeNetOfTax" xlink:label="loc_fmbh_OtherComprehensiveIncomeLossReclassificationAdjustmentForSaleOrWritedownOfSecuritiesIncludedInNetIncomeNetOfTax_c5a14953-acc1-8261-a138-64b2725b7718" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_fmbh_OtherComprehensiveIncomeLossReclassificationAdjustmentForSaleOrWritedownOfSecuritiesIncludedInNetIncomeNetOfTax_c5a14953-acc1-8261-a138-64b2725b7718" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_369c90d1-6da1-8050-c604-fad527301a92" 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_369c90d1-6da1-8050-c604-fad527301a92" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_045a7791-44b8-d416-a735-af6ac83e7eb3" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_369c90d1-6da1-8050-c604-fad527301a92" xlink:to="loc_fmbh_OtherComprehensiveIncomeLossTransfersFromAvailableForSaletoHeldToMaturityNetOfTax_020a74a9-bd41-2109-ab18-64b2721c7bd7" xlink:type="arc" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_369c90d1-6da1-8050-c604-fad527301a92" xlink:to="loc_fmbh_OtherComprehensiveIncomeLossReclassificationAdjustmentForSaleOrWritedownOfSecuritiesIncludedInNetIncomeNetOfTax_c5a14953-acc1-8261-a138-64b2725b7718" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" 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_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:to="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" 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_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_f35f4171-a045-60de-4b72-13daafbacefd" 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_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_NoninterestIncome_f35f4171-a045-60de-4b72-13daafbacefd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FeesAndCommissionsFiduciaryAndTrustActivities" xlink:label="loc_us-gaap_FeesAndCommissionsFiduciaryAndTrustActivities_7af299a0-4ba9-98a8-01b1-9bb4767b86ee" 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_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_FeesAndCommissionsFiduciaryAndTrustActivities_7af299a0-4ba9-98a8-01b1-9bb4767b86ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BrokerageCommissionsRevenue" xlink:label="loc_us-gaap_BrokerageCommissionsRevenue_b92da33a-6a58-ade7-d541-df05580a884e" 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_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_BrokerageCommissionsRevenue_b92da33a-6a58-ade7-d541-df05580a884e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InsuranceCommissionsAndFees" xlink:label="loc_us-gaap_InsuranceCommissionsAndFees_db55cb8b-1551-691e-a50c-a41aa0b26146" 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_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_InsuranceCommissionsAndFees_db55cb8b-1551-691e-a50c-a41aa0b26146" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FeesAndCommissionsDepositorAccounts" xlink:label="loc_us-gaap_FeesAndCommissionsDepositorAccounts_e1c7ef44-0795-5979-4dd9-e27cd4f34e96" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_FeesAndCommissionsDepositorAccounts_e1c7ef44-0795-5979-4dd9-e27cd4f34e96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:label="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_16ae3da2-05c7-338b-5739-969b56f7a43d" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_16ae3da2-05c7-338b-5739-969b56f7a43d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FeesAndCommissionsMortgageBanking" xlink:label="loc_us-gaap_FeesAndCommissionsMortgageBanking_8c40ea47-5818-9252-8396-a3611dd350ce" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_FeesAndCommissionsMortgageBanking_8c40ea47-5818-9252-8396-a3611dd350ce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FeesAndCommissionsOther" xlink:label="loc_us-gaap_FeesAndCommissionsOther_89c642d0-ee84-e1a6-13ea-c53ed808432e" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_FeesAndCommissionsOther_89c642d0-ee84-e1a6-13ea-c53ed808432e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_7c198aeb-01e7-41c5-4675-c64fd56cca26" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_7c198aeb-01e7-41c5-4675-c64fd56cca26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_123eb8c2-270b-5be6-ddd2-6bcc6ed8eaac" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_f35f4171-a045-60de-4b72-13daafbacefd" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_123eb8c2-270b-5be6-ddd2-6bcc6ed8eaac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" 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_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_NoninterestExpense_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_6494510a-4df0-83f7-7461-428073641d92" 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_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_LaborAndRelatedExpense_6494510a-4df0-83f7-7461-428073641d92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet_c749a9ca-9cf9-f773-ef9f-16d67b3bf2f6" 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_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_OccupancyNet_c749a9ca-9cf9-f773-ef9f-16d67b3bf2f6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeclosedRealEstateExpense" xlink:label="loc_us-gaap_ForeclosedRealEstateExpense_55a99753-6209-7904-b74b-604e41977af7" 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_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_ForeclosedRealEstateExpense_55a99753-6209-7904-b74b-604e41977af7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_2dc6101e-c39f-afa5-8c1d-7a0ff7a98923" 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_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_2dc6101e-c39f-afa5-8c1d-7a0ff7a98923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_45782c94-912f-fb4e-76bf-199e35f3c27b" 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_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_45782c94-912f-fb4e-76bf-199e35f3c27b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SuppliesExpense" xlink:label="loc_us-gaap_SuppliesExpense_15779c8b-5355-85db-cb0f-f096c4c0436a" 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_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_SuppliesExpense_15779c8b-5355-85db-cb0f-f096c4c0436a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="loc_us-gaap_ProfessionalFees_31bb5758-51aa-54b6-5fd9-755afd074594" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_ProfessionalFees_31bb5758-51aa-54b6-5fd9-755afd074594" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MarketingAndAdvertisingExpense" xlink:label="loc_us-gaap_MarketingAndAdvertisingExpense_25c5c5ab-31c7-e955-0453-e60d722a0f91" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_MarketingAndAdvertisingExpense_25c5c5ab-31c7-e955-0453-e60d722a0f91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense_5e15a29c-ce94-e630-9055-a1d50090c7f3" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_8ddbe6f3-4d72-c09b-36f4-9005265a7a64" xlink:to="loc_us-gaap_OtherNoninterestExpense_5e15a29c-ce94-e630-9055-a1d50090c7f3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_57b518da-1b50-a6b5-0d88-91813c4591f6" 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_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_57b518da-1b50-a6b5-0d88-91813c4591f6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_e015c137-2688-2671-ea53-ff539f6b64b3" 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_57b518da-1b50-a6b5-0d88-91813c4591f6" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_e015c137-2688-2671-ea53-ff539f6b64b3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" 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_e015c137-2688-2671-ea53-ff539f6b64b3" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_3dd68de5-7f79-10e1-9375-40d2d6ab7560" 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_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_3dd68de5-7f79-10e1-9375-40d2d6ab7560" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_a3fa48e1-d08c-a83a-6ad6-b40bd5943aa2" 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_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_a3fa48e1-d08c-a83a-6ad6-b40bd5943aa2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_327f43e0-cb7b-cd6b-d9e2-85409de099b8" 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_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_327f43e0-cb7b-cd6b-d9e2-85409de099b8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeAndFeesBankersAcceptancesCertificatesOfDepositAndCommercialPaper" xlink:label="loc_us-gaap_InterestIncomeAndFeesBankersAcceptancesCertificatesOfDepositAndCommercialPaper_686b5ea2-46a2-5f21-c537-29e6faeda463" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" xlink:to="loc_us-gaap_InterestIncomeAndFeesBankersAcceptancesCertificatesOfDepositAndCommercialPaper_686b5ea2-46a2-5f21-c537-29e6faeda463" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeFederalFundsSold" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_9d3d14e0-a0c1-9922-0bba-a08f3e48cc40" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_9d3d14e0-a0c1-9922-0bba-a08f3e48cc40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_c31a4998-7721-3e4f-3f5b-f8f29ae0f3c9" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_c31a4998-7721-3e4f-3f5b-f8f29ae0f3c9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" 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_e015c137-2688-2671-ea53-ff539f6b64b3" xlink:to="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_cb60b296-64cc-a975-cb23-5c541e674f76" 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_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:to="loc_us-gaap_InterestExpenseDeposits_cb60b296-64cc-a975-cb23-5c541e674f76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseSecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_InterestExpenseSecuritiesSoldUnderAgreementsToRepurchase_939518fb-eb6d-5f9e-7ffb-9a3714b9ccd6" 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_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:to="loc_us-gaap_InterestExpenseSecuritiesSoldUnderAgreementsToRepurchase_939518fb-eb6d-5f9e-7ffb-9a3714b9ccd6" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_InterestExpenseFederalHomeLoanBankAdvancesShortAndLongTerm" xlink:label="loc_fmbh_InterestExpenseFederalHomeLoanBankAdvancesShortAndLongTerm_a40e315a-16f5-be7a-c990-64b27161dc7d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:to="loc_fmbh_InterestExpenseFederalHomeLoanBankAdvancesShortAndLongTerm_a40e315a-16f5-be7a-c990-64b27161dc7d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="loc_us-gaap_InterestExpenseBorrowings_5454ffca-227a-3e7b-6b06-630b3e2966e2" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:to="loc_us-gaap_InterestExpenseBorrowings_5454ffca-227a-3e7b-6b06-630b3e2966e2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseJuniorSubordinatedDebentures" xlink:label="loc_us-gaap_InterestExpenseJuniorSubordinatedDebentures_0f80046b-93ad-521c-f0fe-5c8e309c67e5" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:to="loc_us-gaap_InterestExpenseJuniorSubordinatedDebentures_0f80046b-93ad-521c-f0fe-5c8e309c67e5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_e492b395-3057-513f-a7ad-7b0b6ca286a5" 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_57b518da-1b50-a6b5-0d88-91813c4591f6" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_e492b395-3057-513f-a7ad-7b0b6ca286a5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" 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_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPreferredStockCash" xlink:label="loc_us-gaap_DividendsPreferredStockCash_3e5c47f4-2fdc-59e2-1c72-3a6ebd6b9904" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:to="loc_us-gaap_DividendsPreferredStockCash_3e5c47f4-2fdc-59e2-1c72-3a6ebd6b9904" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DeferredCompensationPlanDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DeferredCompensationPlanNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DepositsDepositInterestComponentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_cb60b296-64cc-a975-cb23-5c541e674f76" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseDemandDepositAccounts" xlink:label="loc_us-gaap_InterestExpenseDemandDepositAccounts_1252407e-b9cf-6afb-26f1-4fa7e186dcc3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_cb60b296-64cc-a975-cb23-5c541e674f76" xlink:to="loc_us-gaap_InterestExpenseDemandDepositAccounts_1252407e-b9cf-6afb-26f1-4fa7e186dcc3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseSavingsDeposits" xlink:label="loc_us-gaap_InterestExpenseSavingsDeposits_309f9ca3-0d98-497e-a691-d8b4999775d8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_cb60b296-64cc-a975-cb23-5c541e674f76" xlink:to="loc_us-gaap_InterestExpenseSavingsDeposits_309f9ca3-0d98-497e-a691-d8b4999775d8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseMoneyMarketDeposits" xlink:label="loc_us-gaap_InterestExpenseMoneyMarketDeposits_a1547c05-f5cd-5a81-111b-431f15438749" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_cb60b296-64cc-a975-cb23-5c541e674f76" xlink:to="loc_us-gaap_InterestExpenseMoneyMarketDeposits_a1547c05-f5cd-5a81-111b-431f15438749" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseTimeDeposits" xlink:label="loc_us-gaap_InterestExpenseTimeDeposits_f79b0057-721f-08bd-7522-f336b68c84d2" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_cb60b296-64cc-a975-cb23-5c541e674f76" xlink:to="loc_us-gaap_InterestExpenseTimeDeposits_f79b0057-721f-08bd-7522-f336b68c84d2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DepositsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDeposits" xlink:label="loc_us-gaap_TimeDeposits_02a4179b-ade7-ddc8-cb7f-5bf94ad5699f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearOne" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_e09f3bfa-51c1-5db1-4e42-21be8a0ac027" 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_02a4179b-ade7-ddc8-cb7f-5bf94ad5699f" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_e09f3bfa-51c1-5db1-4e42-21be8a0ac027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearTwo" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_2e3a56e8-0369-5d20-f4bd-7b73ff4650e0" 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_02a4179b-ade7-ddc8-cb7f-5bf94ad5699f" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_2e3a56e8-0369-5d20-f4bd-7b73ff4650e0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearThree" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_638d4d57-69c0-0873-b1b0-9040b4ca6c26" 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_02a4179b-ade7-ddc8-cb7f-5bf94ad5699f" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_638d4d57-69c0-0873-b1b0-9040b4ca6c26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFour" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_71f41286-8088-90ef-9a0b-23cde3cc22ee" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_02a4179b-ade7-ddc8-cb7f-5bf94ad5699f" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_71f41286-8088-90ef-9a0b-23cde3cc22ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFive" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFive_41b28d03-8950-fa0b-d3d3-7a85e95537ae" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_02a4179b-ade7-ddc8-cb7f-5bf94ad5699f" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFive_41b28d03-8950-fa0b-d3d3-7a85e95537ae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesAfterYearFive" xlink:label="loc_us-gaap_TimeDepositMaturitiesAfterYearFive_756fb457-75f9-75a4-b809-2dc615b8022a" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_02a4179b-ade7-ddc8-cb7f-5bf94ad5699f" xlink:to="loc_us-gaap_TimeDepositMaturitiesAfterYearFive_756fb457-75f9-75a4-b809-2dc615b8022a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilities" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_42e5cf5b-036c-9b16-6000-f676a552a6ea" 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_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_42e5cf5b-036c-9b16-6000-f676a552a6ea" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDomesticDepositDemand" xlink:label="loc_us-gaap_InterestBearingDomesticDepositDemand_1cd1ceed-331e-0fda-6f45-23f947e5b42a" 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_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:to="loc_us-gaap_InterestBearingDomesticDepositDemand_1cd1ceed-331e-0fda-6f45-23f947e5b42a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDomesticDepositSavings" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_645475cb-02e9-28e5-2b91-7c8ed94ab84a" 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_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_645475cb-02e9-28e5-2b91-7c8ed94ab84a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDomesticDepositMoneyMarket" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_1e8415ec-e9e3-48e0-1143-92090349f166" 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_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_1e8415ec-e9e3-48e0-1143-92090349f166" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits" xlink:label="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_bda98a35-5a3d-c70f-c3cd-b1493c1791c7" 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_2621bf6b-5f2c-e3b2-611b-402dd2c30a99" xlink:to="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_bda98a35-5a3d-c70f-c3cd-b1493c1791c7" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DepositsNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DepositsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstruments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsPartIiDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DividendRestrictionsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DividendRestrictionsNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/EarningsPerShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_e24f9d55-d9ef-3f95-c65d-cbc9febefcb3" xlink:type="locator" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsStockOptions" xlink:label="loc_fmbh_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsStockOptions_6e0e2de1-4ef1-496e-784a-64b271cebe32" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_e24f9d55-d9ef-3f95-c65d-cbc9febefcb3" xlink:to="loc_fmbh_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsStockOptions_6e0e2de1-4ef1-496e-784a-64b271cebe32" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsRestrictedStockAwards" xlink:label="loc_fmbh_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsRestrictedStockAwards_9f84c004-30c3-282c-371a-64b271af67af" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_e24f9d55-d9ef-3f95-c65d-cbc9febefcb3" xlink:to="loc_fmbh_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsRestrictedStockAwards_9f84c004-30c3-282c-371a-64b271af67af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_3d701ec2-4611-de54-a882-58959f96c415" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_e24f9d55-d9ef-3f95-c65d-cbc9febefcb3" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_3d701ec2-4611-de54-a882-58959f96c415" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_1735fe31-9766-d222-70d1-60b3f7021819" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_1735fe31-9766-d222-70d1-60b3f7021819" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_452a2c1c-cb0d-618d-ae52-6e537eace427" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_1735fe31-9766-d222-70d1-60b3f7021819" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_452a2c1c-cb0d-618d-ae52-6e537eace427" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/FhlbAdvancesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_69e5de31-e379-3d10-54e1-db1271f781f0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_be4c6cb2-c102-b108-bfb6-0404d740f001" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_69e5de31-e379-3d10-54e1-db1271f781f0" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_be4c6cb2-c102-b108-bfb6-0404d740f001" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_fff555d3-22e2-1be9-15a7-f79f0064a4bb" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_69e5de31-e379-3d10-54e1-db1271f781f0" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_fff555d3-22e2-1be9-15a7-f79f0064a4bb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_c5420c55-b70f-9186-5b0e-88de7d1b3712" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_69e5de31-e379-3d10-54e1-db1271f781f0" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_c5420c55-b70f-9186-5b0e-88de7d1b3712" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_7b82936a-3efa-d722-acea-fbe08d94cdb3" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_69e5de31-e379-3d10-54e1-db1271f781f0" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_7b82936a-3efa-d722-acea-fbe08d94cdb3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_6231296c-2b9b-a710-fe01-a01a31f4eeb8" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_69e5de31-e379-3d10-54e1-db1271f781f0" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_6231296c-2b9b-a710-fe01-a01a31f4eeb8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_4ce000ca-0272-5539-8854-56410906b97f" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_69e5de31-e379-3d10-54e1-db1271f781f0" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_4ce000ca-0272-5539-8854-56410906b97f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/GoodwillAndIntangibleAssets" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/GoodwillAndIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_GoodwillAndIntangibleAssetsGrossCarryingValue" xlink:label="loc_fmbh_GoodwillAndIntangibleAssetsGrossCarryingValue_2d411d34-aae3-85a3-677d-81b31f6def82" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillGross" xlink:label="loc_us-gaap_GoodwillGross_98f61174-c8db-3ea9-f2dc-d9ba8c2877b9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_GoodwillAndIntangibleAssetsGrossCarryingValue_2d411d34-aae3-85a3-677d-81b31f6def82" xlink:to="loc_us-gaap_GoodwillGross_98f61174-c8db-3ea9-f2dc-d9ba8c2877b9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_20da5796-2b47-ef11-689a-589894b52fb4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_GoodwillAndIntangibleAssetsGrossCarryingValue_2d411d34-aae3-85a3-677d-81b31f6def82" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_20da5796-2b47-ef11-689a-589894b52fb4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedCoreDepositsGross" xlink:label="loc_us-gaap_FiniteLivedCoreDepositsGross_61e1af64-3eb9-adef-298a-af6d25270b3d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_GoodwillAndIntangibleAssetsGrossCarryingValue_2d411d34-aae3-85a3-677d-81b31f6def82" xlink:to="loc_us-gaap_FiniteLivedCoreDepositsGross_61e1af64-3eb9-adef-298a-af6d25270b3d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedCustomerListsGross" xlink:label="loc_us-gaap_FiniteLivedCustomerListsGross_33cb1598-245b-c137-a1bc-76dfd5409d53" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_GoodwillAndIntangibleAssetsGrossCarryingValue_2d411d34-aae3-85a3-677d-81b31f6def82" xlink:to="loc_us-gaap_FiniteLivedCustomerListsGross_33cb1598-245b-c137-a1bc-76dfd5409d53" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/GoodwillAndIntangibleAssetsMortgageServicingRightsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/GoodwillAndIntangibleAssetsReconciliationOfPurchasePriceToGoodwillRecordedDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/GoodwillAndIntangibleAssetsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/IncomeTaxesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/IncomeTaxesIncomeTaxReconciliationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_b6c76c51-9163-a2c4-e48f-4450dcc2ac29" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_b6c76c51-9163-a2c4-e48f-4450dcc2ac29" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_EffectiveIncomeTaxRateReconciliationTaxExemptLifeInsuranceIncome" xlink:label="loc_fmbh_EffectiveIncomeTaxRateReconciliationTaxExemptLifeInsuranceIncome_68471FA83C1D1583A668869967A644C7" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_fmbh_EffectiveIncomeTaxRateReconciliationTaxExemptLifeInsuranceIncome_68471FA83C1D1583A668869967A644C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_975725c2-fd03-4fc0-52f7-fc0dc7716906" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_975725c2-fd03-4fc0-52f7-fc0dc7716906" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_d29554d1-a5cb-c501-f146-950fa628837f" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_d29554d1-a5cb-c501-f146-950fa628837f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_01db0ee8-dc9d-9a44-534f-a2200747ef03" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_01db0ee8-dc9d-9a44-534f-a2200747ef03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_11289e28-2728-6877-19a4-d3db9fc50958" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_11289e28-2728-6877-19a4-d3db9fc50958" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_0f478b4b-6980-30a6-2e92-6814a426e027" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_0f478b4b-6980-30a6-2e92-6814a426e027" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/IncomeTaxesNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/IncomeTaxesTemporaryDifferencesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_01ec1572-4ef3-c4fc-b254-d545dc66e953" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsGross" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_01ec1572-4ef3-c4fc-b254-d545dc66e953" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_7de67da8-0b1a-6184-e157-ace61cf2ec38" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_7de67da8-0b1a-6184-e157-ace61cf2ec38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_75bc5ff6-6f52-1973-ba11-7fb29f1f8ff0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_75bc5ff6-6f52-1973-ba11-7fb29f1f8ff0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_e9eff40e-2353-5b44-4125-2e16fafc14e2" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_e9eff40e-2353-5b44-4125-2e16fafc14e2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_d29dfd00-0275-f326-3d06-45b963758ad7" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_d29dfd00-0275-f326-3d06-45b963758ad7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_9086bb49-e21d-2fdd-c7ce-32e56ffef9d8" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_9086bb49-e21d-2fdd-c7ce-32e56ffef9d8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses_b6ae6bcd-ab36-b6ed-4132-8e6625a3018e" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses_b6ae6bcd-ab36-b6ed-4132-8e6625a3018e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_87cdbec2-773d-bc5a-3050-f979513ecb7f" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_87cdbec2-773d-bc5a-3050-f979513ecb7f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsDeferredIncome" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_82d6f310-2d30-47c4-525e-6e7c40649637" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_82d6f310-2d30-47c4-525e-6e7c40649637" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_DeferredTaxAssetsFairValueAdjustments" xlink:label="loc_fmbh_DeferredTaxAssetsFairValueAdjustments_678C919A698C146B646186AB9EFB2564" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_fmbh_DeferredTaxAssetsFairValueAdjustments_678C919A698C146B646186AB9EFB2564" xlink:type="arc" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_DeferredTaxAssetsAcquisitionExpenses" xlink:label="loc_fmbh_DeferredTaxAssetsAcquisitionExpenses_2E5D3E49344691B6D58986CA512CE7E9" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_fmbh_DeferredTaxAssetsAcquisitionExpenses_2E5D3E49344691B6D58986CA512CE7E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_bdc6598b-bd97-4cc7-9f4f-5d5ac82ed0ed" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_344334d8-d156-37ea-1859-beb8bda06f5f" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_bdc6598b-bd97-4cc7-9f4f-5d5ac82ed0ed" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_01ec1572-4ef3-c4fc-b254-d545dc66e953" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseReservesAndAccruals" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseReservesAndAccruals_d9d80358-26a4-5e39-cf07-7671997bbc4c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseReservesAndAccruals_d9d80358-26a4-5e39-cf07-7671997bbc4c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_973d22f5-3f9f-46ca-0162-e67f8660a675" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_973d22f5-3f9f-46ca-0162-e67f8660a675" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_3e75781b-05b6-84bf-a3c7-23de492af0ab" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_3e75781b-05b6-84bf-a3c7-23de492af0ab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesTaxDeferredIncome" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesTaxDeferredIncome_68225070-9f09-df7a-0a8b-3d5438448d31" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesTaxDeferredIncome_68225070-9f09-df7a-0a8b-3d5438448d31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_3622af18-6e9e-b903-3573-9cbd06ebe01a" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_3622af18-6e9e-b903-3573-9cbd06ebe01a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_fa726c85-83ac-b28f-66e2-0281dd3b7026" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_fa726c85-83ac-b28f-66e2-0281dd3b7026" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesInvestments" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestments_a814a6d8-0816-1bc5-b8b1-974d989c936c" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestments_a814a6d8-0816-1bc5-b8b1-974d989c936c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesMortgageServicingRights" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesMortgageServicingRights_02395dea-d447-6b0f-c440-47a2edd1fbd7" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesMortgageServicingRights_02395dea-d447-6b0f-c440-47a2edd1fbd7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome_f1f4efa9-db0e-4dc7-4de5-c80b7a5c9bcc" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e84d681-d720-597c-e306-ca1f497f20e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome_f1f4efa9-db0e-4dc7-4de5-c80b7a5c9bcc" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/InvestmentSecurities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/InvestmentSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_f4e7830b-ffb8-ff7f-823f-479245ca22dc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_af966d4f-ca9e-c61e-35a5-666d9e43c9b5" 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_f4e7830b-ffb8-ff7f-823f-479245ca22dc" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_af966d4f-ca9e-c61e-35a5-666d9e43c9b5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_0ed0f709-994b-3b9f-e500-c3f666fd4070" 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_f4e7830b-ffb8-ff7f-823f-479245ca22dc" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_0ed0f709-994b-3b9f-e500-c3f666fd4070" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_1665ea14-d067-c8bd-7db9-ca07038a2414" 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_f4e7830b-ffb8-ff7f-823f-479245ca22dc" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_1665ea14-d067-c8bd-7db9-ca07038a2414" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ba478347-bbf1-ddfc-8a79-7775b3b62a6c" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ba478347-bbf1-ddfc-8a79-7775b3b62a6c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_65f23050-696a-07fd-30c1-78a5110d800c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_65f23050-696a-07fd-30c1-78a5110d800c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3eb1c1c4-e8a2-c7fa-5de7-8720a2043973" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3eb1c1c4-e8a2-c7fa-5de7-8720a2043973" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/InvestmentSecuritiesInvestmentSecuritiesPartIiiDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/InvestmentSecuritiesPartIiDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_e656bd15-03bb-597b-ea38-156cb310bd06" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_bf4eac36-eb42-adfa-fdee-4f16094e5484" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_e656bd15-03bb-597b-ea38-156cb310bd06" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_bf4eac36-eb42-adfa-fdee-4f16094e5484" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_9699b360-bb07-8db3-0472-a73e16d00931" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_e656bd15-03bb-597b-ea38-156cb310bd06" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_9699b360-bb07-8db3-0472-a73e16d00931" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_3fa09329-0896-f55f-c02e-c8004aa08345" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_2c159316-1107-d1fe-3ca9-a0ff69e85bc6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_3fa09329-0896-f55f-c02e-c8004aa08345" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_2c159316-1107-d1fe-3ca9-a0ff69e85bc6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_28085bfb-becd-58b9-5554-fd2b42a29dab" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_3fa09329-0896-f55f-c02e-c8004aa08345" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_28085bfb-becd-58b9-5554-fd2b42a29dab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_3fdb0c88-4dda-27e9-1668-c6c8d3c6d1c2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_5b7b3656-763d-25d0-66f2-97b5d3894a14" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_3fdb0c88-4dda-27e9-1668-c6c8d3c6d1c2" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_5b7b3656-763d-25d0-66f2-97b5d3894a14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_1399cfc3-3964-c3c8-ac4c-17bb18032b4a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_3fdb0c88-4dda-27e9-1668-c6c8d3c6d1c2" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_1399cfc3-3964-c3c8-ac4c-17bb18032b4a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3eb1c1c4-e8a2-c7fa-5de7-8720a2043973" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_73f419d8-d119-3f34-15a6-338e4455cd96" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3eb1c1c4-e8a2-c7fa-5de7-8720a2043973" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_73f419d8-d119-3f34-15a6-338e4455cd96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_db3b580e-d182-4945-7c2e-ce877e78a106" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3eb1c1c4-e8a2-c7fa-5de7-8720a2043973" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_db3b580e-d182-4945-7c2e-ce877e78a106" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_5cad6420-c434-2b48-13db-6c315d141f54" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3eb1c1c4-e8a2-c7fa-5de7-8720a2043973" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_5cad6420-c434-2b48-13db-6c315d141f54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_b2dd8726-7338-2922-d0d2-fa759fce3859" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_3eb1c1c4-e8a2-c7fa-5de7-8720a2043973" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_b2dd8726-7338-2922-d0d2-fa759fce3859" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_b1d71fc9-eecd-2005-af97-28330842089f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_11612c57-1c66-2ebb-048d-5328a69f7e87" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_b1d71fc9-eecd-2005-af97-28330842089f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_11612c57-1c66-2ebb-048d-5328a69f7e87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_94eefac8-f76d-a881-1e74-cd6a8c26f6f2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_b1d71fc9-eecd-2005-af97-28330842089f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_94eefac8-f76d-a881-1e74-cd6a8c26f6f2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/InvestmentSecuritiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LeasesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LeasesLeaseTermsDetailsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LeasesNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LeasesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LoansAndAllowanceForLoanLosses" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_308d45ee-f404-eda1-c95a-704fc5d0fb0a" xlink:type="locator" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_Loansandleasesreceivablegrossexcludingloansheldforsale" xlink:label="loc_fmbh_Loansandleasesreceivablegrossexcludingloansheldforsale_5ABC2FDF6F8C3C89134C40A3EF2D2D9C" 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_308d45ee-f404-eda1-c95a-704fc5d0fb0a" xlink:to="loc_fmbh_Loansandleasesreceivablegrossexcludingloansheldforsale_5ABC2FDF6F8C3C89134C40A3EF2D2D9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums" xlink:label="loc_us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums_562cb9d9-acf1-b74f-32d3-7b77244e8007" 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_308d45ee-f404-eda1-c95a-704fc5d0fb0a" xlink:to="loc_us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums_562cb9d9-acf1-b74f-32d3-7b77244e8007" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_c0903adb-9417-416f-428a-6e40312a9d63" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_308d45ee-f404-eda1-c95a-704fc5d0fb0a" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_c0903adb-9417-416f-428a-6e40312a9d63" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesLoansAndAllowanceForLoanLossesAllowanceDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesLoansAndAllowanceForLoanLossesPciLoansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesPartIiDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansReceivableNet" xlink:label="loc_us-gaap_LoansReceivableNet_c350198a-f91a-f361-7f97-c7ff40587d1c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_6b9f00fb-4f59-7e06-296b-a5481d833fa6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansReceivableNet_c350198a-f91a-f361-7f97-c7ff40587d1c" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_6b9f00fb-4f59-7e06-296b-a5481d833fa6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_b2695118-4ec9-2b89-30ca-fe01dda973b9" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansReceivableNet_c350198a-f91a-f361-7f97-c7ff40587d1c" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_b2695118-4ec9-2b89-30ca-fe01dda973b9" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks_7e970011-7bf8-da2d-fabd-170790701260" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_CashAndDueFromBanks_7e970011-7bf8-da2d-fabd-170790701260" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_085ab9d9-1e31-9549-0258-e0a7a40c26c8" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_085ab9d9-1e31-9549-0258-e0a7a40c26c8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_89f93c65-85fd-29e8-1936-9df58443c9af" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_OtherAssets_89f93c65-85fd-29e8-1936-9df58443c9af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_33ebeff6-db7f-0d57-2a30-aed748170482" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_33ebeff6-db7f-0d57-2a30-aed748170482" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_3d1ff4d2-78b4-0876-a2bf-23c555b4696e" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_3d1ff4d2-78b4-0876-a2bf-23c555b4696e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_66ed6ae5-8093-76ad-2daf-2d375db91738" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_OtherLiabilities_66ed6ae5-8093-76ad-2daf-2d375db91738" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedStatementsOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries" xlink:label="loc_us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries_d6dbd972-4910-1398-1225-b71c1fd088e8" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries_d6dbd972-4910-1398-1225-b71c1fd088e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_11be17d8-cdf3-5dff-9c97-3bc59877acaf" 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_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_11be17d8-cdf3-5dff-9c97-3bc59877acaf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfRedeemableConvertiblePreferredStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemableConvertiblePreferredStock_4cd84f91-3fde-1cb8-a375-1fafbcb4a927" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemableConvertiblePreferredStock_4cd84f91-3fde-1cb8-a375-1fafbcb4a927" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_df373d95-9aed-55aa-3255-855344ae0add" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_df373d95-9aed-55aa-3255-855344ae0add" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_a92fcd53-a70b-5961-cbbe-44e0298b332c" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_a92fcd53-a70b-5961-cbbe-44e0298b332c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fc2ca57d-dc62-7ce6-b2c4-25896bddd1fc" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fc2ca57d-dc62-7ce6-b2c4-25896bddd1fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_ec8e472b-5895-cdb0-378b-1469517f8a95" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_ec8e472b-5895-cdb0-378b-1469517f8a95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_a269f982-b168-8b73-b7b4-38da20c0fb35" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_a269f982-b168-8b73-b7b4-38da20c0fb35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfShortTermDebt" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_54d643f0-a79e-1f1e-12d8-556a1c54d0b2" 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_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_54d643f0-a79e-1f1e-12d8-556a1c54d0b2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromShortTermDebt" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_e7ddcb24-b3e5-0a11-2460-5998d7a8070d" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_e7ddcb24-b3e5-0a11-2460-5998d7a8070d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_90cd6d89-f315-788f-d750-05a68667e398" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_90cd6d89-f315-788f-d750-05a68667e398" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_866e0d33-eabf-2b46-aabe-ae0e1d229b78" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_866e0d33-eabf-2b46-aabe-ae0e1d229b78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationAmortizationAndAccretionNet" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_31fc303b-1b94-6362-1b8a-157609a23bce" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_31fc303b-1b94-6362-1b8a-157609a23bce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashDividendsPaidToParentCompanyByConsolidatedSubsidiaries" xlink:label="loc_us-gaap_CashDividendsPaidToParentCompanyByConsolidatedSubsidiaries_2e9a990e-a567-b3b1-4ef8-04012e1b2045" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_CashDividendsPaidToParentCompanyByConsolidatedSubsidiaries_2e9a990e-a567-b3b1-4ef8-04012e1b2045" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d8c0a214-0b0d-1fc8-686b-ed5eca49895f" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d8c0a214-0b0d-1fc8-686b-ed5eca49895f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_7a016eeb-d472-4272-2fad-97e749a6fbc2" 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_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_7a016eeb-d472-4272-2fad-97e749a6fbc2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedStatementsOfIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="locator" />
    <link:loc xlink:href="fmbh-20161231.xsd#fmbh_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestments" xlink:label="loc_fmbh_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestments_a5ee01e3-3e90-b9e8-8c85-81b31fdaf5d1" 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_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_fmbh_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestments_a5ee01e3-3e90-b9e8-8c85-81b31fdaf5d1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestments_a5ee01e3-3e90-b9e8-8c85-81b31fdaf5d1" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" 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_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesBeforeTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesBeforeTax_be467dfb-b4b4-7433-3e81-8462ce073317" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesBeforeTax_be467dfb-b4b4-7433-3e81-8462ce073317" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherIncome" xlink:label="loc_us-gaap_OtherIncome_d1e4cdd9-1aa3-b1a0-58b0-63534eec4fd6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" xlink:to="loc_us-gaap_OtherIncome_d1e4cdd9-1aa3-b1a0-58b0-63534eec4fd6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" 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_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fmbh_IncomeLossFromContinuingOperationsBeforeEquityMethodInvestments_a5ee01e3-3e90-b9e8-8c85-81b31fdaf5d1" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" 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_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/PremisesAndEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_8c99d26c-e257-b8ba-86ee-4f792a9452ce" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_8c99d26c-e257-b8ba-86ee-4f792a9452ce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_95ebcb07-1c4a-1ded-365f-edc9cd2fa101" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_95ebcb07-1c4a-1ded-365f-edc9cd2fa101" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/PremisesAndEquipmentNetNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/PremisesAndEquipmentNetTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_57b518da-1b50-a6b5-0d88-91813c4591f6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_e015c137-2688-2671-ea53-ff539f6b64b3" 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_57b518da-1b50-a6b5-0d88-91813c4591f6" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_e015c137-2688-2671-ea53-ff539f6b64b3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeOperating" xlink:label="loc_us-gaap_InterestIncomeOperating_c240bf4d-2aea-7ef8-43dd-5b0aecfd278e" 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_e015c137-2688-2671-ea53-ff539f6b64b3" xlink:to="loc_us-gaap_InterestIncomeOperating_c240bf4d-2aea-7ef8-43dd-5b0aecfd278e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" 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_e015c137-2688-2671-ea53-ff539f6b64b3" xlink:to="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_b84530f9-73f3-5310-31ba-ab5bbec87bce" 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_57b518da-1b50-a6b5-0d88-91813c4591f6" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_b84530f9-73f3-5310-31ba-ab5bbec87bce" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RegulatoryCapitalDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RegulatoryCapitalDetails2Details" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RegulatoryCapitalNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RegulatoryCapitalTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RelatedPartyTransactionsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RelatedPartyTransactionsNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RelatedPartyTransactionsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RetirementPlansEmployeeRetirementPlanDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RetirementPlansNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/RetirementPlansSerpDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/StockIncentivePlanCompensationCostDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/StockIncentivePlanDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/StockIncentivePlanNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/StockIncentivePlanSummaryOfOptionsByRangeOfExercisePriceDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/StockIncentivePlanSummaryOfStockOptionActivityDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/StockIncentivePlanSummaryOfUnvestedOptionsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/StockIncentivePlanSummaryOfUnvestedStockAndStockUnitsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/StockIncentivePlanTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesAoci" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_2295fde9-6004-04c5-d6d3-8f045ad42e78" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:label="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_16ae3da2-05c7-338b-5739-969b56f7a43d" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_2295fde9-6004-04c5-d6d3-8f045ad42e78" xlink:to="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_16ae3da2-05c7-338b-5739-969b56f7a43d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_124143f7-66bc-b09b-eaae-6c2b0283fa33" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_2295fde9-6004-04c5-d6d3-8f045ad42e78" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_124143f7-66bc-b09b-eaae-6c2b0283fa33" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesPpe" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesPreferredStock" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesSip" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTrustAssets" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
</link:linkbase>
