<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:298a99ef-0770-4a0c-a2fc-151f1ef54e4e,g:5bd2499e-4b9b-479f-ba85-172958c464b9-->
<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.emcorgroup.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="eme-20230630.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_2a372b41-9634-4f6c-b880-e750f64522bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2bc2e932-f997-4efd-bfc4-ea64fa1042aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_2a372b41-9634-4f6c-b880-e750f64522bc" xlink:to="loc_us-gaap_StockholdersEquity_2bc2e932-f997-4efd-bfc4-ea64fa1042aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_89712a65-fd4d-4be4-9b75-d930e977e2b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_2a372b41-9634-4f6c-b880-e750f64522bc" xlink:to="loc_us-gaap_MinorityInterest_89712a65-fd4d-4be4-9b75-d930e977e2b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_2e1daa50-160f-4971-b818-068746f1406d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8518f266-a29e-4eaf-acb7-0eaa63a1e45a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2e1daa50-160f-4971-b818-068746f1406d" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8518f266-a29e-4eaf-acb7-0eaa63a1e45a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_96588102-c9bc-4cd7-800a-913efae162e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2e1daa50-160f-4971-b818-068746f1406d" xlink:to="loc_us-gaap_Liabilities_96588102-c9bc-4cd7-800a-913efae162e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_57d5ab63-c4c9-4d34-938b-daa136b1f096" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_62737ae3-b891-49de-a39e-9f303141d609" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_57d5ab63-c4c9-4d34-938b-daa136b1f096" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_62737ae3-b891-49de-a39e-9f303141d609" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_80a6be8f-d05f-4866-ba52-d409f5daa095" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_57d5ab63-c4c9-4d34-938b-daa136b1f096" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_80a6be8f-d05f-4866-ba52-d409f5daa095" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_32b9c0c3-a2e4-4ba0-b0d4-d3ea8af78945" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_57d5ab63-c4c9-4d34-938b-daa136b1f096" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_32b9c0c3-a2e4-4ba0-b0d4-d3ea8af78945" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessAndRawMaterialsNetOfReserves_02e0487e-6b76-4d4b-9fa1-b6158f4e3561" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryWorkInProcessAndRawMaterialsNetOfReserves"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_57d5ab63-c4c9-4d34-938b-daa136b1f096" xlink:to="loc_us-gaap_InventoryWorkInProcessAndRawMaterialsNetOfReserves_02e0487e-6b76-4d4b-9fa1-b6158f4e3561" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_6aa9be67-e327-4842-aee3-5151d6643f91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_57d5ab63-c4c9-4d34-938b-daa136b1f096" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_6aa9be67-e327-4842-aee3-5151d6643f91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e68f7294-5d17-47e7-a976-8672922d6893" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_747c313a-17ad-4165-a560-028edfecc41a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e68f7294-5d17-47e7-a976-8672922d6893" xlink:to="loc_us-gaap_PreferredStockValue_747c313a-17ad-4165-a560-028edfecc41a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_18eff026-b407-4611-b846-11be9dd64d1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e68f7294-5d17-47e7-a976-8672922d6893" xlink:to="loc_us-gaap_CommonStockValue_18eff026-b407-4611-b846-11be9dd64d1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_a6d6113b-7e46-4292-bfa0-4664ec290d46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e68f7294-5d17-47e7-a976-8672922d6893" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_a6d6113b-7e46-4292-bfa0-4664ec290d46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_47f43608-0269-4ca0-b453-a5a8080ceec2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e68f7294-5d17-47e7-a976-8672922d6893" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_47f43608-0269-4ca0-b453-a5a8080ceec2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_cc1e6712-b2eb-4ab1-b7f5-68cd2c54d0bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e68f7294-5d17-47e7-a976-8672922d6893" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_cc1e6712-b2eb-4ab1-b7f5-68cd2c54d0bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_5db861b5-a149-47b5-bac5-e11c1b76e55e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e68f7294-5d17-47e7-a976-8672922d6893" xlink:to="loc_us-gaap_TreasuryStockValue_5db861b5-a149-47b5-bac5-e11c1b76e55e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_56276c7c-2176-408c-84c4-3cd510e66dcd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_34c8a62f-3db2-4b35-a8c2-12ee47dbeace" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_56276c7c-2176-408c-84c4-3cd510e66dcd" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_34c8a62f-3db2-4b35-a8c2-12ee47dbeace" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_3375c656-2860-4c47-9232-71dd69e9849c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_56276c7c-2176-408c-84c4-3cd510e66dcd" xlink:to="loc_us-gaap_AccountsPayableCurrent_3375c656-2860-4c47-9232-71dd69e9849c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_2b42fc35-b9d0-4beb-89d5-db0e7d324379" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_56276c7c-2176-408c-84c4-3cd510e66dcd" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_2b42fc35-b9d0-4beb-89d5-db0e7d324379" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_3ab3cefc-a4fa-4f1a-9985-8e2d845fd03d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_56276c7c-2176-408c-84c4-3cd510e66dcd" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_3ab3cefc-a4fa-4f1a-9985-8e2d845fd03d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_f356ca24-1a53-40cd-a618-e27e87bbef4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_56276c7c-2176-408c-84c4-3cd510e66dcd" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_f356ca24-1a53-40cd-a618-e27e87bbef4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_ee80dc7c-f04c-4a8e-9fea-03ee35cc7d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_56276c7c-2176-408c-84c4-3cd510e66dcd" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_ee80dc7c-f04c-4a8e-9fea-03ee35cc7d0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_f07c0ce2-2996-46ba-ac7a-03cd91ca6847" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_7d1c1d97-d081-4009-808d-81517a2a86f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f07c0ce2-2996-46ba-ac7a-03cd91ca6847" xlink:to="loc_us-gaap_AssetsCurrent_7d1c1d97-d081-4009-808d-81517a2a86f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_bff53bbf-9324-4c65-9476-8e527fb90be9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f07c0ce2-2996-46ba-ac7a-03cd91ca6847" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_bff53bbf-9324-4c65-9476-8e527fb90be9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_eea08730-bd14-432f-8e07-0a4c36a76fbc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f07c0ce2-2996-46ba-ac7a-03cd91ca6847" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_eea08730-bd14-432f-8e07-0a4c36a76fbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_6a17a6df-b31e-4fb6-adb3-93f7117de268" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f07c0ce2-2996-46ba-ac7a-03cd91ca6847" xlink:to="loc_us-gaap_Goodwill_6a17a6df-b31e-4fb6-adb3-93f7117de268" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_0bc670cb-238f-455e-94ab-fafca4e053f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f07c0ce2-2996-46ba-ac7a-03cd91ca6847" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_0bc670cb-238f-455e-94ab-fafca4e053f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_cf4db76c-034d-446e-a2ae-a61c0d0385ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f07c0ce2-2996-46ba-ac7a-03cd91ca6847" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_cf4db76c-034d-446e-a2ae-a61c0d0385ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_3def6a70-bf76-4e76-a2ed-f77050cf05e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_e28a1ebd-5b9a-4733-9317-f79220ce7543" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3def6a70-bf76-4e76-a2ed-f77050cf05e6" xlink:to="loc_us-gaap_LiabilitiesCurrent_e28a1ebd-5b9a-4733-9317-f79220ce7543" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_ba6477bf-a865-49d9-aac3-90a997450a32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_3def6a70-bf76-4e76-a2ed-f77050cf05e6" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_ba6477bf-a865-49d9-aac3-90a997450a32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_b3be2592-dd7f-4ade-8569-5560d2084f28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3def6a70-bf76-4e76-a2ed-f77050cf05e6" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_b3be2592-dd7f-4ade-8569-5560d2084f28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_f2c87417-d447-42a8-abae-07020d83856d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_3def6a70-bf76-4e76-a2ed-f77050cf05e6" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_f2c87417-d447-42a8-abae-07020d83856d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="simple" xlink:href="eme-20230630.xsd#CondensedConsolidatedStatementsOfOperations"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_18d947c4-d7d5-42ea-9c50-43ded7863aa7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_ff35d54a-a915-40c5-bff4-66eb20536dfc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_18d947c4-d7d5-42ea-9c50-43ded7863aa7" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_ff35d54a-a915-40c5-bff4-66eb20536dfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_09b85f70-9924-4bef-a738-03df69cad599" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_18d947c4-d7d5-42ea-9c50-43ded7863aa7" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_09b85f70-9924-4bef-a738-03df69cad599" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_83c43f9f-3a35-40d2-8e03-7cbae4566a91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_df708587-ecc2-4ad3-9ce9-26fb7e4dd104" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_NetIncomeLoss_83c43f9f-3a35-40d2-8e03-7cbae4566a91" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_df708587-ecc2-4ad3-9ce9-26fb7e4dd104" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_95b84ab2-ac87-463d-b39a-88797039ed95" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_NetIncomeLoss_83c43f9f-3a35-40d2-8e03-7cbae4566a91" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_95b84ab2-ac87-463d-b39a-88797039ed95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_497f7623-b10f-4382-b1c7-ad399f0ea00d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_4ccbe22c-980d-4237-9208-3f0e500c598b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_497f7623-b10f-4382-b1c7-ad399f0ea00d" xlink:to="loc_us-gaap_GrossProfit_4ccbe22c-980d-4237-9208-3f0e500c598b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_9cd7b327-eaee-4bb3-b0e1-6ca8198ed275" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_497f7623-b10f-4382-b1c7-ad399f0ea00d" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_9cd7b327-eaee-4bb3-b0e1-6ca8198ed275" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ef3e9bae-ede9-4a71-a759-a1beb04016c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_006ee6fd-a833-423a-b1fc-f9b1c38cf010" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ef3e9bae-ede9-4a71-a759-a1beb04016c7" xlink:to="loc_us-gaap_OperatingIncomeLoss_006ee6fd-a833-423a-b1fc-f9b1c38cf010" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_82cc932f-8be1-4dc7-b6d8-e7fc43df7caf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ef3e9bae-ede9-4a71-a759-a1beb04016c7" xlink:to="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_82cc932f-8be1-4dc7-b6d8-e7fc43df7caf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_99c82339-21db-488c-87d7-33e1c98d7ddb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ef3e9bae-ede9-4a71-a759-a1beb04016c7" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_99c82339-21db-488c-87d7-33e1c98d7ddb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" xlink:href="eme-20230630.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_03774426-94ea-4e37-b79e-3f90f6d37cf9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_a0fab8e8-f6d9-4ab0-abab-ce58885c92d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_03774426-94ea-4e37-b79e-3f90f6d37cf9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_a0fab8e8-f6d9-4ab0-abab-ce58885c92d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_8f9a8755-5337-4ace-8178-62d49812edbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_03774426-94ea-4e37-b79e-3f90f6d37cf9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_8f9a8755-5337-4ace-8178-62d49812edbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_ed9be897-344b-4bfc-9523-3d7717215f1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_cce591d7-0cf5-4482-b77d-04e946d63eb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ed9be897-344b-4bfc-9523-3d7717215f1f" xlink:to="loc_us-gaap_NetIncomeLoss_cce591d7-0cf5-4482-b77d-04e946d63eb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_550c73d7-8a50-493c-9d50-96201d2c502a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ed9be897-344b-4bfc-9523-3d7717215f1f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_550c73d7-8a50-493c-9d50-96201d2c502a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" xlink:href="eme-20230630.xsd#CondensedConsolidatedStatementsOfCashFlows"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_faf07755-e299-4235-9565-df6fdcd100fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c3975f1b-c567-4939-8ec9-bef04e4d5b33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_faf07755-e299-4235-9565-df6fdcd100fb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c3975f1b-c567-4939-8ec9-bef04e4d5b33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e760b735-ec8e-4442-ba61-b49914452f88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_faf07755-e299-4235-9565-df6fdcd100fb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e760b735-ec8e-4442-ba61-b49914452f88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_14b6b925-bf65-428e-9182-ca24ea0e73e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_faf07755-e299-4235-9565-df6fdcd100fb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_14b6b925-bf65-428e-9182-ca24ea0e73e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_56995fac-6a0b-4563-a105-6e7b7b33e421" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_faf07755-e299-4235-9565-df6fdcd100fb" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_56995fac-6a0b-4563-a105-6e7b7b33e421" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b28c29cb-da91-4e6c-9603-b2963f8ae044" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_83ea80ef-fcea-4f31-ae84-48a6a3b5a03a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b28c29cb-da91-4e6c-9603-b2963f8ae044" xlink:to="loc_us-gaap_NetIncomeLoss_83ea80ef-fcea-4f31-ae84-48a6a3b5a03a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_6e81b83e-4b97-447d-a991-295372752c2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b28c29cb-da91-4e6c-9603-b2963f8ae044" xlink:to="loc_us-gaap_Depreciation_6e81b83e-4b97-447d-a991-295372752c2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_4a55a0ce-071c-4aa4-959d-22186b5a32f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b28c29cb-da91-4e6c-9603-b2963f8ae044" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_4a55a0ce-071c-4aa4-959d-22186b5a32f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_eme_Noncashsharebasedcompensationexpense_eccf78b4-f4ec-4e56-95f9-101007a89425" xlink:href="eme-20230630.xsd#eme_Noncashsharebasedcompensationexpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b28c29cb-da91-4e6c-9603-b2963f8ae044" xlink:to="loc_eme_Noncashsharebasedcompensationexpense_eccf78b4-f4ec-4e56-95f9-101007a89425" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_8a65036b-9713-4c52-b6ba-a9452a3c73dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b28c29cb-da91-4e6c-9603-b2963f8ae044" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_8a65036b-9713-4c52-b6ba-a9452a3c73dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapital_e87fe042-870b-4838-8e15-a2bf957b7a55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOperatingCapital"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b28c29cb-da91-4e6c-9603-b2963f8ae044" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapital_e87fe042-870b-4838-8e15-a2bf957b7a55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b52a7c6c-557e-431d-b012-cdc36a1975d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_cc53d791-be68-4a73-ac95-947b4d1f4c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b52a7c6c-557e-431d-b012-cdc36a1975d7" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_cc53d791-be68-4a73-ac95-947b4d1f4c8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_a23db1b0-876a-4c8c-a595-1a0b9378c96f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b52a7c6c-557e-431d-b012-cdc36a1975d7" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_a23db1b0-876a-4c8c-a595-1a0b9378c96f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_b18f4651-a6a6-4a05-86bd-0b890db87697" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b52a7c6c-557e-431d-b012-cdc36a1975d7" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_b18f4651-a6a6-4a05-86bd-0b890db87697" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_7dbf0856-fa58-4280-987e-cf6247d8259b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_7dbf0856-fa58-4280-987e-cf6247d8259b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_091554b4-fe45-4dcb-82bd-d5a012156501" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_091554b4-fe45-4dcb-82bd-d5a012156501" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_96eac44f-fbff-4a38-9777-507638bce963" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_96eac44f-fbff-4a38-9777-507638bce963" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_759f93a0-718a-4cf1-b203-4ebf6fc512d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_759f93a0-718a-4cf1-b203-4ebf6fc512d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_ed2015a6-1ba3-43b0-824a-b952dddaa06a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_ed2015a6-1ba3-43b0-824a-b952dddaa06a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_e23182bc-bf2e-40af-9760-278fdefcbb3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_e23182bc-bf2e-40af-9760-278fdefcbb3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_458aeb5d-1860-46f9-a746-4bcc0cb68300" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromStockPlans"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:to="loc_us-gaap_ProceedsFromStockPlans_458aeb5d-1860-46f9-a746-4bcc0cb68300" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_eme_PaymentsforContingentConsiderationArrangements_42c7947b-cadc-437e-8674-013ef5c38502" xlink:href="eme-20230630.xsd#eme_PaymentsforContingentConsiderationArrangements"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3daaa827-6c76-4704-a1c8-ad76f066f3f1" xlink:to="loc_eme_PaymentsforContingentConsiderationArrangements_42c7947b-cadc-437e-8674-013ef5c38502" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenuefromContractswithCustomersScheduleofContractwithCustomerAssetandLiabilityDetails" xlink:type="simple" xlink:href="eme-20230630.xsd#RevenuefromContractswithCustomersScheduleofContractwithCustomerAssetandLiabilityDetails"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/RevenuefromContractswithCustomersScheduleofContractwithCustomerAssetandLiabilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_eme_ContractLiabilitiesNet_97d7d870-c33f-4ba9-be6c-363937edaa1e" xlink:href="eme-20230630.xsd#eme_ContractLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_71e9365a-7bbf-4141-aeee-a73f24b15567" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_eme_ContractLiabilitiesNet_97d7d870-c33f-4ba9-be6c-363937edaa1e" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_71e9365a-7bbf-4141-aeee-a73f24b15567" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetNoncurrent_3bc8baff-4ba0-44d4-b0f7-2809793eeb32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerAssetNetNoncurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_eme_ContractLiabilitiesNet_97d7d870-c33f-4ba9-be6c-363937edaa1e" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetNoncurrent_3bc8baff-4ba0-44d4-b0f7-2809793eeb32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_ed949bfe-d891-4528-a0ff-fdc86b125d24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_eme_ContractLiabilitiesNet_97d7d870-c33f-4ba9-be6c-363937edaa1e" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_ed949bfe-d891-4528-a0ff-fdc86b125d24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_d6acb7e5-5124-4308-b0ed-06a11aebf79f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_eme_ContractLiabilitiesNet_97d7d870-c33f-4ba9-be6c-363937edaa1e" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_d6acb7e5-5124-4308-b0ed-06a11aebf79f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="eme-20230630.xsd#EarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8ad4f471-4a67-49da-8427-78218a2f72d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_da22b9bf-3220-496b-b489-2d76f0a6ac53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8ad4f471-4a67-49da-8427-78218a2f72d4" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_da22b9bf-3220-496b-b489-2d76f0a6ac53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_8a7309be-0804-4d7a-8460-aee7d8dfbcba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8ad4f471-4a67-49da-8427-78218a2f72d4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_8a7309be-0804-4d7a-8460-aee7d8dfbcba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/InventoriesDetails" xlink:type="simple" xlink:href="eme-20230630.xsd#InventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/InventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessAndRawMaterialsNetOfReserves_3dbcd1e2-b00c-4305-871d-58debea1d371" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryWorkInProcessAndRawMaterialsNetOfReserves"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_60655847-efc6-472f-9b76-d76ef64d3a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryWorkInProcessAndRawMaterialsNetOfReserves_3dbcd1e2-b00c-4305-871d-58debea1d371" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_60655847-efc6-472f-9b76-d76ef64d3a0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_3b817da3-a58a-44bb-835e-36f0cd30028c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryWorkInProcessAndRawMaterialsNetOfReserves_3dbcd1e2-b00c-4305-871d-58debea1d371" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_3b817da3-a58a-44bb-835e-36f0cd30028c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DebtScheduleOfDebtDetails" xlink:type="simple" xlink:href="eme-20230630.xsd#DebtScheduleOfDebtDetails"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/DebtScheduleOfDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_d49cc243-9b02-497e-a9a6-d4daf1341d78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_60d2badf-b35b-43cb-b6f2-ae5b74601238" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_d49cc243-9b02-497e-a9a6-d4daf1341d78" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_60d2badf-b35b-43cb-b6f2-ae5b74601238" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_368af763-d116-4053-803b-68af79db48e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_d49cc243-9b02-497e-a9a6-d4daf1341d78" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_368af763-d116-4053-803b-68af79db48e8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DebtScheduleOfDebtDetails_1" xlink:type="simple" xlink:href="eme-20230630.xsd#DebtScheduleOfDebtDetails_1"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/DebtScheduleOfDebtDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_d2967f8e-7336-43b2-8c01-c6098f342a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_5eb9a87d-6e72-4dc6-b604-e63ddefde0d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_d2967f8e-7336-43b2-8c01-c6098f342a0c" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_5eb9a87d-6e72-4dc6-b604-e63ddefde0d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6f7600b3-e40e-4b68-845c-e44c83f33392" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_d2967f8e-7336-43b2-8c01-c6098f342a0c" xlink:to="loc_us-gaap_LongTermDebt_6f7600b3-e40e-4b68-845c-e44c83f33392" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLineOfCredit_85b646a0-9f37-434f-9fb0-64ceeb55cea3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermLineOfCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_d2967f8e-7336-43b2-8c01-c6098f342a0c" xlink:to="loc_us-gaap_LongTermLineOfCredit_85b646a0-9f37-434f-9fb0-64ceeb55cea3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_4097ebe1-30cc-41cc-a4b2-187f4bb334cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations_d2967f8e-7336-43b2-8c01-c6098f342a0c" xlink:to="loc_us-gaap_FinanceLeaseLiability_4097ebe1-30cc-41cc-a4b2-187f4bb334cc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/FairValueMeasurementsScheduleOfAssetsAndLiabilitiesCarriedAtFairValueMeasuredOnARecurringBasisDetails" xlink:type="simple" xlink:href="eme-20230630.xsd#FairValueMeasurementsScheduleOfAssetsAndLiabilitiesCarriedAtFairValueMeasuredOnARecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/FairValueMeasurementsScheduleOfAssetsAndLiabilitiesCarriedAtFairValueMeasuredOnARecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_4e998513-42d4-4fdf-b02a-561b32bb320b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_6738a2b2-3195-487c-a58b-5172a88f4dd9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_4e998513-42d4-4fdf-b02a-561b32bb320b" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_6738a2b2-3195-487c-a58b-5172a88f4dd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_f29f0f5d-748b-4657-b13b-674d1ef4780b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_4e998513-42d4-4fdf-b02a-561b32bb320b" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_f29f0f5d-748b-4657-b13b-674d1ef4780b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_29b3be52-aa7b-4374-a7b9-42fa4d216e1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCompensationPlanAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_4e998513-42d4-4fdf-b02a-561b32bb320b" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_29b3be52-aa7b-4374-a7b9-42fa4d216e1b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RetirementPlansComponentsOfNetPeriodicPensionBenefitCostIncomeDetails" xlink:type="simple" xlink:href="eme-20230630.xsd#RetirementPlansComponentsOfNetPeriodicPensionBenefitCostIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.emcorgroup.com/role/RetirementPlansComponentsOfNetPeriodicPensionBenefitCostIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1f3c0dff-701f-4fd3-a624-9d3e37074aeb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_89893142-6561-4887-9e66-3eef68b50c8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1f3c0dff-701f-4fd3-a624-9d3e37074aeb" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_89893142-6561-4887-9e66-3eef68b50c8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_83947ca4-c91d-4646-880b-510bc8909232" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1f3c0dff-701f-4fd3-a624-9d3e37074aeb" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_83947ca4-c91d-4646-880b-510bc8909232" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_6d83ad66-dc3c-4d20-977a-7e0676aed514" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1f3c0dff-701f-4fd3-a624-9d3e37074aeb" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_6d83ad66-dc3c-4d20-977a-7e0676aed514" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
