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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:7e7c8a2d-02ab-4fa4-8fe1-7e34f5f64180,g:9522361e-770e-41e6-9343-155d0dc9802b-->
<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.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="spxc-20240629.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_79df2a65-9641-4d8a-8cec-efb3c7d9433e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2c48491f-f836-420a-9afc-56793efc17d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_IncomeLossFromContinuingOperations_79df2a65-9641-4d8a-8cec-efb3c7d9433e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2c48491f-f836-420a-9afc-56793efc17d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_343d1159-762d-4bb4-82b1-938f732a1e1b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_IncomeLossFromContinuingOperations_79df2a65-9641-4d8a-8cec-efb3c7d9433e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_343d1159-762d-4bb4-82b1-938f732a1e1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_00cae928-8281-4775-90fc-12ecef8f554c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_9518cf9e-068b-4467-b314-ffd2aa48e744" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_00cae928-8281-4775-90fc-12ecef8f554c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_9518cf9e-068b-4467-b314-ffd2aa48e744" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_52d26666-ecf8-4408-855c-56f75c208962" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_00cae928-8281-4775-90fc-12ecef8f554c" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_52d26666-ecf8-4408-855c-56f75c208962" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_0c351f05-de08-49b9-901d-dd09de96dfb9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_59590103-3d08-42eb-b561-ec4e0f8dc4d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0c351f05-de08-49b9-901d-dd09de96dfb9" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_59590103-3d08-42eb-b561-ec4e0f8dc4d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_811e7a0f-f0fb-4f19-8539-20c2d896a97e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0c351f05-de08-49b9-901d-dd09de96dfb9" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_811e7a0f-f0fb-4f19-8539-20c2d896a97e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_3c9f50b1-56b6-43da-b3f9-587a438f273b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0c351f05-de08-49b9-901d-dd09de96dfb9" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_3c9f50b1-56b6-43da-b3f9-587a438f273b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_fdcf0bd8-f1ef-4202-a7e3-64cc8943732e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0c351f05-de08-49b9-901d-dd09de96dfb9" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_fdcf0bd8-f1ef-4202-a7e3-64cc8943732e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_520ba4a2-9f63-496d-aaae-3da725369776" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherOperatingIncomeExpenseNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0c351f05-de08-49b9-901d-dd09de96dfb9" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_520ba4a2-9f63-496d-aaae-3da725369776" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_SpecialCharges_59972a62-520b-45aa-ada2-33ebec52429d" xlink:href="spxc-20240629.xsd#spxc_SpecialCharges"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0c351f05-de08-49b9-901d-dd09de96dfb9" xlink:to="loc_spxc_SpecialCharges_59972a62-520b-45aa-ada2-33ebec52429d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_b9451033-ca6b-4f38-9886-d1289a66ef51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_279acfc6-ba94-438a-86d7-11b4a518cb3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_b9451033-ca6b-4f38-9886-d1289a66ef51" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_279acfc6-ba94-438a-86d7-11b4a518cb3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_bdc5a7ea-1d65-497a-bbd5-cdf46cb5ca11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_b9451033-ca6b-4f38-9886-d1289a66ef51" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_bdc5a7ea-1d65-497a-bbd5-cdf46cb5ca11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8fd87d46-05ea-4ef6-a434-ec33af9552ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_d23836ce-a95c-4b77-8abc-a25777eb8be7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8fd87d46-05ea-4ef6-a434-ec33af9552ea" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_d23836ce-a95c-4b77-8abc-a25777eb8be7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_f074d75d-304e-4d59-91de-8979b0ed7997" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8fd87d46-05ea-4ef6-a434-ec33af9552ea" xlink:to="loc_us-gaap_InvestmentIncomeInterest_f074d75d-304e-4d59-91de-8979b0ed7997" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_d8a98f34-6eac-44b5-862c-721030bc7326" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8fd87d46-05ea-4ef6-a434-ec33af9552ea" xlink:to="loc_us-gaap_InterestExpense_d8a98f34-6eac-44b5-862c-721030bc7326" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_55af6dd7-1ff5-49b3-9835-64e547b97a41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8fd87d46-05ea-4ef6-a434-ec33af9552ea" xlink:to="loc_us-gaap_OperatingIncomeLoss_55af6dd7-1ff5-49b3-9835-64e547b97a41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7c08dcdf-04a6-4ab3-954b-707ecd59e91c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_9868e22c-7110-4b61-be4c-3a91956acf17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_7c08dcdf-04a6-4ab3-954b-707ecd59e91c" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_9868e22c-7110-4b61-be4c-3a91956acf17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_a4d4eaa9-c970-4440-9b25-f6172898a159" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_7c08dcdf-04a6-4ab3-954b-707ecd59e91c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_a4d4eaa9-c970-4440-9b25-f6172898a159" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_7641fd6a-90f6-4b79-b230-902dfca52a58" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_22483501-826f-413d-87f4-954b5f209d03" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_7641fd6a-90f6-4b79-b230-902dfca52a58" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_22483501-826f-413d-87f4-954b5f209d03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_a6ee9596-9d76-43cb-97a6-b8485e7a8cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_7641fd6a-90f6-4b79-b230-902dfca52a58" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_a6ee9596-9d76-43cb-97a6-b8485e7a8cb9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="spxc-20240629.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_a0b0be34-053b-4bd2-9575-25f3c7fa910f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_b7646cde-53e8-4fb0-b4f8-a6499a1cf658" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a0b0be34-053b-4bd2-9575-25f3c7fa910f" xlink:to="loc_us-gaap_CommitmentsAndContingencies_b7646cde-53e8-4fb0-b4f8-a6499a1cf658" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_6d1fa64f-b404-4ee3-a205-9a8c43bec1d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a0b0be34-053b-4bd2-9575-25f3c7fa910f" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_6d1fa64f-b404-4ee3-a205-9a8c43bec1d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_4b7f7cbe-5ceb-43f4-a590-117421762bf7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a0b0be34-053b-4bd2-9575-25f3c7fa910f" xlink:to="loc_us-gaap_LiabilitiesCurrent_4b7f7cbe-5ceb-43f4-a590-117421762bf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_0d0cdc57-3a04-4f57-b668-48c96a3b41f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a0b0be34-053b-4bd2-9575-25f3c7fa910f" xlink:to="loc_us-gaap_StockholdersEquity_0d0cdc57-3a04-4f57-b668-48c96a3b41f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_38a14126-3359-45e1-96c7-3b4213df2cd5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_56beeb66-c748-4238-a2c3-248f1af31186" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_38a14126-3359-45e1-96c7-3b4213df2cd5" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_56beeb66-c748-4238-a2c3-248f1af31186" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_fc3d83cc-5e50-4913-aac2-e84b507f2af6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_38a14126-3359-45e1-96c7-3b4213df2cd5" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_fc3d83cc-5e50-4913-aac2-e84b507f2af6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_AssetsOfAbandonedEntities_b4418435-59a5-49aa-97df-c1ff9babe763" xlink:href="spxc-20240629.xsd#spxc_AssetsOfAbandonedEntities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_38a14126-3359-45e1-96c7-3b4213df2cd5" xlink:to="loc_spxc_AssetsOfAbandonedEntities_b4418435-59a5-49aa-97df-c1ff9babe763" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_9e5e3c61-9430-4eb9-9495-96ec143a12d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_38a14126-3359-45e1-96c7-3b4213df2cd5" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_9e5e3c61-9430-4eb9-9495-96ec143a12d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_72b4f54a-60a1-4fda-9ae7-cc4fa0bfb01a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_38a14126-3359-45e1-96c7-3b4213df2cd5" xlink:to="loc_us-gaap_AssetsCurrent_72b4f54a-60a1-4fda-9ae7-cc4fa0bfb01a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_4b20e834-31ca-4e82-b395-e03adc57cb60" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_38a14126-3359-45e1-96c7-3b4213df2cd5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_4b20e834-31ca-4e82-b395-e03adc57cb60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_ac7fa202-27c7-47c2-b877-039120bab10a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_38a14126-3359-45e1-96c7-3b4213df2cd5" xlink:to="loc_us-gaap_Goodwill_ac7fa202-27c7-47c2-b877-039120bab10a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_7108c3bd-b722-4d70-bd07-3a4c1d06f612" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5559a078-4f02-4e2c-87df-91dd081252f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_7108c3bd-b722-4d70-bd07-3a4c1d06f612" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5559a078-4f02-4e2c-87df-91dd081252f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_29b50dbf-2449-40e2-96e1-1e8390c1719d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_7108c3bd-b722-4d70-bd07-3a4c1d06f612" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_29b50dbf-2449-40e2-96e1-1e8390c1719d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_8f91b6b1-de73-4405-af92-0e510415cbdf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_7108c3bd-b722-4d70-bd07-3a4c1d06f612" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_8f91b6b1-de73-4405-af92-0e510415cbdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_791acc10-be2f-4bfa-b02a-954f427fcecd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_7108c3bd-b722-4d70-bd07-3a4c1d06f612" xlink:to="loc_us-gaap_OtherAssetsCurrent_791acc10-be2f-4bfa-b02a-954f427fcecd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_e730d29d-ee4f-44ee-b563-ffd71d9d747c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_7108c3bd-b722-4d70-bd07-3a4c1d06f612" xlink:to="loc_us-gaap_InventoryNet_e730d29d-ee4f-44ee-b563-ffd71d9d747c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_62838fa7-a95e-4d8e-b98a-f73d6ba2d001" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_0fa61ce5-3a94-43d0-8b5e-5c06e2a5755c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_62838fa7-a95e-4d8e-b98a-f73d6ba2d001" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_0fa61ce5-3a94-43d0-8b5e-5c06e2a5755c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_06976267-b922-4c95-8541-33be0e984e6b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Land"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_62838fa7-a95e-4d8e-b98a-f73d6ba2d001" xlink:to="loc_us-gaap_Land_06976267-b922-4c95-8541-33be0e984e6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_2ad37019-7c66-46c2-8945-18121953c1dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_62838fa7-a95e-4d8e-b98a-f73d6ba2d001" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_2ad37019-7c66-46c2-8945-18121953c1dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_d529287d-2435-4079-8b9f-63de19a4f125" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8919b429-4737-4e04-9d2f-7980cb518df8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d529287d-2435-4079-8b9f-63de19a4f125" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8919b429-4737-4e04-9d2f-7980cb518df8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_2003ab97-889b-4276-9cc2-f153a3e5a9be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d529287d-2435-4079-8b9f-63de19a4f125" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_2003ab97-889b-4276-9cc2-f153a3e5a9be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_892456c2-821a-44b9-afb6-d0501a05a03c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_d529287d-2435-4079-8b9f-63de19a4f125" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_892456c2-821a-44b9-afb6-d0501a05a03c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_342a55ed-a443-43a7-a0f5-a480a881cfff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d529287d-2435-4079-8b9f-63de19a4f125" xlink:to="loc_us-gaap_CommonStockValueOutstanding_342a55ed-a443-43a7-a0f5-a480a881cfff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_d1f0b38c-b3bb-4f2c-8d76-44371faa512d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d529287d-2435-4079-8b9f-63de19a4f125" xlink:to="loc_us-gaap_TreasuryStockCommonValue_d1f0b38c-b3bb-4f2c-8d76-44371faa512d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_27b757fd-3c4b-4a60-a7e3-6d5c481ed894" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_5284b808-3d85-4752-b978-678051331bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_27b757fd-3c4b-4a60-a7e3-6d5c481ed894" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_5284b808-3d85-4752-b978-678051331bbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_f693a6ef-f7af-4b84-88bb-17c55d051073" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_27b757fd-3c4b-4a60-a7e3-6d5c481ed894" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_f693a6ef-f7af-4b84-88bb-17c55d051073" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_07b711c5-2d6e-446f-83df-b4c58cbcecd7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LiabilitiesOfAbandonedEntities_f29b3816-442f-45cf-b914-ace6a83d21e1" xlink:href="spxc-20240629.xsd#spxc_LiabilitiesOfAbandonedEntities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_07b711c5-2d6e-446f-83df-b4c58cbcecd7" xlink:to="loc_spxc_LiabilitiesOfAbandonedEntities_f29b3816-442f-45cf-b914-ace6a83d21e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_635f314a-8a5d-4e7d-b91f-35115542fd5f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_LiabilitiesNoncurrent_07b711c5-2d6e-446f-83df-b4c58cbcecd7" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_635f314a-8a5d-4e7d-b91f-35115542fd5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_b7fa04b9-62bf-488d-acb0-5fa2259f7ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_07b711c5-2d6e-446f-83df-b4c58cbcecd7" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_b7fa04b9-62bf-488d-acb0-5fa2259f7ff2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_6d91e8d1-734d-484c-b2bf-e7d6a7b16010" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_07b711c5-2d6e-446f-83df-b4c58cbcecd7" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_6d91e8d1-734d-484c-b2bf-e7d6a7b16010" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_877bf8e5-3afc-4667-b813-7a932e72eb34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_9a6a3684-8d09-413a-bf8a-cd19256877a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_877bf8e5-3afc-4667-b813-7a932e72eb34" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_9a6a3684-8d09-413a-bf8a-cd19256877a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_22a73d74-c4c7-48ff-8b93-140332e1c8c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_877bf8e5-3afc-4667-b813-7a932e72eb34" xlink:to="loc_us-gaap_AccountsPayableCurrent_22a73d74-c4c7-48ff-8b93-140332e1c8c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_7d4a8b02-1ade-4513-9598-bd3698cf37c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_877bf8e5-3afc-4667-b813-7a932e72eb34" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_7d4a8b02-1ade-4513-9598-bd3698cf37c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_efbe34f5-a3c8-44dc-9d36-41de6d161ec7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_877bf8e5-3afc-4667-b813-7a932e72eb34" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_efbe34f5-a3c8-44dc-9d36-41de6d161ec7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_8ab2c61e-bcec-419c-9795-9b499c85148f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_877bf8e5-3afc-4667-b813-7a932e72eb34" xlink:to="loc_us-gaap_LongTermDebtCurrent_8ab2c61e-bcec-419c-9795-9b499c85148f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_01407211-1269-46e8-8933-10f5ee073e25" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_877bf8e5-3afc-4667-b813-7a932e72eb34" xlink:to="loc_us-gaap_ShortTermBorrowings_01407211-1269-46e8-8933-10f5ee073e25" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="spxc-20240629.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_4417be75-3a7c-49c8-87af-201e79223be2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLifeInsurancePolicies_34feee3c-4a63-4072-be78-f164eff41b34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromLifeInsurancePolicies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_4417be75-3a7c-49c8-87af-201e79223be2" xlink:to="loc_us-gaap_ProceedsFromLifeInsurancePolicies_34feee3c-4a63-4072-be78-f164eff41b34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_e09a0e0e-17ea-46e0-933f-8c8bd9448404" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_4417be75-3a7c-49c8-87af-201e79223be2" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_e09a0e0e-17ea-46e0-933f-8c8bd9448404" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_4bff0b7c-70f5-40b3-98f3-499bec96c873" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_4417be75-3a7c-49c8-87af-201e79223be2" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_4bff0b7c-70f5-40b3-98f3-499bec96c873" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_3db8d5f6-6706-4bf1-be9e-4aeb51f91706" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_3db8d5f6-6706-4bf1-be9e-4aeb51f91706" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_a7ee866d-61a5-4fe1-ab85-e7099c69b316" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_ShareBasedCompensation_a7ee866d-61a5-4fe1-ab85-e7099c69b316" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_1e8ee61d-6f20-4dbb-a28e-03d08e1fc536" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_1e8ee61d-6f20-4dbb-a28e-03d08e1fc536" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_05803ed7-5653-4a4d-9587-b4eadc69a1ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_05803ed7-5653-4a4d-9587-b4eadc69a1ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_9d3834e2-5420-4789-81e4-9aa2c4d17f51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_9d3834e2-5420-4789-81e4-9aa2c4d17f51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_d22008eb-60d5-4547-86ab-165e6f34d007" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_d22008eb-60d5-4547-86ab-165e6f34d007" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_5c1b7c77-aabc-4a92-a43e-9dab844a2a96" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_5c1b7c77-aabc-4a92-a43e-9dab844a2a96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_dc445e28-c966-4a34-b26f-4e2b63282343" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_dc445e28-c966-4a34-b26f-4e2b63282343" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_e3315090-b793-4ed9-8719-f292448246bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_e3315090-b793-4ed9-8719-f292448246bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_SpecialCharges_435b6c14-e344-4dd2-bf68-e1285da846ad" xlink:href="spxc-20240629.xsd#spxc_SpecialCharges"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_spxc_SpecialCharges_435b6c14-e344-4dd2-bf68-e1285da846ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_6b9a4f85-eaeb-44ac-9cb4-eab73bb376a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_PaymentsForRestructuring_6b9a4f85-eaeb-44ac-9cb4-eab73bb376a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_bfe87c57-584e-48c2-b3a0-7b695a815242" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_6942d95f-7967-420e-870e-3f873447f1d0" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_bfe87c57-584e-48c2-b3a0-7b695a815242" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_87f8136d-f1f1-4f58-848e-6392c867b5d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderSeniorCreditFacilities_14975e1b-dc53-438c-ae29-28b4b6aa6df6" xlink:href="spxc-20240629.xsd#spxc_RepaymentsUnderSeniorCreditFacilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_87f8136d-f1f1-4f58-848e-6392c867b5d6" xlink:to="loc_spxc_RepaymentsUnderSeniorCreditFacilities_14975e1b-dc53-438c-ae29-28b4b6aa6df6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingUnderTradeReceivablesAgreement_ff5b121d-76fe-4a76-b9ac-32c71b3f1b61" xlink:href="spxc-20240629.xsd#spxc_BorrowingUnderTradeReceivablesAgreement"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_87f8136d-f1f1-4f58-848e-6392c867b5d6" xlink:to="loc_spxc_BorrowingUnderTradeReceivablesAgreement_ff5b121d-76fe-4a76-b9ac-32c71b3f1b61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingsUnderSeniorCreditFacilities_b7646493-9afc-414d-a3a2-060601642143" xlink:href="spxc-20240629.xsd#spxc_BorrowingsUnderSeniorCreditFacilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_87f8136d-f1f1-4f58-848e-6392c867b5d6" xlink:to="loc_spxc_BorrowingsUnderSeniorCreditFacilities_b7646493-9afc-414d-a3a2-060601642143" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_22f60ac3-5756-4748-90ea-be4198bf77d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_87f8136d-f1f1-4f58-848e-6392c867b5d6" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_22f60ac3-5756-4748-90ea-be4198bf77d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_4bb7af8a-f1dc-4a0c-8e65-cc7d47b4f310" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_87f8136d-f1f1-4f58-848e-6392c867b5d6" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_4bb7af8a-f1dc-4a0c-8e65-cc7d47b4f310" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_00bc3849-0792-462d-a6d5-e6d5088f6f63" xlink:href="spxc-20240629.xsd#spxc_RepaymentsUnderTradeReceivablesAgreement"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_87f8136d-f1f1-4f58-848e-6392c867b5d6" xlink:to="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_00bc3849-0792-462d-a6d5-e6d5088f6f63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_936030be-ac95-4b63-86ca-f91e892ffccb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_87f8136d-f1f1-4f58-848e-6392c867b5d6" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_936030be-ac95-4b63-86ca-f91e892ffccb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d064a8b9-c2e3-423b-bff9-60800259478f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_7082dba2-0fbc-4c65-b5e7-faee8f9c1284" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d064a8b9-c2e3-423b-bff9-60800259478f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_7082dba2-0fbc-4c65-b5e7-faee8f9c1284" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_0f350d47-34aa-4470-84a9-d319fd0163da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d064a8b9-c2e3-423b-bff9-60800259478f" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_0f350d47-34aa-4470-84a9-d319fd0163da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9c1acfca-17e9-4602-8fcc-7a78271e509d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5874500a-702e-4f07-b0d2-9888488a8f4d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9c1acfca-17e9-4602-8fcc-7a78271e509d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5874500a-702e-4f07-b0d2-9888488a8f4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f134b126-ab01-4f0a-88c3-c137eec1db2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9c1acfca-17e9-4602-8fcc-7a78271e509d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f134b126-ab01-4f0a-88c3-c137eec1db2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_71c8d058-9fb2-4f4d-a046-4dd4dbde36f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9c1acfca-17e9-4602-8fcc-7a78271e509d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_71c8d058-9fb2-4f4d-a046-4dd4dbde36f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_50a648ef-779d-4696-91e7-7ea3123affb5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9c1acfca-17e9-4602-8fcc-7a78271e509d" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_50a648ef-779d-4696-91e7-7ea3123affb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1c9adaef-5f72-4fc3-9277-5ebfdd6202d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_72495b35-d2c7-4f53-b8a3-00b18c331bed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1c9adaef-5f72-4fc3-9277-5ebfdd6202d0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_72495b35-d2c7-4f53-b8a3-00b18c331bed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_9907c656-d51d-40c0-b08c-8213005893fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1c9adaef-5f72-4fc3-9277-5ebfdd6202d0" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_9907c656-d51d-40c0-b08c-8213005893fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_47fe454b-280d-40d1-8f7e-3b78ea63ebd5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_06406823-738c-40dc-b2d8-c757e1857693" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_47fe454b-280d-40d1-8f7e-3b78ea63ebd5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_06406823-738c-40dc-b2d8-c757e1857693" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_4d00adca-90fa-4662-b177-7febd8f3f38c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_47fe454b-280d-40d1-8f7e-3b78ea63ebd5" xlink:to="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_4d00adca-90fa-4662-b177-7febd8f3f38c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="simple" xlink:href="spxc-20240629.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperations_28270f69-2398-4ab1-80d5-440acca3c98c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities_da0025a0-2da0-4d46-b8a4-4852305f14e2" xlink:href="spxc-20240629.xsd#spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperations_28270f69-2398-4ab1-80d5-440acca3c98c" xlink:to="loc_spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities_da0025a0-2da0-4d46-b8a4-4852305f14e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9669c31d-da61-408b-ae70-d9ff46e4f544" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperations_28270f69-2398-4ab1-80d5-440acca3c98c" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9669c31d-da61-408b-ae70-d9ff46e4f544" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSAcquisitionofIngniaandASPEQDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#ACQUISITIONSANDDISCONTINUEDOPERATIONSAcquisitionofIngniaandASPEQDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSAcquisitionofIngniaandASPEQDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_d656e159-74f5-46e6-8d7e-793cac61ad56" xlink:href="spxc-20240629.xsd#spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_06aa8ffa-d674-415a-bfe0-c05e234b56b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_d656e159-74f5-46e6-8d7e-793cac61ad56" xlink:to="loc_us-gaap_Goodwill_06aa8ffa-d674-415a-bfe0-c05e234b56b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_1a706120-5ea1-4733-a549-dfec6b06e732" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_d656e159-74f5-46e6-8d7e-793cac61ad56" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_1a706120-5ea1-4733-a549-dfec6b06e732" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_ad647183-9807-41d8-a227-89146dba616a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_d656e159-74f5-46e6-8d7e-793cac61ad56" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_ad647183-9807-41d8-a227-89146dba616a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_0ab4dc1f-a723-40d5-96a1-3f948b620d18" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_d656e159-74f5-46e6-8d7e-793cac61ad56" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_0ab4dc1f-a723-40d5-96a1-3f948b620d18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_02a10fb5-4760-4ac4-b74b-ab54e821f340" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_d656e159-74f5-46e6-8d7e-793cac61ad56" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_02a10fb5-4760-4ac4-b74b-ab54e821f340" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_33a8c6b6-490f-49ec-8a66-b9b208a456ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross_fa67eaf1-dfde-466c-831f-ed993103ac2d" xlink:href="spxc-20240629.xsd#spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_33a8c6b6-490f-49ec-8a66-b9b208a456ee" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross_fa67eaf1-dfde-466c-831f-ed993103ac2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_d8336303-06a0-4265-9069-a6d31e97a83d" xlink:href="spxc-20240629.xsd#spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_33a8c6b6-490f-49ec-8a66-b9b208a456ee" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_d8336303-06a0-4265-9069-a6d31e97a83d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_627f2c6e-834f-4250-8bfe-b39ca98a2264" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_a72440c8-15dd-4085-afeb-d75ad1c29b3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_627f2c6e-834f-4250-8bfe-b39ca98a2264" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_a72440c8-15dd-4085-afeb-d75ad1c29b3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_08b3d9ee-43f9-4419-a9b0-9db3793ef7d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_627f2c6e-834f-4250-8bfe-b39ca98a2264" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_08b3d9ee-43f9-4419-a9b0-9db3793ef7d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_fb45d52b-6ca2-40df-ad08-01c90a265864" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_627f2c6e-834f-4250-8bfe-b39ca98a2264" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_fb45d52b-6ca2-40df-ad08-01c90a265864" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_0512ff64-d02a-480b-ab47-dc6d2cb0262b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_627f2c6e-834f-4250-8bfe-b39ca98a2264" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_0512ff64-d02a-480b-ab47-dc6d2cb0262b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_d449b1d9-f1f8-4b86-9dd9-f55c4de3ee10" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_442ae7c7-fda4-4cbe-a6a7-3a2bd6c597f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_d449b1d9-f1f8-4b86-9dd9-f55c4de3ee10" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_442ae7c7-fda4-4cbe-a6a7-3a2bd6c597f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_8f0ae07a-5c4e-4db9-9a3f-a48b75dc365c" xlink:href="spxc-20240629.xsd#spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_d449b1d9-f1f8-4b86-9dd9-f55c4de3ee10" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_8f0ae07a-5c4e-4db9-9a3f-a48b75dc365c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_f4c5467b-4a8f-486e-9f39-5140a1e4c72e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_d449b1d9-f1f8-4b86-9dd9-f55c4de3ee10" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_f4c5467b-4a8f-486e-9f39-5140a1e4c72e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_b3e2161b-a6ff-4ea9-a0da-d236116930e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_d449b1d9-f1f8-4b86-9dd9-f55c4de3ee10" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_b3e2161b-a6ff-4ea9-a0da-d236116930e5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSResultsofOperationsDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#ACQUISITIONSANDDISCONTINUEDOPERATIONSResultsofOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSResultsofOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_a501b8ae-75d3-471a-8ff5-5e8638cf4bb0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_fc154424-d375-460c-a459-e8c663f8e46a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_a501b8ae-75d3-471a-8ff5-5e8638cf4bb0" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_fc154424-d375-460c-a459-e8c663f8e46a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_ab147888-c618-4e0c-aec1-8f447bf29c79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_a501b8ae-75d3-471a-8ff5-5e8638cf4bb0" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_ab147888-c618-4e0c-aec1-8f447bf29c79" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/REVENUESFROMCONTRACTSContractBalancesDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#REVENUESFROMCONTRACTSContractBalancesDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/REVENUESFROMCONTRACTSContractBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_spxc_ContractwithCustomersNet_97c171bb-f847-4aa6-b189-1092defb115a" xlink:href="spxc-20240629.xsd#spxc_ContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_be8b41d3-13d8-46af-895e-32235ecdf062" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_97c171bb-f847-4aa6-b189-1092defb115a" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_be8b41d3-13d8-46af-895e-32235ecdf062" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_8650e965-b9b4-4975-b510-0d69add89b22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_97c171bb-f847-4aa6-b189-1092defb115a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_8650e965-b9b4-4975-b510-0d69add89b22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_ac17cbd3-e865-4dc8-987a-19dc7b56bd87" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_97c171bb-f847-4aa6-b189-1092defb115a" xlink:to="loc_us-gaap_AccountsReceivableNet_ac17cbd3-e865-4dc8-987a-19dc7b56bd87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_61eaa7e7-d746-48ba-b8ec-db98dcdbb447" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_97c171bb-f847-4aa6-b189-1092defb115a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_61eaa7e7-d746-48ba-b8ec-db98dcdbb447" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_b1810038-045f-41d9-abf8-deef4f16ae3c" xlink:href="spxc-20240629.xsd#spxc_IncreaseDecreaseinContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_6a9d819e-36d3-4488-a1df-9d61d21a67b3" xlink:href="spxc-20240629.xsd#spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_b1810038-045f-41d9-abf8-deef4f16ae3c" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_6a9d819e-36d3-4488-a1df-9d61d21a67b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_e2f2233d-4081-418f-b32c-2cbc8fc08367" xlink:href="spxc-20240629.xsd#spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_b1810038-045f-41d9-abf8-deef4f16ae3c" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_e2f2233d-4081-418f-b32c-2cbc8fc08367" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_e9400ac4-5fad-4574-8577-60d8939120f3" xlink:href="spxc-20240629.xsd#spxc_IncreaseDecreaseinAccountsReceivableNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_b1810038-045f-41d9-abf8-deef4f16ae3c" xlink:to="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_e9400ac4-5fad-4574-8577-60d8939120f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_3544a0ed-20da-4d7a-9097-12b5b7064391" xlink:href="spxc-20240629.xsd#spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_b1810038-045f-41d9-abf8-deef4f16ae3c" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_3544a0ed-20da-4d7a-9097-12b5b7064391" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesSupplementalBalanceSheetInformationDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#LeasesSupplementalBalanceSheetInformationDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/LeasesSupplementalBalanceSheetInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_effdb0d1-3518-4dd8-bd13-2da5a90cec3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_f62bf3c6-7ef1-4cae-94ee-6dae3b65dea5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_effdb0d1-3518-4dd8-bd13-2da5a90cec3c" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_f62bf3c6-7ef1-4cae-94ee-6dae3b65dea5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_e6623fd6-fdef-4965-addd-18c2bd60a79e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_effdb0d1-3518-4dd8-bd13-2da5a90cec3c" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_e6623fd6-fdef-4965-addd-18c2bd60a79e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#LeasesFutureMinimumPaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_feaf3209-56af-4a39-971b-f9598a7244dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_99c244fd-872f-4d53-9686-ab43ef83b4b3" xlink:href="spxc-20240629.xsd#spxc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_feaf3209-56af-4a39-971b-f9598a7244dd" xlink:to="loc_spxc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_99c244fd-872f-4d53-9686-ab43ef83b4b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_a0f9e619-cec4-424d-8021-109c31427928" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_feaf3209-56af-4a39-971b-f9598a7244dd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_a0f9e619-cec4-424d-8021-109c31427928" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_aa873d63-159a-45eb-8ccc-5002c1ecd9cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_feaf3209-56af-4a39-971b-f9598a7244dd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_aa873d63-159a-45eb-8ccc-5002c1ecd9cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_c4eac00d-2895-4356-8405-23c473be9d08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_feaf3209-56af-4a39-971b-f9598a7244dd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_c4eac00d-2895-4356-8405-23c473be9d08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_d334ee6f-a3ac-4d68-99cb-0dcff1347251" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_feaf3209-56af-4a39-971b-f9598a7244dd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_d334ee6f-a3ac-4d68-99cb-0dcff1347251" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_9b215339-514d-4474-95dd-cce47a890e6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_feaf3209-56af-4a39-971b-f9598a7244dd" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_9b215339-514d-4474-95dd-cce47a890e6e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails_1" xlink:type="simple" xlink:href="spxc-20240629.xsd#LeasesFutureMinimumPaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc5dd3e5-0f13-416d-b82f-b1bfdea378d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_56db7e89-7885-484f-b9e8-1ffe9dd81145" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc5dd3e5-0f13-416d-b82f-b1bfdea378d8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_56db7e89-7885-484f-b9e8-1ffe9dd81145" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_06ac822d-98e0-46c8-a436-45d220a3220e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc5dd3e5-0f13-416d-b82f-b1bfdea378d8" xlink:to="loc_us-gaap_OperatingLeaseLiability_06ac822d-98e0-46c8-a436-45d220a3220e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/INVENTORIESNETDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#INVENTORIESNETDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/INVENTORIESNETDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_0030ad18-d302-45a5-97be-4ec365a5cc61" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_5fc84f27-e335-478f-8868-8989e88ce920" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_0030ad18-d302-45a5-97be-4ec365a5cc61" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_5fc84f27-e335-478f-8868-8989e88ce920" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_b285ed60-de8f-4d53-b4a6-2d3cd60f4e28" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_0030ad18-d302-45a5-97be-4ec365a5cc61" xlink:to="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_b285ed60-de8f-4d53-b4a6-2d3cd60f4e28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_823150dc-5593-41c9-8b15-36427b52f8bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_0030ad18-d302-45a5-97be-4ec365a5cc61" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_823150dc-5593-41c9-8b15-36427b52f8bd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/GOODWILLANDOTHERINTANGIBLEASSETSOtherIntangiblesNetDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#GOODWILLANDOTHERINTANGIBLEASSETSOtherIntangiblesNetDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/GOODWILLANDOTHERINTANGIBLEASSETSOtherIntangiblesNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_09d7ae6c-3912-44f3-8342-8deb29bec887" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_9484a287-d30c-4314-8f60-47d728760a3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_IntangibleAssetsGrossExcludingGoodwill_09d7ae6c-3912-44f3-8342-8deb29bec887" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_9484a287-d30c-4314-8f60-47d728760a3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_b35deed8-e073-4d70-bf71-68c9d00beb32" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_09d7ae6c-3912-44f3-8342-8deb29bec887" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_b35deed8-e073-4d70-bf71-68c9d00beb32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_6da3715e-7da4-4179-a8b0-35b3196bec24" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_d3d13901-bf54-4847-9fde-3af1cd5bfd2e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_6da3715e-7da4-4179-a8b0-35b3196bec24" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_d3d13901-bf54-4847-9fde-3af1cd5bfd2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_97897c12-0f1a-4f03-920f-3ae46d8ff861" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_IntangibleAssetsNetExcludingGoodwill_6da3715e-7da4-4179-a8b0-35b3196bec24" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_97897c12-0f1a-4f03-920f-3ae46d8ff861" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5ccd9046-67da-421b-b593-f245e2b60ea9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_76ea63a9-8231-4114-a06e-69013d04bfde" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_5ccd9046-67da-421b-b593-f245e2b60ea9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_76ea63a9-8231-4114-a06e-69013d04bfde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a265dad1-d427-4184-b9f8-d55a7264cb18" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_5ccd9046-67da-421b-b593-f245e2b60ea9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a265dad1-d427-4184-b9f8-d55a7264cb18" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/EMPLOYEEBENEFITPLANSDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#EMPLOYEEBENEFITPLANSDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/EMPLOYEEBENEFITPLANSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_5eb95c0d-5037-45f7-a86e-4e5a1b539425" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_554d410f-dad7-4d53-9a3e-f76ae8307e6d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_5eb95c0d-5037-45f7-a86e-4e5a1b539425" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_554d410f-dad7-4d53-9a3e-f76ae8307e6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_d8e9113b-0854-4c5a-b09d-fb42192b25b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_5eb95c0d-5037-45f7-a86e-4e5a1b539425" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_d8e9113b-0854-4c5a-b09d-fb42192b25b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_12983c02-54ba-4e56-917d-55df0605f050" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_5eb95c0d-5037-45f7-a86e-4e5a1b539425" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_12983c02-54ba-4e56-917d-55df0605f050" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_a6fb458c-2d70-441f-b613-c3a712a255e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_5eb95c0d-5037-45f7-a86e-4e5a1b539425" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_a6fb458c-2d70-441f-b613-c3a712a255e7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONComponentsUsedForCalculationOfBasicAndDilutedIncomeDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONComponentsUsedForCalculationOfBasicAndDilutedIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONComponentsUsedForCalculationOfBasicAndDilutedIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_0b465113-f270-4f25-93ed-ddc12c26f2f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_6cc90292-d1f3-4910-bb69-5d83043471f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_0b465113-f270-4f25-93ed-ddc12c26f2f2" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_6cc90292-d1f3-4910-bb69-5d83043471f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_d34b2256-a16b-4e82-905e-9e7cbd7ccdf2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_0b465113-f270-4f25-93ed-ddc12c26f2f2" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_d34b2256-a16b-4e82-905e-9e7cbd7ccdf2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="spxc-20240629.xsd#STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONAccumulatedOtherComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5d9da3a2-ddba-4b53-9398-bf21eb7454cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_7a0ccfaa-3c18-4d40-a3b2-591764a40ab3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5d9da3a2-ddba-4b53-9398-bf21eb7454cb" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_7a0ccfaa-3c18-4d40-a3b2-591764a40ab3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_6ccd6897-d160-4bb5-b782-b1119c93e92e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5d9da3a2-ddba-4b53-9398-bf21eb7454cb" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_6ccd6897-d160-4bb5-b782-b1119c93e92e" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
