<?xml version="1.0" encoding="us-ascii" standalone="yes"?>
<!--Created by Computershare, Powered by IRIS Carbon-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-cbs" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-cbs" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-csoo" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-csoo" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-csoci" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-csoci" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-csocf" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-csocf" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-epssoepsd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-epssoepsd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-ocilsocoaoclarited" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-ocilsocoaoclarited" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-fvdsoamafvoanrbd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-fvdsoamafvoanrbd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-issomodsambsafsd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-issomodsambsafsd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-issoacafvoshtmd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-issoacafvoshtmd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-ioissogulafvfbafsahtmsd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-ioissogulafvfbafsahtmsd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsolrnd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsolrnd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsoilbcd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsoilbcd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsocotlpsbacd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsocotlpsbacd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsoablcd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsoablcd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-dsodbtoad" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-dsodbtoad" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-itsoroitd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-itsoroitd" />
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-cbs">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:title="us-gaap_CashAndCashEquivalentsAtCarryingValue" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Cash" xlink:label="us-gaap_Cash" xlink:title="us-gaap_Cash" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_Cash" xlink:title="Calculation : us-gaap_CashAndCashEquivalentsAtCarryingValue to us-gaap_Cash" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets" xlink:title="us-gaap_Assets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:title="Calculation : us-gaap_Assets to us-gaap_CashAndCashEquivalentsAtCarryingValue" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities" xlink:title="us-gaap_Liabilities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Deposits" xlink:label="us-gaap_Deposits" xlink:title="us-gaap_Deposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_Deposits" xlink:title="Calculation : us-gaap_Liabilities to us-gaap_Deposits" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:title="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="us-gaap_PreferredStockValue" xlink:title="us-gaap_PreferredStockValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_PreferredStockValue" xlink:title="Calculation : us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest to us-gaap_PreferredStockValue" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:title="us-gaap_LiabilitiesAndStockholdersEquity" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_Liabilities" xlink:title="Calculation : us-gaap_LiabilitiesAndStockholdersEquity to us-gaap_Liabilities" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="us-gaap_InterestBearingDepositsInBanks" xlink:title="us-gaap_InterestBearingDepositsInBanks" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_InterestBearingDepositsInBanks" xlink:title="Calculation : us-gaap_CashAndCashEquivalentsAtCarryingValue to us-gaap_InterestBearingDepositsInBanks" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="us-gaap_AvailableForSaleSecurities" xlink:title="us-gaap_AvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_AvailableForSaleSecurities" xlink:title="Calculation : us-gaap_Assets to us-gaap_AvailableForSaleSecurities" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="us-gaap_OtherLiabilities" xlink:title="us-gaap_OtherLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_OtherLiabilities" xlink:title="Calculation : us-gaap_Liabilities to us-gaap_OtherLiabilities" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue" xlink:title="us-gaap_CommonStockValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_CommonStockValue" xlink:title="Calculation : us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest to us-gaap_CommonStockValue" order="200" weight="1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:title="Calculation : us-gaap_LiabilitiesAndStockholdersEquity to us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:title="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:title="Calculation : us-gaap_Assets to us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:title="us-gaap_AdvancesFromFederalHomeLoanBanks" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:title="Calculation : us-gaap_Liabilities to us-gaap_AdvancesFromFederalHomeLoanBanks" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:title="us-gaap_AdditionalPaidInCapitalCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:title="Calculation : us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest to us-gaap_AdditionalPaidInCapitalCommonStock" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FederalHomeLoanBankStock" xlink:label="us-gaap_FederalHomeLoanBankStock" xlink:title="us-gaap_FederalHomeLoanBankStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_FederalHomeLoanBankStock" xlink:title="Calculation : us-gaap_Assets to us-gaap_FederalHomeLoanBankStock" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:title="us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:title="Calculation : us-gaap_Liabilities to us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="us-gaap_TreasuryStockValue" xlink:title="us-gaap_TreasuryStockValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_TreasuryStockValue" xlink:title="Calculation : us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest to us-gaap_TreasuryStockValue" order="400" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:title="us-gaap_LoansAndLeasesReceivableNetReportedAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:title="Calculation : us-gaap_Assets to us-gaap_LoansAndLeasesReceivableNetReportedAmount" order="500" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="us-gaap_InterestPayableCurrentAndNoncurrent" xlink:title="us-gaap_InterestPayableCurrentAndNoncurrent" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_InterestPayableCurrentAndNoncurrent" xlink:title="Calculation : us-gaap_Liabilities to us-gaap_InterestPayableCurrentAndNoncurrent" order="500" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnearnedESOPShares" xlink:label="us-gaap_UnearnedESOPShares" xlink:title="us-gaap_UnearnedESOPShares" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_UnearnedESOPShares" xlink:title="Calculation : us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest to us-gaap_UnearnedESOPShares" order="500" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BankOwnedLifeInsurance" xlink:label="us-gaap_BankOwnedLifeInsurance" xlink:title="us-gaap_BankOwnedLifeInsurance" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_BankOwnedLifeInsurance" xlink:title="Calculation : us-gaap_Assets to us-gaap_BankOwnedLifeInsurance" order="600" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilities" xlink:label="us-gaap_AccountsPayableAndOtherAccruedLiabilities" xlink:title="us-gaap_AccountsPayableAndOtherAccruedLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_AccountsPayableAndOtherAccruedLiabilities" xlink:title="Calculation : us-gaap_Liabilities to us-gaap_AccountsPayableAndOtherAccruedLiabilities" order="600" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:title="us-gaap_RetainedEarningsAccumulatedDeficit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:title="Calculation : us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest to us-gaap_RetainedEarningsAccumulatedDeficit" order="600" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable" xlink:label="us-gaap_AccruedInvestmentIncomeReceivable" xlink:title="us-gaap_AccruedInvestmentIncomeReceivable" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_AccruedInvestmentIncomeReceivable" xlink:title="Calculation : us-gaap_Assets to us-gaap_AccruedInvestmentIncomeReceivable" order="700" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:title="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:title="Calculation : us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest to us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" order="700" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:title="us-gaap_PropertyPlantAndEquipmentNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" xlink:title="Calculation : us-gaap_Assets to us-gaap_PropertyPlantAndEquipmentNet" order="800" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherRealEstate" xlink:label="us-gaap_OtherRealEstate" xlink:title="us-gaap_OtherRealEstate" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_OtherRealEstate" xlink:title="Calculation : us-gaap_Assets to us-gaap_OtherRealEstate" order="900" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherAssets" xlink:label="us-gaap_OtherAssets" xlink:title="us-gaap_OtherAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_OtherAssets" xlink:title="Calculation : us-gaap_Assets to us-gaap_OtherAssets" order="1000" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesLongTerm" xlink:label="us-gaap_FederalHomeLoanBankAdvancesLongTerm" xlink:title="us-gaap_FederalHomeLoanBankAdvancesLongTerm" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_FederalHomeLoanBankAdvancesLongTerm" xlink:title="Calculation : us-gaap_Liabilities to us-gaap_FederalHomeLoanBankAdvancesLongTerm" order="610" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate" xlink:label="us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate" xlink:title="us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate" xlink:title="Calculation : us-gaap_Liabilities to us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate" order="620" weight="1" use="optional" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-csoo">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="us-gaap_InterestAndDividendIncomeOperating" xlink:title="us-gaap_InterestAndDividendIncomeOperating" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:title="us-gaap_InterestAndFeeIncomeLoansAndLeases" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestAndDividendIncomeOperating" xlink:to="us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:title="Calculation : us-gaap_InterestAndDividendIncomeOperating to us-gaap_InterestAndFeeIncomeLoansAndLeases" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestExpense" xlink:label="us-gaap_InterestExpense" xlink:title="us-gaap_InterestExpense" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="us-gaap_InterestExpenseDeposits" xlink:title="us-gaap_InterestExpenseDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestExpense" xlink:to="us-gaap_InterestExpenseDeposits" xlink:title="Calculation : us-gaap_InterestExpense to us-gaap_InterestExpenseDeposits" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="us-gaap_InterestIncomeExpenseNet" xlink:title="us-gaap_InterestIncomeExpenseNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestIncomeExpenseNet" xlink:to="us-gaap_InterestAndDividendIncomeOperating" xlink:title="Calculation : us-gaap_InterestIncomeExpenseNet to us-gaap_InterestAndDividendIncomeOperating" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:title="us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="us-gaap_InterestIncomeExpenseNet" xlink:title="Calculation : us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss to us-gaap_InterestIncomeExpenseNet" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherIncome" xlink:label="us-gaap_OtherIncome" xlink:title="us-gaap_OtherIncome" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RevenueOtherFinancialServices" xlink:label="us-gaap_RevenueOtherFinancialServices" xlink:title="us-gaap_RevenueOtherFinancialServices" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherIncome" xlink:to="us-gaap_RevenueOtherFinancialServices" xlink:title="Calculation : us-gaap_OtherIncome to us-gaap_RevenueOtherFinancialServices" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherExpenses" xlink:label="us-gaap_OtherExpenses" xlink:title="us-gaap_OtherExpenses" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="us-gaap_LaborAndRelatedExpense" xlink:title="us-gaap_LaborAndRelatedExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="us-gaap_LaborAndRelatedExpense" xlink:title="Calculation : us-gaap_OtherExpenses to us-gaap_LaborAndRelatedExpense" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:title="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:title="Calculation : us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="us-gaap_ProfitLoss" xlink:title="us-gaap_ProfitLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:title="Calculation : us-gaap_ProfitLoss to us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="us-gaap_InterestIncomeSecuritiesTaxable" xlink:title="us-gaap_InterestIncomeSecuritiesTaxable" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestAndDividendIncomeOperating" xlink:to="us-gaap_InterestIncomeSecuritiesTaxable" xlink:title="Calculation : us-gaap_InterestAndDividendIncomeOperating to us-gaap_InterestIncomeSecuritiesTaxable" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="us-gaap_InterestExpenseBorrowings" xlink:title="us-gaap_InterestExpenseBorrowings" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestExpense" xlink:to="us-gaap_InterestExpenseBorrowings" xlink:title="Calculation : us-gaap_InterestExpense to us-gaap_InterestExpenseBorrowings" order="200" weight="1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestIncomeExpenseNet" xlink:to="us-gaap_InterestExpense" xlink:title="Calculation : us-gaap_InterestIncomeExpenseNet to us-gaap_InterestExpense" order="200" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="us-gaap_ProvisionForLoanAndLeaseLosses" xlink:title="us-gaap_ProvisionForLoanAndLeaseLosses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="us-gaap_ProvisionForLoanAndLeaseLosses" xlink:title="Calculation : us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss to us-gaap_ProvisionForLoanAndLeaseLosses" order="200" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="us-gaap_BankOwnedLifeInsuranceIncome" xlink:title="us-gaap_BankOwnedLifeInsuranceIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherIncome" xlink:to="us-gaap_BankOwnedLifeInsuranceIncome" xlink:title="Calculation : us-gaap_OtherIncome to us-gaap_BankOwnedLifeInsuranceIncome" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OccupancyNet" xlink:label="us-gaap_OccupancyNet" xlink:title="us-gaap_OccupancyNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="us-gaap_OccupancyNet" xlink:title="Calculation : us-gaap_OtherExpenses to us-gaap_OccupancyNet" order="200" weight="1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_OtherIncome" xlink:title="Calculation : us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to us-gaap_OtherIncome" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:title="us-gaap_IncomeTaxExpenseBenefit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_IncomeTaxExpenseBenefit" xlink:title="Calculation : us-gaap_ProfitLoss to us-gaap_IncomeTaxExpenseBenefit" order="200" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:title="us-gaap_InterestIncomeSecuritiesTaxExempt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestAndDividendIncomeOperating" xlink:to="us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:title="Calculation : us-gaap_InterestAndDividendIncomeOperating to us-gaap_InterestIncomeSecuritiesTaxExempt" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherOperatingIncome" xlink:label="us-gaap_OtherOperatingIncome" xlink:title="us-gaap_OtherOperatingIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherIncome" xlink:to="us-gaap_OtherOperatingIncome" xlink:title="Calculation : us-gaap_OtherIncome to us-gaap_OtherOperatingIncome" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="us-gaap_ProfessionalFees" xlink:title="us-gaap_ProfessionalFees" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="us-gaap_ProfessionalFees" xlink:title="Calculation : us-gaap_OtherExpenses to us-gaap_ProfessionalFees" order="300" weight="1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_OtherExpenses" xlink:title="Calculation : us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to us-gaap_OtherExpenses" order="300" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FederalHomeLoanBankOfNewYorkStock" xlink:label="mgyr_FederalHomeLoanBankOfNewYorkStock" xlink:title="mgyr_FederalHomeLoanBankOfNewYorkStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InterestAndDividendIncomeOperating" xlink:to="mgyr_FederalHomeLoanBankOfNewYorkStock" xlink:title="Calculation : us-gaap_InterestAndDividendIncomeOperating to mgyr_FederalHomeLoanBankOfNewYorkStock" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnSaleOfLoansAndLeases" xlink:label="us-gaap_GainLossOnSaleOfLoansAndLeases" xlink:title="us-gaap_GainLossOnSaleOfLoansAndLeases" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherIncome" xlink:to="us-gaap_GainLossOnSaleOfLoansAndLeases" xlink:title="Calculation : us-gaap_OtherIncome to us-gaap_GainLossOnSaleOfLoansAndLeases" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="us-gaap_InformationTechnologyAndDataProcessing" xlink:title="us-gaap_InformationTechnologyAndDataProcessing" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="us-gaap_InformationTechnologyAndDataProcessing" xlink:title="Calculation : us-gaap_OtherExpenses to us-gaap_InformationTechnologyAndDataProcessing" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:label="us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:title="us-gaap_GainLossOnSaleOfSecuritiesNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherIncome" xlink:to="us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:title="Calculation : us-gaap_OtherIncome to us-gaap_GainLossOnSaleOfSecuritiesNet" order="500" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoanPortfolioExpense" xlink:label="us-gaap_LoanPortfolioExpense" xlink:title="us-gaap_LoanPortfolioExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="us-gaap_LoanPortfolioExpense" xlink:title="Calculation : us-gaap_OtherExpenses to us-gaap_LoanPortfolioExpense" order="500" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:title="us-gaap_FederalDepositInsuranceCorporationPremiumExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:title="Calculation : us-gaap_OtherExpenses to us-gaap_FederalDepositInsuranceCorporationPremiumExpense" order="600" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ServiceFees" xlink:label="mgyr_ServiceFees" xlink:title="mgyr_ServiceFees" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="mgyr_ServiceFees" xlink:title="Calculation : us-gaap_OtherExpenses to mgyr_ServiceFees" order="700" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GeneralInsuranceExpense" xlink:label="us-gaap_GeneralInsuranceExpense" xlink:title="us-gaap_GeneralInsuranceExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="us-gaap_GeneralInsuranceExpense" xlink:title="Calculation : us-gaap_OtherExpenses to us-gaap_GeneralInsuranceExpense" order="800" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="us-gaap_OtherNoninterestExpense" xlink:title="us-gaap_OtherNoninterestExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherExpenses" xlink:to="us-gaap_OtherNoninterestExpense" xlink:title="Calculation : us-gaap_OtherExpenses to us-gaap_OtherNoninterestExpense" order="900" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-csoci">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:title="us-gaap_OtherComprehensiveIncomeLossBeforeTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:title="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:to="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeLossBeforeTax to us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:title="us-gaap_OtherComprehensiveIncomeLossNetOfTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeLossNetOfTax to us-gaap_OtherComprehensiveIncomeLossBeforeTax" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax" xlink:title="us-gaap_ComprehensiveIncomeNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="us-gaap_ProfitLoss" xlink:title="us-gaap_ProfitLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="us-gaap_ProfitLoss" xlink:title="Calculation : us-gaap_ComprehensiveIncomeNetOfTax to us-gaap_ProfitLoss" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:title="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeLossBeforeTax to us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" order="200" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:label="us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:title="us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeLossNetOfTax to us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" order="200" weight="-1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:title="Calculation : us-gaap_ComprehensiveIncomeNetOfTax to us-gaap_OtherComprehensiveIncomeLossNetOfTax" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" xlink:title="us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:to="us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeLossBeforeTax to us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" order="210" weight="1" use="optional" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-csocf">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:title="us-gaap_NetCashProvidedByUsedInInvestingActivities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:title="us-gaap_PaymentsToAcquireAvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_PaymentsToAcquireAvailableForSaleSecurities" order="1050" weight="-1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherPropertyPlantAndEquipment" xlink:label="us-gaap_ProceedsFromSaleOfOtherPropertyPlantAndEquipment" xlink:title="us-gaap_ProceedsFromSaleOfOtherPropertyPlantAndEquipment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfOtherPropertyPlantAndEquipment" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_ProceedsFromSaleOfOtherPropertyPlantAndEquipment" order="1040" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:title="us-gaap_NetCashProvidedByUsedInFinancingActivities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt" xlink:label="us-gaap_ProceedsFromRepaymentsOfShortTermDebt" xlink:title="us-gaap_ProceedsFromRepaymentsOfShortTermDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_ProceedsFromRepaymentsOfShortTermDebt" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInFinancingActivities to us-gaap_ProceedsFromRepaymentsOfShortTermDebt" order="610" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:title="us-gaap_NetCashProvidedByUsedInOperatingActivities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="us-gaap_ProfitLoss" xlink:title="us-gaap_ProfitLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ProfitLoss" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_ProfitLoss" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities" xlink:label="us-gaap_PaymentsToAcquireHeldToMaturitySecurities" xlink:title="us-gaap_PaymentsToAcquireHeldToMaturitySecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquireHeldToMaturitySecurities" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_PaymentsToAcquireHeldToMaturitySecurities" order="100" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="us-gaap_IncreaseDecreaseInDeposits" xlink:title="us-gaap_IncreaseDecreaseInDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_IncreaseDecreaseInDeposits" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInFinancingActivities to us-gaap_IncreaseDecreaseInDeposits" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:title="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:title="Calculation : us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease to us-gaap_NetCashProvidedByUsedInOperatingActivities" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Depreciation" xlink:label="us-gaap_Depreciation" xlink:title="us-gaap_Depreciation" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_Depreciation" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_Depreciation" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_NetDecreaseIncreaseInEscrowedFunds" xlink:label="mgyr_NetDecreaseIncreaseInEscrowedFunds" xlink:title="mgyr_NetDecreaseIncreaseInEscrowedFunds" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="mgyr_NetDecreaseIncreaseInEscrowedFunds" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInFinancingActivities to mgyr_NetDecreaseIncreaseInEscrowedFunds" order="200" weight="1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:title="Calculation : us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease to us-gaap_NetCashProvidedByUsedInInvestingActivities" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:title="us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" order="300" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_NetIncreaseDecreaseInLoansReceivable" xlink:label="mgyr_NetIncreaseDecreaseInLoansReceivable" xlink:title="mgyr_NetIncreaseDecreaseInLoansReceivable" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="mgyr_NetIncreaseDecreaseInLoansReceivable" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to mgyr_NetIncreaseDecreaseInLoansReceivable" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="us-gaap_RepaymentsOfLongTermDebt" xlink:title="us-gaap_RepaymentsOfLongTermDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_RepaymentsOfLongTermDebt" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInFinancingActivities to us-gaap_RepaymentsOfLongTermDebt" order="300" weight="-1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:title="Calculation : us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease to us-gaap_NetCashProvidedByUsedInFinancingActivities" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:title="us-gaap_ProvisionForLoanLeaseAndOtherLosses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_ProvisionForLoanLeaseAndOtherLosses" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:title="us-gaap_ProceedsFromIssuanceOfLongTermDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInFinancingActivities to us-gaap_ProceedsFromIssuanceOfLongTermDebt" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireLoansReceivable" xlink:label="us-gaap_PaymentsToAcquireLoansReceivable" xlink:title="us-gaap_PaymentsToAcquireLoansReceivable" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquireLoansReceivable" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_PaymentsToAcquireLoansReceivable" order="400" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:title="us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" order="500" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ProvisionForLossOnOtherRealEstateOwned" xlink:label="mgyr_ProvisionForLossOnOtherRealEstateOwned" xlink:title="mgyr_ProvisionForLossOnOtherRealEstateOwned" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="mgyr_ProvisionForLossOnOtherRealEstateOwned" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to mgyr_ProvisionForLossOnOtherRealEstateOwned" order="500" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities" xlink:label="us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities" xlink:title="us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities" order="600" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ProceedsFromSalesOfLoans" xlink:label="mgyr_ProceedsFromSalesOfLoans" xlink:title="mgyr_ProceedsFromSalesOfLoans" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="mgyr_ProceedsFromSalesOfLoans" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to mgyr_ProceedsFromSalesOfLoans" order="600" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities" xlink:label="us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities" xlink:title="us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInFinancingActivities to us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities" order="600" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:label="us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:title="us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" order="700" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet" xlink:label="us-gaap_GainLossOnSalesOfLoansNet" xlink:title="us-gaap_GainLossOnSalesOfLoansNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_GainLossOnSalesOfLoansNet" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_GainLossOnSalesOfLoansNet" order="700" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:title="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="800" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainOnSaleOfInvestments" xlink:label="us-gaap_GainOnSaleOfInvestments" xlink:title="us-gaap_GainOnSaleOfInvestments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_GainOnSaleOfInvestments" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_GainOnSaleOfInvestments" order="800" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireOtherRealEstate" xlink:label="us-gaap_PaymentsToAcquireOtherRealEstate" xlink:title="us-gaap_PaymentsToAcquireOtherRealEstate" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquireOtherRealEstate" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_PaymentsToAcquireOtherRealEstate" order="900" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_LossesGainsOnSalesOfOtherRealEstateOwned" xlink:label="mgyr_LossesGainsOnSalesOfOtherRealEstateOwned" xlink:title="mgyr_LossesGainsOnSalesOfOtherRealEstateOwned" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="mgyr_LossesGainsOnSalesOfOtherRealEstateOwned" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to mgyr_LossesGainsOnSalesOfOtherRealEstateOwned" order="900" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:title="us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" order="1000" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:label="us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:title="us-gaap_ProceedsFromSaleOfOtherRealEstate" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_ProceedsFromSaleOfOtherRealEstate" order="1010" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireFederalReserveStock" xlink:label="us-gaap_PaymentsToAcquireFederalReserveStock" xlink:title="us-gaap_PaymentsToAcquireFederalReserveStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquireFederalReserveStock" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_PaymentsToAcquireFederalReserveStock" order="1020" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:title="us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInInvestingActivities to us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" order="1030" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="us-gaap_ShareBasedCompensation" xlink:title="us-gaap_ShareBasedCompensation" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ShareBasedCompensation" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_ShareBasedCompensation" order="1100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:title="us-gaap_DeferredIncomeTaxExpenseBenefit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_DeferredIncomeTaxExpenseBenefit" order="1200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:title="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" order="1300" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_IncreaseInSurrenderValueBankOwnedLifeInsurance" xlink:label="mgyr_IncreaseInSurrenderValueBankOwnedLifeInsurance" xlink:title="mgyr_IncreaseInSurrenderValueBankOwnedLifeInsurance" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="mgyr_IncreaseInSurrenderValueBankOwnedLifeInsurance" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to mgyr_IncreaseInSurrenderValueBankOwnedLifeInsurance" order="1400" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:title="us-gaap_IncreaseDecreaseInOtherOperatingAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_IncreaseDecreaseInOtherOperatingAssets" order="1500" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:title="us-gaap_IncreaseDecreaseInInterestPayableNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_IncreaseDecreaseInInterestPayableNet" order="1600" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities" xlink:label="us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities" xlink:title="us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities" xlink:title="Calculation : us-gaap_NetCashProvidedByUsedInOperatingActivities to us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities" order="1700" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-epssoepsd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:title="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:title="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:title="Calculation : us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding to us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" order="10" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:title="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:title="Calculation : us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding to us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" order="20" weight="1" use="optional" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-ocilsocoaoclarited">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:title="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:title="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax to us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" order="1" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:title="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:title="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax to us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" order="1" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesTax" xlink:title="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesTax" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax to us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesTax" order="2" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:label="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:title="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:title="Calculation : us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax to us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" order="2" weight="-1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-fvdsoamafvoanrbd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:label="us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:title="us-gaap_AssetsFairValueDisclosureNonrecurring" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ImpairedLoansFairValueDisclosure" xlink:label="mgyr_ImpairedLoansFairValueDisclosure" xlink:title="mgyr_ImpairedLoansFairValueDisclosure" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:to="mgyr_ImpairedLoansFairValueDisclosure" xlink:title="Calculation : us-gaap_AssetsFairValueDisclosureNonrecurring to mgyr_ImpairedLoansFairValueDisclosure" order="10" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:label="mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:title="mgyr_OtherRealEstateOwnedFairValueDisclosure" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:to="mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:title="Calculation : us-gaap_AssetsFairValueDisclosureNonrecurring to mgyr_OtherRealEstateOwnedFairValueDisclosure" order="20" weight="1" use="optional" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-issomodsambsafsd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:title="us-gaap_AvailableForSaleSecuritiesAmortizedCost" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleSecuritiesResidentialMortgageMaturitiesAmortizedCost" xlink:label="mgyr_AvailableForSaleSecuritiesResidentialMortgageMaturitiesAmortizedCost" xlink:title="mgyr_AvailableForSaleSecuritiesResidentialMortgageMaturitiesAmortizedCost" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:to="mgyr_AvailableForSaleSecuritiesResidentialMortgageMaturitiesAmortizedCost" xlink:title="Calculation : us-gaap_AvailableForSaleSecuritiesAmortizedCost to mgyr_AvailableForSaleSecuritiesResidentialMortgageMaturitiesAmortizedCost" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="us-gaap_AvailableForSaleSecurities" xlink:title="us-gaap_AvailableForSaleSecurities" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleSecuritiesResidentialMortgageSecurities" xlink:label="mgyr_AvailableForSaleSecuritiesResidentialMortgageSecurities" xlink:title="mgyr_AvailableForSaleSecuritiesResidentialMortgageSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleSecurities" xlink:to="mgyr_AvailableForSaleSecuritiesResidentialMortgageSecurities" xlink:title="Calculation : us-gaap_AvailableForSaleSecurities to mgyr_AvailableForSaleSecuritiesResidentialMortgageSecurities" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:title="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" xlink:title="Calculation : us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis to us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtSecurities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" xlink:title="Calculation : us-gaap_AvailableForSaleSecuritiesDebtSecurities to us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleSecuritiesCommercialMortgageMaturitiesAmortizedCost" xlink:label="mgyr_AvailableForSaleSecuritiesCommercialMortgageMaturitiesAmortizedCost" xlink:title="mgyr_AvailableForSaleSecuritiesCommercialMortgageMaturitiesAmortizedCost" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:to="mgyr_AvailableForSaleSecuritiesCommercialMortgageMaturitiesAmortizedCost" xlink:title="Calculation : us-gaap_AvailableForSaleSecuritiesAmortizedCost to mgyr_AvailableForSaleSecuritiesCommercialMortgageMaturitiesAmortizedCost" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleSecuritiesCommercialMortgageSecurities" xlink:label="mgyr_AvailableForSaleSecuritiesCommercialMortgageSecurities" xlink:title="mgyr_AvailableForSaleSecuritiesCommercialMortgageSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleSecurities" xlink:to="mgyr_AvailableForSaleSecuritiesCommercialMortgageSecurities" xlink:title="Calculation : us-gaap_AvailableForSaleSecurities to mgyr_AvailableForSaleSecuritiesCommercialMortgageSecurities" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" xlink:title="Calculation : us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis to us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" xlink:title="Calculation : us-gaap_AvailableForSaleSecuritiesDebtSecurities to us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" xlink:title="Calculation : us-gaap_AvailableForSaleSecuritiesDebtSecurities to us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" xlink:title="Calculation : us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis to us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" xlink:title="Calculation : us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis to us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" xlink:title="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" xlink:title="Calculation : us-gaap_AvailableForSaleSecuritiesDebtSecurities to us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" order="400" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-issoacafvoshtmd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="us-gaap_HeldToMaturitySecurities" xlink:title="us-gaap_HeldToMaturitySecurities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" xlink:label="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" xlink:title="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecurities" xlink:to="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" xlink:title="Calculation : us-gaap_HeldToMaturitySecurities to us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:title="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:to="us-gaap_HeldToMaturitySecurities" xlink:title="Calculation : us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment to us-gaap_HeldToMaturitySecurities" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_TotalDebtSecurities" xlink:label="mgyr_TotalDebtSecurities" xlink:title="mgyr_TotalDebtSecurities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:title="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="mgyr_TotalDebtSecurities" xlink:to="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:title="Calculation : mgyr_TotalDebtSecurities to us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="us-gaap_HeldToMaturitySecuritiesFairValue" xlink:title="us-gaap_HeldToMaturitySecuritiesFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecuritiesFairValue" xlink:to="mgyr_TotalDebtSecurities" xlink:title="Calculation : us-gaap_HeldToMaturitySecuritiesFairValue to mgyr_TotalDebtSecurities" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" xlink:label="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" xlink:title="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecurities" xlink:to="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" xlink:title="Calculation : us-gaap_HeldToMaturitySecurities to us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesNetCarryingAmount" xlink:label="mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesNetCarryingAmount" xlink:title="mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesNetCarryingAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:to="mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesNetCarryingAmount" xlink:title="Calculation : us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment to mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesNetCarryingAmount" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:title="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="mgyr_TotalDebtSecurities" xlink:to="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:title="Calculation : mgyr_TotalDebtSecurities to us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesFairValue" xlink:label="mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesFairValue" xlink:title="mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecuritiesFairValue" xlink:to="mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesFairValue" xlink:title="Calculation : us-gaap_HeldToMaturitySecuritiesFairValue to mgyr_HeldToMaturitySecuritiesMortgageResidentialMaturitiesFairValue" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" xlink:label="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" xlink:title="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecurities" xlink:to="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" xlink:title="Calculation : us-gaap_HeldToMaturitySecurities to us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesNetCarryingAmount" xlink:label="mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesNetCarryingAmount" xlink:title="mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesNetCarryingAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:to="mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesNetCarryingAmount" xlink:title="Calculation : us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment to mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesNetCarryingAmount" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:title="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="mgyr_TotalDebtSecurities" xlink:to="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:title="Calculation : mgyr_TotalDebtSecurities to us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesFairValue" xlink:label="mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesFairValue" xlink:title="mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecuritiesFairValue" xlink:to="mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesFairValue" xlink:title="Calculation : us-gaap_HeldToMaturitySecuritiesFairValue to mgyr_HeldToMaturitySecuritiesMortgageCommercialMaturitiesFairValue" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" xlink:label="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" xlink:title="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_HeldToMaturitySecurities" xlink:to="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" xlink:title="Calculation : us-gaap_HeldToMaturitySecurities to us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:title="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="mgyr_TotalDebtSecurities" xlink:to="us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:title="Calculation : mgyr_TotalDebtSecurities to us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" order="400" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-ioissogulafvfbafsahtmsd">
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:title="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:title="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:to="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:title="Calculation : mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue to mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" order="10" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:title="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:to="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:title="Calculation : mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue to mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" order="20" weight="1" use="optional" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsolrnd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:title="us-gaap_LoansAndLeasesReceivableNetReportedAmount" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:to="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableNetReportedAmount to us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" order="1" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:label="us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:title="us-gaap_LoansAndLeasesReceivableDeferredIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:to="us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableNetReportedAmount to us-gaap_LoansAndLeasesReceivableDeferredIncome" order="2" weight="-1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="us-gaap_LoansAndLeasesReceivableAllowance" xlink:title="us-gaap_LoansAndLeasesReceivableAllowance" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:to="us-gaap_LoansAndLeasesReceivableAllowance" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableNetReportedAmount to us-gaap_LoansAndLeasesReceivableAllowance" order="3" weight="-1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsoilbcd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:title="us-gaap_ImpairedFinancingReceivableRecordedInvestment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:title="us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:to="us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:title="Calculation : us-gaap_ImpairedFinancingReceivableRecordedInvestment to us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" order="1" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:title="us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:to="us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:title="Calculation : us-gaap_ImpairedFinancingReceivableRecordedInvestment to us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" order="2" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsocotlpsbacd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentCurrent" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableGrossCarryingAmount to us-gaap_FinancingReceivableRecordedInvestmentCurrent" order="1" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentPastDue" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestment30To59DaysPastDue" xlink:label="us-gaap_FinancingReceivableRecordedInvestment30To59DaysPastDue" xlink:title="us-gaap_FinancingReceivableRecordedInvestment30To59DaysPastDue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:to="us-gaap_FinancingReceivableRecordedInvestment30To59DaysPastDue" xlink:title="Calculation : us-gaap_FinancingReceivableRecordedInvestmentPastDue to us-gaap_FinancingReceivableRecordedInvestment30To59DaysPastDue" order="10" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestment60To89DaysPastDue" xlink:label="us-gaap_FinancingReceivableRecordedInvestment60To89DaysPastDue" xlink:title="us-gaap_FinancingReceivableRecordedInvestment60To89DaysPastDue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:to="us-gaap_FinancingReceivableRecordedInvestment60To89DaysPastDue" xlink:title="Calculation : us-gaap_FinancingReceivableRecordedInvestmentPastDue to us-gaap_FinancingReceivableRecordedInvestment60To89DaysPastDue" order="20" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue" xlink:title="Calculation : us-gaap_FinancingReceivableRecordedInvestmentPastDue to us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue" order="30" weight="1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableGrossCarryingAmount to us-gaap_FinancingReceivableRecordedInvestmentPastDue" order="2" weight="1" use="optional" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsoablcd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="us-gaap_LoansAndLeasesReceivableAllowance" xlink:title="us-gaap_LoansAndLeasesReceivableAllowance" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableAllowance" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableAllowance to us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" order="10" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableAllowance" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableAllowance to us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" order="20" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:title="us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:to="us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableGrossCarryingAmount to us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" order="10" weight="1" use="optional" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:title="us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:to="us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:title="Calculation : us-gaap_LoansAndLeasesReceivableGrossCarryingAmount to us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" order="20" weight="1" use="optional" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-dsodbtoad">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Deposits" xlink:label="us-gaap_Deposits" xlink:title="us-gaap_Deposits" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DemandDepositAccounts" xlink:label="us-gaap_DemandDepositAccounts" xlink:title="us-gaap_DemandDepositAccounts" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Deposits" xlink:to="us-gaap_DemandDepositAccounts" xlink:title="Calculation : us-gaap_Deposits to us-gaap_DemandDepositAccounts" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DepositsSavingsDeposits" xlink:label="us-gaap_DepositsSavingsDeposits" xlink:title="us-gaap_DepositsSavingsDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Deposits" xlink:to="us-gaap_DepositsSavingsDeposits" xlink:title="Calculation : us-gaap_Deposits to us-gaap_DepositsSavingsDeposits" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" xlink:label="us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" xlink:title="us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Deposits" xlink:to="us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" xlink:title="Calculation : us-gaap_Deposits to us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" order="300" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DepositsMoneyMarketDeposits" xlink:label="us-gaap_DepositsMoneyMarketDeposits" xlink:title="us-gaap_DepositsMoneyMarketDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Deposits" xlink:to="us-gaap_DepositsMoneyMarketDeposits" xlink:title="Calculation : us-gaap_Deposits to us-gaap_DepositsMoneyMarketDeposits" order="400" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_CertificatesOfDeposit" xlink:label="mgyr_CertificatesOfDeposit" xlink:title="mgyr_CertificatesOfDeposit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Deposits" xlink:to="mgyr_CertificatesOfDeposit" xlink:title="Calculation : us-gaap_Deposits to mgyr_CertificatesOfDeposit" order="500" weight="1" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_RetirementDeposits" xlink:label="mgyr_RetirementDeposits" xlink:title="mgyr_RetirementDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Deposits" xlink:to="mgyr_RetirementDeposits" xlink:title="Calculation : us-gaap_Deposits to mgyr_RetirementDeposits" order="600" weight="1" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-itsoroitd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:title="us-gaap_IncomeTaxExpenseBenefit" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:title="us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:title="Calculation : us-gaap_IncomeTaxExpenseBenefit to us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" order="100" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:label="us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:title="us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:title="Calculation : us-gaap_IncomeTaxExpenseBenefit to us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" order="200" weight="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:title="us-gaap_IncomeTaxReconciliationOtherAdjustments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:title="Calculation : us-gaap_IncomeTaxExpenseBenefit to us-gaap_IncomeTaxReconciliationOtherAdjustments" order="800" weight="1" />
  </link:calculationLink>
</link:linkbase>
