<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<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.matrixservicecompany.com/role/Acquisitions" xlink:href="mtrx-20150630.xsd#Acquisitions" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsDetails" xlink:href="mtrx-20150630.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsDetailsTextual" xlink:href="mtrx-20150630.xsd#AcquisitionsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:href="mtrx-20150630.xsd#AcquisitionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheets" xlink:href="mtrx-20150630.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20150630.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfIncome" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfIncomeCalc2" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfIncomeCalc2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/Contingencies" xlink:href="mtrx-20150630.xsd#Contingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ContingenciesDetailsTextual" xlink:href="mtrx-20150630.xsd#ContingenciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContracts" xlink:href="mtrx-20150630.xsd#CustomerContracts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsDetails" xlink:href="mtrx-20150630.xsd#CustomerContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsDetailsTextual" xlink:href="mtrx-20150630.xsd#CustomerContractsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsTables" xlink:href="mtrx-20150630.xsd#CustomerContractsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/Debt" xlink:href="mtrx-20150630.xsd#Debt" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtDetails" xlink:href="mtrx-20150630.xsd#DebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtDetailsTextual" xlink:href="mtrx-20150630.xsd#DebtDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtTables" xlink:href="mtrx-20150630.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:href="mtrx-20150630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShare" xlink:href="mtrx-20150630.xsd#EarningsPerCommonShare" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails" xlink:href="mtrx-20150630.xsd#EarningsPerCommonShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails1" xlink:href="mtrx-20150630.xsd#EarningsPerCommonShareDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:href="mtrx-20150630.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlans" xlink:href="mtrx-20150630.xsd#EmployeeBenefitPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetails" xlink:href="mtrx-20150630.xsd#EmployeeBenefitPlansDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetailsTextual" xlink:href="mtrx-20150630.xsd#EmployeeBenefitPlansDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansTables" xlink:href="mtrx-20150630.xsd#EmployeeBenefitPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssets" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxes" xlink:href="mtrx-20150630.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails1" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails2" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails3" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails4" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetailsTextual" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesTables" xlink:href="mtrx-20150630.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/OperatingLeases" xlink:href="mtrx-20150630.xsd#OperatingLeases" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/OperatingLeasesDetailsTextual" xlink:href="mtrx-20150630.xsd#OperatingLeasesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:href="mtrx-20150630.xsd#QuarterlyFinancialDataUnauditedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:href="mtrx-20150630.xsd#QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedTables" xlink:href="mtrx-20150630.xsd#QuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformation" xlink:href="mtrx-20150630.xsd#SegmentInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetails" xlink:href="mtrx-20150630.xsd#SegmentInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetails1" xlink:href="mtrx-20150630.xsd#SegmentInformationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetailsTextual" xlink:href="mtrx-20150630.xsd#SegmentInformationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:href="mtrx-20150630.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensation" xlink:href="mtrx-20150630.xsd#StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails1" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails2" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails3" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetailsTextual" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationTables" xlink:href="mtrx-20150630.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockholdersEquity" xlink:href="mtrx-20150630.xsd#StockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockholdersEquityDetailsTextual" xlink:href="mtrx-20150630.xsd#StockholdersEquityDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="mtrx-20150630.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:href="mtrx-20150630.xsd#SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="mtrx-20150630.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccounts" xlink:href="mtrx-20150630.xsd#ValuationAndQualifyingAccounts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccountsDetails" xlink:href="mtrx-20150630.xsd#ValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/Acquisitions" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_46621c8c-331f-c9c4-0f09-9437c99d061d" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_92f0dcca-6113-6cb1-e4a4-5a410471bf05" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_46621c8c-331f-c9c4-0f09-9437c99d061d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_92f0dcca-6113-6cb1-e4a4-5a410471bf05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_e0905149-e955-96b0-6abe-a8cc2f161e28" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_46621c8c-331f-c9c4-0f09-9437c99d061d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_e0905149-e955-96b0-6abe-a8cc2f161e28" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue_ed054a67-f894-c02e-9ee7-fa18c4f55ddf" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_46621c8c-331f-c9c4-0f09-9437c99d061d" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue_ed054a67-f894-c02e-9ee7-fa18c4f55ddf" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_11ca27b4-e843-5f45-398e-3796cbc7d117" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_46621c8c-331f-c9c4-0f09-9437c99d061d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_11ca27b4-e843-5f45-398e-3796cbc7d117" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_155667d6-4a2c-a1c0-f751-8b72a750cfb3" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_11ca27b4-e843-5f45-398e-3796cbc7d117" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_155667d6-4a2c-a1c0-f751-8b72a750cfb3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_40b1481f-0626-6aa6-7abd-04c754980b6d" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_11ca27b4-e843-5f45-398e-3796cbc7d117" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_40b1481f-0626-6aa6-7abd-04c754980b6d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_d1288432-0516-3188-e96b-2bc623375a5a" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_11ca27b4-e843-5f45-398e-3796cbc7d117" xlink:to="loc_us-gaap_Goodwill_d1288432-0516-3188-e96b-2bc623375a5a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_81e8c6d9-1c93-f9e0-90a7-5f22ce1d3593" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_11ca27b4-e843-5f45-398e-3796cbc7d117" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_81e8c6d9-1c93-f9e0-90a7-5f22ce1d3593" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7aea126d-356d-7574-71db-11c907b99793" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_ffd09989-75a8-4713-beb0-21bebb3561d6" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7aea126d-356d-7574-71db-11c907b99793" xlink:to="loc_us-gaap_CommonStockValue_ffd09989-75a8-4713-beb0-21bebb3561d6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_dcbd5d14-4ec6-06fe-e5c1-a41efced6761" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7aea126d-356d-7574-71db-11c907b99793" xlink:to="loc_us-gaap_AdditionalPaidInCapital_dcbd5d14-4ec6-06fe-e5c1-a41efced6761" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_440a13e9-e4dc-f397-4d0d-27daacd44483" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7aea126d-356d-7574-71db-11c907b99793" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_440a13e9-e4dc-f397-4d0d-27daacd44483" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_9f1eab6e-3183-7c60-4ec9-dfca9098dd55" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7aea126d-356d-7574-71db-11c907b99793" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_9f1eab6e-3183-7c60-4ec9-dfca9098dd55" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_1477e02d-b6d8-3df6-e715-8364fedce6d9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_bd7b63fa-09ae-1100-16fe-5ac027208548" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1477e02d-b6d8-3df6-e715-8364fedce6d9" xlink:to="loc_us-gaap_AccountsPayableCurrent_bd7b63fa-09ae-1100-16fe-5ac027208548" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BillingsInExcessOfCost" xlink:label="loc_us-gaap_BillingsInExcessOfCost_8a258e17-8f64-d2ad-17fb-09761334b098" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1477e02d-b6d8-3df6-e715-8364fedce6d9" xlink:to="loc_us-gaap_BillingsInExcessOfCost_8a258e17-8f64-d2ad-17fb-09761334b098" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_d69c5cc5-fc70-31a7-c2b1-924eb363b75b" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1477e02d-b6d8-3df6-e715-8364fedce6d9" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_d69c5cc5-fc70-31a7-c2b1-924eb363b75b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccruedInsuranceCurrent" xlink:label="loc_us-gaap_AccruedInsuranceCurrent_8618a7c2-b046-7c60-39c4-0ad7c4729148" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1477e02d-b6d8-3df6-e715-8364fedce6d9" xlink:to="loc_us-gaap_AccruedInsuranceCurrent_8618a7c2-b046-7c60-39c4-0ad7c4729148" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_56153815-752a-9a04-a52a-64cc2ec71213" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1477e02d-b6d8-3df6-e715-8364fedce6d9" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_56153815-752a-9a04-a52a-64cc2ec71213" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_80fb613f-3ffa-40b4-21a0-ecd4148b8f5c" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1477e02d-b6d8-3df6-e715-8364fedce6d9" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_80fb613f-3ffa-40b4-21a0-ecd4148b8f5c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_ae9fd5e7-8741-dfbd-241e-1460ec6c786e" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_16ce0436-3b82-55c5-d896-5cba4c9023bd" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ae9fd5e7-8741-dfbd-241e-1460ec6c786e" xlink:to="loc_us-gaap_Liabilities_16ce0436-3b82-55c5-d896-5cba4c9023bd" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_a7bb915d-e645-20d7-7b2e-623731454f45" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ae9fd5e7-8741-dfbd-241e-1460ec6c786e" xlink:to="loc_us-gaap_CommitmentsAndContingencies_a7bb915d-e645-20d7-7b2e-623731454f45" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0238306b-d9b2-65ce-a791-9c164638ef5a" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_ae9fd5e7-8741-dfbd-241e-1460ec6c786e" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0238306b-d9b2-65ce-a791-9c164638ef5a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_26e56c7a-24ab-e869-809a-0509ccbe86d9" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0238306b-d9b2-65ce-a791-9c164638ef5a" xlink:to="loc_us-gaap_StockholdersEquity_26e56c7a-24ab-e869-809a-0509ccbe86d9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinorityInterestInJointVentures" xlink:label="loc_us-gaap_MinorityInterestInJointVentures_57ffc646-1ea1-8f72-1acf-2951655df1b4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0238306b-d9b2-65ce-a791-9c164638ef5a" xlink:to="loc_us-gaap_MinorityInterestInJointVentures_57ffc646-1ea1-8f72-1acf-2951655df1b4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_b517a4f1-4597-b094-2608-75af660328e1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b517a4f1-4597-b094-2608-75af660328e1" xlink:to="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_999960f8-6702-f7e9-88df-fcb8021751b2" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_999960f8-6702-f7e9-88df-fcb8021751b2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_dc301a2a-78b3-2f7c-72b2-6d5ec18f9327" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_dc301a2a-78b3-2f7c-72b2-6d5ec18f9327" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear" xlink:label="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear_a6111c93-6a2d-04cc-582c-c268e2ba993e" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:to="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear_a6111c93-6a2d-04cc-582c-c268e2ba993e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_a00a52e0-8d97-7156-7079-2c628ca1666f" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:to="loc_us-gaap_InventoryNet_a00a52e0-8d97-7156-7079-2c628ca1666f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="loc_us-gaap_IncomeTaxesReceivable_b55f8997-2ee7-02b3-cb5b-06e177e6e17d" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:to="loc_us-gaap_IncomeTaxesReceivable_b55f8997-2ee7-02b3-cb5b-06e177e6e17d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsNetCurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsNetCurrent_963972b6-b12a-c8bc-5df9-cadb35399122" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:to="loc_us-gaap_DeferredTaxAssetsNetCurrent_963972b6-b12a-c8bc-5df9-cadb35399122" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_14f3514d-b887-3e26-e467-f2a9d9f3f19e" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_67f49e84-05fd-4b0b-ae5a-e9913b97cea2" xlink:to="loc_us-gaap_OtherAssetsCurrent_14f3514d-b887-3e26-e467-f2a9d9f3f19e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_a1eaafaf-055b-e423-85ef-4424fb2ef4e4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b517a4f1-4597-b094-2608-75af660328e1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_a1eaafaf-055b-e423-85ef-4424fb2ef4e4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_c4121e9a-097d-7136-dbac-b93469330286" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_a1eaafaf-055b-e423-85ef-4424fb2ef4e4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_c4121e9a-097d-7136-dbac-b93469330286" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LandBuildingsAndImprovementsGross" xlink:label="loc_mtrx_LandBuildingsAndImprovementsGross_72044322-01ed-60fa-a8de-c501680c0fd3" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_c4121e9a-097d-7136-dbac-b93469330286" xlink:to="loc_mtrx_LandBuildingsAndImprovementsGross_72044322-01ed-60fa-a8de-c501680c0fd3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MachineryAndEquipmentGross" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_9776c06d-1f02-6437-69bc-75a10eb689a4" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_c4121e9a-097d-7136-dbac-b93469330286" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_9776c06d-1f02-6437-69bc-75a10eb689a4" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_TransportationEquipmentGross" xlink:label="loc_mtrx_TransportationEquipmentGross_bdc76af7-cff7-42aa-877c-cd0b76a82840" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_c4121e9a-097d-7136-dbac-b93469330286" xlink:to="loc_mtrx_TransportationEquipmentGross_bdc76af7-cff7-42aa-877c-cd0b76a82840" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConstructionInProgressGross" xlink:label="loc_us-gaap_ConstructionInProgressGross_b5800734-857e-5f65-556e-82ea4f88375f" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_c4121e9a-097d-7136-dbac-b93469330286" xlink:to="loc_us-gaap_ConstructionInProgressGross_b5800734-857e-5f65-556e-82ea4f88375f" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_OfficeEquipmentAndCapitalizedComputerSoftwareGross" xlink:label="loc_mtrx_OfficeEquipmentAndCapitalizedComputerSoftwareGross_848ad8c8-9e6c-61d6-3af9-c501680c1192" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_c4121e9a-097d-7136-dbac-b93469330286" xlink:to="loc_mtrx_OfficeEquipmentAndCapitalizedComputerSoftwareGross_848ad8c8-9e6c-61d6-3af9-c501680c1192" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_2c0591e3-817a-5563-df1e-5c3ede33266d" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_a1eaafaf-055b-e423-85ef-4424fb2ef4e4" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_2c0591e3-817a-5563-df1e-5c3ede33266d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_d1288432-0516-3188-e96b-2bc623375a5a" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b517a4f1-4597-b094-2608-75af660328e1" xlink:to="loc_us-gaap_Goodwill_d1288432-0516-3188-e96b-2bc623375a5a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_32ecd7de-6410-d56f-5547-ab1b682ebbc0" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b517a4f1-4597-b094-2608-75af660328e1" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_32ecd7de-6410-d56f-5547-ab1b682ebbc0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_4599c23a-11f0-4277-ea32-9886d26f8792" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b517a4f1-4597-b094-2608-75af660328e1" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_4599c23a-11f0-4277-ea32-9886d26f8792" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_46b895b2-8ff5-9e37-d4c3-5b75649cbcba" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_21149c4c-60e9-1f3a-82d3-665a83a5c4f2" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_46b895b2-8ff5-9e37-d4c3-5b75649cbcba" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_21149c4c-60e9-1f3a-82d3-665a83a5c4f2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_46b895b2-8ff5-9e37-d4c3-5b75649cbcba" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromMinorityShareholders" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_64344255-a8a3-d47e-2e3c-96d728a2423c" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_64344255-a8a3-d47e-2e3c-96d728a2423c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_29d765d3-9bf3-69a0-f67a-85487c765b79" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_29d765d3-9bf3-69a0-f67a-85487c765b79" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RepaymentsOfLongTermCapitalLeaseObligations" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_df72e954-88d7-e3c0-b2e2-1af33eeb6239" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_df72e954-88d7-e3c0-b2e2-1af33eeb6239" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_f2f70b98-dc3e-2bfa-ea39-be3a734476b9" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_f2f70b98-dc3e-2bfa-ea39-be3a734476b9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_b5a6c95e-5e73-5e4d-9c67-665fb27c338e" xlink:type="locator" />
    <calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_b5a6c95e-5e73-5e4d-9c67-665fb27c338e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_9e5484cd-8eeb-f906-2a82-95e418e07947" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_9e5484cd-8eeb-f906-2a82-95e418e07947" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromStockPlans" xlink:label="loc_us-gaap_ProceedsFromStockPlans_eb12878e-b0da-8a48-b2ea-2b1a5e9382d7" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_ProceedsFromStockPlans_eb12878e-b0da-8a48-b2ea-2b1a5e9382d7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsForRepurchaseOfOtherEquity" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_71e08bf9-4556-c721-0acd-2d0317e803ff" xlink:type="locator" />
    <calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_71e08bf9-4556-c721-0acd-2d0317e803ff" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_ee47d552-203e-78c0-8311-4edd8bb43205" xlink:type="locator" />
    <calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_ee47d552-203e-78c0-8311-4edd8bb43205" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_e05c93de-ceda-347d-7f75-027b6aa7ed3e" xlink:type="locator" />
    <calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6d7b73b6-0db7-23f7-377e-417fa8fc8e27" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_e05c93de-ceda-347d-7f75-027b6aa7ed3e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_46b895b2-8ff5-9e37-d4c3-5b75649cbcba" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_DeferredIncomeTaxExpenseBenefitSocf" xlink:label="loc_mtrx_DeferredIncomeTaxExpenseBenefitSocf_c54561d9-5145-d004-315d-c50167c6a3a8" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_mtrx_DeferredIncomeTaxExpenseBenefitSocf_c54561d9-5145-d004-315d-c50167c6a3a8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_76f611bf-6cac-2837-6d7c-3028d488fc3b" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_76f611bf-6cac-2837-6d7c-3028d488fc3b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_f5bd4a60-d3d0-3020-79b0-0aaf08ea7fa1" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_f5bd4a60-d3d0-3020-79b0-0aaf08ea7fa1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_066c5327-a2bd-1e65-f437-dc52fde39187" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_066c5327-a2bd-1e65-f437-dc52fde39187" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_aa7a0bc5-86c6-13a8-3676-9960bad8007f" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_ShareBasedCompensation_aa7a0bc5-86c6-13a8-3676-9960bad8007f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_98d55fce-5941-51e9-8b41-6d9bb1d46d8b" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_98d55fce-5941-51e9-8b41-6d9bb1d46d8b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_7af8c3cd-de8c-3d70-c017-7b54f4e9ba21" xlink:type="locator" />
    <calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_7af8c3cd-de8c-3d70-c017-7b54f4e9ba21" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_fc73bf45-b7cf-c894-bf3a-f56c9d39cbe4" xlink:type="locator" />
    <calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_fc73bf45-b7cf-c894-bf3a-f56c9d39cbe4" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IncreaseDecreaseInCostsAndEstimatedEarningsInExcessOfBillingsOnUncompletedContracts" xlink:label="loc_mtrx_IncreaseDecreaseInCostsAndEstimatedEarningsInExcessOfBillingsOnUncompletedContracts_b0c20ffa-7d0e-827f-4a87-c50168d4c782" xlink:type="locator" />
    <calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_mtrx_IncreaseDecreaseInCostsAndEstimatedEarningsInExcessOfBillingsOnUncompletedContracts_b0c20ffa-7d0e-827f-4a87-c50168d4c782" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_d2a8fa0f-43df-513c-7a7b-93e04034bb1e" xlink:type="locator" />
    <calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_d2a8fa0f-43df-513c-7a7b-93e04034bb1e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_dd041a01-1df8-a5e2-f301-eb34433bea02" xlink:type="locator" />
    <calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_dd041a01-1df8-a5e2-f301-eb34433bea02" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_b9fb8522-752c-3209-8cca-60e64f420ad5" xlink:type="locator" />
    <calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_b9fb8522-752c-3209-8cca-60e64f420ad5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInBillingInExcessOfCostOfEarnings" xlink:label="loc_us-gaap_IncreaseDecreaseInBillingInExcessOfCostOfEarnings_31ce0625-5e4e-223f-7ce8-2c70523f00f9" xlink:type="locator" />
    <calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_IncreaseDecreaseInBillingInExcessOfCostOfEarnings_31ce0625-5e4e-223f-7ce8-2c70523f00f9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_5cb9a7e8-dd26-27c7-9313-c478703eadea" xlink:type="locator" />
    <calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_5cb9a7e8-dd26-27c7-9313-c478703eadea" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_1fe0fa59-4035-c4cd-e706-34860acd8667" xlink:type="locator" />
    <calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_1fe0fa59-4035-c4cd-e706-34860acd8667" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_25c27778-3634-0405-2ad7-97f542e360cf" xlink:type="locator" />
    <calculationArc order="16" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b6b5c2f7-2ab7-a264-6d06-119dda52768c" xlink:to="loc_us-gaap_ProfitLoss_25c27778-3634-0405-2ad7-97f542e360cf" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fb013d5f-7e0c-1a40-5a42-42bd8c3a1d51" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_46b895b2-8ff5-9e37-d4c3-5b75649cbcba" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fb013d5f-7e0c-1a40-5a42-42bd8c3a1d51" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_37181af6-e562-cefc-f2b6-8490ea2c3e04" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fb013d5f-7e0c-1a40-5a42-42bd8c3a1d51" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_37181af6-e562-cefc-f2b6-8490ea2c3e04" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement" xlink:label="loc_mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement_7577d751-235e-1e9b-342b-cd0b7694cc57" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fb013d5f-7e0c-1a40-5a42-42bd8c3a1d51" xlink:to="loc_mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement_7577d751-235e-1e9b-342b-cd0b7694cc57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_a24a30ba-105c-ba89-bd21-317325f7f706" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fb013d5f-7e0c-1a40-5a42-42bd8c3a1d51" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_a24a30ba-105c-ba89-bd21-317325f7f706" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_d07148ef-7d32-9c78-2111-e77f98145cb0" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fb013d5f-7e0c-1a40-5a42-42bd8c3a1d51" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_d07148ef-7d32-9c78-2111-e77f98145cb0" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_375e0d17-4818-4239-a370-aada0b6ca8eb" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_e60ce6f6-99c9-966b-fd6a-aa6bbb9e1d29" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_375e0d17-4818-4239-a370-aada0b6ca8eb" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_e60ce6f6-99c9-966b-fd6a-aa6bbb9e1d29" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_25c27778-3634-0405-2ad7-97f542e360cf" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_e60ce6f6-99c9-966b-fd6a-aa6bbb9e1d29" xlink:to="loc_us-gaap_ProfitLoss_25c27778-3634-0405-2ad7-97f542e360cf" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_7fd63b12-05a5-a417-a943-a2dd6e58d717" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_e60ce6f6-99c9-966b-fd6a-aa6bbb9e1d29" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_7fd63b12-05a5-a417-a943-a2dd6e58d717" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_cbba277b-de6d-ba1c-e7dd-3f818dbec387" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_375e0d17-4818-4239-a370-aada0b6ca8eb" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_cbba277b-de6d-ba1c-e7dd-3f818dbec387" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_faecc408-4bea-6e13-83bd-71b4c2ddf64c" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_25c27778-3634-0405-2ad7-97f542e360cf" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_faecc408-4bea-6e13-83bd-71b4c2ddf64c" xlink:to="loc_us-gaap_ProfitLoss_25c27778-3634-0405-2ad7-97f542e360cf" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_25c27778-3634-0405-2ad7-97f542e360cf" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_72b2c986-6e1a-bdde-cc72-888b0df562b9" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:to="loc_us-gaap_OperatingIncomeLoss_72b2c986-6e1a-bdde-cc72-888b0df562b9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_77a77c8a-8a13-919c-6d50-d35f60384ab0" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_72b2c986-6e1a-bdde-cc72-888b0df562b9" xlink:to="loc_us-gaap_GrossProfit_77a77c8a-8a13-919c-6d50-d35f60384ab0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_467b5ef7-2b02-661a-3e41-f79140739819" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_77a77c8a-8a13-919c-6d50-d35f60384ab0" xlink:to="loc_us-gaap_Revenues_467b5ef7-2b02-661a-3e41-f79140739819" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CostOfServices" xlink:label="loc_us-gaap_CostOfServices_a6952e48-bc96-ff61-82b1-8e883f0735ee" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_77a77c8a-8a13-919c-6d50-d35f60384ab0" xlink:to="loc_us-gaap_CostOfServices_a6952e48-bc96-ff61-82b1-8e883f0735ee" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_581512af-7ae6-1b38-5ef5-f123bd81ccb9" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_72b2c986-6e1a-bdde-cc72-888b0df562b9" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_581512af-7ae6-1b38-5ef5-f123bd81ccb9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_cefe1779-647b-11ee-28a9-2740d86c056b" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:to="loc_us-gaap_InterestExpense_cefe1779-647b-11ee-28a9-2740d86c056b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_a24d82ba-62b0-7744-0b3a-f37dbe668bee" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:to="loc_us-gaap_InvestmentIncomeInterest_a24d82ba-62b0-7744-0b3a-f37dbe668bee" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_27b74f5e-bc16-8d0b-2d8b-f8fb77af5bf6" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_27b74f5e-bc16-8d0b-2d8b-f8fb77af5bf6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_25c27778-3634-0405-2ad7-97f542e360cf" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_432e9926-335c-2ed5-af4e-1b628e023987" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_faecc408-4bea-6e13-83bd-71b4c2ddf64c" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_432e9926-335c-2ed5-af4e-1b628e023987" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfIncomeCalc2" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/Contingencies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ContingenciesDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContracts" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsDetails" xlink:type="extended">
    <loc xlink:href="mtrx-20150630.xsd#mtrx_UncompletedContractsNet" xlink:label="loc_mtrx_UncompletedContractsNet_9fa7b39a-b31b-6ab1-9610-cd0b769463cd" xlink:type="locator" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_UncompletedContractsBillings" xlink:label="loc_mtrx_UncompletedContractsBillings_4ef9730a-0ba7-0684-b670-cd0b76946f6f" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mtrx_UncompletedContractsNet_9fa7b39a-b31b-6ab1-9610-cd0b769463cd" xlink:to="loc_mtrx_UncompletedContractsBillings_4ef9730a-0ba7-0684-b670-cd0b76946f6f" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_UncompletedContractsCostsIncurredAndEstimatedEarningsRecognized" xlink:label="loc_mtrx_UncompletedContractsCostsIncurredAndEstimatedEarningsRecognized_588bd486-8161-954f-9fa3-cd0b76c68b19" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mtrx_UncompletedContractsNet_9fa7b39a-b31b-6ab1-9610-cd0b769463cd" xlink:to="loc_mtrx_UncompletedContractsCostsIncurredAndEstimatedEarningsRecognized_588bd486-8161-954f-9fa3-cd0b76c68b19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrPrograms" xlink:label="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrPrograms_e02da637-d060-f0ab-2ff8-daac7987469d" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear" xlink:label="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear_a6111c93-6a2d-04cc-582c-c268e2ba993e" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrPrograms_e02da637-d060-f0ab-2ff8-daac7987469d" xlink:to="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear_a6111c93-6a2d-04cc-582c-c268e2ba993e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BillingsInExcessOfCost" xlink:label="loc_us-gaap_BillingsInExcessOfCost_8a258e17-8f64-d2ad-17fb-09761334b098" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrPrograms_e02da637-d060-f0ab-2ff8-daac7987469d" xlink:to="loc_us-gaap_BillingsInExcessOfCost_8a258e17-8f64-d2ad-17fb-09761334b098" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/Debt" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/DebtDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_ef77fe91-0e40-f186-5358-d46c4d87e989" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaap_LineOfCredit_14a12e4b-d7ba-bcd4-4a5a-63c4156451a8" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_ef77fe91-0e40-f186-5358-d46c4d87e989" xlink:to="loc_us-gaap_LineOfCredit_14a12e4b-d7ba-bcd4-4a5a-63c4156451a8" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LettersOfCreditIssued" xlink:label="loc_mtrx_LettersOfCreditIssued_ab70f482-41b1-0c5e-958e-c501680227fd" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_ef77fe91-0e40-f186-5358-d46c4d87e989" xlink:to="loc_mtrx_LettersOfCreditIssued_ab70f482-41b1-0c5e-958e-c501680227fd" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_b601b8a8-330e-97e8-1ab2-76f9f444bc24" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_ef77fe91-0e40-f186-5358-d46c4d87e989" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_b601b8a8-330e-97e8-1ab2-76f9f444bc24" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/DebtDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/DebtTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShare" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_72491ff2-4ebf-cd12-4650-465a32156ef1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0f40104d-c144-6dd5-056b-98f95661c23e" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_72491ff2-4ebf-cd12-4650-465a32156ef1" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0f40104d-c144-6dd5-056b-98f95661c23e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_9f5e56ff-4bcb-0366-e02d-528f3927d0cf" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_72491ff2-4ebf-cd12-4650-465a32156ef1" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_9f5e56ff-4bcb-0366-e02d-528f3927d0cf" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_59f8a7e4-cd65-801f-d431-be02e2a78c37" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_72491ff2-4ebf-cd12-4650-465a32156ef1" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_59f8a7e4-cd65-801f-d431-be02e2a78c37" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails1" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlans" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssets" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_283368b3-486d-3829-d3e1-812e3b2045be" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_283368b3-486d-3829-d3e1-812e3b2045be" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_42b85d66-347c-1d04-e532-6585df9e0ef3" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_42b85d66-347c-1d04-e532-6585df9e0ef3" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_9a0e4a59-da9a-e003-e59d-a4bca553e4e1" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_9a0e4a59-da9a-e003-e59d-a4bca553e4e1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_39b73fc1-068f-1f24-eb8a-6bd6e66228a7" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_39b73fc1-068f-1f24-eb8a-6bd6e66228a7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_75d6e205-51a2-df5c-8716-074fd2fa97ea" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_75d6e205-51a2-df5c-8716-074fd2fa97ea" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_34afc9e8-20b4-4de9-2358-e1151abfab69" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_34afc9e8-20b4-4de9-2358-e1151abfab69" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_3fe538bc-8021-86e4-382f-d1e92244d92f" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_3fe538bc-8021-86e4-382f-d1e92244d92f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_8d1e5420-7495-1a55-8fee-b3d5bf5e19ca" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e5eebb39-2b5a-2098-5917-f925f42760f7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_8d1e5420-7495-1a55-8fee-b3d5bf5e19ca" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxes" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_eea57891-f607-5b28-a756-df900911dbd4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_eea57891-f607-5b28-a756-df900911dbd4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_dcd659e9-61ff-8872-b615-3d72e3ebdd98" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cc64ed8f-51e0-4a92-b0c8-acb3ad13358b" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_dcd659e9-61ff-8872-b615-3d72e3ebdd98" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7d4743a7-a426-b8b2-fcc2-087bba00f6ec" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7d4743a7-a426-b8b2-fcc2-087bba00f6ec" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_4dddfa2f-6282-38c6-bdbf-9114799d60c9" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7d4743a7-a426-b8b2-fcc2-087bba00f6ec" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_4dddfa2f-6282-38c6-bdbf-9114799d60c9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_564dd168-0a47-eba4-b7fa-9c9d2cfaa50b" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7d4743a7-a426-b8b2-fcc2-087bba00f6ec" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_564dd168-0a47-eba4-b7fa-9c9d2cfaa50b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_b3b75d43-7495-d6aa-0b2e-36e4d4f2a474" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7d4743a7-a426-b8b2-fcc2-087bba00f6ec" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_b3b75d43-7495-d6aa-0b2e-36e4d4f2a474" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_b14e4ab6-e003-13d4-eacd-26899afc8b93" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_b14e4ab6-e003-13d4-eacd-26899afc8b93" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_b9c24228-fc43-670a-14c5-4352fd4c579b" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_b14e4ab6-e003-13d4-eacd-26899afc8b93" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_b9c24228-fc43-670a-14c5-4352fd4c579b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_b2de2cac-ff27-f90e-437f-9c4f22bc96d6" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_b14e4ab6-e003-13d4-eacd-26899afc8b93" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_b2de2cac-ff27-f90e-437f-9c4f22bc96d6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_f5bd17ac-2791-de57-2432-e3208e8abd9c" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_b14e4ab6-e003-13d4-eacd-26899afc8b93" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_f5bd17ac-2791-de57-2432-e3208e8abd9c" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_6ddabc60-b949-830f-ceec-3c3166ee4678" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_6ddabc60-b949-830f-ceec-3c3166ee4678" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_0556a7cc-961f-2ff0-910e-be7cf7428833" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_0556a7cc-961f-2ff0-910e-be7cf7428833" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IncomeTaxReconciliationChargesWithoutTaxBenefit" xlink:label="loc_mtrx_IncomeTaxReconciliationChargesWithoutTaxBenefit_b6b8f406-a7be-2ba6-ddbe-c5016744cf09" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_mtrx_IncomeTaxReconciliationChargesWithoutTaxBenefit_b6b8f406-a7be-2ba6-ddbe-c5016744cf09" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_98c96f59-a5e7-5cf9-49f0-76a97dacee60" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_98c96f59-a5e7-5cf9-49f0-76a97dacee60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxReconciliationDeductionsQualifiedProductionActivities" xlink:label="loc_us-gaap_IncomeTaxReconciliationDeductionsQualifiedProductionActivities_87344b94-89d6-e133-ebfd-65770bfdceb1" xlink:type="locator" />
    <calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_IncomeTaxReconciliationDeductionsQualifiedProductionActivities_87344b94-89d6-e133-ebfd-65770bfdceb1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_97197894-8a5f-31b0-a37d-05c54140608d" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_97197894-8a5f-31b0-a37d-05c54140608d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_e30b70a0-da01-4233-8d3f-e4c23cbbbd33" xlink:type="locator" />
    <calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_e30b70a0-da01-4233-8d3f-e4c23cbbbd33" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_1dfd4cb0-12c9-60ef-4e8f-faef112ad93a" xlink:type="locator" />
    <calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_1dfd4cb0-12c9-60ef-4e8f-faef112ad93a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxReconciliationMinorityInterestIncomeExpense" xlink:label="loc_us-gaap_IncomeTaxReconciliationMinorityInterestIncomeExpense_dd6225ed-b567-2403-af25-5619dc34c4e3" xlink:type="locator" />
    <calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_us-gaap_IncomeTaxReconciliationMinorityInterestIncomeExpense_dd6225ed-b567-2403-af25-5619dc34c4e3" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IncomeTaxReconciliationCumulativeNonDeductibleExpenses" xlink:label="loc_mtrx_IncomeTaxReconciliationCumulativeNonDeductibleExpenses_7b1c5a5f-4e05-37e1-2fa5-c501673a5316" xlink:type="locator" />
    <calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3a83e980-c99b-5657-79fd-300643b7fa11" xlink:to="loc_mtrx_IncomeTaxReconciliationCumulativeNonDeductibleExpenses_7b1c5a5f-4e05-37e1-2fa5-c501673a5316" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails3" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_406aac40-50cd-6dac-9616-1ad8d5e1be85" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_406aac40-50cd-6dac-9616-1ad8d5e1be85" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_bf1227e7-a824-5eb4-2604-9b1ba3757c7b" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_bf1227e7-a824-5eb4-2604-9b1ba3757c7b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences_dd205d7e-0c1e-c858-5ed0-2b856ac05833" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsCompensatedAbsences_dd205d7e-0c1e-c858-5ed0-2b856ac05833" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_DeferredTaxAssetsInsuranceReserve" xlink:label="loc_mtrx_DeferredTaxAssetsInsuranceReserve_7cdbc2b3-6ca3-561a-3214-c50168162280" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_mtrx_DeferredTaxAssetsInsuranceReserve_7cdbc2b3-6ca3-561a-3214-c50168162280" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalSettlements" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalSettlements_df08a7fc-e4f4-e1e8-0029-a2821a2a8aea" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalSettlements_df08a7fc-e4f4-e1e8-0029-a2821a2a8aea" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_38ff5a6e-12a8-f8a7-dc1c-73a01b2e8cb3" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_38ff5a6e-12a8-f8a7-dc1c-73a01b2e8cb3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_9afa727c-dfb8-5804-93fa-f0667d5fb87b" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_9afa727c-dfb8-5804-93fa-f0667d5fb87b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions_3c6b3ff2-588a-23d3-a26c-32d466bf7b94" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensions_3c6b3ff2-588a-23d3-a26c-32d466bf7b94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_772f9e14-fdcf-0b3c-d185-e9c8ad74796e" xlink:type="locator" />
    <calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_772f9e14-fdcf-0b3c-d185-e9c8ad74796e" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_DeferredTaxAssetsAccruedLosses" xlink:label="loc_mtrx_DeferredTaxAssetsAccruedLosses_cd40a0b8-f1de-75ae-3a73-c5016744fa17" xlink:type="locator" />
    <calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_mtrx_DeferredTaxAssetsAccruedLosses_cd40a0b8-f1de-75ae-3a73-c5016744fa17" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_a52f840f-bf1f-9973-7bec-feb61e7fa225" xlink:type="locator" />
    <calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_a52f840f-bf1f-9973-7bec-feb61e7fa225" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves_738cedef-580a-6466-d551-1a30ca786d56" xlink:type="locator" />
    <calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_4c447841-8fe7-39fb-b3f1-0ad85920e353" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves_738cedef-580a-6466-d551-1a30ca786d56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_576d5a77-ba10-3881-36d9-b5e9bdaefd1b" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_406aac40-50cd-6dac-9616-1ad8d5e1be85" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_576d5a77-ba10-3881-36d9-b5e9bdaefd1b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_9606c73c-efc0-b625-54e8-152a5208656a" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_576d5a77-ba10-3881-36d9-b5e9bdaefd1b" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_9606c73c-efc0-b625-54e8-152a5208656a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_e07dd62a-484c-2ba8-50aa-6828f8acde30" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_576d5a77-ba10-3881-36d9-b5e9bdaefd1b" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_e07dd62a-484c-2ba8-50aa-6828f8acde30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_68efb214-0e93-8291-d4c6-0a3d7fb0621a" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_576d5a77-ba10-3881-36d9-b5e9bdaefd1b" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_68efb214-0e93-8291-d4c6-0a3d7fb0621a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_03f21f85-f3db-d88a-4ae2-531e9e31ba53" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_576d5a77-ba10-3881-36d9-b5e9bdaefd1b" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_03f21f85-f3db-d88a-4ae2-531e9e31ba53" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails4" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="loc_us-gaap_DeferredTaxLiabilities_c43448c4-6b4c-56ea-f479-78cea348bda4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsGrossNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_c217c8ee-7115-2405-024f-f66fca52f4d7" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_c43448c4-6b4c-56ea-f479-78cea348bda4" xlink:to="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_c217c8ee-7115-2405-024f-f66fca52f4d7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGrossCurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGrossCurrent_e3ac69b8-ba0b-d9b2-34f8-fd4cd86c989b" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_c43448c4-6b4c-56ea-f479-78cea348bda4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGrossCurrent_e3ac69b8-ba0b-d9b2-34f8-fd4cd86c989b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGrossNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_75f2764d-fab7-4427-5f4b-0e9a7bdc9ef9" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_c43448c4-6b4c-56ea-f479-78cea348bda4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_75f2764d-fab7-4427-5f4b-0e9a7bdc9ef9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsGrossCurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsGrossCurrent_c829765a-3097-5940-19de-af38d03c2d62" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_c43448c4-6b4c-56ea-f479-78cea348bda4" xlink:to="loc_us-gaap_DeferredTaxAssetsGrossCurrent_c829765a-3097-5940-19de-af38d03c2d62" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/OperatingLeases" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/OperatingLeasesDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetails1" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails1" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails2" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails3" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockholdersEquity" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/StockholdersEquityDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccounts" xlink:type="extended" />
  <calculationLink xlink:role="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccountsDetails" xlink:type="extended" />
</linkbase>
