<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with WebFilings-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.matrixservice.com/role/Acquisitions" xlink:href="mtrx-20130906.xsd#Acquisitions" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/AcquisitionsDetails" xlink:href="mtrx-20130906.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/AcquisitionsDetailsCalc2" xlink:href="mtrx-20130906.xsd#AcquisitionsDetailsCalc2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/AcquisitionsDetailsTextual" xlink:href="mtrx-20130906.xsd#AcquisitionsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/AcquisitionsTables" xlink:href="mtrx-20130906.xsd#AcquisitionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedBalanceSheets" xlink:href="mtrx-20130906.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20130906.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfIncome" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/Contingencies" xlink:href="mtrx-20130906.xsd#Contingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ContingenciesDetailsTextual" xlink:href="mtrx-20130906.xsd#ContingenciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CustomerContracts" xlink:href="mtrx-20130906.xsd#CustomerContracts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CustomerContractsDetails" xlink:href="mtrx-20130906.xsd#CustomerContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CustomerContractsDetailsTextual" xlink:href="mtrx-20130906.xsd#CustomerContractsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CustomerContractsTables" xlink:href="mtrx-20130906.xsd#CustomerContractsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/Debt" xlink:href="mtrx-20130906.xsd#Debt" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtDetails" xlink:href="mtrx-20130906.xsd#DebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtDetailsCalc2" xlink:href="mtrx-20130906.xsd#DebtDetailsCalc2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtDetailsTextual" xlink:href="mtrx-20130906.xsd#DebtDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtTables" xlink:href="mtrx-20130906.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DocumentAndEntityInformation" xlink:href="mtrx-20130906.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShare" xlink:href="mtrx-20130906.xsd#EarningsPerCommonShare" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShareDetails" xlink:href="mtrx-20130906.xsd#EarningsPerCommonShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShareDetails1" xlink:href="mtrx-20130906.xsd#EarningsPerCommonShareDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShareTables" xlink:href="mtrx-20130906.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EmployeeBenefitPlans" xlink:href="mtrx-20130906.xsd#EmployeeBenefitPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EmployeeBenefitPlansDetails" xlink:href="mtrx-20130906.xsd#EmployeeBenefitPlansDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EmployeeBenefitPlansDetailsTextual" xlink:href="mtrx-20130906.xsd#EmployeeBenefitPlansDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EmployeeBenefitPlansTables" xlink:href="mtrx-20130906.xsd#EmployeeBenefitPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssets" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxes" xlink:href="mtrx-20130906.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails1" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails2" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails3" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails4" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetailsTextual" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesTables" xlink:href="mtrx-20130906.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/Leases" xlink:href="mtrx-20130906.xsd#Leases" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/LeasesDetailsTextual" xlink:href="mtrx-20130906.xsd#LeasesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:href="mtrx-20130906.xsd#QuarterlyFinancialDataUnauditedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedDetails1" xlink:href="mtrx-20130906.xsd#QuarterlyFinancialDataUnauditedDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedNotes" xlink:href="mtrx-20130906.xsd#QuarterlyFinancialDataUnauditedNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedTables" xlink:href="mtrx-20130906.xsd#QuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformation" xlink:href="mtrx-20130906.xsd#SegmentInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationDetails" xlink:href="mtrx-20130906.xsd#SegmentInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationDetails1" xlink:href="mtrx-20130906.xsd#SegmentInformationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationDetailsTextual" xlink:href="mtrx-20130906.xsd#SegmentInformationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationTables" xlink:href="mtrx-20130906.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensation" xlink:href="mtrx-20130906.xsd#StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetails" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetails1" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetails2" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetails3" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetailsTextual" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationTables" xlink:href="mtrx-20130906.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockholdersEquity" xlink:href="mtrx-20130906.xsd#StockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockholdersEquityDetailsTextual" xlink:href="mtrx-20130906.xsd#StockholdersEquityDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="mtrx-20130906.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:href="mtrx-20130906.xsd#SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="mtrx-20130906.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ValuationAndQualifyingAccounts" xlink:href="mtrx-20130906.xsd#ValuationAndQualifyingAccounts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ValuationAndQualifyingAccountsDetails" xlink:href="mtrx-20130906.xsd#ValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/Acquisitions" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/AcquisitionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet_2e13a468-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired_2eb3d9f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet_2e13a468-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired_2eb3d9f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationIntangibleAssetsOtherThanGoodwill_2e57fe7e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired_2eb3d9f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationIntangibleAssetsOtherThanGoodwill_2e57fe7e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_2de28cfc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired_2eb3d9f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_2de28cfc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipment_2edb902c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired_2eb3d9f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipment_2edb902c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssets" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssets_2debd65e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired_2eb3d9f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssets_2debd65e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentLiabilities" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentLiabilities_2e576608-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet_2e13a468-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentLiabilities_2e576608-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice_2ec8c76c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/AcquisitionsDetailsCalc2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet_F50F577D93338F1078B0EFA692DA6076_2e13a468-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/AcquisitionsDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/AcquisitionsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_2c254058-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2c254058-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_30cfd000-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_30cfd000-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_28c3463a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_28c3463a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear" xlink:label="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear_419be98c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear_419be98c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_5b10f3ee-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_InventoryNet_5b10f3ee-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="loc_us-gaap_IncomeTaxesReceivable_586dfd80-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxesReceivable_586dfd80-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsNetCurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsNetCurrent_4735dba0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsNetCurrent_4735dba0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_62bc2ffa-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c23c494-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_OtherAssetsCurrent_62bc2ffa-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_683dcad8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2c254058-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_683dcad8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_683f0542-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_683dcad8-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_683f0542-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_LandBuildingsAndImprovementsGross" xlink:label="loc_mtrx_LandBuildingsAndImprovementsGross_3fd695a8-d8f1-48e9-48e1-d35e2c40388a" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_683f0542-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_LandBuildingsAndImprovementsGross_3fd695a8-d8f1-48e9-48e1-d35e2c40388a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MachineryAndEquipmentGross" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_5f1f8f18-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_683f0542-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_5f1f8f18-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_TransportationEquipmentGross" xlink:label="loc_mtrx_TransportationEquipmentGross_ed730fa7-0fc2-14d7-48ac-169a3e9f1600" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_683f0542-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_TransportationEquipmentGross_ed730fa7-0fc2-14d7-48ac-169a3e9f1600" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ConstructionInProgressGross" xlink:label="loc_us-gaap_ConstructionInProgressGross_3c607fdc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_683f0542-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ConstructionInProgressGross_3c607fdc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_OfficeEquipmentAndCapitalizedComputerSoftwareGross" xlink:label="loc_mtrx_OfficeEquipmentAndCapitalizedComputerSoftwareGross_f9e65f2c-cf5d-bb06-6bc9-d35e2c3f8b37" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_683f0542-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_OfficeEquipmentAndCapitalizedComputerSoftwareGross_f9e65f2c-cf5d-bb06-6bc9-d35e2c3f8b37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_29bfb410-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_683dcad8-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_29bfb410-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_567ea9de-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2c254058-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_Goodwill_567ea9de-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_5a1fdbbc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2c254058-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_5a1fdbbc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_62df8554-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2c254058-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_62df8554-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_5c4fc6ae-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_476c4866-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5c4fc6ae-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_476c4866-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_5c188d92-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5c4fc6ae-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_LiabilitiesCurrent_5c188d92-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_28d58084-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5c188d92-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_AccountsPayableCurrent_28d58084-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BillingsInExcessOfCost" xlink:label="loc_us-gaap_BillingsInExcessOfCost_2dd31538-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5c188d92-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_BillingsInExcessOfCost_2dd31538-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_4e9c764c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5c188d92-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_4e9c764c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccruedInsuranceCurrent" xlink:label="loc_us-gaap_AccruedInsuranceCurrent_298ba81e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5c188d92-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_AccruedInsuranceCurrent_298ba81e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_298c645c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5c188d92-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_298c645c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_63d03724-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5c188d92-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_63d03724-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_70895bd0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5c4fc6ae-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_StockholdersEquity_70895bd0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7082ce64-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_70895bd0-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7082ce64-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_34ddf442-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7082ce64-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CommonStockValue_34ddf442-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_29ca3a8e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7082ce64-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_AdditionalPaidInCapital_29ca3a8e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6b785646-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7082ce64-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6b785646-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_29a28f84-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7082ce64-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_29a28f84-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_72998c1a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_70895bd0-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_TreasuryStockValue_72998c1a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_34116ef4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5c4fc6ae-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CommitmentsAndContingencies_34116ef4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_31a4213e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_4dd8ac80-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_31a4213e-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_4dd8ac80-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_31a4213e-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_DeferredIncomeTaxExpenseBenefitSocf" xlink:label="loc_mtrx_DeferredIncomeTaxExpenseBenefitSocf_87c7eacb-819d-c892-8f62-d35e2c3f6760" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_DeferredIncomeTaxExpenseBenefitSocf_87c7eacb-819d-c892-8f62-d35e2c3f6760" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_48ae4c92-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_48ae4c92-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_559e3eee-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_559e3eee-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_6869127e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_6869127e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_6ec09264-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ShareBasedCompensation_6ec09264-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_62b35f06-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_62b35f06-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_58ea018c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_58ea018c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IncreaseDecreaseInCostsAndEstimatedEarningsInExcessOfBillingsOnUncompletedContracts" xlink:label="loc_mtrx_IncreaseDecreaseInCostsAndEstimatedEarningsInExcessOfBillingsOnUncompletedContracts_19897942-69d2-86b7-dfde-169a3e9d3913" xlink:type="locator" />
    <calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_IncreaseDecreaseInCostsAndEstimatedEarningsInExcessOfBillingsOnUncompletedContracts_19897942-69d2-86b7-dfde-169a3e9d3913" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_5962f3b2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_5962f3b2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_595e31f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_595e31f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_58a5226a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_58a5226a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncreaseDecreaseInBillingInExcessOfCostOfEarnings" xlink:label="loc_us-gaap_IncreaseDecreaseInBillingInExcessOfCostOfEarnings_58dd912c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncreaseDecreaseInBillingInExcessOfCostOfEarnings_58dd912c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_58c61cea-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_58c61cea-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_57bf2e7c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_57bf2e7c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_611bec6c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_611fd732-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_NetIncomeLoss_611bec6c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_60ef698a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_31a4213e-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_60ef698a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_651f66f4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_60ef698a-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_651f66f4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement" xlink:label="loc_mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement_50740ae6-b80d-11e2-a68d-22000a9d039f" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_60ef698a-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement_50740ae6-b80d-11e2-a68d-22000a9d039f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_677afcce-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_60ef698a-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_677afcce-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6544a1b2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_60ef698a-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6544a1b2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_31a4213e-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_67972912-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_67972912-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RepaymentsOfLongTermCapitalLeaseObligations" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_6acc0b34-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_6acc0b34-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_64ca4a0c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_64ca4a0c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_651668c4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_651668c4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_4f6b30fe-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_4f6b30fe-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ProceedsFromStockPlans" xlink:label="loc_us-gaap_ProceedsFromStockPlans_679b26ac-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ProceedsFromStockPlans_679b26ac-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsForRepurchaseOfOtherEquity" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_6503bd78-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_6503bd78-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_6ad82ba8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_6ad82ba8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_672ffcce-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_60f52a96-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_672ffcce-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_38f2d2fa-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_611bec6c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_38f2d2fa-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_NetIncomeLoss_611bec6c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_633cc110-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_38f2d2fa-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_633cc110-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_611bec6c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_611bec6c-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_624609ec-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_OperatingIncomeLoss_624609ec-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_56a7c864-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_624609ec-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_GrossProfit_56a7c864-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_6c311014-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_56a7c864-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_SalesRevenueServicesNet_6c311014-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CostOfServices" xlink:label="loc_us-gaap_CostOfServices_410ff044-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_56a7c864-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CostOfServices_410ff044-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_6e581cc0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_624609ec-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_6e581cc0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_5a4444fc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_InterestExpense_5a4444fc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_5b31f800-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_InvestmentIncomeInterest_5b31f800-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_63d61950-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_63d61950-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_611bec6c-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_4dae81bc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/Contingencies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/ContingenciesDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/CustomerContracts" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/CustomerContractsDetails" xlink:type="extended">
    <loc xlink:href="mtrx-20130906.xsd#mtrx_UncompletedContractsNet" xlink:label="loc_mtrx_UncompletedContractsNet_2e4cc841-e912-bce9-e92d-169a3e9eab96" xlink:type="locator" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_UncompletedContractsBillings" xlink:label="loc_mtrx_UncompletedContractsBillings_8db37af1-14c8-7699-f363-169a3e9ede3c" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mtrx_UncompletedContractsNet_2e4cc841-e912-bce9-e92d-169a3e9eab96" xlink:to="loc_mtrx_UncompletedContractsBillings_8db37af1-14c8-7699-f363-169a3e9ede3c" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_UncompletedContractsCostsIncurredAndEstimatedEarningsRecognized" xlink:label="loc_mtrx_UncompletedContractsCostsIncurredAndEstimatedEarningsRecognized_d36e650a-c4f2-976b-410e-169a3ea0a778" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mtrx_UncompletedContractsNet_2e4cc841-e912-bce9-e92d-169a3e9eab96" xlink:to="loc_mtrx_UncompletedContractsCostsIncurredAndEstimatedEarningsRecognized_d36e650a-c4f2-976b-410e-169a3ea0a778" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrPrograms" xlink:label="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrPrograms_41951a4e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear" xlink:label="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear_419be98c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrPrograms_41951a4e-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear_419be98c-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BillingsInExcessOfCost" xlink:label="loc_us-gaap_BillingsInExcessOfCost_2dd31538-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrPrograms_41951a4e-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_BillingsInExcessOfCost_2dd31538-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/CustomerContractsDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/CustomerContractsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/Debt" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/DebtDetails" xlink:type="extended">
    <loc xlink:href="mtrx-20130906.xsd#mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint" xlink:label="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_9465b72f-267c-e190-2110-169a3e9d7853" xlink:type="locator" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_LettersOfCreditIssued" xlink:label="loc_mtrx_LettersOfCreditIssued_3011f20d-47cc-80ae-7cd0-d35e2c41c530" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_9465b72f-267c-e190-2110-169a3e9d7853" xlink:to="loc_mtrx_LettersOfCreditIssued_3011f20d-47cc-80ae-7cd0-d35e2c41c530" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_5d68c162-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_9465b72f-267c-e190-2110-169a3e9d7853" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_5d68c162-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/DebtDetailsCalc2" xlink:type="extended">
    <loc xlink:href="mtrx-20130906.xsd#mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint" xlink:label="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_B695C9605252E077009DEFA0F84D0BF1_9465b72f-267c-e190-2110-169a3e9d7853" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_B695C9605252E077009DEFA0F84D0BF1_5d5e6208-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_B695C9605252E077009DEFA0F84D0BF1_9465b72f-267c-e190-2110-169a3e9d7853" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_B695C9605252E077009DEFA0F84D0BF1_5d5e6208-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CapacityConstraintDueToSeniorLeverageRatio" xlink:label="loc_mtrx_CapacityConstraintDueToSeniorLeverageRatio_B695C9605252E077009DEFA0F84D0BF1_5a23ee37-9984-3fea-e271-169a3e9e83b1" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_B695C9605252E077009DEFA0F84D0BF1_9465b72f-267c-e190-2110-169a3e9d7853" xlink:to="loc_mtrx_CapacityConstraintDueToSeniorLeverageRatio_B695C9605252E077009DEFA0F84D0BF1_5a23ee37-9984-3fea-e271-169a3e9e83b1" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/DebtDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/DebtTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShare" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_741fe8a4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_7416e4b6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_741fe8a4-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_7416e4b6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_59a8dc24-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_741fe8a4-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_59a8dc24-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_599f2f76-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_741fe8a4-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_599f2f76-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShareDetails1" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShareTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/EmployeeBenefitPlans" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/EmployeeBenefitPlansDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/EmployeeBenefitPlansDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/EmployeeBenefitPlansTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssets" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_544b59c8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_54334af4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_544b59c8-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_54334af4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_543933d8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_544b59c8-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_543933d8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/IncomeTaxes" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_58427a66-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_58427a66-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_57f8c5ec-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57e107d6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_57f8c5ec-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_446dc392-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_446dc392-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_446e35f2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_446dc392-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_446e35f2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_446d43a4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_446dc392-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_446d43a4-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_446dfd76-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_446dc392-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_446dfd76-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_472866e6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_472866e6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_46e95794-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_472866e6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_46e95794-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_4736dffa-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_472866e6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_4736dffa-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_470a2b68-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_472866e6-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_470a2b68-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_58552bde-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_58552bde-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_58710a84-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_58710a84-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IncomeTaxReconciliationChargesWithoutTaxBenefit" xlink:label="loc_mtrx_IncomeTaxReconciliationChargesWithoutTaxBenefit_a458ff5c-84d3-a860-d82e-d35e2c3fe711" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_IncomeTaxReconciliationChargesWithoutTaxBenefit_a458ff5c-84d3-a860-d82e-d35e2c3fe711" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_5857a2f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_5857a2f6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IncomeTaxReconciliationCumulativeNonDeductibleExpenses" xlink:label="loc_mtrx_IncomeTaxReconciliationCumulativeNonDeductibleExpenses_1d74019e-7daa-924e-5f4e-d35e2c3fdf1f" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_IncomeTaxReconciliationCumulativeNonDeductibleExpenses_1d74019e-7daa-924e-5f4e-d35e2c3fdf1f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxReconciliationDeductionsQualifiedProductionActivities" xlink:label="loc_us-gaap_IncomeTaxReconciliationDeductionsQualifiedProductionActivities_584a0286-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxReconciliationDeductionsQualifiedProductionActivities_584a0286-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_587a13c2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_587a13c2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_58602782-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_58602782-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_58590d94-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_584ce050-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_58590d94-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails3" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_472b9258-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_472b9258-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_473d41ce-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_473d41ce-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences_473cf20a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences_473cf20a-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_DeferredTaxAssetsInsuranceReserve" xlink:label="loc_mtrx_DeferredTaxAssetsInsuranceReserve_341d45fd-3fb0-d045-ea84-d35e2c3e5db5" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_DeferredTaxAssetsInsuranceReserve_341d45fd-3fb0-d045-ea84-d35e2c3e5db5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalSettlements" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalSettlements_474e43fc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalSettlements_474e43fc-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_47489d30-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_47489d30-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_476b24e0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_476b24e0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions_474655de-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions_474655de-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_474efad6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_474efad6-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_DeferredTaxAssetsAccruedLosses" xlink:label="loc_mtrx_DeferredTaxAssetsAccruedLosses_2eac26b8-ba99-fcc0-ca2e-d35e2c41c9bb" xlink:type="locator" />
    <calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_mtrx_DeferredTaxAssetsAccruedLosses_2eac26b8-ba99-fcc0-ca2e-d35e2c41c9bb" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_4745103e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_47290db2-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_4745103e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_470dba58-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_472b9258-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_470dba58-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_477d256e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_470dba58-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_477d256e-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_47774ba8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_470dba58-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_47774ba8-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_46b92cc2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_470dba58-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_46b92cc2-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_476b8660-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_470dba58-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_476b8660-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails4" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="loc_us-gaap_DeferredTaxLiabilities_47652504-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxAssetsNetCurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsNetCurrent_4735dba0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_47652504-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxAssetsNetCurrent_4735dba0-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_476c4866-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_47652504-78f6-11e1-94fe-25ba39ebf1f4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_476c4866-78f6-11e1-94fe-25ba39ebf1f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/Leases" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/LeasesDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedDetails1" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedNotes" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/SegmentInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/SegmentInformationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/SegmentInformationDetails1" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/SegmentInformationDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/SegmentInformationTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetails1" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetails2" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetails3" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockholdersEquity" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/StockholdersEquityDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/ValuationAndQualifyingAccounts" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservice.com/role/ValuationAndQualifyingAccountsDetails" xlink:type="extended" />
</linkbase>
