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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:0a123824-ad83-48fb-a66e-553487fdceef,g:d60138e4-f099-43ce-83ba-916b330ed285-->
<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/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="spxc-20240928.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_a7efc6cc-f74d-42fd-9217-31433d6240f0" 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_88c971ac-6f26-41bc-943f-86045bc5c132" 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_a7efc6cc-f74d-42fd-9217-31433d6240f0" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_88c971ac-6f26-41bc-943f-86045bc5c132" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_d2856ad9-e0c6-462d-b485-a7fde3b10eda" 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_a7efc6cc-f74d-42fd-9217-31433d6240f0" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_d2856ad9-e0c6-462d-b485-a7fde3b10eda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3c0e68a6-f578-466f-8bee-50451db57c0f" 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_a1f9832b-7d10-4445-8585-bf626394f0a0" 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_3c0e68a6-f578-466f-8bee-50451db57c0f" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_a1f9832b-7d10-4445-8585-bf626394f0a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_ab45bf35-5365-44bb-8817-1602af9beb29" 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_3c0e68a6-f578-466f-8bee-50451db57c0f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_ab45bf35-5365-44bb-8817-1602af9beb29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_0c377f30-d197-47ea-aaf3-30b9719f75d3" 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_c37fddce-dd6c-4456-a6f9-f773aea38acb" 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_0c377f30-d197-47ea-aaf3-30b9719f75d3" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_c37fddce-dd6c-4456-a6f9-f773aea38acb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_d5cd272e-82a8-4383-a49c-622a486b0e86" 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_0c377f30-d197-47ea-aaf3-30b9719f75d3" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_d5cd272e-82a8-4383-a49c-622a486b0e86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_f7e1c8a6-04c8-4a0c-a6bd-ac692bff5bce" 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_562975bf-35a8-40d4-9e34-b27b3217ca21" 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_f7e1c8a6-04c8-4a0c-a6bd-ac692bff5bce" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_562975bf-35a8-40d4-9e34-b27b3217ca21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_9b23b184-e07a-4d43-ac03-469d6b0fa7ea" 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_f7e1c8a6-04c8-4a0c-a6bd-ac692bff5bce" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_9b23b184-e07a-4d43-ac03-469d6b0fa7ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4410bc47-265d-4479-a5ce-30d0d58ae1d4" 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_de0e8355-4330-4a55-afca-48aab5cde494" 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_4410bc47-265d-4479-a5ce-30d0d58ae1d4" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_de0e8355-4330-4a55-afca-48aab5cde494" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_3d108a3c-e07e-4042-a5f8-b2d0c7995048" 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_4410bc47-265d-4479-a5ce-30d0d58ae1d4" xlink:to="loc_us-gaap_InvestmentIncomeInterest_3d108a3c-e07e-4042-a5f8-b2d0c7995048" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_231bc613-da8b-47fd-941f-729744dfc166" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4410bc47-265d-4479-a5ce-30d0d58ae1d4" xlink:to="loc_us-gaap_InterestExpenseNonoperating_231bc613-da8b-47fd-941f-729744dfc166" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_296c6ed8-e5d5-43cc-a41c-140d73736227" 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_4410bc47-265d-4479-a5ce-30d0d58ae1d4" xlink:to="loc_us-gaap_OperatingIncomeLoss_296c6ed8-e5d5-43cc-a41c-140d73736227" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_49836d48-0ba3-4cd0-91b0-ceec1bf790c0" 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_8696e81c-e1ba-4ae9-b43c-cb1578c8abef" 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_49836d48-0ba3-4cd0-91b0-ceec1bf790c0" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_8696e81c-e1ba-4ae9-b43c-cb1578c8abef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_3d9c84cf-c596-40e4-a985-8f5a2707e40e" 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_49836d48-0ba3-4cd0-91b0-ceec1bf790c0" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_3d9c84cf-c596-40e4-a985-8f5a2707e40e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_fd5e360d-cb95-40be-9514-a84e1d78b604" 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_49836d48-0ba3-4cd0-91b0-ceec1bf790c0" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_fd5e360d-cb95-40be-9514-a84e1d78b604" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_61f47a32-bca4-48db-bc3e-7e82d8266605" 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_49836d48-0ba3-4cd0-91b0-ceec1bf790c0" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_61f47a32-bca4-48db-bc3e-7e82d8266605" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_02723bd1-c895-49e1-a8aa-7f5a8a59e537" 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_49836d48-0ba3-4cd0-91b0-ceec1bf790c0" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_02723bd1-c895-49e1-a8aa-7f5a8a59e537" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_SpecialCharges_e3c3da29-f5fb-4b97-8ce8-3c21ae68b1ee" xlink:href="spxc-20240928.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_49836d48-0ba3-4cd0-91b0-ceec1bf790c0" xlink:to="loc_spxc_SpecialCharges_e3c3da29-f5fb-4b97-8ce8-3c21ae68b1ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_38837a6b-8cbb-4a98-ba70-c06a08d59909" 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_5ce5d939-4712-4948-a5c9-047882f4ac53" 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_38837a6b-8cbb-4a98-ba70-c06a08d59909" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5ce5d939-4712-4948-a5c9-047882f4ac53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_86a67d1f-4d5f-42e1-bd04-86dd9bfc4259" 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_38837a6b-8cbb-4a98-ba70-c06a08d59909" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_86a67d1f-4d5f-42e1-bd04-86dd9bfc4259" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="spxc-20240928.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_25b5cf76-638e-41a4-ac4f-0483ab85e279" 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_8276fe21-a727-425e-9f6b-dd49a6f6993c" 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_25b5cf76-638e-41a4-ac4f-0483ab85e279" xlink:to="loc_us-gaap_CommitmentsAndContingencies_8276fe21-a727-425e-9f6b-dd49a6f6993c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_082fe3aa-e074-4050-8dbc-006c561d9218" 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_25b5cf76-638e-41a4-ac4f-0483ab85e279" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_082fe3aa-e074-4050-8dbc-006c561d9218" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_85fcc4db-3382-43d1-90d0-00d9d582f8ad" 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_25b5cf76-638e-41a4-ac4f-0483ab85e279" xlink:to="loc_us-gaap_LiabilitiesCurrent_85fcc4db-3382-43d1-90d0-00d9d582f8ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_ba644604-ecf8-400a-9cf3-d1aecaaf47f1" 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_25b5cf76-638e-41a4-ac4f-0483ab85e279" xlink:to="loc_us-gaap_StockholdersEquity_ba644604-ecf8-400a-9cf3-d1aecaaf47f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_e423fe0a-ba8d-4cc6-838b-6952bd67edff" 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_97a2b752-bc6f-41fe-b571-abc3096639d0" 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_e423fe0a-ba8d-4cc6-838b-6952bd67edff" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_97a2b752-bc6f-41fe-b571-abc3096639d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_cb33d2ed-b75f-4dcd-9292-d49ee634770d" 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_e423fe0a-ba8d-4cc6-838b-6952bd67edff" xlink:to="loc_us-gaap_Land_cb33d2ed-b75f-4dcd-9292-d49ee634770d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_0732394a-e9f1-430f-b372-8b8869225b55" 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_e423fe0a-ba8d-4cc6-838b-6952bd67edff" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_0732394a-e9f1-430f-b372-8b8869225b55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_4e786853-eed1-4b1b-bbf8-dbad7c5b83cd" 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_8f8e7c10-1df7-4148-b96d-73f0124dfd35" 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_4e786853-eed1-4b1b-bbf8-dbad7c5b83cd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_8f8e7c10-1df7-4148-b96d-73f0124dfd35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_fe218a07-2b58-414b-82fc-f128e8996ec1" 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_4e786853-eed1-4b1b-bbf8-dbad7c5b83cd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_fe218a07-2b58-414b-82fc-f128e8996ec1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_8da0b965-6959-40b6-9a7d-50d9ed06481b" 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_3028b243-263a-46e1-a133-1829c3996550" 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_8da0b965-6959-40b6-9a7d-50d9ed06481b" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_3028b243-263a-46e1-a133-1829c3996550" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_265acc20-6000-460f-a77f-50da57dd0e50" 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_8da0b965-6959-40b6-9a7d-50d9ed06481b" xlink:to="loc_us-gaap_AccountsPayableCurrent_265acc20-6000-460f-a77f-50da57dd0e50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_55b92cd5-290d-4e96-bbc0-3da0f0e76991" 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_8da0b965-6959-40b6-9a7d-50d9ed06481b" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_55b92cd5-290d-4e96-bbc0-3da0f0e76991" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_2991c6bc-f78b-4cd4-aa4e-033a0eaed66b" 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_8da0b965-6959-40b6-9a7d-50d9ed06481b" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_2991c6bc-f78b-4cd4-aa4e-033a0eaed66b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_6e2f97c5-198c-41da-a322-fe6d00a09caa" 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_8da0b965-6959-40b6-9a7d-50d9ed06481b" xlink:to="loc_us-gaap_LongTermDebtCurrent_6e2f97c5-198c-41da-a322-fe6d00a09caa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_3c74091e-dc94-476d-bdf4-d53233f72fa1" 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_8da0b965-6959-40b6-9a7d-50d9ed06481b" xlink:to="loc_us-gaap_ShortTermBorrowings_3c74091e-dc94-476d-bdf4-d53233f72fa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_0d2af71b-4ec5-4997-bfc9-d6336128664b" 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_3831bcf7-664d-4c80-baa8-eeae23105843" 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_0d2af71b-4ec5-4997-bfc9-d6336128664b" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_3831bcf7-664d-4c80-baa8-eeae23105843" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7b5f9911-105f-480c-a6c8-ad9fd9c134de" 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_0d2af71b-4ec5-4997-bfc9-d6336128664b" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7b5f9911-105f-480c-a6c8-ad9fd9c134de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_AssetsOfAbandonedEntities_8dcda9b2-f9cf-4111-b7f7-ce4793946cc7" xlink:href="spxc-20240928.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_0d2af71b-4ec5-4997-bfc9-d6336128664b" xlink:to="loc_spxc_AssetsOfAbandonedEntities_8dcda9b2-f9cf-4111-b7f7-ce4793946cc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_e9aa9547-048b-487e-96b6-9815e61ff74e" 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_0d2af71b-4ec5-4997-bfc9-d6336128664b" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_e9aa9547-048b-487e-96b6-9815e61ff74e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_b5c6286f-8de3-4d55-bd45-7081a98fa0b4" 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_0d2af71b-4ec5-4997-bfc9-d6336128664b" xlink:to="loc_us-gaap_AssetsCurrent_b5c6286f-8de3-4d55-bd45-7081a98fa0b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_9c5777f9-c88c-44e0-b271-e12d60d64502" 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_0d2af71b-4ec5-4997-bfc9-d6336128664b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_9c5777f9-c88c-44e0-b271-e12d60d64502" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_96aba49c-7487-40e6-b615-2c5efcfb0a87" 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_0d2af71b-4ec5-4997-bfc9-d6336128664b" xlink:to="loc_us-gaap_Goodwill_96aba49c-7487-40e6-b615-2c5efcfb0a87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_cb1492ff-2c06-4796-b34f-8ec422a81a2c" 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_53dfa0a4-be04-4a98-b972-77bfae8c7203" xlink:href="spxc-20240928.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_cb1492ff-2c06-4796-b34f-8ec422a81a2c" xlink:to="loc_spxc_LiabilitiesOfAbandonedEntities_53dfa0a4-be04-4a98-b972-77bfae8c7203" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_6c1e87e8-1685-4dac-9276-afa98c01454c" 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_cb1492ff-2c06-4796-b34f-8ec422a81a2c" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_6c1e87e8-1685-4dac-9276-afa98c01454c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_f20aade8-1648-4ee6-b966-0df66697c07c" 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_cb1492ff-2c06-4796-b34f-8ec422a81a2c" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_f20aade8-1648-4ee6-b966-0df66697c07c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_65520552-0774-4745-8dfd-b0ee3ebbeaad" 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_cb1492ff-2c06-4796-b34f-8ec422a81a2c" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_65520552-0774-4745-8dfd-b0ee3ebbeaad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_13fc3d49-d1ed-496b-a6a3-c9bc0ba9a179" 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_3ff8c6f4-65c9-4496-aea6-b9b81f90b739" 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_13fc3d49-d1ed-496b-a6a3-c9bc0ba9a179" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3ff8c6f4-65c9-4496-aea6-b9b81f90b739" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_2933ec31-49b5-4278-88d6-9974896a7573" 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_13fc3d49-d1ed-496b-a6a3-c9bc0ba9a179" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_2933ec31-49b5-4278-88d6-9974896a7573" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_6aaeb99e-667b-487e-98a7-5c907afc7493" 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_13fc3d49-d1ed-496b-a6a3-c9bc0ba9a179" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_6aaeb99e-667b-487e-98a7-5c907afc7493" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_926284e9-4898-4620-a327-39f5c78014a2" 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_13fc3d49-d1ed-496b-a6a3-c9bc0ba9a179" xlink:to="loc_us-gaap_CommonStockValueOutstanding_926284e9-4898-4620-a327-39f5c78014a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_3255b42e-6fc8-4bd9-8c76-4978f8030347" 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_13fc3d49-d1ed-496b-a6a3-c9bc0ba9a179" xlink:to="loc_us-gaap_TreasuryStockCommonValue_3255b42e-6fc8-4bd9-8c76-4978f8030347" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_ef1b6295-7e1d-4b1e-a9ce-c2bbd90b4026" 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_e473783a-a2af-4092-a010-b91fd559bdcf" 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_ef1b6295-7e1d-4b1e-a9ce-c2bbd90b4026" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e473783a-a2af-4092-a010-b91fd559bdcf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_a0fda149-1afe-407d-b1f9-6c83dab09f78" 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_ef1b6295-7e1d-4b1e-a9ce-c2bbd90b4026" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_a0fda149-1afe-407d-b1f9-6c83dab09f78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_7a8bf39d-1ef5-4998-aff5-38d00bb8e47e" 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_ef1b6295-7e1d-4b1e-a9ce-c2bbd90b4026" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_7a8bf39d-1ef5-4998-aff5-38d00bb8e47e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_fc57d49a-9457-484f-be69-2fc7f67f6936" 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_ef1b6295-7e1d-4b1e-a9ce-c2bbd90b4026" xlink:to="loc_us-gaap_OtherAssetsCurrent_fc57d49a-9457-484f-be69-2fc7f67f6936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_11bca218-d279-4b49-8dbd-d2d463ecf063" 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_ef1b6295-7e1d-4b1e-a9ce-c2bbd90b4026" xlink:to="loc_us-gaap_InventoryNet_11bca218-d279-4b49-8dbd-d2d463ecf063" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="spxc-20240928.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01447d28-3462-4aed-a0d8-1301b26f29fe" 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_7d73698d-548b-4b37-a9cb-67f1a41c5a5b" 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_01447d28-3462-4aed-a0d8-1301b26f29fe" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7d73698d-548b-4b37-a9cb-67f1a41c5a5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a34bd72-f4ea-4ac4-b045-a44b6bc222bb" 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_01447d28-3462-4aed-a0d8-1301b26f29fe" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a34bd72-f4ea-4ac4-b045-a44b6bc222bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_232e3d1c-53e2-4ab9-95d4-e76a0ccaaab8" 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_01447d28-3462-4aed-a0d8-1301b26f29fe" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_232e3d1c-53e2-4ab9-95d4-e76a0ccaaab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_fc815f3d-15e6-4d00-9ab3-8da42f3bd480" 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_01447d28-3462-4aed-a0d8-1301b26f29fe" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_fc815f3d-15e6-4d00-9ab3-8da42f3bd480" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_77c8a97d-7d7c-4698-93e0-31767fa06488" 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_0c7b65dd-3587-462b-87d5-ef837a81d28d" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_0c7b65dd-3587-462b-87d5-ef837a81d28d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_040f3589-20c2-48c0-85c3-b148d89f6707" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_ShareBasedCompensation_040f3589-20c2-48c0-85c3-b148d89f6707" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_70f53682-a2aa-4dda-ad43-398563f03bc2" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_70f53682-a2aa-4dda-ad43-398563f03bc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_a9157c30-d107-4d97-a748-a62ba7aabcef" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_a9157c30-d107-4d97-a748-a62ba7aabcef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_9138253f-1dc4-46b7-aefa-ca6db06f2ef5" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_9138253f-1dc4-46b7-aefa-ca6db06f2ef5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_9ddfe00c-ff61-474b-b7c7-cc5f51a5e63c" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_9ddfe00c-ff61-474b-b7c7-cc5f51a5e63c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_646de90d-9656-4a56-b36d-50d0cdbc1d05" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_646de90d-9656-4a56-b36d-50d0cdbc1d05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_0b972a44-141b-4aa2-8586-597e841f15fd" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_0b972a44-141b-4aa2-8586-597e841f15fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_01f6e2dd-c85e-4e38-b2b1-e429c4583843" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_01f6e2dd-c85e-4e38-b2b1-e429c4583843" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_SpecialCharges_4146559b-b94a-4300-9503-1d4ba3f9c5dd" xlink:href="spxc-20240928.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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_spxc_SpecialCharges_4146559b-b94a-4300-9503-1d4ba3f9c5dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_c949c082-4cd0-4670-bcf1-4496e503e37d" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_PaymentsForRestructuring_c949c082-4cd0-4670-bcf1-4496e503e37d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_d061b222-9da9-4d56-8f06-0e4fc09294e2" 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_77c8a97d-7d7c-4698-93e0-31767fa06488" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_d061b222-9da9-4d56-8f06-0e4fc09294e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_eec5c06c-3a9f-4109-abd0-55c2cd05b5ec" 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_f01b904f-0c16-4b48-a97a-274c8af81f72" 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_eec5c06c-3a9f-4109-abd0-55c2cd05b5ec" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_f01b904f-0c16-4b48-a97a-274c8af81f72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_67bb2e72-e021-4966-9e4f-37957c27ea29" 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_eec5c06c-3a9f-4109-abd0-55c2cd05b5ec" xlink:to="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_67bb2e72-e021-4966-9e4f-37957c27ea29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2703e698-43e4-4848-afe5-e5d1bba57b64" 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_PaymentsForProceedsFromLifeInsurancePolicies_b4f5eb48-04f4-4410-a6d6-08419e7a84ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromLifeInsurancePolicies"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2703e698-43e4-4848-afe5-e5d1bba57b64" xlink:to="loc_us-gaap_PaymentsForProceedsFromLifeInsurancePolicies_b4f5eb48-04f4-4410-a6d6-08419e7a84ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_dc9cedaa-cc82-4460-a08a-1186d7e56f1c" 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_2703e698-43e4-4848-afe5-e5d1bba57b64" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_dc9cedaa-cc82-4460-a08a-1186d7e56f1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_09e0a173-24d6-42d6-8917-cd8570b373e3" 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_2703e698-43e4-4848-afe5-e5d1bba57b64" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_09e0a173-24d6-42d6-8917-cd8570b373e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f2ae3912-3275-4970-89e0-2f20bf243d3c" 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_daa33ec8-e20a-47e8-9ccc-b0760e87e9ea" 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_f2ae3912-3275-4970-89e0-2f20bf243d3c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_daa33ec8-e20a-47e8-9ccc-b0760e87e9ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_952f340d-76d4-424f-aa44-e5e609ed2d71" 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_f2ae3912-3275-4970-89e0-2f20bf243d3c" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_952f340d-76d4-424f-aa44-e5e609ed2d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_256b804a-5713-4a2f-abba-76b15af0e878" 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_f3e56665-fa94-420c-a2fe-247d890468a5" xlink:href="spxc-20240928.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_256b804a-5713-4a2f-abba-76b15af0e878" xlink:to="loc_spxc_RepaymentsUnderSeniorCreditFacilities_f3e56665-fa94-420c-a2fe-247d890468a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingUnderTradeReceivablesAgreement_19b21200-ef0c-4abc-8ff6-d01bcc70a86e" xlink:href="spxc-20240928.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_256b804a-5713-4a2f-abba-76b15af0e878" xlink:to="loc_spxc_BorrowingUnderTradeReceivablesAgreement_19b21200-ef0c-4abc-8ff6-d01bcc70a86e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingsUnderSeniorCreditFacilities_db93ad1f-f92d-40d3-a2c0-b75acd1816ba" xlink:href="spxc-20240928.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_256b804a-5713-4a2f-abba-76b15af0e878" xlink:to="loc_spxc_BorrowingsUnderSeniorCreditFacilities_db93ad1f-f92d-40d3-a2c0-b75acd1816ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_PaymentProceedsTaxWithholdingShareBasedPaymentArrangement_38c185cf-191a-44d4-9d60-909d943ec277" xlink:href="spxc-20240928.xsd#spxc_PaymentProceedsTaxWithholdingShareBasedPaymentArrangement"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_256b804a-5713-4a2f-abba-76b15af0e878" xlink:to="loc_spxc_PaymentProceedsTaxWithholdingShareBasedPaymentArrangement_38c185cf-191a-44d4-9d60-909d943ec277" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_b2136ba3-2108-4817-a56a-89be45b0b7f2" 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_256b804a-5713-4a2f-abba-76b15af0e878" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_b2136ba3-2108-4817-a56a-89be45b0b7f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_74750e33-140a-4b7b-aa9a-a29b54fa5c99" xlink:href="spxc-20240928.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_256b804a-5713-4a2f-abba-76b15af0e878" xlink:to="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_74750e33-140a-4b7b-aa9a-a29b54fa5c99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_73ff9b37-aa18-48d8-a2ac-d3780d6537ff" 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_256b804a-5713-4a2f-abba-76b15af0e878" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_73ff9b37-aa18-48d8-a2ac-d3780d6537ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e121d51e-7881-4480-97cc-76ca10e59ce5" 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_282795fa-d2d9-4cf7-b95e-453006e68533" 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_e121d51e-7881-4480-97cc-76ca10e59ce5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_282795fa-d2d9-4cf7-b95e-453006e68533" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_4e7bc90e-aab0-4e2b-b90d-101c9bca6c57" 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_e121d51e-7881-4480-97cc-76ca10e59ce5" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_4e7bc90e-aab0-4e2b-b90d-101c9bca6c57" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="simple" xlink:href="spxc-20240928.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_a34986de-f4d9-40ae-833a-6672af8f5524" 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_6950e05e-4fd1-4fc2-bb3a-6eaf0b8a3b8a" xlink:href="spxc-20240928.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_a34986de-f4d9-40ae-833a-6672af8f5524" xlink:to="loc_spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities_6950e05e-4fd1-4fc2-bb3a-6eaf0b8a3b8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5be2c8b1-9304-43da-8f9b-167879da9aea" 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_a34986de-f4d9-40ae-833a-6672af8f5524" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5be2c8b1-9304-43da-8f9b-167879da9aea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSAcquisitionofIngniaandASPEQDetails" xlink:type="simple" xlink:href="spxc-20240928.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_750360cd-ede0-4e64-9a9f-ab8caca801da" xlink:href="spxc-20240928.xsd#spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_f9874b13-fbcb-458b-930c-8cf4ed0f658b" 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_750360cd-ede0-4e64-9a9f-ab8caca801da" xlink:to="loc_us-gaap_Goodwill_f9874b13-fbcb-458b-930c-8cf4ed0f658b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_a2b96ba1-8799-40a6-8f3a-9ba59edd1f44" 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_750360cd-ede0-4e64-9a9f-ab8caca801da" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_a2b96ba1-8799-40a6-8f3a-9ba59edd1f44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_2cd4418b-412a-48d9-8851-a1c3c9f59aac" 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_750360cd-ede0-4e64-9a9f-ab8caca801da" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_2cd4418b-412a-48d9-8851-a1c3c9f59aac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_1dc9afc6-fd57-4f17-952b-02a95fea6f0a" 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_750360cd-ede0-4e64-9a9f-ab8caca801da" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_1dc9afc6-fd57-4f17-952b-02a95fea6f0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_c5f125bc-0a84-485b-ac4d-82f5d37b26e3" 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_750360cd-ede0-4e64-9a9f-ab8caca801da" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_c5f125bc-0a84-485b-ac4d-82f5d37b26e3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="simple" xlink:href="spxc-20240928.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_67ad9342-17a4-4f52-9d19-a06bcb0d571f" 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_0b1d4316-08fe-4c6c-9f63-047cb48395a0" xlink:href="spxc-20240928.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_67ad9342-17a4-4f52-9d19-a06bcb0d571f" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross_0b1d4316-08fe-4c6c-9f63-047cb48395a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_08c09b94-6593-4d63-ba10-a815c33584c5" xlink:href="spxc-20240928.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_67ad9342-17a4-4f52-9d19-a06bcb0d571f" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_08c09b94-6593-4d63-ba10-a815c33584c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_32af0380-3db9-43c3-9b08-07272d42a733" 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_1d776e9e-6b83-480c-9afe-e2a3e43cfccb" 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_32af0380-3db9-43c3-9b08-07272d42a733" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_1d776e9e-6b83-480c-9afe-e2a3e43cfccb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_cb3348fc-a4ec-4cf0-ab4b-991595e87fda" xlink:href="spxc-20240928.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_32af0380-3db9-43c3-9b08-07272d42a733" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_cb3348fc-a4ec-4cf0-ab4b-991595e87fda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_a5ea27a3-288e-465b-994a-e7c2da32c6c9" 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_32af0380-3db9-43c3-9b08-07272d42a733" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_a5ea27a3-288e-465b-994a-e7c2da32c6c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_d72ee45e-6068-40c7-bf75-b3fa9adf22c7" 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_32af0380-3db9-43c3-9b08-07272d42a733" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_d72ee45e-6068-40c7-bf75-b3fa9adf22c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_95a0f158-5a8d-4686-b83a-d0f1d73b4655" 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_a885e716-5e06-410e-a3e9-86cf328b1ecc" 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_95a0f158-5a8d-4686-b83a-d0f1d73b4655" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_a885e716-5e06-410e-a3e9-86cf328b1ecc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_eca508e6-560f-40c2-969f-1f70990419cb" 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_95a0f158-5a8d-4686-b83a-d0f1d73b4655" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_eca508e6-560f-40c2-969f-1f70990419cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_1bb0b9b2-7060-462e-9a94-920716c8a609" 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_95a0f158-5a8d-4686-b83a-d0f1d73b4655" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_1bb0b9b2-7060-462e-9a94-920716c8a609" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_4ec9d1e9-01ba-4923-8e98-a24efce68d17" 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_95a0f158-5a8d-4686-b83a-d0f1d73b4655" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_4ec9d1e9-01ba-4923-8e98-a24efce68d17" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofHeatTransferBusinessAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="simple" xlink:href="spxc-20240928.xsd#ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofHeatTransferBusinessAssetsandLiabilitiesofDiscontinuedOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofHeatTransferBusinessAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_4b5a957e-db81-4548-a83e-d23ab16e7b73" 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_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_e8c09d2b-7ba0-4331-a253-b1fc24f642b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_4b5a957e-db81-4548-a83e-d23ab16e7b73" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_e8c09d2b-7ba0-4331-a253-b1fc24f642b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_a212c7c9-ea74-47c9-9748-605b2bdfeae9" 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_4b5a957e-db81-4548-a83e-d23ab16e7b73" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_a212c7c9-ea74-47c9-9748-605b2bdfeae9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSResultsofOperationsDetails" xlink:type="simple" xlink:href="spxc-20240928.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_82ac74b1-8371-4bfc-a519-35bcd39e0d3d" 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_226b78e0-a26d-4f9d-a79a-9d1ea070463b" 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_82ac74b1-8371-4bfc-a519-35bcd39e0d3d" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_226b78e0-a26d-4f9d-a79a-9d1ea070463b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_9e267dc6-4f64-47e0-8b9b-db38d1c12e7d" 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_82ac74b1-8371-4bfc-a519-35bcd39e0d3d" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_9e267dc6-4f64-47e0-8b9b-db38d1c12e7d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/REVENUESFROMCONTRACTSContractBalancesDetails" xlink:type="simple" xlink:href="spxc-20240928.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_eeaac3c5-8151-451e-8111-c6b29b174eb4" xlink:href="spxc-20240928.xsd#spxc_ContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_6a69a862-061e-430b-a9e0-b0ab7817bf3d" 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_eeaac3c5-8151-451e-8111-c6b29b174eb4" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_6a69a862-061e-430b-a9e0-b0ab7817bf3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_ba0eb2e7-3dd2-43db-8277-decd2b664566" 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_eeaac3c5-8151-451e-8111-c6b29b174eb4" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_ba0eb2e7-3dd2-43db-8277-decd2b664566" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_7caba216-1cea-49b7-b630-5c68a3ccbfe5" 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_eeaac3c5-8151-451e-8111-c6b29b174eb4" xlink:to="loc_us-gaap_AccountsReceivableNet_7caba216-1cea-49b7-b630-5c68a3ccbfe5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_fd804d11-d17f-4b85-b719-3a2ea4837f2b" 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_eeaac3c5-8151-451e-8111-c6b29b174eb4" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_fd804d11-d17f-4b85-b719-3a2ea4837f2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_da0f7f83-907f-400f-9d2c-9df211141533" xlink:href="spxc-20240928.xsd#spxc_IncreaseDecreaseinContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_c837995a-3bb9-48eb-ad4a-a6d7e3aab94f" xlink:href="spxc-20240928.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_da0f7f83-907f-400f-9d2c-9df211141533" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_c837995a-3bb9-48eb-ad4a-a6d7e3aab94f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_e1fe2a1a-83d4-466b-b006-321a6b8b8b3f" xlink:href="spxc-20240928.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_da0f7f83-907f-400f-9d2c-9df211141533" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_e1fe2a1a-83d4-466b-b006-321a6b8b8b3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_f4d15608-57a7-403d-bd2d-e569a81d7ccf" xlink:href="spxc-20240928.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_da0f7f83-907f-400f-9d2c-9df211141533" xlink:to="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_f4d15608-57a7-403d-bd2d-e569a81d7ccf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_7b2efd4e-a654-4e82-8e02-71a5e6e0bf83" xlink:href="spxc-20240928.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_da0f7f83-907f-400f-9d2c-9df211141533" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_7b2efd4e-a654-4e82-8e02-71a5e6e0bf83" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesSupplementalBalanceSheetInformationDetails" xlink:type="simple" xlink:href="spxc-20240928.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_9a4b5593-5347-4c3a-bd35-f9af015d3c40" 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_d3e1b1fe-1b22-42f4-ba75-65958dbb6e77" 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_9a4b5593-5347-4c3a-bd35-f9af015d3c40" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_d3e1b1fe-1b22-42f4-ba75-65958dbb6e77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_014307c9-2385-4767-b7b0-e114cbfa648a" 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_9a4b5593-5347-4c3a-bd35-f9af015d3c40" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_014307c9-2385-4767-b7b0-e114cbfa648a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails" xlink:type="simple" xlink:href="spxc-20240928.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_913b6ef5-8752-4c45-bd93-770c8cc7b3f5" 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_0c6f140e-4f0c-42dc-83c5-24f150f9b070" xlink:href="spxc-20240928.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_913b6ef5-8752-4c45-bd93-770c8cc7b3f5" xlink:to="loc_spxc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_0c6f140e-4f0c-42dc-83c5-24f150f9b070" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_02a4e229-9d7e-410a-a7df-78bb96725d12" 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_913b6ef5-8752-4c45-bd93-770c8cc7b3f5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_02a4e229-9d7e-410a-a7df-78bb96725d12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_a63db4f8-1aff-43bf-8459-4669c84024e1" 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_913b6ef5-8752-4c45-bd93-770c8cc7b3f5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_a63db4f8-1aff-43bf-8459-4669c84024e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_e12ba1e2-5ee8-4418-8c3a-bb35508f2730" 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_913b6ef5-8752-4c45-bd93-770c8cc7b3f5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_e12ba1e2-5ee8-4418-8c3a-bb35508f2730" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_b35ee46a-6190-4891-b75e-dc988b0a677d" 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_913b6ef5-8752-4c45-bd93-770c8cc7b3f5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_b35ee46a-6190-4891-b75e-dc988b0a677d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_0ca64525-be51-4715-8575-695ba0257891" 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_913b6ef5-8752-4c45-bd93-770c8cc7b3f5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_0ca64525-be51-4715-8575-695ba0257891" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails_1" xlink:type="simple" xlink:href="spxc-20240928.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_da8e090b-60dd-4301-aea4-432822882c8f" 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_c182479f-3040-4cb1-a764-ec63f06bf5ea" 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_da8e090b-60dd-4301-aea4-432822882c8f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c182479f-3040-4cb1-a764-ec63f06bf5ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_5cdfa7c8-c9b0-4a69-9479-d093a4ecc405" 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_da8e090b-60dd-4301-aea4-432822882c8f" xlink:to="loc_us-gaap_OperatingLeaseLiability_5cdfa7c8-c9b0-4a69-9479-d093a4ecc405" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/INVENTORIESNETDetails" xlink:type="simple" xlink:href="spxc-20240928.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_df008836-7eb5-44a7-9780-5738189d3e68" 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_7422ac91-5c43-4020-9e16-ca6b7d15d65f" 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_df008836-7eb5-44a7-9780-5738189d3e68" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_7422ac91-5c43-4020-9e16-ca6b7d15d65f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_94e615e2-3c34-4c66-afdf-75a7c00c9655" 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_df008836-7eb5-44a7-9780-5738189d3e68" xlink:to="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_94e615e2-3c34-4c66-afdf-75a7c00c9655" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_472d90b2-9289-405e-a024-995bdeb8c8b6" 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_df008836-7eb5-44a7-9780-5738189d3e68" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_472d90b2-9289-405e-a024-995bdeb8c8b6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/GOODWILLANDOTHERINTANGIBLEASSETSOtherIntangiblesNetDetails" xlink:type="simple" xlink:href="spxc-20240928.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_FiniteLivedIntangibleAssetsNet_75a05fae-9a59-4d3d-be23-3741251a3514" 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_1bd047f3-fd13-4447-b1a7-167e2679d5c3" 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_75a05fae-9a59-4d3d-be23-3741251a3514" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_1bd047f3-fd13-4447-b1a7-167e2679d5c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_9c103dce-46ba-4dfa-88c7-92765fd63e77" 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_75a05fae-9a59-4d3d-be23-3741251a3514" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_9c103dce-46ba-4dfa-88c7-92765fd63e77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_66578075-8b76-435e-aa34-5ec014cefa1f" 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_f60729ca-d14f-448b-8830-748c1d049246" 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_66578075-8b76-435e-aa34-5ec014cefa1f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_f60729ca-d14f-448b-8830-748c1d049246" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_1b2041b9-7319-40ea-b362-3f325cef535f" 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_66578075-8b76-435e-aa34-5ec014cefa1f" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_1b2041b9-7319-40ea-b362-3f325cef535f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_218864bf-b4dd-4380-a25c-de1ce8f9259d" 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_56945e50-705e-4920-b873-2e2e6172a2fc" 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_218864bf-b4dd-4380-a25c-de1ce8f9259d" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_56945e50-705e-4920-b873-2e2e6172a2fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_add89a3c-d704-4f06-b908-296990b12cbf" 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_218864bf-b4dd-4380-a25c-de1ce8f9259d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_add89a3c-d704-4f06-b908-296990b12cbf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/EMPLOYEEBENEFITPLANSDetails" xlink:type="simple" xlink:href="spxc-20240928.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_a243026a-5101-44fd-ae4c-5836972c1958" 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_2fa0d17f-fa75-41bd-b926-71fe2d3f9263" 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_a243026a-5101-44fd-ae4c-5836972c1958" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_2fa0d17f-fa75-41bd-b926-71fe2d3f9263" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_6411b714-c5ba-4249-8938-a54a443399b1" 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_a243026a-5101-44fd-ae4c-5836972c1958" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_6411b714-c5ba-4249-8938-a54a443399b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_6cecc1ee-73f6-4361-b3bb-c12c6067ec6e" 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_a243026a-5101-44fd-ae4c-5836972c1958" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_6cecc1ee-73f6-4361-b3bb-c12c6067ec6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_5c63561d-4e29-41e1-956c-94f2ade461ea" 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_a243026a-5101-44fd-ae4c-5836972c1958" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_5c63561d-4e29-41e1-956c-94f2ade461ea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONComponentsUsedForCalculationOfBasicAndDilutedIncomeDetails" xlink:type="simple" xlink:href="spxc-20240928.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_ca01de00-2db2-46c8-9ca0-0b88676a455d" 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_b17f1c77-e857-4f87-9ad7-bded20cd7e5c" 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_ca01de00-2db2-46c8-9ca0-0b88676a455d" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_b17f1c77-e857-4f87-9ad7-bded20cd7e5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_c88e7b77-33e9-43e7-8e70-50e91a083bbc" 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_ca01de00-2db2-46c8-9ca0-0b88676a455d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_c88e7b77-33e9-43e7-8e70-50e91a083bbc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="spxc-20240928.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_8a1539e9-3ddb-4d93-bed4-d7650e358df0" 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_c7ac6413-2fcc-4e8d-be9d-fa75eaf00e1b" 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_8a1539e9-3ddb-4d93-bed4-d7650e358df0" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_c7ac6413-2fcc-4e8d-be9d-fa75eaf00e1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_522d00da-286a-4228-bcf9-5e426a1843ea" 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_8a1539e9-3ddb-4d93-bed4-d7650e358df0" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_522d00da-286a-4228-bcf9-5e426a1843ea" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
