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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e64c7-4989-7a47-9a45-f8a68311fb6c,g:8cc07d50-e050-45ac-b6d1-f93e6cba5424-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.midlandsb.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="msbi-20260630.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e64c7-548c-79b4-b268-a70cb028cfe9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019e64c7-548c-72f8-a329-962ce0852b0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64c7-548c-79b4-b268-a70cb028cfe9" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019e64c7-548c-72f8-a329-962ce0852b0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e64c7-548c-7db1-b00f-b64fadd21379" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64c7-548c-79b4-b268-a70cb028cfe9" xlink:to="loc_us-gaap_CommonStockValue_019e64c7-548c-7db1-b00f-b64fadd21379" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019e64c7-548c-781f-ba8f-e598b88cbc39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64c7-548c-79b4-b268-a70cb028cfe9" xlink:to="loc_us-gaap_PreferredStockValue_019e64c7-548c-781f-ba8f-e598b88cbc39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e64c7-548c-7227-acd6-43ee1e417f24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64c7-548c-79b4-b268-a70cb028cfe9" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e64c7-548c-7227-acd6-43ee1e417f24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e64c7-548c-7a04-9e7a-d00cb5da25e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64c7-548c-79b4-b268-a70cb028cfe9" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e64c7-548c-7a04-9e7a-d00cb5da25e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e64c7-548c-79b1-a4b4-776b1887ac75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e64c7-548c-79b1-a4b4-776b1887ac75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_019e64c7-548c-7d69-a325-ced31b292fb5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_MarketableSecurities_019e64c7-548c-7d69-a325-ced31b292fb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_019e64c7-548c-7caa-93b7-14a50ab587e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_019e64c7-548c-7caa-93b7-14a50ab587e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019e64c7-548c-7513-8129-f7768dbcc2d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019e64c7-548c-7513-8129-f7768dbcc2d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_019e64c7-548c-7df5-ba5c-c07d2a7b570f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_019e64c7-548c-7df5-ba5c-c07d2a7b570f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e64c7-548d-7aad-a3fc-d5b57168a322" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019e64c7-548d-7aad-a3fc-d5b57168a322" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherRealEstate_019e64c7-548d-7a1f-a359-ac6e008ea167" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherRealEstate"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_OtherRealEstate_019e64c7-548d-7a1f-a359-ac6e008ea167" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_NonMarketableEquitySecurities_019e64c7-548d-758f-a303-09ba567c492c" xlink:href="msbi-20260630.xsd#msbi_NonMarketableEquitySecurities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_msbi_NonMarketableEquitySecurities_019e64c7-548d-758f-a303-09ba567c492c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_019e64c7-548d-78e7-acae-a01d4800907d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_InterestReceivable_019e64c7-548d-78e7-acae-a01d4800907d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_019e64c7-548d-77aa-9ae7-5bb9046d9d01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_ServicingAsset_019e64c7-548d-77aa-9ae7-5bb9046d9d01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019e64c7-548d-77d7-89a7-1e5fa3060105" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_Goodwill_019e64c7-548d-77d7-89a7-1e5fa3060105" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e64c7-548d-7bf8-ba13-64a63d5f9e2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e64c7-548d-7bf8-ba13-64a63d5f9e2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueOfLifeInsurance_019e64c7-548d-7386-87cd-c7ca341174bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashSurrenderValueOfLifeInsurance"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_CashSurrenderValueOfLifeInsurance_019e64c7-548d-7386-87cd-c7ca341174bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_CreditEnhancementAsset_019e64c7-548d-75de-ac70-ff49dc01bbd1" xlink:href="msbi-20260630.xsd#msbi_CreditEnhancementAsset"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_msbi_CreditEnhancementAsset_019e64c7-548d-75de-ac70-ff49dc01bbd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019e64c7-548d-7d83-bc54-5c8094b3b9db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_us-gaap_OtherAssets_019e64c7-548d-7d83-bc54-5c8094b3b9db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_MortgageServiceRightsHeldForSale_019e64c7-548d-7fde-a263-a98b6f8d8a33" xlink:href="msbi-20260630.xsd#msbi_MortgageServiceRightsHeldForSale"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64c7-548c-7e08-86c6-786d8ac10570" xlink:to="loc_msbi_MortgageServiceRightsHeldForSale_019e64c7-548d-7fde-a263-a98b6f8d8a33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e64c7-548c-7965-9ead-706877eff6d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_019e64c7-548c-7b7b-91d1-d09c13a3b4f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e64c7-548c-7965-9ead-706877eff6d7" xlink:to="loc_us-gaap_CashAndDueFromBanks_019e64c7-548c-7b7b-91d1-d09c13a3b4f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSold_019e64c7-548c-72cb-8d7c-1bd59b6ce240" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalFundsSold"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e64c7-548c-7965-9ead-706877eff6d7" xlink:to="loc_us-gaap_FederalFundsSold_019e64c7-548c-72cb-8d7c-1bd59b6ce240" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019e64c7-548c-760f-bd7b-c95071a18b0b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019e64c7-548c-7cd4-a1d8-43808cf7f75f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019e64c7-548c-760f-bd7b-c95071a18b0b" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019e64c7-548c-7cd4-a1d8-43808cf7f75f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-548c-7629-9d07-bfacbd436775" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019e64c7-548c-760f-bd7b-c95071a18b0b" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-548c-7629-9d07-bfacbd436775" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_019e64c7-548c-7267-9ae0-56ccef5755ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_019e64c7-548c-7696-98c8-771302cc4c62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019e64c7-548c-7267-9ae0-56ccef5755ee" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_019e64c7-548c-7696-98c8-771302cc4c62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_019e64c7-548c-79b8-b350-125cb64d6d51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019e64c7-548c-7267-9ae0-56ccef5755ee" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_019e64c7-548c-79b8-b350-125cb64d6d51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64c7-548c-725c-a8c0-8823dff29091" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e64c7-548c-7dce-8ee1-7f001244c30c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64c7-548c-725c-a8c0-8823dff29091" xlink:to="loc_us-gaap_Liabilities_019e64c7-548c-7dce-8ee1-7f001244c30c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e64c7-548c-7991-91bf-fed5aeb9ab0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64c7-548c-725c-a8c0-8823dff29091" xlink:to="loc_us-gaap_StockholdersEquity_019e64c7-548c-7991-91bf-fed5aeb9ab0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e64c7-548c-7e1a-af32-98b4f8207a94" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_019e64c7-548c-733e-b234-6b4ddc7c148b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64c7-548c-7e1a-af32-98b4f8207a94" xlink:to="loc_us-gaap_Deposits_019e64c7-548c-733e-b234-6b4ddc7c148b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_019e64c7-548c-776f-b3f8-06f9f5ed0fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64c7-548c-7e1a-af32-98b4f8207a94" xlink:to="loc_us-gaap_ShortTermBorrowings_019e64c7-548c-776f-b3f8-06f9f5ed0fc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_019e64c7-548c-7cb9-b70f-0ca89e3ebf56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64c7-548c-7e1a-af32-98b4f8207a94" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_019e64c7-548c-7cb9-b70f-0ca89e3ebf56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_019e64c7-548c-7dc9-8c1d-7402020a82d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubordinatedDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64c7-548c-7e1a-af32-98b4f8207a94" xlink:to="loc_us-gaap_SubordinatedDebt_019e64c7-548c-7dc9-8c1d-7402020a82d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_019e64c7-548c-7504-af55-478ac4685a59" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64c7-548c-7e1a-af32-98b4f8207a94" xlink:to="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_019e64c7-548c-7504-af55-478ac4685a59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019e64c7-548c-79de-95dc-e1be4c39c80b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64c7-548c-7e1a-af32-98b4f8207a94" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019e64c7-548c-79de-95dc-e1be4c39c80b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED" xlink:type="simple" xlink:href="msbi-20260630.xsd#CONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019e64c7-548d-7707-818f-2d79aaf45251" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-548d-77c7-8187-cf854a25734e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019e64c7-548d-7707-818f-2d79aaf45251" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-548d-77c7-8187-cf854a25734e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019e64c7-548d-7a1c-9249-3a0308fe51ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019e64c7-548d-7707-818f-2d79aaf45251" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_019e64c7-548d-7a1c-9249-3a0308fe51ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-548d-7129-a2e7-ffadbb3b9505" xlink:href="msbi-20260630.xsd#msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_PreferredStockDividendAndAmortizationOfPremium_019e64c7-548d-7180-9ff2-6f2d9c7ded03" xlink:href="msbi-20260630.xsd#msbi_PreferredStockDividendAndAmortizationOfPremium"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-548d-7129-a2e7-ffadbb3b9505" xlink:to="loc_msbi_PreferredStockDividendAndAmortizationOfPremium_019e64c7-548d-7180-9ff2-6f2d9c7ded03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e64c7-548d-7658-9830-f62ad183fe02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-548d-7129-a2e7-ffadbb3b9505" xlink:to="loc_us-gaap_NetIncomeLoss_019e64c7-548d-7658-9830-f62ad183fe02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-548d-7830-a759-81264d2ecb30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019e64c7-548d-7905-b494-30aeaf1c7bd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-548d-7830-a759-81264d2ecb30" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019e64c7-548d-7905-b494-30aeaf1c7bd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019e64c7-548d-7be6-8a36-a90d502055ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-548d-7830-a759-81264d2ecb30" xlink:to="loc_us-gaap_NoninterestIncome_019e64c7-548d-7be6-8a36-a90d502055ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019e64c7-548d-7528-b844-5732ac3d7ab7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-548d-7830-a759-81264d2ecb30" xlink:to="loc_us-gaap_NoninterestExpense_019e64c7-548d-7528-b844-5732ac3d7ab7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019e64c7-548d-7e6a-bf21-df198f14e7cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_InterestExpenseFederalHomeLoanBankAdvancesAndOtherBorrowings_019e64c7-548d-737f-9cce-a212898a76da" xlink:href="msbi-20260630.xsd#msbi_InterestExpenseFederalHomeLoanBankAdvancesAndOtherBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e64c7-548d-7e6a-bf21-df198f14e7cd" xlink:to="loc_msbi_InterestExpenseFederalHomeLoanBankAdvancesAndOtherBorrowings_019e64c7-548d-737f-9cce-a212898a76da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_019e64c7-548d-7509-93cd-5e45e53c05e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e64c7-548d-7e6a-bf21-df198f14e7cd" xlink:to="loc_us-gaap_InterestExpenseDeposits_019e64c7-548d-7509-93cd-5e45e53c05e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings_019e64c7-548d-75e4-889e-45e5b16299ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseShortTermBorrowings"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e64c7-548d-7e6a-bf21-df198f14e7cd" xlink:to="loc_us-gaap_InterestExpenseShortTermBorrowings_019e64c7-548d-75e4-889e-45e5b16299ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_019e64c7-548d-7b2c-b55a-8e79e698f8d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseSubordinatedNotesAndDebentures"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e64c7-548d-7e6a-bf21-df198f14e7cd" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_019e64c7-548d-7b2c-b55a-8e79e698f8d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseJuniorSubordinatedDebentures_019e64c7-548d-7870-bea6-032e39101a1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseJuniorSubordinatedDebentures"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019e64c7-548d-7e6a-bf21-df198f14e7cd" xlink:to="loc_us-gaap_InterestExpenseJuniorSubordinatedDebentures_019e64c7-548d-7870-bea6-032e39101a1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_WealthManagementRevenue_019e64c7-548d-7001-a139-f757dc307a47" xlink:href="msbi-20260630.xsd#msbi_WealthManagementRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:to="loc_msbi_WealthManagementRevenue_019e64c7-548d-7001-a139-f757dc307a47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_CommissionsAndFeesIncomeFromDepositorAccounts_019e64c7-548d-7542-a285-b50b7746a7cd" xlink:href="msbi-20260630.xsd#msbi_CommissionsAndFeesIncomeFromDepositorAccounts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:to="loc_msbi_CommissionsAndFeesIncomeFromDepositorAccounts_019e64c7-548d-7542-a285-b50b7746a7cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_FeesAndCommissionsFromDebitCards_019e64c7-548d-71bc-be46-09f3e5169de7" xlink:href="msbi-20260630.xsd#msbi_FeesAndCommissionsFromDebitCards"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:to="loc_msbi_FeesAndCommissionsFromDebitCards_019e64c7-548d-71bc-be46-09f3e5169de7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_FeesAndCommissionsMortgageBankingAndServicingAndOtherResidential_019e64c7-548d-72b6-85ed-cebd609c09c9" xlink:href="msbi-20260630.xsd#msbi_FeesAndCommissionsMortgageBankingAndServicingAndOtherResidential"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:to="loc_msbi_FeesAndCommissionsMortgageBankingAndServicingAndOtherResidential_019e64c7-548d-72b6-85ed-cebd609c09c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_019e64c7-548d-7ec1-9884-261e98f0f622" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_019e64c7-548d-7ec1-9884-261e98f0f622" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e64c7-548d-7e20-9ba0-cb36c8e1f7d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e64c7-548d-7e20-9ba0-cb36c8e1f7d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_CreditEnhancementIncome_019e64c7-548d-713e-bf44-111aae894013" xlink:href="msbi-20260630.xsd#msbi_CreditEnhancementIncome"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:to="loc_msbi_CreditEnhancementIncome_019e64c7-548d-713e-bf44-111aae894013" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOther_019e64c7-548d-7caa-8671-2ab507f7718c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeOther"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-548d-7365-8688-d1e0d19f7d84" xlink:to="loc_us-gaap_NoninterestIncomeOther_019e64c7-548d-7caa-8671-2ab507f7718c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-79e6-8e06-67b646821c70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeasesHeldForSale_019e64c7-548d-7676-85d5-c9fd8e069b14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeasesHeldForSale"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-79e6-8e06-67b646821c70" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeasesHeldForSale_019e64c7-548d-7676-85d5-c9fd8e069b14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_NonMarketableSecuritiesEquitySecurities_019e64c7-548d-777c-8932-8fee7c170a04" xlink:href="msbi-20260630.xsd#msbi_NonMarketableSecuritiesEquitySecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-79e6-8e06-67b646821c70" xlink:to="loc_msbi_NonMarketableSecuritiesEquitySecurities_019e64c7-548d-777c-8932-8fee7c170a04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_InterestAndFeeIncomeLoansAndLeasesTaxable_019e64c7-548d-7e3d-a988-c3f7b9af40c9" xlink:href="msbi-20260630.xsd#msbi_InterestAndFeeIncomeLoansAndLeasesTaxable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-79e6-8e06-67b646821c70" xlink:to="loc_msbi_InterestAndFeeIncomeLoansAndLeasesTaxable_019e64c7-548d-7e3d-a988-c3f7b9af40c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_019e64c7-548d-7b2f-ac96-8dbe38db5ac5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-79e6-8e06-67b646821c70" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_019e64c7-548d-7b2f-ac96-8dbe38db5ac5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_InterestAndFeeIncomeLoansAndLeasesTaxExempt_019e64c7-548d-702f-8e3c-40ac13825755" xlink:href="msbi-20260630.xsd#msbi_InterestAndFeeIncomeLoansAndLeasesTaxExempt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-79e6-8e06-67b646821c70" xlink:to="loc_msbi_InterestAndFeeIncomeLoansAndLeasesTaxExempt_019e64c7-548d-702f-8e3c-40ac13825755" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_019e64c7-548d-7345-826a-159757046e94" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeFederalFundsSold"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-79e6-8e06-67b646821c70" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_019e64c7-548d-7345-826a-159757046e94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_019e64c7-548d-745d-ab13-09453919b0f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-79e6-8e06-67b646821c70" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_019e64c7-548d-745d-ab13-09453919b0f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e64c7-548d-7e1b-8a29-f7da3ddba54f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e64c7-548d-7401-9f55-4020cac1f432" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e64c7-548d-7e1b-8a29-f7da3ddba54f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e64c7-548d-7401-9f55-4020cac1f432" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-548d-7958-99ea-a12d3eaaaa3a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e64c7-548d-7e1b-8a29-f7da3ddba54f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-548d-7958-99ea-a12d3eaaaa3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-548d-721b-8f4f-1e293e91d33d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_019e64c7-548d-73ac-a726-d18c3c18fd8b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-548d-721b-8f4f-1e293e91d33d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_019e64c7-548d-73ac-a726-d18c3c18fd8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_019e64c7-548d-71f3-a2e1-6c5e29b27ff1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForOtherCreditLosses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-548d-721b-8f4f-1e293e91d33d" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_019e64c7-548d-71f3-a2e1-6c5e29b27ff1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019e64c7-548d-7f11-9565-8416eb590b02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019e64c7-548d-7f11-9565-8416eb590b02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_019e64c7-548d-78c5-9b40-3a5523757ee1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_OccupancyNet_019e64c7-548d-78c5-9b40-3a5523757ee1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_019e64c7-548d-79d6-af68-3574ac12d5ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_019e64c7-548d-79d6-af68-3574ac12d5ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_019e64c7-548d-714b-815d-60762d4635a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_019e64c7-548d-714b-815d-60762d4635a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_019e64c7-548d-7dd5-a61e-b1866591daa2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_ProfessionalFees_019e64c7-548d-7dd5-a61e-b1866591daa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketingExpense_019e64c7-548d-7e33-83ab-ae2ccbe0aeff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketingExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_MarketingExpense_019e64c7-548d-7e33-83ab-ae2ccbe0aeff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Communication_019e64c7-548d-7429-acaa-3a70d68a6d52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Communication"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_Communication_019e64c7-548d-7429-acaa-3a70d68a6d52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanPortfolioExpense_019e64c7-548d-747a-b569-90fc6e99c155" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoanPortfolioExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_LoanPortfolioExpense_019e64c7-548d-747a-b569-90fc6e99c155" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_BankingAsAServiceNonCoreLoanServicingExpense_019e64c7-548d-7573-bb82-ec9206fc4b31" xlink:href="msbi-20260630.xsd#msbi_BankingAsAServiceNonCoreLoanServicingExpense"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_msbi_BankingAsAServiceNonCoreLoanServicingExpense_019e64c7-548d-7573-bb82-ec9206fc4b31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_019e64c7-548d-78c2-89ac-240fcd817d49" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_019e64c7-548d-78c2-89ac-240fcd817d49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019e64c7-548d-711a-9361-12efe0614057" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019e64c7-548d-711a-9361-12efe0614057" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_019e64c7-548d-7d5a-abb9-dd70fee54f71" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-548d-748c-92df-425bac010f9b" xlink:to="loc_us-gaap_OtherNoninterestExpense_019e64c7-548d-7d5a-abb9-dd70fee54f71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019e64c7-548d-7faa-ac48-2c1cc26ffc3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-7038-9366-ddec9bd5c209" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_019e64c7-548d-7faa-ac48-2c1cc26ffc3c" xlink:to="loc_us-gaap_InterestIncomeOperating_019e64c7-548d-7038-9366-ddec9bd5c209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019e64c7-548d-76e0-8ac0-a3b8d8520661" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_019e64c7-548d-7faa-ac48-2c1cc26ffc3c" xlink:to="loc_us-gaap_InterestExpenseOperating_019e64c7-548d-76e0-8ac0-a3b8d8520661" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED" xlink:type="simple" xlink:href="msbi-20260630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e64c7-548d-7dd3-a6d0-0efed1c2d532" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e64c7-548d-7351-a81e-673923fcf953" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e64c7-548d-7dd3-a6d0-0efed1c2d532" xlink:to="loc_us-gaap_NetIncomeLoss_019e64c7-548d-7351-a81e-673923fcf953" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e64c7-548d-7203-962d-85407965d17f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e64c7-548d-7dd3-a6d0-0efed1c2d532" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e64c7-548d-7203-962d-85407965d17f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e64c7-548d-7fcb-97ab-1af72615af14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019e64c7-548d-7219-996b-18731d951f2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e64c7-548d-7fcb-97ab-1af72615af14" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019e64c7-548d-7219-996b-18731d951f2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e64c7-548d-76f3-a4c0-c76f38119bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e64c7-548d-7fcb-97ab-1af72615af14" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e64c7-548d-76f3-a4c0-c76f38119bfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019e64c7-548d-78bc-b586-e4e1495b1ad0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_019e64c7-548d-7580-9b08-2b7ca4bd498f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019e64c7-548d-78bc-b586-e4e1495b1ad0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_019e64c7-548d-7580-9b08-2b7ca4bd498f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_019e64c7-548d-7bed-aa75-dc34e50d0af6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019e64c7-548d-78bc-b586-e4e1495b1ad0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_019e64c7-548d-7bed-aa75-dc34e50d0af6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_019e64c7-548d-7b60-b125-e240a605d8c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_019e64c7-548d-78bc-b586-e4e1495b1ad0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_019e64c7-548d-7b60-b125-e240a605d8c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e64c7-548d-7982-89a5-4bfc09480108" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_019e64c7-548d-79fd-bbc3-dbf0df0da704" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e64c7-548d-7982-89a5-4bfc09480108" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_019e64c7-548d-79fd-bbc3-dbf0df0da704" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_019e64c7-548d-73e5-b5f4-72624d4d6148" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e64c7-548d-7982-89a5-4bfc09480108" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_019e64c7-548d-73e5-b5f4-72624d4d6148" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_019e64c7-548d-7fdf-9456-41f0c5edc04a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e64c7-548d-7982-89a5-4bfc09480108" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_019e64c7-548d-7fdf-9456-41f0c5edc04a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForFairValueHedgesBeforeTax_019f8efc-42cf-7b5f-b4ec-de12bf923904" xlink:href="msbi-20260630.xsd#msbi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForFairValueHedgesBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e64c7-548d-7982-89a5-4bfc09480108" xlink:to="loc_msbi_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForFairValueHedgesBeforeTax_019f8efc-42cf-7b5f-b4ec-de12bf923904" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED" xlink:type="simple" xlink:href="msbi-20260630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e64c7-548d-7222-882c-6685373a8d07" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_ProfitLoss_019e64c7-548d-7222-882c-6685373a8d07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-548d-7d81-8409-e8a5d640fd0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-548d-7d81-8409-e8a5d640fd0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019e64c7-548d-71df-8c2e-34e49faf3f17" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_Depreciation_019e64c7-548d-71df-8c2e-34e49faf3f17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_019e64c7-548d-7c6a-a8e1-1217e91c6c55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_019e64c7-548d-7c6a-a8e1-1217e91c6c55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019e64c7-548d-76a1-9d6b-b89e8016d150" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019e64c7-548d-76a1-9d6b-b89e8016d150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_019e64c7-548d-76ed-988f-883eb5a0b56d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_019e64c7-548d-76ed-988f-883eb5a0b56d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfMortgageServicingRightsMSRs_019e64c7-548d-7ef2-b39a-4bbaf6b9881b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfMortgageServicingRightsMSRs"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_AmortizationOfMortgageServicingRightsMSRs_019e64c7-548d-7ef2-b39a-4bbaf6b9881b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionPlanExpense_019e64c7-548d-709d-9301-710ee52d8dfe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockOptionPlanExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_StockOptionPlanExpense_019e64c7-548d-709d-9301-710ee52d8dfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue_019e64c7-548d-7b76-b8e7-622c1bda8405" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue_019e64c7-548d-7b76-b8e7-622c1bda8405" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e64c7-548d-7fc8-b1f3-85d67b7efcd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e64c7-548d-7fc8-b1f3-85d67b7efcd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e64c7-548d-7b58-bf2f-9e0e9bd91aac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e64c7-548d-7b58-bf2f-9e0e9bd91aac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_019e64c7-548d-7208-8649-b398aa9b4b82" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_019e64c7-548d-7208-8649-b398aa9b4b82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale_019e64c7-548d-76a9-9b3c-60b35907ca6e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale_019e64c7-548d-76a9-9b3c-60b35907ca6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_GainLossOnSaleOfMortgageServiceRightsHeldForSale_019e64c7-548d-7da1-bf55-2d1aa1326e9d" xlink:href="msbi-20260630.xsd#msbi_GainLossOnSaleOfMortgageServiceRightsHeldForSale"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_msbi_GainLossOnSaleOfMortgageServiceRightsHeldForSale_019e64c7-548d-7da1-bf55-2d1aa1326e9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019e64c7-548d-7026-86f8-ea3d5f18c4c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019e64c7-548d-7026-86f8-ea3d5f18c4c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_IncreaseDecreaseInCreditEnhancementAsset_019e64c7-548d-7164-adf8-5af5e906b93e" xlink:href="msbi-20260630.xsd#msbi_IncreaseDecreaseInCreditEnhancementAsset"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_msbi_IncreaseDecreaseInCreditEnhancementAsset_019e64c7-548d-7164-adf8-5af5e906b93e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e64c7-548d-73d9-a91d-a7f8b6ce469c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e64c7-548d-73d9-a91d-a7f8b6ce469c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019e64c7-548d-7137-9904-04d6d8910b3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019e64c7-548d-7137-9904-04d6d8910b3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_019f6587-1e9e-7e8b-bd5d-2c4255bddb2d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-753e-b40a-8567cbef60e8" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_019f6587-1e9e-7e8b-bd5d-2c4255bddb2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e64c7-548d-74f0-86c9-16f7b43aa2b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-7215-bcb3-dac21479c3ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e64c7-548d-74f0-86c9-16f7b43aa2b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64c7-548d-7215-bcb3-dac21479c3ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-7036-a208-735300291592" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e64c7-548d-74f0-86c9-16f7b43aa2b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-7036-a208-735300291592" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-726a-bc00-2d9ea7bf4935" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e64c7-548d-74f0-86c9-16f7b43aa2b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-726a-bc00-2d9ea7bf4935" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_019e64c7-548d-732f-a791-92a37e08b288" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_019e64c7-548d-732f-a791-92a37e08b288" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_019e64c7-548d-7913-9eee-5043c379c75d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_019e64c7-548d-7913-9eee-5043c379c75d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_ProceedsFromRepaymentsOfFHLBankShortTermDebt_019e64c7-548d-7649-af44-187200c3570a" xlink:href="msbi-20260630.xsd#msbi_ProceedsFromRepaymentsOfFHLBankShortTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_msbi_ProceedsFromRepaymentsOfFHLBankShortTermDebt_019e64c7-548d-7649-af44-187200c3570a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_019e64c7-548d-7ab8-8fd5-22b107028e47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromFederalHomeLoanBankBorrowings"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_019e64c7-548d-7ab8-8fd5-22b107028e47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_019e64c7-548d-7443-929c-fb36b883cc69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_019e64c7-548d-7443-929c-fb36b883cc69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_019e64c7-548d-7f05-964a-6e93247607dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_019e64c7-548d-7f05-964a-6e93247607dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019e64c7-548d-73d3-9353-bc55c2328ef0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019e64c7-548d-73d3-9353-bc55c2328ef0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e64c7-548d-7526-8944-cd60b260c67e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e64c7-548d-7526-8944-cd60b260c67e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019e64c7-548d-7eb1-ae74-2ef97da2ff47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64c7-548d-7583-96cf-0fba36d030ac" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019e64c7-548d-7eb1-ae74-2ef97da2ff47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019e64c7-548d-7fbc-84db-7e910e1ee702" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019e64c7-548d-7fbc-84db-7e910e1ee702" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019e64c7-548d-75a5-84be-93bb4ea468e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019e64c7-548d-75a5-84be-93bb4ea468e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_019e64c7-548d-73ae-92e4-277efe6513bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_019e64c7-548d-73ae-92e4-277efe6513bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_019e64c7-548d-7276-8e3d-9be5ebba968d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquitySecuritiesFvNi"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_019e64c7-548d-7276-8e3d-9be5ebba968d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_019e64c7-548d-7906-8db7-7b2a74a81468" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_019e64c7-548d-7906-8db7-7b2a74a81468" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e64c7-548d-7cde-b05c-1baa7ea114f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e64c7-548d-7cde-b05c-1baa7ea114f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019e64c7-548d-7616-8722-3fe008c41dae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019e64c7-548d-7616-8722-3fe008c41dae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_PaymentsToAcquireNonmarketableEquitySecurities_019e64c7-548d-7841-9498-fcb903c10ee7" xlink:href="msbi-20260630.xsd#msbi_PaymentsToAcquireNonmarketableEquitySecurities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_msbi_PaymentsToAcquireNonmarketableEquitySecurities_019e64c7-548d-7841-9498-fcb903c10ee7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_ProceedsFromSaleOfNonmarketableEquitySecurities_019e64c7-548d-7a12-a5cc-0e4431b98a5b" xlink:href="msbi-20260630.xsd#msbi_ProceedsFromSaleOfNonmarketableEquitySecurities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_msbi_ProceedsFromSaleOfNonmarketableEquitySecurities_019e64c7-548d-7a12-a5cc-0e4431b98a5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfMortgageServicingRightsMSR_019e64c7-548d-780e-878e-1f24945a6ada" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfMortgageServicingRightsMSR"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_ProceedsFromSaleOfMortgageServicingRightsMSR_019e64c7-548d-780e-878e-1f24945a6ada" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_019e64c7-548d-79e3-94a1-b64ed47ce302" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_019e64c7-548d-79e3-94a1-b64ed47ce302" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLifeInsurancePolicies_019e64c7-548d-73c3-b69d-67f5c53eaf22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromLifeInsurancePolicies"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_us-gaap_PaymentsForProceedsFromLifeInsurancePolicies_019e64c7-548d-73c3-b69d-67f5c53eaf22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_ProceedsFromSaleLoanHeldForSalePreviouslyClassifiedAsPortfolioLoans_019f6585-409b-75d2-9000-b668d65cd34b" xlink:href="msbi-20260630.xsd#msbi_ProceedsFromSaleLoanHeldForSalePreviouslyClassifiedAsPortfolioLoans"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e64c7-548d-744f-9296-ef63abd379d2" xlink:to="loc_msbi_ProceedsFromSaleLoanHeldForSalePreviouslyClassifiedAsPortfolioLoans_019f6585-409b-75d2-9000-b668d65cd34b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/INVESTMENTSECURITIESClassifiedDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#INVESTMENTSECURITIESClassifiedDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/INVESTMENTSECURITIESClassifiedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-78a7-ad97-5c007ade47b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5561-76dc-9b09-b49e2fe4f1fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-78a7-ad97-5c007ade47b6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5561-76dc-9b09-b49e2fe4f1fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e64c7-5561-7b76-b78d-7968a57d5f97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-78a7-ad97-5c007ade47b6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e64c7-5561-7b76-b78d-7968a57d5f97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e64c7-5561-7b01-b290-84f37c7c0922" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-78a7-ad97-5c007ade47b6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e64c7-5561-7b01-b290-84f37c7c0922" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5561-7a65-b0f2-7947a73a8643" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019e64c7-5561-784c-8bd6-129d296ddad4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5561-7a65-b0f2-7947a73a8643" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019e64c7-5561-784c-8bd6-129d296ddad4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019e64c7-5561-7526-80aa-b0a214bcb8d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5561-7a65-b0f2-7947a73a8643" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019e64c7-5561-7526-80aa-b0a214bcb8d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_019e64c7-5561-7653-b7b5-0770e254c85d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5561-7a65-b0f2-7947a73a8643" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_019e64c7-5561-7653-b7b5-0770e254c85d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_019e64c7-5561-7cb9-8cfe-090b29e99a13" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5561-7a65-b0f2-7947a73a8643" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_019e64c7-5561-7cb9-8cfe-090b29e99a13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019e64c7-5561-7b51-a2ff-673126869e7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5561-7a65-b0f2-7947a73a8643" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019e64c7-5561-7b51-a2ff-673126869e7f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/INVESTMENTSECURITIESAmortizedCostandFairValueDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#INVESTMENTSECURITIESAmortizedCostandFairValueDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/INVESTMENTSECURITIESAmortizedCostandFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-730a-bc40-8eff80eaaa6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_019e64c7-5561-7663-bec2-4369aed351b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-730a-bc40-8eff80eaaa6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_019e64c7-5561-7663-bec2-4369aed351b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_019e64c7-5561-7cbc-877f-e0bc284d04f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-730a-bc40-8eff80eaaa6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_019e64c7-5561-7cbc-877f-e0bc284d04f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_019e64c7-5561-7359-b5ae-60d538dd4b1f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-730a-bc40-8eff80eaaa6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_019e64c7-5561-7359-b5ae-60d538dd4b1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_019e64c7-5561-768b-8846-ff1dd5f12fa0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-730a-bc40-8eff80eaaa6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_019e64c7-5561-768b-8846-ff1dd5f12fa0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_019e64c7-5561-7eb5-897d-bc775f49e478" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-730a-bc40-8eff80eaaa6d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_019e64c7-5561-7eb5-897d-bc775f49e478" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/INVESTMENTSECURITIESAllowanceforCreditLossandUnrealizedLossesandFairValuesDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#INVESTMENTSECURITIESAllowanceforCreditLossandUnrealizedLossesandFairValuesDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/INVESTMENTSECURITIESAllowanceforCreditLossandUnrealizedLossesandFairValuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019e64c7-5561-713d-8ba4-0df0ffaebd1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019e64c7-5561-781b-a7a9-2b4bc40b652d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019e64c7-5561-713d-8ba4-0df0ffaebd1c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019e64c7-5561-781b-a7a9-2b4bc40b652d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019e64c7-5561-77dd-b7f4-b891c8701669" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019e64c7-5561-713d-8ba4-0df0ffaebd1c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019e64c7-5561-77dd-b7f4-b891c8701669" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019e64c7-5561-7e73-9079-3b8329f86d86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019e64c7-5561-7128-9c3c-2c9dcae69b43" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019e64c7-5561-7e73-9079-3b8329f86d86" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019e64c7-5561-7128-9c3c-2c9dcae69b43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019e64c7-5561-7c8f-968c-36d946b05184" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019e64c7-5561-7e73-9079-3b8329f86d86" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019e64c7-5561-7c8f-968c-36d946b05184" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/LOANSNonaccrualDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#LOANSNonaccrualDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/LOANSNonaccrualDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_019e64c7-5561-70ad-816d-39582be13a4c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualNoAllowance_019e64c7-5561-7f75-8ecf-8e9942aa5617" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualNoAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_019e64c7-5561-70ad-816d-39582be13a4c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualNoAllowance_019e64c7-5561-7f75-8ecf-8e9942aa5617" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_FinancingReceivableNonaccrualWithAllowance_019e64c7-5561-759d-a3a4-5a384c9ace9a" xlink:href="msbi-20260630.xsd#msbi_FinancingReceivableNonaccrualWithAllowance"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_019e64c7-5561-70ad-816d-39582be13a4c" xlink:to="loc_msbi_FinancingReceivableNonaccrualWithAllowance_019e64c7-5561-759d-a3a4-5a384c9ace9a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/LOANSRiskCategoryDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#LOANSRiskCategoryDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/LOANSRiskCategoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-71d1-9e0b-d8629fb48682" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_019e64c7-5561-72c6-9e91-ee2ab584c5f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-71d1-9e0b-d8629fb48682" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_019e64c7-5561-72c6-9e91-ee2ab584c5f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_019e64c7-5561-79e4-a92f-f0097f23699c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-71d1-9e0b-d8629fb48682" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_019e64c7-5561-79e4-a92f-f0097f23699c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_019e64c7-5561-733f-8739-02c6de2b6ecf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-71d1-9e0b-d8629fb48682" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_019e64c7-5561-733f-8739-02c6de2b6ecf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_019e64c7-5561-7e4d-a09e-eccb2b5707ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-71d1-9e0b-d8629fb48682" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_019e64c7-5561-7e4d-a09e-eccb2b5707ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_019e64c7-5561-7f96-96e6-d7a98fcd4299" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-71d1-9e0b-d8629fb48682" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_019e64c7-5561-7f96-96e6-d7a98fcd4299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_019e64c7-5561-7b55-9fb7-72e58cf6078b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-71d1-9e0b-d8629fb48682" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_019e64c7-5561-7b55-9fb7-72e58cf6078b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_019e64c7-5561-73f0-b158-f45533cd84d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019e64c7-5561-71d1-9e0b-d8629fb48682" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_019e64c7-5561-73f0-b158-f45533cd84d6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/LOANSGrossWriteoffsDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#LOANSGrossWriteoffsDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/LOANSGrossWriteoffsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019e64c7-5561-775b-8b13-bab7d2f27410" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_019e64c7-5561-7da5-a9d1-101b57e0abcf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019e64c7-5561-775b-8b13-bab7d2f27410" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_019e64c7-5561-7da5-a9d1-101b57e0abcf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_019e64c7-5561-78d4-a803-86482129886f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019e64c7-5561-775b-8b13-bab7d2f27410" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_019e64c7-5561-78d4-a803-86482129886f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_019e64c7-5561-77c0-870d-25f217f06607" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019e64c7-5561-775b-8b13-bab7d2f27410" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_019e64c7-5561-77c0-870d-25f217f06607" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_019e64c7-5561-7239-b672-4b140fd3b673" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019e64c7-5561-775b-8b13-bab7d2f27410" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_019e64c7-5561-7239-b672-4b140fd3b673" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_019e64c7-5561-7f8a-a060-b45515540fea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019e64c7-5561-775b-8b13-bab7d2f27410" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_019e64c7-5561-7f8a-a060-b45515540fea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_019e64c7-5561-745c-b3aa-0a1383930583" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019e64c7-5561-775b-8b13-bab7d2f27410" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_019e64c7-5561-745c-b3aa-0a1383930583" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_FinancingReceivableExcludingAccruedInterestOriginatedRevolvingWriteoff_019e64c7-5561-7753-9b69-21dc91abeed1" xlink:href="msbi-20260630.xsd#msbi_FinancingReceivableExcludingAccruedInterestOriginatedRevolvingWriteoff"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019e64c7-5561-775b-8b13-bab7d2f27410" xlink:to="loc_msbi_FinancingReceivableExcludingAccruedInterestOriginatedRevolvingWriteoff_019e64c7-5561-7753-9b69-21dc91abeed1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/PREMISESEQUIPMENTANDLEASESPremisesandEquipmentDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#PREMISESEQUIPMENTANDLEASESPremisesandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/PREMISESEQUIPMENTANDLEASESPremisesandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e64c7-5561-7788-86d6-a4570e459874" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019e64c7-5561-7759-883e-aa58193d1fa3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019e64c7-5561-7788-86d6-a4570e459874" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019e64c7-5561-7759-883e-aa58193d1fa3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019e64c7-5561-7168-ab35-a416f65cd964" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019e64c7-5561-7788-86d6-a4570e459874" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019e64c7-5561-7168-ab35-a416f65cd964" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019e64c7-5561-7dbd-952f-de50bd5cba50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentExcludingLessorAssetUnderOperatingLeaseBeforeAccumulatedDepreciation_019e64c7-5561-7e7d-b140-f1d09af1f307" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentExcludingLessorAssetUnderOperatingLeaseBeforeAccumulatedDepreciation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_019e64c7-5561-7dbd-952f-de50bd5cba50" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentExcludingLessorAssetUnderOperatingLeaseBeforeAccumulatedDepreciation_019e64c7-5561-7e7d-b140-f1d09af1f307" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross_019e64c7-5561-7fd6-8e84-2ddae98da0ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_019e64c7-5561-7dbd-952f-de50bd5cba50" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross_019e64c7-5561-7fd6-8e84-2ddae98da0ae" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/PREMISESEQUIPMENTANDLEASESProjectedMinimumRentalPaymentsDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#PREMISESEQUIPMENTANDLEASESProjectedMinimumRentalPaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/PREMISESEQUIPMENTANDLEASESProjectedMinimumRentalPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-7658-81a4-19133956668c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e64c7-5561-72e7-a919-70f9b6ecaad3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-7658-81a4-19133956668c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e64c7-5561-72e7-a919-70f9b6ecaad3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e64c7-5561-7ce4-8452-b343919c61b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-7658-81a4-19133956668c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e64c7-5561-7ce4-8452-b343919c61b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e64c7-5561-71de-959d-fca4f0080e1f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-7658-81a4-19133956668c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e64c7-5561-71de-959d-fca4f0080e1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e64c7-5561-7b37-957e-fa000a68af03" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-7658-81a4-19133956668c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e64c7-5561-7b37-957e-fa000a68af03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019e64c7-5561-7c6b-a7ff-910f9e71cca5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-7658-81a4-19133956668c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019e64c7-5561-7c6b-a7ff-910f9e71cca5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour_019e64c7-5561-7575-a262-c8b3a6b5978c" xlink:href="msbi-20260630.xsd#msbi_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-7658-81a4-19133956668c" xlink:to="loc_msbi_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour_019e64c7-5561-7575-a262-c8b3a6b5978c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/PREMISESEQUIPMENTANDLEASESProjectedMinimumRentalPaymentsDetails_1" xlink:type="simple" xlink:href="msbi-20260630.xsd#PREMISESEQUIPMENTANDLEASESProjectedMinimumRentalPaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/PREMISESEQUIPMENTANDLEASESProjectedMinimumRentalPaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-746a-880e-3f0a4f944bc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e64c7-5561-70c7-9f64-d7917173eb52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-746a-880e-3f0a4f944bc5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e64c7-5561-70c7-9f64-d7917173eb52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019e64c7-5561-74fb-a50e-ea5e8931ad17" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e64c7-5561-746a-880e-3f0a4f944bc5" xlink:to="loc_us-gaap_OperatingLeaseLiability_019e64c7-5561-74fb-a50e-ea5e8931ad17" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/DEPOSITSSummaryofClassificationofDepositsDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#DEPOSITSSummaryofClassificationofDepositsDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/DEPOSITSSummaryofClassificationofDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_019e64c7-5561-79f4-8914-f44b22031b5d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_019e64c7-5561-72cd-934e-4933148135c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDomesticDepositMoneyMarket"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019e64c7-5561-79f4-8914-f44b22031b5d" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_019e64c7-5561-72cd-934e-4933148135c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_019e64c7-5561-7f4e-ba71-bae273d5f736" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDomesticDepositChecking"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019e64c7-5561-79f4-8914-f44b22031b5d" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_019e64c7-5561-7f4e-ba71-bae273d5f736" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_019e64c7-5561-7605-9a18-07e5d6e7d312" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDomesticDepositSavings"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019e64c7-5561-79f4-8914-f44b22031b5d" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_019e64c7-5561-7605-9a18-07e5d6e7d312" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_019e64c7-5561-7897-a866-cf2a72d3b345" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019e64c7-5561-79f4-8914-f44b22031b5d" xlink:to="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_019e64c7-5561-7897-a866-cf2a72d3b345" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_019e64c7-5561-7341-bf67-8aeda0e550a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019e64c7-5561-79f4-8914-f44b22031b5d" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_019e64c7-5561-7341-bf67-8aeda0e550a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/EARNINGSPERCOMMONSHAREBasicandDilutedEarningsperCommonShareDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#EARNINGSPERCOMMONSHAREBasicandDilutedEarningsperCommonShareDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/EARNINGSPERCOMMONSHAREBasicandDilutedEarningsperCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e64c7-5561-7c72-a6be-70895b13d7d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e64c7-5561-7217-a98b-37d83f865388" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e64c7-5561-7c72-a6be-70895b13d7d5" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e64c7-5561-7217-a98b-37d83f865388" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e64c7-5561-7c8b-9b06-bc3522ca6193" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e64c7-5561-7c72-a6be-70895b13d7d5" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e64c7-5561-7c8b-9b06-bc3522ca6193" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-5561-7c19-ab40-9231ba1d8d62" xlink:href="msbi-20260630.xsd#msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStockCash_019e64c7-5561-7de3-a766-f0ab8164ff7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsPreferredStockCash"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-5561-7c19-ab40-9231ba1d8d62" xlink:to="loc_us-gaap_DividendsPreferredStockCash_019e64c7-5561-7de3-a766-f0ab8164ff7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e64c7-5561-7d8b-8642-966348595e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-5561-7c19-ab40-9231ba1d8d62" xlink:to="loc_us-gaap_NetIncomeLoss_019e64c7-5561-7d8b-8642-966348595e6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersDiluted_019e64c7-5561-72ae-9eef-bb5d97dbd1d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStock_019e64c7-5561-7d15-ab03-35268186edf5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersDiluted_019e64c7-5561-72ae-9eef-bb5d97dbd1d2" xlink:to="loc_us-gaap_DividendsCommonStock_019e64c7-5561-7d15-ab03-35268186edf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e64c7-5561-7ad7-bcc0-fa8b19008ecd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersDiluted_019e64c7-5561-72ae-9eef-bb5d97dbd1d2" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e64c7-5561-7ad7-bcc0-fa8b19008ecd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_019e64c7-5561-7f94-afdb-b2e6721e534b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e64c7-5561-7278-9615-82771e200a29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_019e64c7-5561-7f94-afdb-b2e6721e534b" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e64c7-5561-7278-9615-82771e200a29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStock_019e64c7-5561-715d-a626-8477757d581d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_019e64c7-5561-7f94-afdb-b2e6721e534b" xlink:to="loc_us-gaap_DividendsCommonStock_019e64c7-5561-715d-a626-8477757d581d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e64c7-5561-7b1a-b442-3bea9ae95595" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsDiluted_019e64c7-5561-7569-a697-01187675da43" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsDiluted"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e64c7-5561-7b1a-b442-3bea9ae95595" xlink:to="loc_us-gaap_UndistributedEarningsDiluted_019e64c7-5561-7569-a697-01187675da43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e64c7-5561-751f-b9b0-40ef00f4e4f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e64c7-5561-7b1a-b442-3bea9ae95595" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e64c7-5561-751f-b9b0-40ef00f4e4f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_UndistributedEarningsToCommonShareholders_019e64c7-5561-7044-8c48-5219b9260eab" xlink:href="msbi-20260630.xsd#msbi_UndistributedEarningsToCommonShareholders"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStock_019e64c7-5561-78a0-8dc0-ba0382a435df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_UndistributedEarningsToCommonShareholders_019e64c7-5561-7044-8c48-5219b9260eab" xlink:to="loc_us-gaap_DividendsCommonStock_019e64c7-5561-78a0-8dc0-ba0382a435df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-5561-7b7e-96c5-4e0f0316fe5a" xlink:href="msbi-20260630.xsd#msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_UndistributedEarningsToCommonShareholders_019e64c7-5561-7044-8c48-5219b9260eab" xlink:to="loc_msbi_EarningsLossBeforeDistributedAndUndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-5561-7b7e-96c5-4e0f0316fe5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-5561-74c6-bc56-b9c6b1d736b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_UndistributedEarningsToCommonShareholders_019e64c7-5561-7044-8c48-5219b9260eab" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e64c7-5561-74c6-bc56-b9c6b1d736b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsShareBasedCompensation_019e64c7-5561-7678-979f-491fb337aac1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsShareBasedCompensation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_UndistributedEarningsToCommonShareholders_019e64c7-5561-7044-8c48-5219b9260eab" xlink:to="loc_us-gaap_DividendsShareBasedCompensation_019e64c7-5561-7678-979f-491fb337aac1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSRecurringandNonrecurringbasisDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#FAIRVALUEOFFINANCIALINSTRUMENTSRecurringandNonrecurringbasisDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSRecurringandNonrecurringbasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019e64c7-5628-7a96-b5e2-013acd36dda6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5628-7de1-9ccd-6568778e1043" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e64c7-5628-7a96-b5e2-013acd36dda6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019e64c7-5628-7de1-9ccd-6568778e1043" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_019e64c7-5628-70fe-ac52-884b8ffb4d79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e64c7-5628-7a96-b5e2-013acd36dda6" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_019e64c7-5628-70fe-ac52-884b8ffb4d79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_019e64c7-5628-78a9-bb88-88c34a28d0ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e64c7-5628-7a96-b5e2-013acd36dda6" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_019e64c7-5628-78a9-bb88-88c34a28d0ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_CreditEnhancementAssetFairValueDisclosure_019e64c7-5628-79a0-aeb6-82d6f0484080" xlink:href="msbi-20260630.xsd#msbi_CreditEnhancementAssetFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e64c7-5628-7a96-b5e2-013acd36dda6" xlink:to="loc_msbi_CreditEnhancementAssetFairValueDisclosure_019e64c7-5628-79a0-aeb6-82d6f0484080" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e64c7-5628-79a2-b9e1-664599d08d94" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e64c7-5628-7a96-b5e2-013acd36dda6" xlink:to="loc_us-gaap_DerivativeAssets_019e64c7-5628-79a2-b9e1-664599d08d94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_FairValueGainsLossesRecognizedOnAssetsMeasuredOnNonRecurringBasis_019e64c7-5628-73a1-9322-6a3596e7749b" xlink:href="msbi-20260630.xsd#msbi_FairValueGainsLossesRecognizedOnAssetsMeasuredOnNonRecurringBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_FairValueGainsLossesRecognizedOnAssetsMeasuredOnNonRecurringBasisImpairedLoans_019e64c7-5628-7759-aad3-0e05fa7e79b5" xlink:href="msbi-20260630.xsd#msbi_FairValueGainsLossesRecognizedOnAssetsMeasuredOnNonRecurringBasisImpairedLoans"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_msbi_FairValueGainsLossesRecognizedOnAssetsMeasuredOnNonRecurringBasis_019e64c7-5628-73a1-9322-6a3596e7749b" xlink:to="loc_msbi_FairValueGainsLossesRecognizedOnAssetsMeasuredOnNonRecurringBasisImpairedLoans_019e64c7-5628-7759-aad3-0e05fa7e79b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019e64c7-5628-7909-bb0c-d1c4e0189df8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingLiabilitiesFairValueDisclosure_019e64c7-5628-76d5-a2e8-2eb234900c99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TradingLiabilitiesFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019e64c7-5628-7909-bb0c-d1c4e0189df8" xlink:to="loc_us-gaap_TradingLiabilitiesFairValueDisclosure_019e64c7-5628-76d5-a2e8-2eb234900c99" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/SEGMENTINFORMATIONDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#SEGMENTINFORMATIONDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/SEGMENTINFORMATIONDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-5628-7c6c-ae79-0492b297808c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019e64c7-5628-7892-9387-10407b8bea18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-5628-7c6c-ae79-0492b297808c" xlink:to="loc_us-gaap_NoninterestExpense_019e64c7-5628-7892-9387-10407b8bea18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-5628-760f-a231-9422f9d24c55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-5628-7c6c-ae79-0492b297808c" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_019e64c7-5628-760f-a231-9422f9d24c55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019e64c7-5628-7d8e-8fc1-c792f78ad7c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-5628-7c6c-ae79-0492b297808c" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_019e64c7-5628-7d8e-8fc1-c792f78ad7c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019e64c7-5628-7315-add6-90753ef24dc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e64c7-5628-7c6c-ae79-0492b297808c" xlink:to="loc_us-gaap_NoninterestIncome_019e64c7-5628-7315-add6-90753ef24dc3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019e64c7-5628-7fd9-b7c3-e2024578cbbc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_WealthManagementRevenue_019e64c7-5628-73ef-bf67-0b0d03ec4c71" xlink:href="msbi-20260630.xsd#msbi_WealthManagementRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-5628-7fd9-b7c3-e2024578cbbc" xlink:to="loc_msbi_WealthManagementRevenue_019e64c7-5628-73ef-bf67-0b0d03ec4c71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_NoninterestIncomeOtherAdjusted_019e64c7-5628-767f-a632-5cf4939a8eba" xlink:href="msbi-20260630.xsd#msbi_NoninterestIncomeOtherAdjusted"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-5628-7fd9-b7c3-e2024578cbbc" xlink:to="loc_msbi_NoninterestIncomeOtherAdjusted_019e64c7-5628-767f-a632-5cf4939a8eba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019e64c7-5628-79a9-9112-4838803cd9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019e64c7-5628-7ffb-b150-3d492802d3b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-5628-79a9-9112-4838803cd9eb" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019e64c7-5628-7ffb-b150-3d492802d3b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019e64c7-5628-7625-a255-1aabb372f90f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-5628-79a9-9112-4838803cd9eb" xlink:to="loc_us-gaap_Depreciation_019e64c7-5628-7625-a255-1aabb372f90f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019e64c7-5628-7f9a-921d-6344b0fc18ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-5628-79a9-9112-4838803cd9eb" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019e64c7-5628-7f9a-921d-6344b0fc18ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_019e64c7-5628-71ce-a3b0-58df8a200524" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-5628-79a9-9112-4838803cd9eb" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_019e64c7-5628-71ce-a3b0-58df8a200524" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_NoninterestExpenseOtherAdjusted_019f8fa5-6209-7d37-b821-35c46fd6dbcd" xlink:href="msbi-20260630.xsd#msbi_NoninterestExpenseOtherAdjusted"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019e64c7-5628-79a9-9112-4838803cd9eb" xlink:to="loc_msbi_NoninterestExpenseOtherAdjusted_019f8fa5-6209-7d37-b821-35c46fd6dbcd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.midlandsb.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDetails" xlink:type="simple" xlink:href="msbi-20260630.xsd#REVENUEFROMCONTRACTSWITHCUSTOMERSDetails"/>
  <link:calculationLink xlink:role="http://www.midlandsb.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019e64c7-5628-7416-a3c2-2e8bdde960b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019e64c7-5628-75df-af68-81b90c25018a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-5628-7416-a3c2-2e8bdde960b3" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019e64c7-5628-75df-af68-81b90c25018a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_msbi_NoninterestIncomeOutOfScopeOfTopic606_019e64c7-5628-7f98-8980-4f2025e7da55" xlink:href="msbi-20260630.xsd#msbi_NoninterestIncomeOutOfScopeOfTopic606"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019e64c7-5628-7416-a3c2-2e8bdde960b3" xlink:to="loc_msbi_NoninterestIncomeOutOfScopeOfTopic606_019e64c7-5628-7f98-8980-4f2025e7da55" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
