<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 4.16a -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: http://www.novaworks.co -->
    <!-- Field: Doc-Info; Name: Source; Value: MGYR 1216 10Q1.xfr; Date: 2017%2D02%2D13T15:19:13Z -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80060000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://magbank.com/role/mgyr-daei" xlink:href="mgyr-20161231.xsd#mgyr-daei" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/BalanceSheets" xlink:href="mgyr-20161231.xsd#BalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-cbsp" xlink:href="mgyr-20161231.xsd#mgyr-cbsp" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-csoo" xlink:href="mgyr-20161231.xsd#mgyr-csoo" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-csoci" xlink:href="mgyr-20161231.xsd#mgyr-csoci" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-csocise" xlink:href="mgyr-20161231.xsd#mgyr-csocise" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/StatementsOfCashFlows" xlink:href="mgyr-20161231.xsd#StatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-bop" xlink:href="mgyr-20161231.xsd#mgyr-bop" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-rap" xlink:href="mgyr-20161231.xsd#mgyr-rap" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-c" xlink:href="mgyr-20161231.xsd#mgyr-c" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-eps" xlink:href="mgyr-20161231.xsd#mgyr-eps" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrp" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrp" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ocil" xlink:href="mgyr-20161231.xsd#mgyr-ocil" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvd" xlink:href="mgyr-20161231.xsd#mgyr-fvd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-is" xlink:href="mgyr-20161231.xsd#mgyr-is" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-iois" xlink:href="mgyr-20161231.xsd#mgyr-iois" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafll" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafll" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-d" xlink:href="mgyr-20161231.xsd#mgyr-d" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-it" xlink:href="mgyr-20161231.xsd#mgyr-it" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fiwobsr" xlink:href="mgyr-20161231.xsd#mgyr-fiwobsr" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-epst" xlink:href="mgyr-20161231.xsd#mgyr-epst" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrpt" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrpt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ocilt" xlink:href="mgyr-20161231.xsd#mgyr-ocilt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvdt" xlink:href="mgyr-20161231.xsd#mgyr-fvdt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ist" xlink:href="mgyr-20161231.xsd#mgyr-ist" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ioist" xlink:href="mgyr-20161231.xsd#mgyr-ioist" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllt" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-dt" xlink:href="mgyr-20161231.xsd#mgyr-dt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-itt" xlink:href="mgyr-20161231.xsd#mgyr-itt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fiwobsrt" xlink:href="mgyr-20161231.xsd#mgyr-fiwobsrt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-epssoepsd" xlink:href="mgyr-20161231.xsd#mgyr-epssoepsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-epsnd" xlink:href="mgyr-20161231.xsd#mgyr-epsnd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrpnd" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrpnd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrpsosoaarifiopd" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrpsosoaarifiopd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrpsonvrsd" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrpsonvrsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ocilsocoaoclarited" xlink:href="mgyr-20161231.xsd#mgyr-ocilsocoaoclarited" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvdsoamafvoarbd" xlink:href="mgyr-20161231.xsd#mgyr-fvdsoamafvoarbd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/FairValueDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNon-recurringBasisDetails" xlink:href="mgyr-20161231.xsd#FairValueDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNon-recurringBasisDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvdsoaqiaamafvd" xlink:href="mgyr-20161231.xsd#mgyr-fvdsoaqiaamafvd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvdsotcafvapitfvhofid" xlink:href="mgyr-20161231.xsd#mgyr-fvdsotcafvapitfvhofid" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-issoacafvosafsd" xlink:href="mgyr-20161231.xsd#mgyr-issoacafvosafsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-issomodsambsafsd" xlink:href="mgyr-20161231.xsd#mgyr-issomodsambsafsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-issomodsambshtmd" xlink:href="mgyr-20161231.xsd#mgyr-issomodsambshtmd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-issoacafvoshtmd" xlink:href="mgyr-20161231.xsd#mgyr-issoacafvoshtmd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ioissogulafvfbafsahtmsd" xlink:href="mgyr-20161231.xsd#mgyr-ioissogulafvfbafsahtmsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsolrnd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsolrnd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsoilbcd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsoilbcd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsoariiild" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsoariiild" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsocotlpsbbirrsd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsocotlpsbbirrsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsocotlpsbacd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsocotlpsbacd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/LoansReceivableNetAndRelatedAllowanceForLoanLossesScheduleOfActivityInAllowanceForLoanLossesByLoanCategoryDetails" xlink:href="mgyr-20161231.xsd#LoansReceivableNetAndRelatedAllowanceForLoanLossesScheduleOfActivityInAllowanceForLoanLossesByLoanCategoryDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsoablcd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsoablcd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/LoansReceivableNetAndRelatedAllowanceForLoanLossesNarrativeDetails" xlink:href="mgyr-20161231.xsd#LoansReceivableNetAndRelatedAllowanceForLoanLossesNarrativeDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-dsodbtoad" xlink:href="mgyr-20161231.xsd#mgyr-dsodbtoad" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/IncomeTaxesScheduleOfReconciliationOfIncomeTaxDetails" xlink:href="mgyr-20161231.xsd#IncomeTaxesScheduleOfReconciliationOfIncomeTaxDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/FinancialInstrumentsWithOff-balanceSheetRiskScheduleOfFinancialInstrumentsWhoseContractAmountsRepresentingCreditRiskDetails" xlink:href="mgyr-20161231.xsd#FinancialInstrumentsWithOff-balanceSheetRiskScheduleOfFinancialInstrumentsWhoseContractAmountsRepresentingCreditRiskDetails" xlink:type="simple" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-daei" xlink:title="00000001 - Document - Document and Entity Information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/BalanceSheets" xlink:title="00000002 - Statement - Consolidated Balance Sheets">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Cash" xlink:label="loc_us-gaapCash" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" xlink:to="loc_us-gaapCash" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaapInterestBearingDepositsInBanks" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" xlink:to="loc_us-gaapInterestBearingDepositsInBanks" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaapAvailableForSaleSecurities" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAvailableForSaleSecurities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FederalHomeLoanBankStock" xlink:label="loc_us-gaapFederalHomeLoanBankStock" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapFederalHomeLoanBankStock" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaapLoansAndLeasesReceivableNetReportedAmount" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapLoansAndLeasesReceivableNetReportedAmount" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BankOwnedLifeInsurance" xlink:label="loc_us-gaapBankOwnedLifeInsurance" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapBankOwnedLifeInsurance" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaapAccruedInvestmentIncomeReceivable" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAccruedInvestmentIncomeReceivable" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherRealEstate" xlink:label="loc_us-gaapOtherRealEstate" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapOtherRealEstate" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaapOtherAssets" />
      <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapOtherAssets" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaapLiabilities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaapDeposits" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapDeposits" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaapOtherLiabilities" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapOtherLiabilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="loc_us-gaapAdvancesFromFederalHomeLoanBanks" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapAdvancesFromFederalHomeLoanBanks" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaapSecuritiesSoldUnderAgreementsToRepurchase" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapSecuritiesSoldUnderAgreementsToRepurchase" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaapInterestPayableCurrentAndNoncurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapInterestPayableCurrentAndNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilities" xlink:label="loc_us-gaapAccountsPayableAndOtherAccruedLiabilities" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapAccountsPayableAndOtherAccruedLiabilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaapPreferredStockValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapPreferredStockValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapCommonStockValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaapAdditionalPaidInCapitalCommonStock" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapAdditionalPaidInCapitalCommonStock" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaapTreasuryStockValue" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapTreasuryStockValue" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_UnearnedEsopSharesCost" xlink:label="loc_mgyrUnearnedEsopSharesCost" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_mgyrUnearnedEsopSharesCost" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLiabilities" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-cbsp" xlink:title="00000003 - Statement - Consolidated Balance Sheets (Parenthetical)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-csoo" xlink:title="00000004 - Statement - Consolidated Statements of Operations">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaapInterestAndDividendIncomeOperating" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaapInterestAndFeeIncomeLoansAndLeases" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestAndDividendIncomeOperating" xlink:to="loc_us-gaapInterestAndFeeIncomeLoansAndLeases" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="loc_us-gaapInterestIncomeSecuritiesTaxable" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestAndDividendIncomeOperating" xlink:to="loc_us-gaapInterestIncomeSecuritiesTaxable" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="loc_us-gaapInterestIncomeSecuritiesTaxExempt" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestAndDividendIncomeOperating" xlink:to="loc_us-gaapInterestIncomeSecuritiesTaxExempt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FederalHomeLoanBankOfNewYorkStock" xlink:label="loc_mgyrFederalHomeLoanBankOfNewYorkStock" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestAndDividendIncomeOperating" xlink:to="loc_mgyrFederalHomeLoanBankOfNewYorkStock" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaapInterestExpense" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaapInterestExpenseDeposits" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestExpense" xlink:to="loc_us-gaapInterestExpenseDeposits" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="loc_us-gaapInterestExpenseBorrowings" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestExpense" xlink:to="loc_us-gaapInterestExpenseBorrowings" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaapInterestIncomeExpenseNet" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestIncomeExpenseNet" xlink:to="loc_us-gaapInterestAndDividendIncomeOperating" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestIncomeExpenseNet" xlink:to="loc_us-gaapInterestExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaapInterestIncomeExpenseAfterProvisionForLoanLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="loc_us-gaapInterestIncomeExpenseNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaapProvisionForLoanAndLeaseLosses" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="loc_us-gaapProvisionForLoanAndLeaseLosses" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaapNoninterestIncome" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenueOtherFinancialServices" xlink:label="loc_us-gaapRevenueOtherFinancialServices" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestIncome" xlink:to="loc_us-gaapRevenueOtherFinancialServices" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="loc_us-gaapBankOwnedLifeInsuranceIncome" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestIncome" xlink:to="loc_us-gaapBankOwnedLifeInsuranceIncome" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherOperatingIncome" xlink:label="loc_us-gaapOtherOperatingIncome" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestIncome" xlink:to="loc_us-gaapOtherOperatingIncome" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSaleOfLoansAndLeases" xlink:label="loc_us-gaapGainLossOnSaleOfLoansAndLeases" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestIncome" xlink:to="loc_us-gaapGainLossOnSaleOfLoansAndLeases" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:label="loc_us-gaapGainLossOnSaleOfSecuritiesNet" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestIncome" xlink:to="loc_us-gaapGainLossOnSaleOfSecuritiesNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaapNoninterestExpense" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaapLaborAndRelatedExpense" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_us-gaapLaborAndRelatedExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaapOccupancyNet" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_us-gaapOccupancyNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="loc_us-gaapProfessionalFees" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_us-gaapProfessionalFees" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaapInformationTechnologyAndDataProcessing" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_us-gaapInformationTechnologyAndDataProcessing" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoanPortfolioExpense" xlink:label="loc_us-gaapLoanPortfolioExpense" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_us-gaapLoanPortfolioExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaapFederalDepositInsuranceCorporationPremiumExpense" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_us-gaapFederalDepositInsuranceCorporationPremiumExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_ServiceFees" xlink:label="loc_mgyrServiceFees" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_mgyrServiceFees" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralInsuranceExpense" xlink:label="loc_us-gaapGeneralInsuranceExpense" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_us-gaapGeneralInsuranceExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaapOtherNoninterestExpense" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNoninterestExpense" xlink:to="loc_us-gaapOtherNoninterestExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapInterestIncomeExpenseAfterProvisionForLoanLoss" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapNoninterestIncome" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaapNoninterestExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapIncomeTaxExpenseBenefit" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-csoci" xlink:title="00000005 - Statement - Consolidated Statements of Comprehensive Income">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossBeforeTax" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherComprehensiveIncomeLossBeforeTax" xlink:to="loc_us-gaapOtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherComprehensiveIncomeLossBeforeTax" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossBeforeTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossTaxPortionAttributableToParent1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTax" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapProfitLoss" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-csocise" xlink:title="00000006 - Statement - Consolidated Statements of Changes in Stockholders' Equity" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/StatementsOfCashFlows" xlink:title="00000007 - Statement - Consolidated Statements of Cash Flows">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapProfitLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaapDepreciation" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapDepreciation" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaapAccretionAmortizationOfDiscountsAndPremiumsInvestments" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapAccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaapProvisionForLoanLeaseAndOtherLosses" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapProvisionForLoanLeaseAndOtherLosses" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_ProvisionForLossOnOtherRealEstateOwned" xlink:label="loc_mgyrProvisionForLossOnOtherRealEstateOwned" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_mgyrProvisionForLossOnOtherRealEstateOwned" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_ProceedsFromSalesOfLoans" xlink:label="loc_mgyrProceedsFromSalesOfLoans" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_mgyrProceedsFromSalesOfLoans" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet" xlink:label="loc_us-gaapGainLossOnSalesOfLoansNet" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapGainLossOnSalesOfLoansNet" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainOnSaleOfInvestments" xlink:label="loc_us-gaapGainOnSaleOfInvestments" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapGainOnSaleOfInvestments" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_LossesGainsOnSalesOfOtherRealEstateOwned" xlink:label="loc_mgyrLossesGainsOnSalesOfOtherRealEstateOwned" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_mgyrLossesGainsOnSalesOfOtherRealEstateOwned" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:label="loc_us-gaapEmployeeStockOwnershipPlanESOPCompensationExpense" />
      <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapEmployeeStockOwnershipPlanESOPCompensationExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation" />
      <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapShareBasedCompensation" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaapDeferredIncomeTaxExpenseBenefit" />
      <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapDeferredIncomeTaxExpenseBenefit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaapIncreaseDecreaseInAccruedInterestReceivableNet" />
      <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInAccruedInterestReceivableNet" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_IncreaseInSurrenderValueBankOwnedLifeInsurance" xlink:label="loc_mgyrIncreaseInSurrenderValueBankOwnedLifeInsurance" />
      <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_mgyrIncreaseInSurrenderValueBankOwnedLifeInsurance" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaapIncreaseDecreaseInOtherOperatingAssets" />
      <link:calculationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInOtherOperatingAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="loc_us-gaapIncreaseDecreaseInInterestPayableNet" />
      <link:calculationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInInterestPayableNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities" />
      <link:calculationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_NetIncreaseDecreaseInLoansReceivable" xlink:label="loc_mgyrNetIncreaseDecreaseInLoansReceivable" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_mgyrNetIncreaseDecreaseInLoansReceivable" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireLoansReceivable" xlink:label="loc_us-gaapPaymentsToAcquireLoansReceivable" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquireLoansReceivable" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities" xlink:label="loc_us-gaapPaymentsToAcquireHeldToMaturitySecurities" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquireHeldToMaturitySecurities" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="loc_us-gaapPaymentsToAcquireAvailableForSaleSecurities" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquireAvailableForSaleSecurities" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaapProceedsFromSaleOfAvailableForSaleSecurities" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromSaleOfAvailableForSaleSecurities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities" xlink:label="loc_us-gaapProceedsFromSaleAndMaturityOfHeldToMaturitySecurities" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromSaleAndMaturityOfHeldToMaturitySecurities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:label="loc_us-gaapProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireOtherRealEstate" xlink:label="loc_us-gaapPaymentsToAcquireOtherRealEstate" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquireOtherRealEstate" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:label="loc_us-gaapProceedsFromSaleOfOtherRealEstate" />
      <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromSaleOfOtherRealEstate" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock" xlink:label="loc_us-gaapPaymentsForProceedsFromFederalHomeLoanBankStock" />
      <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsForProceedsFromFederalHomeLoanBankStock" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaapIncreaseDecreaseInDeposits" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInDeposits" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_NetDecreaseIncreaseInEscrowedFunds" xlink:label="loc_mgyrNetDecreaseIncreaseInEscrowedFunds" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_mgyrNetDecreaseIncreaseInEscrowedFunds" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaapRepaymentsOfLongTermDebt" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapRepaymentsOfLongTermDebt" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities" xlink:label="loc_us-gaapRepaymentsOfMandatoryRedeemableCapitalSecurities" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapRepaymentsOfMandatoryRedeemableCapitalSecurities" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt" xlink:label="loc_us-gaapProceedsFromRepaymentsOfShortTermDebt" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromRepaymentsOfShortTermDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-bop" xlink:title="00000008 - Disclosure - BASIS OF PRESENTATION" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-rap" xlink:title="00000009 - Disclosure - RECENT ACCOUNTING PRONOUNCEMENTS" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-c" xlink:title="00000010 - Disclosure - CONTINGENCIES" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-eps" xlink:title="00000011 - Disclosure - EARNINGS PER SHARE" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrp" xlink:title="00000012 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ocil" xlink:title="00000013 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvd" xlink:title="00000014 - Disclosure - FAIR VALUE DISCLOSURES" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-is" xlink:title="00000015 - Disclosure - INVESTMENT SECURITIES" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-iois" xlink:title="00000016 - Disclosure - IMPAIRMENT OF INVESTMENT SECURITIES" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafll" xlink:title="00000017 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-d" xlink:title="00000018 - Disclosure - DEPOSITS" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-it" xlink:title="00000019 - Disclosure - INCOME TAXES" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fiwobsr" xlink:title="00000020 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-epst" xlink:title="00000021 - Disclosure - EARNINGS PER SHARE (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrpt" xlink:title="00000022 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ocilt" xlink:title="00000023 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS) (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvdt" xlink:title="00000024 - Disclosure - FAIR VALUE DISCLOSURES (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ist" xlink:title="00000025 - Disclosure - INVESTMENT SECURITIES (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ioist" xlink:title="00000026 - Disclosure - IMPAIRMENT OF INVESTMENT SECURITIES (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllt" xlink:title="00000027 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-dt" xlink:title="00000028 - Disclosure - DEPOSITS (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-itt" xlink:title="00000029 - Disclosure - INCOME TAXES (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fiwobsrt" xlink:title="00000030 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-epssoepsd" xlink:title="00000031 - Disclosure - EARNINGS PER SHARE (Schedule of Earnings Per Share) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaapWeightedAverageNumberOfDilutedSharesOutstanding" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaapWeightedAverageNumberOfSharesOutstandingBasic" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapWeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="loc_us-gaapWeightedAverageNumberOfSharesOutstandingBasic" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaapIncrementalCommonSharesAttributableToShareBasedPaymentArrangements" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapWeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="loc_us-gaapIncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-epsnd" xlink:title="00000032 - Disclosure - EARNINGS PER SHARE (Narrative) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrpnd" xlink:title="00000033 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Narrative) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrpsosoaarifiopd" xlink:title="00000034 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Schedule of Stock Option Activity And Related Information For Its Option Plan) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrpsonvrsd" xlink:title="00000035 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Schedule of Non-Vested Restricted Shares) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ocilsocoaoclarited" xlink:title="00000036 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS) (Schedule of Components of Other Comprehensive Income (Loss) and the Related Income Tax Effects) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvdsoamafvoarbd" xlink:title="00000037 - Disclosure - FAIR VALUE DISCLOSURES (Schedule of Assets Measured at Fair Value on a Recurring Basis) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/FairValueDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNon-recurringBasisDetails" xlink:title="00000038 - Disclosure - FAIR VALUE DISCLOSURES (Schedule of Assets Measured at Fair Value on a Non-Recurring Basis) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:label="loc_us-gaapAssetsFairValueDisclosureNonrecurring" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_ImpairedLoansFairValueDisclosure" xlink:label="loc_mgyrImpairedLoansFairValueDisclosure" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsFairValueDisclosureNonrecurring" xlink:to="loc_mgyrImpairedLoansFairValueDisclosure" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:label="loc_mgyrOtherRealEstateOwnedFairValueDisclosure" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsFairValueDisclosureNonrecurring" xlink:to="loc_mgyrOtherRealEstateOwnedFairValueDisclosure" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvdsoaqiaamafvd" xlink:title="00000039 - Disclosure - FAIR VALUE DISCLOSURES (Schedule of Additional Quantitative Information About Assets Measured at Fair Value) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvdsotcafvapitfvhofid" xlink:title="00000040 - Disclosure - FAIR VALUE DISCLOSURES (Schedule of the Carrying Amount, Fair Value, and Placement in the Fair Value Hierarchy of Financial Instruments) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-issoacafvosafsd" xlink:title="00000041 - Disclosure - INVESTMENT SECURITIES (Summary of Amortized Cost and Fair Values of Securities Available For Sale) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-issomodsambsafsd" xlink:title="00000042 - Disclosure - INVESTMENT SECURITIES (Summary of Maturities of Debt Securities and Mortgage-backed Securities Available For Sale) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaapAvailableForSaleDebtSecuritiesAmortizedCostBasis" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaapAvailableForSaleSecuritiesAmortizedCost" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleSecuritiesResidentialMortgageMaturitiesAmortizedCost" xlink:label="loc_mgyrAvailableForSaleSecuritiesResidentialMortgageMaturitiesAmortizedCost" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAmortizedCost" xlink:to="loc_mgyrAvailableForSaleSecuritiesResidentialMortgageMaturitiesAmortizedCost" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleSecuritiesCommercialMortgageMaturitiesAmortizedCost" xlink:label="loc_mgyrAvailableForSaleSecuritiesCommercialMortgageMaturitiesAmortizedCost" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAmortizedCost" xlink:to="loc_mgyrAvailableForSaleSecuritiesCommercialMortgageMaturitiesAmortizedCost" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAmortizedCost" xlink:to="loc_us-gaapAvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtSecurities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecuritiesDebtSecurities" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecuritiesDebtSecurities" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecuritiesDebtSecurities" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecuritiesDebtSecurities" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaapAvailableForSaleSecurities" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleSecuritiesResidentialMortgageSecurities" xlink:label="loc_mgyrAvailableForSaleSecuritiesResidentialMortgageSecurities" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecurities" xlink:to="loc_mgyrAvailableForSaleSecuritiesResidentialMortgageSecurities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleSecuritiesCommercialMortgageSecurities" xlink:label="loc_mgyrAvailableForSaleSecuritiesCommercialMortgageSecurities" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecurities" xlink:to="loc_mgyrAvailableForSaleSecuritiesCommercialMortgageSecurities" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAvailableForSaleSecurities" xlink:to="loc_us-gaapAvailableForSaleSecuritiesDebtSecurities" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-issomodsambshtmd" xlink:title="00000043 - Disclosure - INVESTMENT SECURITIES (Summary of Maturities of Debt Securities and Mortgage-backed Securities Held to Maturity) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-issoacafvoshtmd" xlink:title="00000044 - Disclosure - INVESTMENT SECURITIES (Summary of Amortized Cost and Fair Values of Securities Held to Maturity) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaapHeldToMaturitySecurities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" xlink:label="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapHeldToMaturitySecurities" xlink:to="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" xlink:label="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapHeldToMaturitySecurities" xlink:to="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" xlink:label="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapHeldToMaturitySecurities" xlink:to="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" xlink:label="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapHeldToMaturitySecurities" xlink:to="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:to="loc_us-gaapHeldToMaturitySecurities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesNetCarryingAmount" xlink:label="loc_mgyrHeldToMaturitySecuritiesMortgageResidentialMaturitiesNetCarryingAmount" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:to="loc_mgyrHeldToMaturitySecuritiesMortgageResidentialMaturitiesNetCarryingAmount" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesNetCarryingAmount" xlink:label="loc_mgyrHeldToMaturitySecuritiesMortgageCommercialMaturitiesNetCarryingAmount" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:to="loc_mgyrHeldToMaturitySecuritiesMortgageCommercialMaturitiesNetCarryingAmount" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_TotalDebtSecurities" xlink:label="loc_mgyrTotalDebtSecurities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgyrTotalDebtSecurities" xlink:to="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgyrTotalDebtSecurities" xlink:to="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgyrTotalDebtSecurities" xlink:to="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgyrTotalDebtSecurities" xlink:to="loc_us-gaapHeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ioissogulafvfbafsahtmsd" xlink:title="00000045 - Disclosure - IMPAIRMENT OF INVESTMENT SECURITIES (Schedule of Gross Unrealized Losses and Fair Value for Both Available For Sale and Held To Maturity Securities) (Details)">
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:to="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:to="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsolrnd" xlink:title="00000046 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Loans Receivable, Net) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsoilbcd" xlink:title="00000047 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Impaired Loans by Class) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableRecordedInvestment" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapImpairedFinancingReceivableRecordedInvestment" xlink:to="loc_us-gaapImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapImpairedFinancingReceivableRecordedInvestment" xlink:to="loc_us-gaapImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsoariiild" xlink:title="00000048 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Average Recorded Investment in Impaired Loans) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsocotlpsbbirrsd" xlink:title="00000049 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Classes of the Loan Portfolio Summarized by Bank's Internal Risk Rating System) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsocotlpsbacd" xlink:title="00000050 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Classes of the Loan Portfolio Summarized by Aging Categories) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/LoansReceivableNetAndRelatedAllowanceForLoanLossesScheduleOfActivityInAllowanceForLoanLossesByLoanCategoryDetails" xlink:title="00000051 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Activity in the Allowance for Loan Losses by Loan Category) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsoablcd" xlink:title="00000052 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of ALL by Loan Category) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/LoansReceivableNetAndRelatedAllowanceForLoanLossesNarrativeDetails" xlink:title="00000053 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Narrative) (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-dsodbtoad" xlink:title="00000054 - Disclosure - DEPOSITS (Schedule of Deposits by Type of Account) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaapDeposits" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DemandDepositAccounts" xlink:label="loc_us-gaapDemandDepositAccounts" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeposits" xlink:to="loc_us-gaapDemandDepositAccounts" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepositsSavingsDeposits" xlink:label="loc_us-gaapDepositsSavingsDeposits" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeposits" xlink:to="loc_us-gaapDepositsSavingsDeposits" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" xlink:label="loc_us-gaapDepositsNegotiableOrderOfWithdrawalNOW" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeposits" xlink:to="loc_us-gaapDepositsNegotiableOrderOfWithdrawalNOW" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepositsMoneyMarketDeposits" xlink:label="loc_us-gaapDepositsMoneyMarketDeposits" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeposits" xlink:to="loc_us-gaapDepositsMoneyMarketDeposits" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_CertificatesOfDeposit" xlink:label="loc_mgyrCertificatesOfDeposit" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeposits" xlink:to="loc_mgyrCertificatesOfDeposit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_RetirementDeposits" xlink:label="loc_mgyrRetirementDeposits" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeposits" xlink:to="loc_mgyrRetirementDeposits" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/IncomeTaxesScheduleOfReconciliationOfIncomeTaxDetails" xlink:title="00000055 - Disclosure - INCOME TAXES (Schedule of Reconciliation of Income Tax) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaapIncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:label="loc_us-gaapIncomeTaxReconciliationStateAndLocalIncomeTaxes" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaapIncomeTaxReconciliationOtherAdjustments" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationOtherAdjustments" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://magbank.com/role/FinancialInstrumentsWithOff-balanceSheetRiskScheduleOfFinancialInstrumentsWhoseContractAmountsRepresentingCreditRiskDetails" xlink:title="00000056 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK (Schedule of Financial Instruments Whose Contract Amounts Representing Credit Risk) (Details)" />
</link:linkbase>
