| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<!-- XBRL Document Created with Wdesk from Workiva --> |
<!-- Copyright 2022 Workiva --> |
<!-- r:83ee4c56-3b60-40cc-aab0-3e576648abb6,g:10d5ca20-9ea3-4d24-8ebb-f0101a2a0fd4 --> |
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsofIncome" xlink:type="simple" xlink:href="mtrx-20220930.xsd#CondensedConsolidatedStatementsofIncome"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsofIncome" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_4a2b8c2c-5e98-4509-a8d4-caf73a273e95" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GrossProfit"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_914fd271-622d-4b8d-8922-224298c4d6d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_4a2b8c2c-5e98-4509-a8d4-caf73a273e95" xlink:to="loc_us-gaap_Revenues_914fd271-622d-4b8d-8922-224298c4d6d0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_c0e47e6a-15d8-461e-afe7-0719b77fae1d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfGoodsAndServicesSold"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_4a2b8c2c-5e98-4509-a8d4-caf73a273e95" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_c0e47e6a-15d8-461e-afe7-0719b77fae1d" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_e00ba1c8-30db-4f2e-9c6d-6514bf99cd37" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a7a0bde0-a12f-43f7-ba14-7ed1ae53b3f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_e00ba1c8-30db-4f2e-9c6d-6514bf99cd37" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a7a0bde0-a12f-43f7-ba14-7ed1ae53b3f6" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_41eff4e4-0ae0-4cf9-b567-97e8a29e7578" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_e00ba1c8-30db-4f2e-9c6d-6514bf99cd37" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_41eff4e4-0ae0-4cf9-b567-97e8a29e7578" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d5d1cf89-885a-4e99-ac84-9d87eb58fed9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_0852f7a1-7dcc-409d-be7c-ad1d8592f727" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GrossProfit"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_d5d1cf89-885a-4e99-ac84-9d87eb58fed9" xlink:to="loc_us-gaap_GrossProfit_0852f7a1-7dcc-409d-be7c-ad1d8592f727" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_0d0b9d06-f3c6-4ec8-bfdd-0b8d3ea16e4a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_d5d1cf89-885a-4e99-ac84-9d87eb58fed9" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_0d0b9d06-f3c6-4ec8-bfdd-0b8d3ea16e4a" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_21df4177-7446-42d4-b2be-9bcee5c8425d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/> |
| | <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_d5d1cf89-885a-4e99-ac84-9d87eb58fed9" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_21df4177-7446-42d4-b2be-9bcee5c8425d" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_4b9a01e3-1505-49ea-869a-26f933f54d42" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringCharges"/> |
| | <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_d5d1cf89-885a-4e99-ac84-9d87eb58fed9" xlink:to="loc_us-gaap_RestructuringCharges_4b9a01e3-1505-49ea-869a-26f933f54d42" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9722d69b-adac-46b2-b3ba-6adb9803cdac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_54abb255-d763-4b8a-9ed7-1fb78c695c30" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9722d69b-adac-46b2-b3ba-6adb9803cdac" xlink:to="loc_us-gaap_OperatingIncomeLoss_54abb255-d763-4b8a-9ed7-1fb78c695c30" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_ddc8965a-36e0-40b0-9005-f8b350acbd98" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpense"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9722d69b-adac-46b2-b3ba-6adb9803cdac" xlink:to="loc_us-gaap_InterestExpense_ddc8965a-36e0-40b0-9005-f8b350acbd98" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_9a328002-9aa4-419f-ba2d-6d32f6fe6d16" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeInterest"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9722d69b-adac-46b2-b3ba-6adb9803cdac" xlink:to="loc_us-gaap_InvestmentIncomeInterest_9a328002-9aa4-419f-ba2d-6d32f6fe6d16" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_b767a692-d9e7-4c1c-ba6c-ea2b634ac6cd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNonoperatingIncomeExpense"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9722d69b-adac-46b2-b3ba-6adb9803cdac" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_b767a692-d9e7-4c1c-ba6c-ea2b634ac6cd" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="mtrx-20220930.xsd#CondensedConsolidatedStatementsofComprehensiveIncome"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsofComprehensiveIncome" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_b7f8fad9-ab93-4fab-ab8f-36ec2ad04340" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_9ddc5395-3b4a-4b28-8b43-eefb607269f9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_b7f8fad9-ab93-4fab-ab8f-36ec2ad04340" xlink:to="loc_us-gaap_ProfitLoss_9ddc5395-3b4a-4b28-8b43-eefb607269f9" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_135ee9c4-7739-42b8-a07a-862ef3f67068" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_b7f8fad9-ab93-4fab-ab8f-36ec2ad04340" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_135ee9c4-7739-42b8-a07a-862ef3f67068" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="mtrx-20220930.xsd#CondensedConsolidatedBalanceSheets"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_4689dda9-cd08-4d15-9e8b-2b2a6f51892c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_18216fd8-929e-4a16-9190-9fb71b904202" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4689dda9-cd08-4d15-9e8b-2b2a6f51892c" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_18216fd8-929e-4a16-9190-9fb71b904202" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_98ed8334-3848-4378-84c5-fe3b5d5c0b7f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsReceivableNetCurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4689dda9-cd08-4d15-9e8b-2b2a6f51892c" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_98ed8334-3848-4378-84c5-fe3b5d5c0b7f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_cba0e322-b8aa-4008-b90b-7a91bdb0ab2b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4689dda9-cd08-4d15-9e8b-2b2a6f51892c" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_cba0e322-b8aa-4008-b90b-7a91bdb0ab2b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_08d6ad32-186a-48eb-98df-5a2b944dbdfe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNet"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4689dda9-cd08-4d15-9e8b-2b2a6f51892c" xlink:to="loc_us-gaap_InventoryNet_08d6ad32-186a-48eb-98df-5a2b944dbdfe" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivable_012fc1f6-05fa-4090-a2a0-aa9b85d6c561" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxesReceivable"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4689dda9-cd08-4d15-9e8b-2b2a6f51892c" xlink:to="loc_us-gaap_IncomeTaxesReceivable_012fc1f6-05fa-4090-a2a0-aa9b85d6c561" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_06fdbce8-2b79-4929-8d1d-b84f3cb09ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PrepaidExpenseCurrent"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4689dda9-cd08-4d15-9e8b-2b2a6f51892c" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_06fdbce8-2b79-4929-8d1d-b84f3cb09ff2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_4b9dff67-27e7-4f6d-a4b8-8ef4d2683b01" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsCurrent"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4689dda9-cd08-4d15-9e8b-2b2a6f51892c" xlink:to="loc_us-gaap_OtherAssetsCurrent_4b9dff67-27e7-4f6d-a4b8-8ef4d2683b01" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_bef421e0-557c-41fb-baa4-9c49fabf20ec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_c1dc4306-bbc5-419e-a1a2-01223fc3bf3f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bef421e0-557c-41fb-baa4-9c49fabf20ec" xlink:to="loc_us-gaap_LiabilitiesCurrent_c1dc4306-bbc5-419e-a1a2-01223fc3bf3f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_f899f69e-189d-44e0-b720-b80ff4f2a930" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bef421e0-557c-41fb-baa4-9c49fabf20ec" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_f899f69e-189d-44e0-b720-b80ff4f2a930" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_333eb71d-cd1a-4d4a-a056-208cae56c299" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bef421e0-557c-41fb-baa4-9c49fabf20ec" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_333eb71d-cd1a-4d4a-a056-208cae56c299" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_b74eee80-78e6-4c2f-b863-a7dd33286fb2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCredit"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bef421e0-557c-41fb-baa4-9c49fabf20ec" xlink:to="loc_us-gaap_LineOfCredit_b74eee80-78e6-4c2f-b863-a7dd33286fb2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_ecb7e2db-ec78-48d4-b4aa-291d0c7c0357" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bef421e0-557c-41fb-baa4-9c49fabf20ec" xlink:to="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_ecb7e2db-ec78-48d4-b4aa-291d0c7c0357" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_7dfb5864-8c2b-47e5-95b3-356a75869034" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:to="loc_us-gaap_AssetsCurrent_7dfb5864-8c2b-47e5-95b3-356a75869034" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_3faa0997-6bb4-4f48-8a85-ffeecf750466" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_3faa0997-6bb4-4f48-8a85-ffeecf750466" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_e7912350-5bea-4aef-948d-f5444ccd985f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedCashNoncurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_e7912350-5bea-4aef-948d-f5444ccd985f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_cc39fa58-336c-4be2-9e95-e6f8826c2af5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_cc39fa58-336c-4be2-9e95-e6f8826c2af5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_3463c811-f6c2-40c1-9ecb-5b6982f09a49" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:to="loc_us-gaap_Goodwill_3463c811-f6c2-40c1-9ecb-5b6982f09a49" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_10a247ad-d651-4893-b62f-fd7f273f8ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_10a247ad-d651-4893-b62f-fd7f273f8ca7" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_1a15fa89-3fc3-4536-8668-14ba34e44273" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_1a15fa89-3fc3-4536-8668-14ba34e44273" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_7b436299-90c3-4e92-8bae-7e89deed65a9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsNoncurrent"/> |
| | <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3306ab7d-dfbd-4828-8daf-ca174082cb0d" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_7b436299-90c3-4e92-8bae-7e89deed65a9" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_fdaf8034-faf0-4c1b-b904-89691c6a0b39" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_900453a2-4a36-435d-acad-8f5e74270d44" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_fdaf8034-faf0-4c1b-b904-89691c6a0b39" xlink:to="loc_us-gaap_CommonStockValue_900453a2-4a36-435d-acad-8f5e74270d44" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_0d4b7c20-7a30-4542-89fa-a0fe6e045336" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapital"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_fdaf8034-faf0-4c1b-b904-89691c6a0b39" xlink:to="loc_us-gaap_AdditionalPaidInCapital_0d4b7c20-7a30-4542-89fa-a0fe6e045336" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_bd2364ac-1772-44c4-a78c-d7f01fe3861d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_fdaf8034-faf0-4c1b-b904-89691c6a0b39" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_bd2364ac-1772-44c4-a78c-d7f01fe3861d" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_d59144f0-bd5d-44ee-9c3e-d2485d771138" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_fdaf8034-faf0-4c1b-b904-89691c6a0b39" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_d59144f0-bd5d-44ee-9c3e-d2485d771138" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_cc1c9d30-455d-43ba-a8c0-9f184efeb7fc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_74f869cb-3ea9-4e40-a886-52a49eafd781" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_cc1c9d30-455d-43ba-a8c0-9f184efeb7fc" xlink:to="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_74f869cb-3ea9-4e40-a886-52a49eafd781" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_59dc9173-c7b8-4dab-aaf6-70cb32425043" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockValue"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_cc1c9d30-455d-43ba-a8c0-9f184efeb7fc" xlink:to="loc_us-gaap_TreasuryStockValue_59dc9173-c7b8-4dab-aaf6-70cb32425043" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_913394ee-2b3c-4e59-bb2e-b686191d9aaf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_f7af62ad-00af-4eed-8423-de11d33df066" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_913394ee-2b3c-4e59-bb2e-b686191d9aaf" xlink:to="loc_us-gaap_AccountsPayableCurrent_f7af62ad-00af-4eed-8423-de11d33df066" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_70c5b4f3-97ac-49b1-8d12-a29dd1059d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_913394ee-2b3c-4e59-bb2e-b686191d9aaf" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_70c5b4f3-97ac-49b1-8d12-a29dd1059d3e" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_26029bf2-08f5-404f-a5f0-134fed5eb3a5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_913394ee-2b3c-4e59-bb2e-b686191d9aaf" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_26029bf2-08f5-404f-a5f0-134fed5eb3a5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInsuranceCurrent_ea0fa8e8-b519-466b-a231-1d22b7055bb0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedInsuranceCurrent"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_913394ee-2b3c-4e59-bb2e-b686191d9aaf" xlink:to="loc_us-gaap_AccruedInsuranceCurrent_ea0fa8e8-b519-466b-a231-1d22b7055bb0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_a58a66e4-a50d-4ad4-95d4-8ec7f8a2268d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_913394ee-2b3c-4e59-bb2e-b686191d9aaf" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_a58a66e4-a50d-4ad4-95d4-8ec7f8a2268d" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_79452bfc-4f79-4796-9add-1cd321abbfc5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesCurrent"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_913394ee-2b3c-4e59-bb2e-b686191d9aaf" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_79452bfc-4f79-4796-9add-1cd321abbfc5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_5e49de56-e751-424b-8d8e-64e217537af3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_7a10ba02-bf2e-476f-9e97-e8b540eef27c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5e49de56-e751-424b-8d8e-64e217537af3" xlink:to="loc_us-gaap_Liabilities_7a10ba02-bf2e-476f-9e97-e8b540eef27c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_7568c78e-f152-4cd7-bfd0-cd4dcb4c03dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5e49de56-e751-424b-8d8e-64e217537af3" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_7568c78e-f152-4cd7-bfd0-cd4dcb4c03dc" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="mtrx-20220930.xsd#CondensedConsolidatedStatementsofCashFlows"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4bd63541-9de5-4e13-89a7-afa93bc9dcdf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_79e7ee54-dbf2-40ce-9186-d0d6d6dc5842" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4bd63541-9de5-4e13-89a7-afa93bc9dcdf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_79e7ee54-dbf2-40ce-9186-d0d6d6dc5842" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08eb7c04-357a-406c-984b-701318f4979c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4bd63541-9de5-4e13-89a7-afa93bc9dcdf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08eb7c04-357a-406c-984b-701318f4979c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4ac11f0f-e029-4187-ac34-126a70b1dce5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4bd63541-9de5-4e13-89a7-afa93bc9dcdf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4ac11f0f-e029-4187-ac34-126a70b1dce5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_3ca18a3a-8a77-4fd4-b3ba-b66da1d7e9b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4bd63541-9de5-4e13-89a7-afa93bc9dcdf" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_3ca18a3a-8a77-4fd4-b3ba-b66da1d7e9b6" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c2c609e1-d1bb-4ece-89f9-d10910dddf5b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_8f9b262e-910a-4cb3-81b2-13477f52b9b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/> |
| | <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c2c609e1-d1bb-4ece-89f9-d10910dddf5b" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_8f9b262e-910a-4cb3-81b2-13477f52b9b9" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_ac5817a9-46f6-4361-9d01-526f6069f800" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromStockPlans"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c2c609e1-d1bb-4ece-89f9-d10910dddf5b" xlink:to="loc_us-gaap_ProceedsFromStockPlans_ac5817a9-46f6-4361-9d01-526f6069f800" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_6ba4e7e4-c9a6-4247-96ef-491b3b32f384" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRepurchaseOfOtherEquity"/> |
| | <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c2c609e1-d1bb-4ece-89f9-d10910dddf5b" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_6ba4e7e4-c9a6-4247-96ef-491b3b32f384" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherDebt_4504a119-2910-4c90-8260-4329b8e107aa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfOtherDebt"/> |
| | <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c2c609e1-d1bb-4ece-89f9-d10910dddf5b" xlink:to="loc_us-gaap_RepaymentsOfOtherDebt_4504a119-2910-4c90-8260-4329b8e107aa" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_a33207e5-66b8-4ecf-8678-ca207e0847a3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromStockOptionsExercised"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c2c609e1-d1bb-4ece-89f9-d10910dddf5b" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_a33207e5-66b8-4ecf-8678-ca207e0847a3" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_2d2745ce-879e-4dca-8c10-3996a2346b42" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c2c609e1-d1bb-4ece-89f9-d10910dddf5b" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_2d2745ce-879e-4dca-8c10-3996a2346b42" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_6d10d9e0-4e9a-452d-9513-50a48a5ee638" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/> |
| | <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c2c609e1-d1bb-4ece-89f9-d10910dddf5b" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_6d10d9e0-4e9a-452d-9513-50a48a5ee638" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6699ad77-c32e-40a1-a7d3-5a2cfaa3aa3e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_f1680bd6-fd8f-470a-bf50-e22c2c231040" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/> |
| | <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6699ad77-c32e-40a1-a7d3-5a2cfaa3aa3e" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_f1680bd6-fd8f-470a-bf50-e22c2c231040" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_210f9741-4dbf-425d-9109-cfb9153de6b1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6699ad77-c32e-40a1-a7d3-5a2cfaa3aa3e" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_210f9741-4dbf-425d-9109-cfb9153de6b1" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_2dfdc569-3c4e-4229-9e1b-aaeebfa9b8f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_ProfitLoss_2dfdc569-3c4e-4229-9e1b-aaeebfa9b8f6" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_5d6ccabf-da41-4203-9410-6e2536f60939" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationDepletionAndAmortization"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_5d6ccabf-da41-4203-9410-6e2536f60939" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_87ed9321-308d-4e34-9371-84812cde643d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_87ed9321-308d-4e34-9371-84812cde643d" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_ec9c4af2-fa32-4207-b03f-ec194a603a62" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensation"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_ShareBasedCompensation_ec9c4af2-fa32-4207-b03f-ec194a603a62" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_mtrx_OperatingLeaseImpairmentsDueToRestructuring_5c03745b-f201-4888-b157-39b8fbffb147" xlink:href="mtrx-20220930.xsd#mtrx_OperatingLeaseImpairmentsDueToRestructuring"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_mtrx_OperatingLeaseImpairmentsDueToRestructuring_5c03745b-f201-4888-b157-39b8fbffb147" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_mtrx_DeferredIncomeTaxExpense_2293eb7c-6d33-4416-8f89-3eac95489881" xlink:href="mtrx-20220930.xsd#mtrx_DeferredIncomeTaxExpense"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_mtrx_DeferredIncomeTaxExpense_2293eb7c-6d33-4416-8f89-3eac95489881" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_219e0086-625e-4940-8c6a-0f7a871bbc6f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/> |
| | <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_219e0086-625e-4940-8c6a-0f7a871bbc6f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_c4f390da-5ce7-4204-bdf5-d02d58da4174" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProvisionForDoubtfulAccounts"/> |
| | <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_c4f390da-5ce7-4204-bdf5-d02d58da4174" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashExpense_ba3830a1-8f59-485c-8ec2-1249d897ab23" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNoncashExpense"/> |
| | <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_OtherNoncashExpense_ba3830a1-8f59-485c-8ec2-1249d897ab23" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_56c19095-d25e-4c0f-81d7-a3687648564b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNoncashIncomeExpense"/> |
| | <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_56c19095-d25e-4c0f-81d7-a3687648564b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_c1ef596c-20f8-4b34-97d1-7fe890a2500c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/> |
| | <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_c1ef596c-20f8-4b34-97d1-7fe890a2500c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_ecd418df-d40d-4c5d-8ceb-61e711da0833" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerAsset"/> |
| | <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_ecd418df-d40d-4c5d-8ceb-61e711da0833" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_ac70090c-7f38-493c-9ddf-0ce509acc5b0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInventories"/> |
| | <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_ac70090c-7f38-493c-9ddf-0ce509acc5b0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d132bdf7-fef5-4513-b7d6-71028e898005" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/> |
| | <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d132bdf7-fef5-4513-b7d6-71028e898005" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_32bff241-8207-4aef-9286-50017e7e02b5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/> |
| | <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_32bff241-8207-4aef-9286-50017e7e02b5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_1d9edc6c-a68d-4d3f-86aa-81a7401e3061" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/> |
| | <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_1d9edc6c-a68d-4d3f-86aa-81a7401e3061" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_4e0ea300-009c-4cc8-b312-fa10fafbcaee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/> |
| | <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_20be6916-9281-4741-98a0-9192b6b3210c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_4e0ea300-009c-4cc8-b312-fa10fafbcaee" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/PropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="mtrx-20220930.xsd#PropertyPlantandEquipmentDetails"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/PropertyPlantandEquipmentDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_46d608f7-1f78-4fdf-a51d-bad775dc5e71" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentGross"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_50a15dff-cd09-4c82-b4b1-903d25623727" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BuildingsAndImprovementsGross"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_46d608f7-1f78-4fdf-a51d-bad775dc5e71" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_50a15dff-cd09-4c82-b4b1-903d25623727" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_76c7b357-ef8e-4753-959d-0f2b845fbb9b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MachineryAndEquipmentGross"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_46d608f7-1f78-4fdf-a51d-bad775dc5e71" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_76c7b357-ef8e-4753-959d-0f2b845fbb9b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_mtrx_TransportationEquipmentGross_ba62ff4c-23a8-4dd1-8301-def89da9fb3b" xlink:href="mtrx-20220930.xsd#mtrx_TransportationEquipmentGross"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_46d608f7-1f78-4fdf-a51d-bad775dc5e71" xlink:to="loc_mtrx_TransportationEquipmentGross_ba62ff4c-23a8-4dd1-8301-def89da9fb3b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_mtrx_OfficeEquipmentAndSoftware_577f25de-4f5e-46e6-ba7c-1aa11ab4b387" xlink:href="mtrx-20220930.xsd#mtrx_OfficeEquipmentAndSoftware"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_46d608f7-1f78-4fdf-a51d-bad775dc5e71" xlink:to="loc_mtrx_OfficeEquipmentAndSoftware_577f25de-4f5e-46e6-ba7c-1aa11ab4b387" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_f5360572-3354-45ce-8ab6-e787ee190058" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConstructionInProgressGross"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_46d608f7-1f78-4fdf-a51d-bad775dc5e71" xlink:to="loc_us-gaap_ConstructionInProgressGross_f5360572-3354-45ce-8ab6-e787ee190058" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_245204c5-b771-4b69-8747-a066274880e6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_3254d925-116f-4a24-88d0-7bfe706feb97" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentGross"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_245204c5-b771-4b69-8747-a066274880e6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_3254d925-116f-4a24-88d0-7bfe706feb97" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_62198229-57ca-46ee-8288-5b856ef81323" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_245204c5-b771-4b69-8747-a066274880e6" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_62198229-57ca-46ee-8288-5b856ef81323" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/LeasesComponentsofLeaseCostsDetails" xlink:type="simple" xlink:href="mtrx-20220930.xsd#LeasesComponentsofLeaseCostsDetails"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/LeasesComponentsofLeaseCostsDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_beaa0f6c-a3bf-4e2c-838e-253c5f1830f1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseCost"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_7fa865bb-44ab-4c9b-983d-c227abbe8b44" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseCost"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_beaa0f6c-a3bf-4e2c-838e-253c5f1830f1" xlink:to="loc_us-gaap_OperatingLeaseCost_7fa865bb-44ab-4c9b-983d-c227abbe8b44" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_a256cd7f-9212-45bd-8461-3b85b3f1a27d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShortTermLeaseCost"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_beaa0f6c-a3bf-4e2c-838e-253c5f1830f1" xlink:to="loc_us-gaap_ShortTermLeaseCost_a256cd7f-9212-45bd-8461-3b85b3f1a27d" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/LeasesMaturityAnalysisDetails" xlink:type="simple" xlink:href="mtrx-20220930.xsd#LeasesMaturityAnalysisDetails"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/LeasesMaturityAnalysisDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_253b068c-5780-48e4-959a-2720d416f76b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_4d78ec42-b899-4777-8c4d-04af20718bd5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_253b068c-5780-48e4-959a-2720d416f76b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_4d78ec42-b899-4777-8c4d-04af20718bd5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_950bebc8-df82-4453-b486-4b59517cbfd8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_253b068c-5780-48e4-959a-2720d416f76b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_950bebc8-df82-4453-b486-4b59517cbfd8" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_d67fed2e-665d-424a-b506-99506913169f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_253b068c-5780-48e4-959a-2720d416f76b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_d67fed2e-665d-424a-b506-99506913169f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_b30d6588-25f7-42a3-bfc3-fe404590e0d4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_253b068c-5780-48e4-959a-2720d416f76b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_b30d6588-25f7-42a3-bfc3-fe404590e0d4" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_652a7cf8-a2f1-4a14-a6f1-cc82c39a1779" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_253b068c-5780-48e4-959a-2720d416f76b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_652a7cf8-a2f1-4a14-a6f1-cc82c39a1779" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_mtrx_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_c19b8f06-aed8-4e74-b34c-559d51b5219c" xlink:href="mtrx-20220930.xsd#mtrx_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_253b068c-5780-48e4-959a-2720d416f76b" xlink:to="loc_mtrx_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_c19b8f06-aed8-4e74-b34c-559d51b5219c" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueofGoodwillBySegmentDetails" xlink:type="simple" xlink:href="mtrx-20220930.xsd#IntangibleAssetsIncludingGoodwillCarryingValueofGoodwillBySegmentDetails"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueofGoodwillBySegmentDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_629bb70f-5e4c-41d4-89ed-97f2de43f277" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillGross_8ed6a792-8ee8-4f65-b2c8-3a91a45801ac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillGross"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Goodwill_629bb70f-5e4c-41d4-89ed-97f2de43f277" xlink:to="loc_us-gaap_GoodwillGross_8ed6a792-8ee8-4f65-b2c8-3a91a45801ac" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_a559ed62-e9bc-4720-957a-82ba6347b419" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Goodwill_629bb70f-5e4c-41d4-89ed-97f2de43f277" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_a559ed62-e9bc-4720-957a-82ba6347b419" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueofOtherIntangibleAssetsDetails" xlink:type="simple" xlink:href="mtrx-20220930.xsd#IntangibleAssetsIncludingGoodwillCarryingValueofOtherIntangibleAssetsDetails"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueofOtherIntangibleAssetsDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_469f0baa-ce84-46b7-a601-0d9f5c7659e1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_7c9d842f-e1ea-4133-bb37-8a071851a0ad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedTradeNames"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsGross_469f0baa-ce84-46b7-a601-0d9f5c7659e1" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_7c9d842f-e1ea-4133-bb37-8a071851a0ad" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_834c4770-7a2f-4cc7-bb51-31a5df15f360" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_003c498a-8b84-474b-9398-c84bd61fd68c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_834c4770-7a2f-4cc7-bb51-31a5df15f360" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_003c498a-8b84-474b-9398-c84bd61fd68c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_5d3c4b92-7459-4d45-a8ad-14970d82b0fa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_834c4770-7a2f-4cc7-bb51-31a5df15f360" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_5d3c4b92-7459-4d45-a8ad-14970d82b0fa" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_e901204d-4705-42da-8e55-ea7a91cdfa5d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_775772d0-5d26-43d2-81ea-435449083e01" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_e901204d-4705-42da-8e55-ea7a91cdfa5d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_775772d0-5d26-43d2-81ea-435449083e01" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsperCommonShareComputationofBasicandDilutedEarningsPerShareDetails" xlink:type="simple" xlink:href="mtrx-20220930.xsd#EarningsperCommonShareComputationofBasicandDilutedEarningsPerShareDetails"/> |
| <link:calculationLink xlink:role="http://www.matrixservicecompany.com/role/EarningsperCommonShareComputationofBasicandDilutedEarningsPerShareDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_6721ce72-2daa-464e-a53e-b7cec6cd54d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_6e0a5f8e-98e7-43fe-981e-1284b6337f18" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_6721ce72-2daa-464e-a53e-b7cec6cd54d6" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_6e0a5f8e-98e7-43fe-981e-1284b6337f18" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_01d81495-7218-46b7-8bdb-120abd825875" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_6721ce72-2daa-464e-a53e-b7cec6cd54d6" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_01d81495-7218-46b7-8bdb-120abd825875" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_259a8bcc-4f04-4daa-acfb-2a2fa589b253" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_6721ce72-2daa-464e-a53e-b7cec6cd54d6" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_259a8bcc-4f04-4daa-acfb-2a2fa589b253" xlink:type="arc"/> |
| | </link:calculationLink> |
| </link:linkbase> |