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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:70d5e372-a0dd-40e3-8c1b-60c4ffea8676,g:b64f4f95-25ef-4278-9d64-4319dd0300f7-->
<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/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="spxc-20241231.xsd#ConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_7ca8cd35-f596-458a-b758-15ab0fbeaa0d" 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_IncomeTaxExpenseBenefit_f8c05eaa-ce41-474f-ab91-b5619e58ffae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_7ca8cd35-f596-458a-b758-15ab0fbeaa0d" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f8c05eaa-ce41-474f-ab91-b5619e58ffae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3b0c13ad-3b29-4630-a53e-3fe2ce5210de" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_7ca8cd35-f596-458a-b758-15ab0fbeaa0d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3b0c13ad-3b29-4630-a53e-3fe2ce5210de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_412090ec-52cc-4c2c-a3a5-d04df4227861" 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_6f2a728f-1040-423e-a9c7-e3013ec0bb01" 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_412090ec-52cc-4c2c-a3a5-d04df4227861" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_6f2a728f-1040-423e-a9c7-e3013ec0bb01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_e4382dce-ab6c-4d68-bae5-3d4305304093" 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_412090ec-52cc-4c2c-a3a5-d04df4227861" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_e4382dce-ab6c-4d68-bae5-3d4305304093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7b3a2b8b-c273-435f-b3fc-6bf583877ce5" 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_2780fad4-2fb1-4052-b57e-8ff8600e2b05" 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_7b3a2b8b-c273-435f-b3fc-6bf583877ce5" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_2780fad4-2fb1-4052-b57e-8ff8600e2b05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_054dca8e-8625-42bf-9706-ca3e67a6d58e" 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_7b3a2b8b-c273-435f-b3fc-6bf583877ce5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_054dca8e-8625-42bf-9706-ca3e67a6d58e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_c873407d-e717-41ac-b179-9f13c0c55773" 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_18beb76e-668c-4243-aa3e-fdc473ac914b" 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_c873407d-e717-41ac-b179-9f13c0c55773" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_18beb76e-668c-4243-aa3e-fdc473ac914b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_7f3f0ff5-04ea-4332-bc6e-aacaf17538cf" 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_c873407d-e717-41ac-b179-9f13c0c55773" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_7f3f0ff5-04ea-4332-bc6e-aacaf17538cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_642de22e-4e16-49b0-bbd2-945f41eb9057" 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_OperatingIncomeLoss_b2033e93-b96f-4a1f-9c5e-677934e452ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_642de22e-4e16-49b0-bbd2-945f41eb9057" xlink:to="loc_us-gaap_OperatingIncomeLoss_b2033e93-b96f-4a1f-9c5e-677934e452ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_2b9e40b2-3c70-4c12-8c86-81228137eae6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_642de22e-4e16-49b0-bbd2-945f41eb9057" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_2b9e40b2-3c70-4c12-8c86-81228137eae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_a3f970a2-0094-4083-9d76-77d9f312e990" 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_642de22e-4e16-49b0-bbd2-945f41eb9057" xlink:to="loc_us-gaap_InterestExpenseNonoperating_a3f970a2-0094-4083-9d76-77d9f312e990" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_620374b4-4d52-4480-86db-5f4a083e5eab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_642de22e-4e16-49b0-bbd2-945f41eb9057" xlink:to="loc_us-gaap_InvestmentIncomeInterest_620374b4-4d52-4480-86db-5f4a083e5eab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_179a82b9-a323-4a80-9860-61631067ebd6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WriteOffOfDeferredDebtIssuanceCost"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_642de22e-4e16-49b0-bbd2-945f41eb9057" xlink:to="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_179a82b9-a323-4a80-9860-61631067ebd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c5503bf3-bba2-4799-807f-8a35f4652275" 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_RevenueFromContractWithCustomerExcludingAssessedTax_2621d292-eae1-4790-b4ce-c5e517831e5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c5503bf3-bba2-4799-807f-8a35f4652275" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2621d292-eae1-4790-b4ce-c5e517831e5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_24ffbd93-d800-4548-b9fa-b63ccab04146" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c5503bf3-bba2-4799-807f-8a35f4652275" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_24ffbd93-d800-4548-b9fa-b63ccab04146" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_52a23d0f-1a1f-4227-b9c8-dacad02747d7" 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_c5503bf3-bba2-4799-807f-8a35f4652275" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_52a23d0f-1a1f-4227-b9c8-dacad02747d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_SpecialChargesNet_5439d184-d1a7-4bd5-965f-1cd0c1ad93a2" xlink:href="spxc-20241231.xsd#spxc_SpecialChargesNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c5503bf3-bba2-4799-807f-8a35f4652275" xlink:to="loc_spxc_SpecialChargesNet_5439d184-d1a7-4bd5-965f-1cd0c1ad93a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_3287d724-7a53-4974-b846-cd0937954bd4" 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_c5503bf3-bba2-4799-807f-8a35f4652275" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_3287d724-7a53-4974-b846-cd0937954bd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_2949a3e9-64e4-4e4b-b58f-3f3d109cf7c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c5503bf3-bba2-4799-807f-8a35f4652275" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_2949a3e9-64e4-4e4b-b58f-3f3d109cf7c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_4838d911-d5c5-4d16-abc2-6741af8198e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c5503bf3-bba2-4799-807f-8a35f4652275" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_4838d911-d5c5-4d16-abc2-6741af8198e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_118dc7b6-681a-43ee-a3a9-d00d22072e8e" 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_be8d6482-2806-4ff0-b111-b22e5054f72a" 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_118dc7b6-681a-43ee-a3a9-d00d22072e8e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_be8d6482-2806-4ff0-b111-b22e5054f72a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_7a1fac12-49b8-407d-80f9-f87c9cd0769c" 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_118dc7b6-681a-43ee-a3a9-d00d22072e8e" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_7a1fac12-49b8-407d-80f9-f87c9cd0769c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="spxc-20241231.xsd#ConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f6f766bc-fc33-48d8-bd25-af18eb086ef9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_6c085062-c7a3-46f9-ad46-b60aad724f23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f6f766bc-fc33-48d8-bd25-af18eb086ef9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_6c085062-c7a3-46f9-ad46-b60aad724f23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_eaabba20-a921-4568-b15d-a9f196b54f17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f6f766bc-fc33-48d8-bd25-af18eb086ef9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_eaabba20-a921-4568-b15d-a9f196b54f17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_3df7eaa4-f178-4f9a-b252-6edc0c3cdf7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f6f766bc-fc33-48d8-bd25-af18eb086ef9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_3df7eaa4-f178-4f9a-b252-6edc0c3cdf7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_5fa61e7a-ba94-47b0-87b9-50eedbf0df7b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1434c04c-cfc1-4e83-a3f5-5a76627139cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_5fa61e7a-ba94-47b0-87b9-50eedbf0df7b" xlink:to="loc_us-gaap_NetIncomeLoss_1434c04c-cfc1-4e83-a3f5-5a76627139cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_70be8fb5-2423-41f7-be65-8f6291cd168c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_5fa61e7a-ba94-47b0-87b9-50eedbf0df7b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_70be8fb5-2423-41f7-be65-8f6291cd168c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="spxc-20241231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_e68b795f-221f-4e78-af02-65f01f207e34" 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_AssetsCurrent_868b45df-8bbe-41ed-b094-d345a609fb97" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e68b795f-221f-4e78-af02-65f01f207e34" xlink:to="loc_us-gaap_AssetsCurrent_868b45df-8bbe-41ed-b094-d345a609fb97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_06be35b2-c938-4079-90c0-33b460d53c0a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e68b795f-221f-4e78-af02-65f01f207e34" xlink:to="loc_us-gaap_Goodwill_06be35b2-c938-4079-90c0-33b460d53c0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_49513d39-8ff7-4dea-b873-5861b77339a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e68b795f-221f-4e78-af02-65f01f207e34" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_49513d39-8ff7-4dea-b873-5861b77339a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_8168f0a8-1518-40fc-8d3c-4344ad924507" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e68b795f-221f-4e78-af02-65f01f207e34" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_8168f0a8-1518-40fc-8d3c-4344ad924507" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_b3963ad6-0cf6-430b-8cec-43c0688c90d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e68b795f-221f-4e78-af02-65f01f207e34" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_b3963ad6-0cf6-430b-8cec-43c0688c90d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_f98cbb5b-f184-4f17-9f0c-c8726eb83482" 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_e68b795f-221f-4e78-af02-65f01f207e34" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_f98cbb5b-f184-4f17-9f0c-c8726eb83482" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_AssetsOfAbandonedEntities_f3d7dc93-81ca-4ced-84f1-7e5fec43b00d" xlink:href="spxc-20241231.xsd#spxc_AssetsOfAbandonedEntities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e68b795f-221f-4e78-af02-65f01f207e34" xlink:to="loc_spxc_AssetsOfAbandonedEntities_f3d7dc93-81ca-4ced-84f1-7e5fec43b00d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_17e682ca-37ba-4028-a7ec-d0fa791fb1eb" 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_47edc6e4-48f6-4224-b429-58f0e50b484c" 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_17e682ca-37ba-4028-a7ec-d0fa791fb1eb" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_47edc6e4-48f6-4224-b429-58f0e50b484c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_19e77be1-f837-4ec2-9bcc-67a632301313" 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_17e682ca-37ba-4028-a7ec-d0fa791fb1eb" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_19e77be1-f837-4ec2-9bcc-67a632301313" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_fe6a5795-90e8-4823-b6c4-ff4bde3fd691" 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_AccountsPayableCurrent_73b99146-2c67-4ec2-bb2a-83d721cb0379" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_fe6a5795-90e8-4823-b6c4-ff4bde3fd691" xlink:to="loc_us-gaap_AccountsPayableCurrent_73b99146-2c67-4ec2-bb2a-83d721cb0379" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_b97c1938-c48b-4253-8cfb-e772092ca1cc" 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_us-gaap_LiabilitiesCurrent_fe6a5795-90e8-4823-b6c4-ff4bde3fd691" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_b97c1938-c48b-4253-8cfb-e772092ca1cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_90c945a1-a733-4682-804a-8aeb83b2bad8" 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_fe6a5795-90e8-4823-b6c4-ff4bde3fd691" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_90c945a1-a733-4682-804a-8aeb83b2bad8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_263c4686-885e-4b0f-b8d5-cd163c5e8a3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_fe6a5795-90e8-4823-b6c4-ff4bde3fd691" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_263c4686-885e-4b0f-b8d5-cd163c5e8a3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_5ca153ce-9644-4738-b363-a5bccdfae75e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_fe6a5795-90e8-4823-b6c4-ff4bde3fd691" xlink:to="loc_us-gaap_ShortTermBorrowings_5ca153ce-9644-4738-b363-a5bccdfae75e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_ac66da3b-eafc-4338-914b-646aa45271d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_fe6a5795-90e8-4823-b6c4-ff4bde3fd691" xlink:to="loc_us-gaap_LongTermDebtCurrent_ac66da3b-eafc-4338-914b-646aa45271d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_727b675a-fbca-41fd-a5aa-a5660e0b9ba7" 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_Land_67f69095-3c7e-4936-8615-3db84a4d3f89" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Land"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_727b675a-fbca-41fd-a5aa-a5660e0b9ba7" xlink:to="loc_us-gaap_Land_67f69095-3c7e-4936-8615-3db84a4d3f89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_07257ce5-7ed1-4016-924e-b0fc2a624782" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_727b675a-fbca-41fd-a5aa-a5660e0b9ba7" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_07257ce5-7ed1-4016-924e-b0fc2a624782" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_f30f1a43-5312-4bbd-9adc-88ab156bdd03" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_727b675a-fbca-41fd-a5aa-a5660e0b9ba7" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_f30f1a43-5312-4bbd-9adc-88ab156bdd03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_de69b26c-bfb2-4dd6-ad7b-78dc7e38bd09" 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_LiabilitiesCurrent_c2e77ab6-d0d0-4b0c-aa4c-1d1cc0282b87" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_de69b26c-bfb2-4dd6-ad7b-78dc7e38bd09" xlink:to="loc_us-gaap_LiabilitiesCurrent_c2e77ab6-d0d0-4b0c-aa4c-1d1cc0282b87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_69d3fb63-87cf-424e-bbe3-964b5a992574" 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_de69b26c-bfb2-4dd6-ad7b-78dc7e38bd09" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_69d3fb63-87cf-424e-bbe3-964b5a992574" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_4c91f8e3-8e12-40ba-a233-891649f4822e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_de69b26c-bfb2-4dd6-ad7b-78dc7e38bd09" xlink:to="loc_us-gaap_CommitmentsAndContingencies_4c91f8e3-8e12-40ba-a233-891649f4822e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b0a132b3-77a7-4908-a97e-899b56eb0b0b" 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_de69b26c-bfb2-4dd6-ad7b-78dc7e38bd09" xlink:to="loc_us-gaap_StockholdersEquity_b0a132b3-77a7-4908-a97e-899b56eb0b0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_53a5f2ff-760d-4e0d-8442-0018b696d771" 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_06a29f59-b064-494f-85a4-0200dae1ce9c" 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_53a5f2ff-760d-4e0d-8442-0018b696d771" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_06a29f59-b064-494f-85a4-0200dae1ce9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_84024b44-6470-4b83-ae51-c0908a2d43a2" 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_53a5f2ff-760d-4e0d-8442-0018b696d771" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_84024b44-6470-4b83-ae51-c0908a2d43a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_0c24471d-2bed-48d6-a401-556f13ee9fb0" 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_53a5f2ff-760d-4e0d-8442-0018b696d771" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_0c24471d-2bed-48d6-a401-556f13ee9fb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_5d17a9a2-169c-497f-b0f4-6752ff63939d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_53a5f2ff-760d-4e0d-8442-0018b696d771" xlink:to="loc_us-gaap_InventoryNet_5d17a9a2-169c-497f-b0f4-6752ff63939d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_3e7aac46-8e70-4fae-a0c5-8b800bdafdea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_53a5f2ff-760d-4e0d-8442-0018b696d771" xlink:to="loc_us-gaap_OtherAssetsCurrent_3e7aac46-8e70-4fae-a0c5-8b800bdafdea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7d99df2b-0389-46d7-87ed-b80d0a92bf52" 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_CommonStockValueOutstanding_a8d25631-d8db-4e36-ad0b-5e8d717c8231" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7d99df2b-0389-46d7-87ed-b80d0a92bf52" xlink:to="loc_us-gaap_CommonStockValueOutstanding_a8d25631-d8db-4e36-ad0b-5e8d717c8231" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b602db39-8b4e-412c-920a-f0ccd5533cc4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7d99df2b-0389-46d7-87ed-b80d0a92bf52" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b602db39-8b4e-412c-920a-f0ccd5533cc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_d36ecf76-bfb3-44a3-a417-0d6240894fce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7d99df2b-0389-46d7-87ed-b80d0a92bf52" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_d36ecf76-bfb3-44a3-a417-0d6240894fce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_68d3924d-8d44-4e59-b9c5-4d2b97089e4f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7d99df2b-0389-46d7-87ed-b80d0a92bf52" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_68d3924d-8d44-4e59-b9c5-4d2b97089e4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_a5d6a25d-637a-4b06-a390-7277f95a6d32" 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_7d99df2b-0389-46d7-87ed-b80d0a92bf52" xlink:to="loc_us-gaap_TreasuryStockCommonValue_a5d6a25d-637a-4b06-a390-7277f95a6d32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_9581c0b9-eae4-4153-babc-ba05679a516d" 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_us-gaap_LongTermDebtAndCapitalLeaseObligations_b2652a95-9d3c-42ac-a4dc-4666e2922508" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_9581c0b9-eae4-4153-babc-ba05679a516d" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_b2652a95-9d3c-42ac-a4dc-4666e2922508" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_9d1fa621-fa61-4ce8-bf92-e42c046e61d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_9581c0b9-eae4-4153-babc-ba05679a516d" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_9d1fa621-fa61-4ce8-bf92-e42c046e61d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_17f844a9-4492-4661-b1fb-bef650e9fc1a" 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_9581c0b9-eae4-4153-babc-ba05679a516d" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_17f844a9-4492-4661-b1fb-bef650e9fc1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LiabilitiesOfAbandonedEntities_c24f08b1-d373-4ce8-9843-8d579c2cfd3b" xlink:href="spxc-20241231.xsd#spxc_LiabilitiesOfAbandonedEntities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_9581c0b9-eae4-4153-babc-ba05679a516d" xlink:to="loc_spxc_LiabilitiesOfAbandonedEntities_c24f08b1-d373-4ce8-9843-8d579c2cfd3b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="spxc-20241231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" 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_spxc_GainLossOnAmendmentAndOrRefinancingOfDebt_0f7b4b46-3aaf-4ed9-8a75-baa0df21e640" xlink:href="spxc-20241231.xsd#spxc_GainLossOnAmendmentAndOrRefinancingOfDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_spxc_GainLossOnAmendmentAndOrRefinancingOfDebt_0f7b4b46-3aaf-4ed9-8a75-baa0df21e640" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LossOnDivestitureOfAsbestosRelatedAssetsAndLiabilities_2e79f287-c69d-4fb6-abd1-f6eee8e313df" xlink:href="spxc-20241231.xsd#spxc_LossOnDivestitureOfAsbestosRelatedAssetsAndLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_spxc_LossOnDivestitureOfAsbestosRelatedAssetsAndLiabilities_2e79f287-c69d-4fb6-abd1-f6eee8e313df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_fe800533-5490-4b13-9384-600dcc14cb41" 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_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_fe800533-5490-4b13-9384-600dcc14cb41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_dc211dcc-8cc0-4268-b86f-08e027f77a2d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_dc211dcc-8cc0-4268-b86f-08e027f77a2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_edaa5891-e277-4236-af01-9fa82c781dde" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_edaa5891-e277-4236-af01-9fa82c781dde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_SpecialChargesNet_891da788-437b-4b26-b37f-b578a018899e" xlink:href="spxc-20241231.xsd#spxc_SpecialChargesNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_spxc_SpecialChargesNet_891da788-437b-4b26-b37f-b578a018899e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_c577f7ed-d8ff-4285-8fb8-c32d62717172" 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_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_c577f7ed-d8ff-4285-8fb8-c32d62717172" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_ContributionToDivestAsbestosRelatedAssetsAndLiabilities_e458354e-b7a9-4f5c-8db1-106a1746a9d0" xlink:href="spxc-20241231.xsd#spxc_ContributionToDivestAsbestosRelatedAssetsAndLiabilities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_spxc_ContributionToDivestAsbestosRelatedAssetsAndLiabilities_e458354e-b7a9-4f5c-8db1-106a1746a9d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_e8c4e134-b39a-4651-8e01-80efdcb4a721" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_e8c4e134-b39a-4651-8e01-80efdcb4a721" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_1216c33c-70b3-46fb-a543-12a38eb5b15f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_1216c33c-70b3-46fb-a543-12a38eb5b15f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_f4c20365-8aad-4447-8a8d-16b3a53faffc" 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_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_PaymentsForRestructuring_f4c20365-8aad-4447-8a8d-16b3a53faffc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_b3936ea7-0c67-42e0-815c-4c15ca40b9e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_b3936ea7-0c67-42e0-815c-4c15ca40b9e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_ea3b06a2-575a-4b8f-a271-d88da9f31afa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_ea3b06a2-575a-4b8f-a271-d88da9f31afa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_a52be688-0c2b-48e7-bc35-d08d46279576" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_ShareBasedCompensation_a52be688-0c2b-48e7-bc35-d08d46279576" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_5c7d303b-0337-4e42-a7c4-e04f22014800" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_5c7d303b-0337-4e42-a7c4-e04f22014800" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_a025e3b9-eeae-4dcb-bd97-f67b5e4d65e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_5f2523df-0d5c-40a5-98df-e0e705ac54e4" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_a025e3b9-eeae-4dcb-bd97-f67b5e4d65e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_de24057f-3531-4ce8-8923-da56c961fc7a" 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_1624c61b-b683-4b32-a4e3-637deda32e09" 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_de24057f-3531-4ce8-8923-da56c961fc7a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_1624c61b-b683-4b32-a4e3-637deda32e09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_4693821c-8300-480c-a2eb-3eb9849da161" 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_de24057f-3531-4ce8-8923-da56c961fc7a" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_4693821c-8300-480c-a2eb-3eb9849da161" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" 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_BorrowingsUnderSeniorCreditFacilities_11d597a5-9742-4118-926a-0dc0f8c6cd9f" xlink:href="spxc-20241231.xsd#spxc_BorrowingsUnderSeniorCreditFacilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_spxc_BorrowingsUnderSeniorCreditFacilities_11d597a5-9742-4118-926a-0dc0f8c6cd9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderSeniorCreditFacilities_6cb9b5a9-65b6-4d34-b45f-e4c89abb8d72" xlink:href="spxc-20241231.xsd#spxc_RepaymentsUnderSeniorCreditFacilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_spxc_RepaymentsUnderSeniorCreditFacilities_6cb9b5a9-65b6-4d34-b45f-e4c89abb8d72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingUnderTradeReceivablesAgreement_2ac1cbdb-5dca-461b-b2a7-bfb5702afe40" xlink:href="spxc-20241231.xsd#spxc_BorrowingUnderTradeReceivablesAgreement"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_spxc_BorrowingUnderTradeReceivablesAgreement_2ac1cbdb-5dca-461b-b2a7-bfb5702afe40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_f5de82b8-f8d2-4a4f-84b9-70332f7dc2f4" xlink:href="spxc-20241231.xsd#spxc_RepaymentsUnderTradeReceivablesAgreement"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_f5de82b8-f8d2-4a4f-84b9-70332f7dc2f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0ecd3fa2-d200-4e11-8e12-43bf1944b244" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0ecd3fa2-d200-4e11-8e12-43bf1944b244" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_bc155d1a-17a2-4f73-aa21-2aaf40d9ec40" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_bc155d1a-17a2-4f73-aa21-2aaf40d9ec40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_210207ba-5cbd-464e-8782-8e16c01a49f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_210207ba-5cbd-464e-8782-8e16c01a49f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4f573db8-c6d0-457e-b950-3c0e6085c0bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4f573db8-c6d0-457e-b950-3c0e6085c0bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_PaymentProceedsTaxWithholdingShareBasedPaymentArrangement_6e3c7875-7b7e-424d-82b3-efa318d3100f" xlink:href="spxc-20241231.xsd#spxc_PaymentProceedsTaxWithholdingShareBasedPaymentArrangement"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_981f55e8-9398-4834-9a32-bfd44e9f250f" xlink:to="loc_spxc_PaymentProceedsTaxWithholdingShareBasedPaymentArrangement_6e3c7875-7b7e-424d-82b3-efa318d3100f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2def49ac-fe5b-453b-a989-b6adcfd0b66c" 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_NetCashProvidedByUsedInInvestingActivities_b0c44d0d-0c7e-4a4e-bf71-6c9099c6d204" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2def49ac-fe5b-453b-a989-b6adcfd0b66c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b0c44d0d-0c7e-4a4e-bf71-6c9099c6d204" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1b6ebb6d-4afd-49f2-a276-669f3c66ea79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2def49ac-fe5b-453b-a989-b6adcfd0b66c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1b6ebb6d-4afd-49f2-a276-669f3c66ea79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_939b3773-6994-4417-95f9-4a5faf5e900a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2def49ac-fe5b-453b-a989-b6adcfd0b66c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_939b3773-6994-4417-95f9-4a5faf5e900a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_8b8d2e73-f95e-496b-b1b5-e521629a18f6" 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_2def49ac-fe5b-453b-a989-b6adcfd0b66c" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_8b8d2e73-f95e-496b-b1b5-e521629a18f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2daab93f-65be-453e-9aa3-119563131e2e" 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_99fe6a85-96ce-40c1-8687-cb0aa782ca8b" 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_2daab93f-65be-453e-9aa3-119563131e2e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_99fe6a85-96ce-40c1-8687-cb0aa782ca8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_65836b2f-d978-4e85-868b-1db70f36769a" 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_2daab93f-65be-453e-9aa3-119563131e2e" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_65836b2f-d978-4e85-868b-1db70f36769a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_30eed99b-2ba1-49ee-a4fa-2bd7f394188c" 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_PaymentsToAcquireProductiveAssets_35596ceb-7f16-488e-99c4-c4c913ec3c0a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_30eed99b-2ba1-49ee-a4fa-2bd7f394188c" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_35596ceb-7f16-488e-99c4-c4c913ec3c0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLifeInsurancePolicies_be613568-6d4d-4cfb-87dc-23c15c0f6c5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromLifeInsurancePolicies"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_30eed99b-2ba1-49ee-a4fa-2bd7f394188c" xlink:to="loc_us-gaap_PaymentsForProceedsFromLifeInsurancePolicies_be613568-6d4d-4cfb-87dc-23c15c0f6c5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSalesOfAssetsInvestingActivities_5d678c7e-f322-4591-a0f4-b6bfbeffc134" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSalesOfAssetsInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_30eed99b-2ba1-49ee-a4fa-2bd7f394188c" xlink:to="loc_us-gaap_ProceedsFromSalesOfAssetsInvestingActivities_5d678c7e-f322-4591-a0f4-b6bfbeffc134" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_f565a6bb-626d-4b18-a7c9-33386cd5e831" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_30eed99b-2ba1-49ee-a4fa-2bd7f394188c" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_f565a6bb-626d-4b18-a7c9-33386cd5e831" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6eea79eb-0d21-4942-aa50-7de74b015ab5" 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_4c7efe77-6218-466d-8b83-c76100e2778a" 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_6eea79eb-0d21-4942-aa50-7de74b015ab5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_4c7efe77-6218-466d-8b83-c76100e2778a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_f12b515b-ca78-41cb-bf76-de58db4c924d" 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_6eea79eb-0d21-4942-aa50-7de74b015ab5" xlink:to="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_f12b515b-ca78-41cb-bf76-de58db4c924d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ConsolidatedStatementsofCashFlowsParenthetical" xlink:type="simple" xlink:href="spxc-20241231.xsd#ConsolidatedStatementsofCashFlowsParenthetical"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ConsolidatedStatementsofCashFlowsParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperations_e453df17-87f2-439b-b31b-425443307cf2" 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_60499677-ae70-4c23-b6b7-e0aec08af9e5" xlink:href="spxc-20241231.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_e453df17-87f2-439b-b31b-425443307cf2" xlink:to="loc_spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities_60499677-ae70-4c23-b6b7-e0aec08af9e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b2cd6ceb-d936-49e8-ba06-ab98d1bbb28c" 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_e453df17-87f2-439b-b31b-425443307cf2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b2cd6ceb-d936-49e8-ba06-ab98d1bbb28c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/UseofEstimatesAccruedExpensesDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#UseofEstimatesAccruedExpensesDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/UseofEstimatesAccruedExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_47509866-3179-4d4e-bb9d-f75852f7a95d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedBonusesCurrent_7e0d813c-4aa6-45ac-8e67-f7f7049fa817" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedBonusesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_47509866-3179-4d4e-bb9d-f75852f7a95d" xlink:to="loc_us-gaap_AccruedBonusesCurrent_7e0d813c-4aa6-45ac-8e67-f7f7049fa817" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_a91f16d5-1cc6-4bc2-8982-674238ad5ac6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_47509866-3179-4d4e-bb9d-f75852f7a95d" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_a91f16d5-1cc6-4bc2-8982-674238ad5ac6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedEmployeeBenefitsCurrent_49e8df65-5177-4967-8b6a-d066567b83bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedEmployeeBenefitsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_47509866-3179-4d4e-bb9d-f75852f7a95d" xlink:to="loc_us-gaap_AccruedEmployeeBenefitsCurrent_49e8df65-5177-4967-8b6a-d066567b83bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_e17631d4-05ef-4912-ba04-8cf78c247c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_47509866-3179-4d4e-bb9d-f75852f7a95d" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_e17631d4-05ef-4912-ba04-8cf78c247c2d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/UseofEstimatesWarrantyDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#UseofEstimatesWarrantyDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/UseofEstimatesWarrantyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrual_df4bd9cf-1bb0-48e3-98a6-c40058112e50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrual"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_83e16f6c-0ea8-43a6-8cc1-7d5d9a8d533d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProductWarrantyAccrual_df4bd9cf-1bb0-48e3-98a6-c40058112e50" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_83e16f6c-0ea8-43a6-8cc1-7d5d9a8d533d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualNoncurrent_f5fec30c-c812-4a98-b182-d839c9be71cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrualNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProductWarrantyAccrual_df4bd9cf-1bb0-48e3-98a6-c40058112e50" xlink:to="loc_us-gaap_ProductWarrantyAccrualNoncurrent_f5fec30c-c812-4a98-b182-d839c9be71cf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleAcquisitionofASPEQDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleAcquisitionofASPEQDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleAcquisitionofASPEQDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_077d6bdc-3e77-4e8c-b573-deaafe9b6b42" xlink:href="spxc-20241231.xsd#spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_c606c509-3708-4adb-b7ca-d4e78450602f" 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_077d6bdc-3e77-4e8c-b573-deaafe9b6b42" xlink:to="loc_us-gaap_Goodwill_c606c509-3708-4adb-b7ca-d4e78450602f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_7000233d-d130-4407-8bb7-19fe51575c12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_077d6bdc-3e77-4e8c-b573-deaafe9b6b42" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_7000233d-d130-4407-8bb7-19fe51575c12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_752131a4-7f39-41c6-a78c-8024ce43ae45" 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_077d6bdc-3e77-4e8c-b573-deaafe9b6b42" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_752131a4-7f39-41c6-a78c-8024ce43ae45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_31b2ecee-e3d4-40d2-82fa-74f225e8bcba" 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_077d6bdc-3e77-4e8c-b573-deaafe9b6b42" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_31b2ecee-e3d4-40d2-82fa-74f225e8bcba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_ae2bd725-bc77-44c7-9ad6-ddadfdacb8e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_077d6bdc-3e77-4e8c-b573-deaafe9b6b42" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_ae2bd725-bc77-44c7-9ad6-ddadfdacb8e5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_d9b12f3e-7382-4918-b5e9-f4bd55d7b0d8" 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_e38692a3-9399-467a-99a8-d76d84170b38" xlink:href="spxc-20241231.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_d9b12f3e-7382-4918-b5e9-f4bd55d7b0d8" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross_e38692a3-9399-467a-99a8-d76d84170b38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_f51156e2-cd61-40c9-b7a2-ffbb3c65392d" xlink:href="spxc-20241231.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_d9b12f3e-7382-4918-b5e9-f4bd55d7b0d8" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_f51156e2-cd61-40c9-b7a2-ffbb3c65392d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e50b85f7-b9b6-45eb-9268-e16fcdde82f9" 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_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_f0359daf-1c26-45f7-8ba7-f6295443304a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e50b85f7-b9b6-45eb-9268-e16fcdde82f9" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_f0359daf-1c26-45f7-8ba7-f6295443304a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_d24c97ec-e34d-4157-90c8-ccd9da7a6488" 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_e50b85f7-b9b6-45eb-9268-e16fcdde82f9" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_d24c97ec-e34d-4157-90c8-ccd9da7a6488" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_0e8a09dd-df74-49c3-ad83-b632c33bcfe7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e50b85f7-b9b6-45eb-9268-e16fcdde82f9" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_0e8a09dd-df74-49c3-ad83-b632c33bcfe7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_34d35a61-4ed4-47a8-adb2-ac84c4601180" 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_e50b85f7-b9b6-45eb-9268-e16fcdde82f9" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_34d35a61-4ed4-47a8-adb2-ac84c4601180" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_761c5fd3-9cc7-4c15-b6a7-e4a15f0c3a6b" 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_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_21b2ca10-67a7-4982-ad64-c82558cac202" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_761c5fd3-9cc7-4c15-b6a7-e4a15f0c3a6b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_21b2ca10-67a7-4982-ad64-c82558cac202" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_c669ee2b-67c0-4c3e-b355-cf4701ac4da9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_761c5fd3-9cc7-4c15-b6a7-e4a15f0c3a6b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_c669ee2b-67c0-4c3e-b355-cf4701ac4da9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_74867e92-54af-42d9-8581-8d5eb4e95414" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_761c5fd3-9cc7-4c15-b6a7-e4a15f0c3a6b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_74867e92-54af-42d9-8581-8d5eb4e95414" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_0e2ae9eb-5d56-49f4-9a4c-19e74ed607c0" xlink:href="spxc-20241231.xsd#spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_761c5fd3-9cc7-4c15-b6a7-e4a15f0c3a6b" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_0e2ae9eb-5d56-49f4-9a4c-19e74ed607c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleWindDownofHeatTransferBusinessAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleWindDownofHeatTransferBusinessAssetsandLiabilitiesofDiscontinuedOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleWindDownofHeatTransferBusinessAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_39d195ce-c1f6-4969-8bf2-2d3da5feb8bd" 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_657eb142-179e-4706-a395-191789f78dbc" 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_39d195ce-c1f6-4969-8bf2-2d3da5feb8bd" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_657eb142-179e-4706-a395-191789f78dbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_5051f82f-e82b-4bdc-b45f-55c0af4edee9" 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_39d195ce-c1f6-4969-8bf2-2d3da5feb8bd" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_5051f82f-e82b-4bdc-b45f-55c0af4edee9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_86b80429-d797-451d-9071-4595490ed775" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_39d195ce-c1f6-4969-8bf2-2d3da5feb8bd" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_86b80429-d797-451d-9071-4595490ed775" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleResultsofOperationsDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleResultsofOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleResultsofOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_3ef0114f-13f7-4a81-816a-0ae5f3b762a4" 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_238aef92-3410-44a9-925d-527ebe85dcf8" 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_3ef0114f-13f7-4a81-816a-0ae5f3b762a4" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_238aef92-3410-44a9-925d-527ebe85dcf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_015ce025-7470-4d71-81bc-24f1c4c40124" 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_3ef0114f-13f7-4a81-816a-0ae5f3b762a4" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_015ce025-7470-4d71-81bc-24f1c4c40124" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/RevenuesfromContractsContractBalancesDetails" xlink:type="simple" xlink:href="spxc-20241231.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_3b7b9ecd-77f0-4298-acbb-4d405f8cc534" xlink:href="spxc-20241231.xsd#spxc_ContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_29ca4fd0-e959-48f4-9983-12de5977298f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_3b7b9ecd-77f0-4298-acbb-4d405f8cc534" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_29ca4fd0-e959-48f4-9983-12de5977298f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_2c6960f9-1861-4fa2-ac63-a90766d78b43" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_3b7b9ecd-77f0-4298-acbb-4d405f8cc534" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_2c6960f9-1861-4fa2-ac63-a90766d78b43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_5bf7416b-05c9-4a43-ab5a-bc8c55cd6bc6" 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_3b7b9ecd-77f0-4298-acbb-4d405f8cc534" xlink:to="loc_us-gaap_AccountsReceivableNet_5bf7416b-05c9-4a43-ab5a-bc8c55cd6bc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_ed335e06-12af-4bbf-8907-d8ca9f0346d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_3b7b9ecd-77f0-4298-acbb-4d405f8cc534" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_ed335e06-12af-4bbf-8907-d8ca9f0346d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_84ad38f8-231f-4ebd-8378-02f886aee635" xlink:href="spxc-20241231.xsd#spxc_IncreaseDecreaseinContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_c016e7e1-8709-45b7-8ea3-2eeea6b95c3b" xlink:href="spxc-20241231.xsd#spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_84ad38f8-231f-4ebd-8378-02f886aee635" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_c016e7e1-8709-45b7-8ea3-2eeea6b95c3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_b666ddc9-bd61-42f8-8606-9e28e733f4c4" xlink:href="spxc-20241231.xsd#spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_84ad38f8-231f-4ebd-8378-02f886aee635" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_b666ddc9-bd61-42f8-8606-9e28e733f4c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_22c06623-9120-4d89-88a5-11dd0e7a02c9" xlink:href="spxc-20241231.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_84ad38f8-231f-4ebd-8378-02f886aee635" xlink:to="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_22c06623-9120-4d89-88a5-11dd0e7a02c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_cb2253f1-ec24-427c-8f13-8fd5e1f7a39c" xlink:href="spxc-20241231.xsd#spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_84ad38f8-231f-4ebd-8378-02f886aee635" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_cb2253f1-ec24-427c-8f13-8fd5e1f7a39c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesLeaseCostDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#LeasesLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/LeasesLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_spxc_FinanceLeaseCost_fe996e13-cbfc-44b6-abc5-e4401b2be36f" xlink:href="spxc-20241231.xsd#spxc_FinanceLeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_9ab34c76-f6c3-45a0-844c-ead06903dd8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_FinanceLeaseCost_fe996e13-cbfc-44b6-abc5-e4401b2be36f" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_9ab34c76-f6c3-45a0-844c-ead06903dd8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_d2266b32-fdc3-4f24-b3dc-a01ded5f9b6b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_FinanceLeaseCost_fe996e13-cbfc-44b6-abc5-e4401b2be36f" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_d2266b32-fdc3-4f24-b3dc-a01ded5f9b6b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesSupplementalBalanceSheetInformationDetails" xlink:type="simple" xlink:href="spxc-20241231.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_FinanceLeaseLiability_3b27e81c-08f1-4156-bedb-bac863c9fbea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_b10e84a3-f73d-422b-b0e2-5db1445e57bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_3b27e81c-08f1-4156-bedb-bac863c9fbea" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_b10e84a3-f73d-422b-b0e2-5db1445e57bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_814893e8-7bf7-4226-9fbd-2cd47f40a926" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_3b27e81c-08f1-4156-bedb-bac863c9fbea" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_814893e8-7bf7-4226-9fbd-2cd47f40a926" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_19444055-af38-4a89-9628-dfe7573ac3cb" 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_cae6e0bf-a9a2-49bc-8920-ae6eb9744d60" 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_19444055-af38-4a89-9628-dfe7573ac3cb" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_cae6e0bf-a9a2-49bc-8920-ae6eb9744d60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_520425e0-dc19-4394-9ed2-3cc1acbf99a0" 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_19444055-af38-4a89-9628-dfe7573ac3cb" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_520425e0-dc19-4394-9ed2-3cc1acbf99a0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#LeasesFutureMinimumPaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDue_0a3d36dd-2f42-4eb2-be9a-dd6aefd12c86" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths_7a0e0ee4-1792-4446-88cb-d066e71447dc" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDue_0a3d36dd-2f42-4eb2-be9a-dd6aefd12c86" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths_7a0e0ee4-1792-4446-88cb-d066e71447dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearTwo_186cc4fb-c2e9-4466-92a4-e42450aae774" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDue_0a3d36dd-2f42-4eb2-be9a-dd6aefd12c86" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearTwo_186cc4fb-c2e9-4466-92a4-e42450aae774" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearThree_9a8ce7ac-cd3e-4d79-913f-a6ad4f716512" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDue_0a3d36dd-2f42-4eb2-be9a-dd6aefd12c86" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearThree_9a8ce7ac-cd3e-4d79-913f-a6ad4f716512" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFour_199082e9-5e96-4089-92c2-11c8352a6b5f" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDue_0a3d36dd-2f42-4eb2-be9a-dd6aefd12c86" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFour_199082e9-5e96-4089-92c2-11c8352a6b5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFive_06bedf16-312c-4f8f-8ca6-fbba8aa437de" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDue_0a3d36dd-2f42-4eb2-be9a-dd6aefd12c86" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFive_06bedf16-312c-4f8f-8ca6-fbba8aa437de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive_1c4e45e9-0f16-470d-ae94-7f37edd01179" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDue_0a3d36dd-2f42-4eb2-be9a-dd6aefd12c86" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive_1c4e45e9-0f16-470d-ae94-7f37edd01179" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearThree_6c958d42-bff1-4165-b317-1957a5e013e9" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearThree"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree_c70d0e5e-a369-4cc5-8d73-07832b94218c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearThree_6c958d42-bff1-4165-b317-1957a5e013e9" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree_c70d0e5e-a369-4cc5-8d73-07832b94218c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree_4670b31a-ef7e-4cf5-86be-1d146899b418" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearThree_6c958d42-bff1-4165-b317-1957a5e013e9" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree_4670b31a-ef7e-4cf5-86be-1d146899b418" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive_90f58ec5-bf95-4866-9081-3d74e573f74b" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive_1c942620-3d18-4b36-9e32-cb4e8afadd4d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive_90f58ec5-bf95-4866-9081-3d74e573f74b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive_1c942620-3d18-4b36-9e32-cb4e8afadd4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive_b17d8f22-14ef-4596-b5de-b47a43b50d21" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive_90f58ec5-bf95-4866-9081-3d74e573f74b" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive_b17d8f22-14ef-4596-b5de-b47a43b50d21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFour_c7b8d786-c856-4d11-8fda-4f5e87ae9111" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearFour"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour_1a47fa8e-766e-47a5-84d5-81ee0f302dac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFour_c7b8d786-c856-4d11-8fda-4f5e87ae9111" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour_1a47fa8e-766e-47a5-84d5-81ee0f302dac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour_3dbce989-6ce5-470f-b4d1-1e974758d6ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFour_c7b8d786-c856-4d11-8fda-4f5e87ae9111" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour_3dbce989-6ce5-470f-b4d1-1e974758d6ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearTwo_56258aac-82bd-424a-a784-de0103c7e1be" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearTwo"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo_523f9ee6-eed4-45e2-aa24-bf4e1c788c13" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearTwo_56258aac-82bd-424a-a784-de0103c7e1be" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo_523f9ee6-eed4-45e2-aa24-bf4e1c788c13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo_3503b949-2a9c-40a2-bd54-c90c5b9af582" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearTwo_56258aac-82bd-424a-a784-de0103c7e1be" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo_3503b949-2a9c-40a2-bd54-c90c5b9af582" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f427e857-9f5d-4982-ad2d-eec42885783e" 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_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_588071b7-9a28-4c35-9a1e-713056cf8ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f427e857-9f5d-4982-ad2d-eec42885783e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_588071b7-9a28-4c35-9a1e-713056cf8ac2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo_af68a7a2-cd76-4633-9329-4101902bf429" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f427e857-9f5d-4982-ad2d-eec42885783e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo_af68a7a2-cd76-4633-9329-4101902bf429" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree_b29cc0d9-df93-4c32-afec-ccae5a59bdf1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f427e857-9f5d-4982-ad2d-eec42885783e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree_b29cc0d9-df93-4c32-afec-ccae5a59bdf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour_3e56d5ab-0b2b-4e11-9747-834460b0f230" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f427e857-9f5d-4982-ad2d-eec42885783e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour_3e56d5ab-0b2b-4e11-9747-834460b0f230" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive_e1848390-6bb4-47c5-b36b-1ba555904cdc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f427e857-9f5d-4982-ad2d-eec42885783e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive_e1848390-6bb4-47c5-b36b-1ba555904cdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive_8222a093-c5bb-441d-8383-77ccc7448351" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f427e857-9f5d-4982-ad2d-eec42885783e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive_8222a093-c5bb-441d-8383-77ccc7448351" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths_b845562e-aa88-4a52-bee0-83ea66726455" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_2bb6e21c-9e24-46b9-ab54-f4747bca11d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths_b845562e-aa88-4a52-bee0-83ea66726455" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_2bb6e21c-9e24-46b9-ab54-f4747bca11d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths_ffc25a55-5078-4b6e-882c-1f8dc04daddc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths_b845562e-aa88-4a52-bee0-83ea66726455" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths_ffc25a55-5078-4b6e-882c-1f8dc04daddc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityUndiscountedExcessAmount_c50f2c61-cdde-4b35-9a24-8eab69eceb94" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityUndiscountedExcessAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_3c996aa0-fb85-48e5-8b39-31ef4a6f4cf4" 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_spxc_LeaseLiabilityUndiscountedExcessAmount_c50f2c61-cdde-4b35-9a24-8eab69eceb94" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_3c996aa0-fb85-48e5-8b39-31ef4a6f4cf4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_8089d3fd-a41a-4b96-a7b9-78365a16a477" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityUndiscountedExcessAmount_c50f2c61-cdde-4b35-9a24-8eab69eceb94" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_8089d3fd-a41a-4b96-a7b9-78365a16a477" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4bf69cf3-33b5-4675-a727-2a8f07c9c212" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths_ca7050f0-7c72-485d-8ee0-b3a81116c46e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4bf69cf3-33b5-4675-a727-2a8f07c9c212" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths_ca7050f0-7c72-485d-8ee0-b3a81116c46e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo_d70c1d47-d0f4-4e05-82c2-3362445a0ca9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4bf69cf3-33b5-4675-a727-2a8f07c9c212" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo_d70c1d47-d0f4-4e05-82c2-3362445a0ca9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree_c79fa109-bafb-4283-9d13-cc4a6b12a501" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4bf69cf3-33b5-4675-a727-2a8f07c9c212" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree_c79fa109-bafb-4283-9d13-cc4a6b12a501" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour_d33d2248-f0e7-4b9e-8231-b88eeb036f2b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4bf69cf3-33b5-4675-a727-2a8f07c9c212" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour_d33d2248-f0e7-4b9e-8231-b88eeb036f2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive_f76470d7-b2cf-49ae-a20c-84f5963edce5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4bf69cf3-33b5-4675-a727-2a8f07c9c212" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive_f76470d7-b2cf-49ae-a20c-84f5963edce5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive_171aa04a-2084-4104-898a-b4ea14a524d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4bf69cf3-33b5-4675-a727-2a8f07c9c212" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive_171aa04a-2084-4104-898a-b4ea14a524d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFive_4e964208-3156-4b18-b91f-29faf689d255" xlink:href="spxc-20241231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive_9cd46442-e63e-48ee-b0f1-a753630dc8c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFive_4e964208-3156-4b18-b91f-29faf689d255" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive_9cd46442-e63e-48ee-b0f1-a753630dc8c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive_e663eb5b-8010-4415-9bfa-2b6730fa328e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFive_4e964208-3156-4b18-b91f-29faf689d255" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive_e663eb5b-8010-4415-9bfa-2b6730fa328e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiability_6ff9fb0b-5946-4edb-bc99-b8b63379b4ed" xlink:href="spxc-20241231.xsd#spxc_LeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_13a0f6f6-ae98-4e5b-b064-9e7e677ee049" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiability_6ff9fb0b-5946-4edb-bc99-b8b63379b4ed" xlink:to="loc_us-gaap_OperatingLeaseLiability_13a0f6f6-ae98-4e5b-b064-9e7e677ee049" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_d7493bce-b346-4a09-b52e-13a300fa06ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_LeaseLiability_6ff9fb0b-5946-4edb-bc99-b8b63379b4ed" xlink:to="loc_us-gaap_FinanceLeaseLiability_d7493bce-b346-4a09-b52e-13a300fa06ab" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/InformationonReportableSegmentsFinancialDataDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#InformationonReportableSegmentsFinancialDataDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/InformationonReportableSegmentsFinancialDataDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncurrentAssets_90bf5c35-5f8d-4418-b56a-dab7d5b8abf9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoncurrentAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LongLivedAssetsOfDiscontinuedOperations_4cb9716a-92ff-4bb8-b53e-53d81bf7dd82" xlink:href="spxc-20241231.xsd#spxc_LongLivedAssetsOfDiscontinuedOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoncurrentAssets_90bf5c35-5f8d-4418-b56a-dab7d5b8abf9" xlink:to="loc_spxc_LongLivedAssetsOfDiscontinuedOperations_4cb9716a-92ff-4bb8-b53e-53d81bf7dd82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LongLivedAssetsOfContinuingOperations_8142146a-ba74-4ceb-989d-cd3c8ad484fc" xlink:href="spxc-20241231.xsd#spxc_LongLivedAssetsOfContinuingOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoncurrentAssets_90bf5c35-5f8d-4418-b56a-dab7d5b8abf9" xlink:to="loc_spxc_LongLivedAssetsOfContinuingOperations_8142146a-ba74-4ceb-989d-cd3c8ad484fc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/InventoriesNetDetails" xlink:type="simple" xlink:href="spxc-20241231.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_55a6d20e-72e5-4283-be46-75084222a62c" 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_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_18066336-a5b4-4af8-9c3c-d9169660f209" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_55a6d20e-72e5-4283-be46-75084222a62c" xlink:to="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_18066336-a5b4-4af8-9c3c-d9169660f209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_ddb3dcc3-f53e-4b3a-a648-f0ee5888ac7b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_55a6d20e-72e5-4283-be46-75084222a62c" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_ddb3dcc3-f53e-4b3a-a648-f0ee5888ac7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_5d5d951a-8846-4ecb-8c35-3f34722d715a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_55a6d20e-72e5-4283-be46-75084222a62c" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_5d5d951a-8846-4ecb-8c35-3f34722d715a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsGoodwillDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#GoodwillandOtherIntangibleAssetsGoodwillDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsGoodwillDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_c7da0e99-c576-4573-a79f-6097533f0410" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillGross_b27a5227-459b-4463-9a07-d250ab61b589" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Goodwill_c7da0e99-c576-4573-a79f-6097533f0410" xlink:to="loc_us-gaap_GoodwillGross_b27a5227-459b-4463-9a07-d250ab61b589" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_01249356-725f-4379-88f9-45745d2a72cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Goodwill_c7da0e99-c576-4573-a79f-6097533f0410" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_01249356-725f-4379-88f9-45745d2a72cf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsIntangiblesAssetsDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#GoodwillandOtherIntangibleAssetsIntangiblesAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsIntangiblesAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_88d95b49-a9e7-4371-a6f4-1600b1534889" 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_b5f92a54-0e08-434c-b013-7d3dda0ccfbf" 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_88d95b49-a9e7-4371-a6f4-1600b1534889" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_b5f92a54-0e08-434c-b013-7d3dda0ccfbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_501d6f87-40ff-4cd3-a0b9-5def3ff9ee4b" 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_88d95b49-a9e7-4371-a6f4-1600b1534889" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_501d6f87-40ff-4cd3-a0b9-5def3ff9ee4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c4e181ba-14fe-401d-b437-74cdc76d32d5" 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_1ccb6702-48db-4412-9f54-0c067df357fa" 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_c4e181ba-14fe-401d-b437-74cdc76d32d5" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_1ccb6702-48db-4412-9f54-0c067df357fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_5f5bc9d1-1504-414a-91b3-94d77352e3da" 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_c4e181ba-14fe-401d-b437-74cdc76d32d5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_5f5bc9d1-1504-414a-91b3-94d77352e3da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_27a41e21-2cb8-41e5-8df2-672d4b7988a6" 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_1b5a15cc-57b9-40f1-96fa-0efddb10979a" 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_27a41e21-2cb8-41e5-8df2-672d4b7988a6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_1b5a15cc-57b9-40f1-96fa-0efddb10979a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_2285c765-c0ce-4607-87d2-3c8ba3efb6e2" 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_27a41e21-2cb8-41e5-8df2-672d4b7988a6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_2285c765-c0ce-4607-87d2-3c8ba3efb6e2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/EmployeeBenefitPlansObligationsandFundedStatusDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#EmployeeBenefitPlansObligationsandFundedStatusDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/EmployeeBenefitPlansObligationsandFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_e97a8fe2-f8f7-410a-93fd-9f5f72c7aa6c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_66724af5-9529-472c-a74b-849faf49481a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_e97a8fe2-f8f7-410a-93fd-9f5f72c7aa6c" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_66724af5-9529-472c-a74b-849faf49481a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_41e5652c-24ee-4484-9a7b-0d63545fced7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_e97a8fe2-f8f7-410a-93fd-9f5f72c7aa6c" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_41e5652c-24ee-4484-9a7b-0d63545fced7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_c8df984e-ed19-468b-97c0-77c8c297aa13" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_e97a8fe2-f8f7-410a-93fd-9f5f72c7aa6c" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_c8df984e-ed19-468b-97c0-77c8c297aa13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_0cb5d264-cea2-4211-9a64-20a9953675d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_1e8c6a05-4805-4e92-87c3-f095351ff490" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_0cb5d264-cea2-4211-9a64-20a9953675d3" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_1e8c6a05-4805-4e92-87c3-f095351ff490" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_fbe5861e-c28b-4642-bfd3-3a9326757a01" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_0cb5d264-cea2-4211-9a64-20a9953675d3" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_fbe5861e-c28b-4642-bfd3-3a9326757a01" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/EmployeeBenefitPlansPostretirementBenefitPlansDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#EmployeeBenefitPlansPostretirementBenefitPlansDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/EmployeeBenefitPlansPostretirementBenefitPlansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d85145a5-83a6-4708-acf2-6353ead9ae52" 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_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax_5021371a-e59b-4ffc-bfad-2e4a78e8877f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d85145a5-83a6-4708-acf2-6353ead9ae52" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax_5021371a-e59b-4ffc-bfad-2e4a78e8877f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_8cb87371-b8a1-491d-b02c-f4c9db9803fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d85145a5-83a6-4708-acf2-6353ead9ae52" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_8cb87371-b8a1-491d-b02c-f4c9db9803fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_3d7f8bb6-c577-4313-8fbc-16a579462705" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d85145a5-83a6-4708-acf2-6353ead9ae52" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_3d7f8bb6-c577-4313-8fbc-16a579462705" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_0d9d54b3-1348-45f6-b281-8e7a6521cda2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d85145a5-83a6-4708-acf2-6353ead9ae52" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_0d9d54b3-1348-45f6-b281-8e7a6521cda2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_993a6318-96de-4432-9513-93d9ecd67ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_d85145a5-83a6-4708-acf2-6353ead9ae52" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_993a6318-96de-4432-9513-93d9ecd67ce8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/IncomeTaxesIncomeTaxesProvisionforBenefitDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#IncomeTaxesIncomeTaxesProvisionforBenefitDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/IncomeTaxesIncomeTaxesProvisionforBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d0ba04f7-da90-4e30-ac5e-bfd1dc13e9f5" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_4a1c638e-240f-44c0-818b-5ebf0d773f46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d0ba04f7-da90-4e30-ac5e-bfd1dc13e9f5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_4a1c638e-240f-44c0-818b-5ebf0d773f46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_d9f6c897-c2d0-44a8-a9c1-6a634a7b95a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d0ba04f7-da90-4e30-ac5e-bfd1dc13e9f5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_d9f6c897-c2d0-44a8-a9c1-6a634a7b95a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_cce9d781-48f7-457f-8335-a11668b851c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_dfc572a3-6d96-4d77-8476-3bd885443a1f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_cce9d781-48f7-457f-8335-a11668b851c6" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_dfc572a3-6d96-4d77-8476-3bd885443a1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_5110d3b0-5205-4442-ad9e-73382a8983b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_cce9d781-48f7-457f-8335-a11668b851c6" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_5110d3b0-5205-4442-ad9e-73382a8983b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9f29f5d7-a4a7-4413-97eb-299034cea932" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_252716d3-9784-41ed-b41f-17389c9a1f7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9f29f5d7-a4a7-4413-97eb-299034cea932" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_252716d3-9784-41ed-b41f-17389c9a1f7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_fecbac16-92d6-4b67-b66f-4a3e5e2b20f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9f29f5d7-a4a7-4413-97eb-299034cea932" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_fecbac16-92d6-4b67-b66f-4a3e5e2b20f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7cfca7b5-e8ea-4651-b028-2f67636823ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_8ecfefc0-5a98-4fc8-af7d-518a3366570f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7cfca7b5-e8ea-4651-b028-2f67636823ff" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_8ecfefc0-5a98-4fc8-af7d-518a3366570f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_01913850-87b9-4ba4-894b-9a27faad0b05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7cfca7b5-e8ea-4651-b028-2f67636823ff" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_01913850-87b9-4ba4-894b-9a27faad0b05" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/IncomeTaxesEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#IncomeTaxesEffectiveIncomeTaxRateDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/IncomeTaxesEffectiveIncomeTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_a3e5e070-561c-40f2-a951-6391cae2ecfa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_a3e5e070-561c-40f2-a951-6391cae2ecfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_1c534cb0-82ec-4b5b-9d29-4cdc0e5218f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_1c534cb0-82ec-4b5b-9d29-4cdc0e5218f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxCreditsAndExemptions_5fa1d178-336d-48e0-8026-6b5e48da3ae7" xlink:href="spxc-20241231.xsd#spxc_EffectiveIncomeTaxRateReconciliationTaxCreditsAndExemptions"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxCreditsAndExemptions_5fa1d178-336d-48e0-8026-6b5e48da3ae7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_571ac260-7803-4277-84c0-fb9a1d430a51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_571ac260-7803-4277-84c0-fb9a1d430a51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_c226e6a4-7a4b-4dc0-bdaf-59c244d5c907" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_c226e6a4-7a4b-4dc0-bdaf-59c244d5c907" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_6395a5d7-015b-4aed-9557-2d94507ed830" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_6395a5d7-015b-4aed-9557-2d94507ed830" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationImpairmentAndBasisAdjustmentsPercent_361dd99e-6b0a-4bd5-bad1-8291f7f375a5" xlink:href="spxc-20241231.xsd#spxc_EffectiveIncomeTaxRateReconciliationImpairmentAndBasisAdjustmentsPercent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationImpairmentAndBasisAdjustmentsPercent_361dd99e-6b0a-4bd5-bad1-8291f7f375a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_49e25558-fa82-4a69-91d5-764490d40641" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_49e25558-fa82-4a69-91d5-764490d40641" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_39c92002-fb38-4f72-a9bb-23ed42248205" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_39c92002-fb38-4f72-a9bb-23ed42248205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_ac582dfc-564f-4050-a197-a391b237daca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_ac582dfc-564f-4050-a197-a391b237daca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationNonDeductibleLossOnDispositionOfBusinessPercent_f6b1c2ea-19f0-4d32-b631-3bd27e997886" xlink:href="spxc-20241231.xsd#spxc_EffectiveIncomeTaxRateReconciliationNonDeductibleLossOnDispositionOfBusinessPercent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationNonDeductibleLossOnDispositionOfBusinessPercent_f6b1c2ea-19f0-4d32-b631-3bd27e997886" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxAdjustmentsToContingentConsideration_ce98bd92-ba4d-4dd2-ab77-0a530e93b0d3" xlink:href="spxc-20241231.xsd#spxc_EffectiveIncomeTaxRateReconciliationTaxAdjustmentsToContingentConsideration"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f421ec07-4df4-4bc1-ac43-2fb5fdb0c706" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxAdjustmentsToContingentConsideration_ce98bd92-ba4d-4dd2-ab77-0a530e93b0d3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_3f0f2647-735a-4462-afc9-d76f0a531f81" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_856c7efd-cca9-4b24-97cf-9f5c883b0bb5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3f0f2647-735a-4462-afc9-d76f0a531f81" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_856c7efd-cca9-4b24-97cf-9f5c883b0bb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_c978d854-de91-4d99-be52-b68aed98141d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3f0f2647-735a-4462-afc9-d76f0a531f81" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_c978d854-de91-4d99-be52-b68aed98141d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_b48d1fc5-b214-4f1e-9804-7a97fddbcb89" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3f0f2647-735a-4462-afc9-d76f0a531f81" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_b48d1fc5-b214-4f1e-9804-7a97fddbcb89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b61323c8-db62-4907-8e57-d4c3f05839e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3f0f2647-735a-4462-afc9-d76f0a531f81" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b61323c8-db62-4907-8e57-d4c3f05839e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_9ddd5946-c862-4820-9944-433fb40abe02" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_d2092daa-4312-4d5e-9273-26c2e68db0ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_9ddd5946-c862-4820-9944-433fb40abe02" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_d2092daa-4312-4d5e-9273-26c2e68db0ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_b1a086a8-6288-4bc6-ad35-3bef80e9ec5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_9ddd5946-c862-4820-9944-433fb40abe02" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_b1a086a8-6288-4bc6-ad35-3bef80e9ec5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_c192518b-ef91-44a1-a20f-ff4b8bebef4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalEnvironmentalAndSelfInsurance_0d2a7793-3760-43ce-af0e-792e4192d38b" xlink:href="spxc-20241231.xsd#spxc_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalEnvironmentalAndSelfInsurance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_c192518b-ef91-44a1-a20f-ff4b8bebef4a" xlink:to="loc_spxc_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalEnvironmentalAndSelfInsurance_0d2a7793-3760-43ce-af0e-792e4192d38b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DeferredTaxAssetsNetOperatingLossAndTaxCreditCarryforwards_49d3935e-ea00-42d9-b79a-81133e0edffb" xlink:href="spxc-20241231.xsd#spxc_DeferredTaxAssetsNetOperatingLossAndTaxCreditCarryforwards"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_c192518b-ef91-44a1-a20f-ff4b8bebef4a" xlink:to="loc_spxc_DeferredTaxAssetsNetOperatingLossAndTaxCreditCarryforwards_49d3935e-ea00-42d9-b79a-81133e0edffb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_ee216412-ec43-4390-a233-cef462eb1e80" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_c192518b-ef91-44a1-a20f-ff4b8bebef4a" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_ee216412-ec43-4390-a233-cef462eb1e80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionOtherPostretirementAndPostemploymentBenefits_87c771ac-0545-4830-afdb-70ab2fec6c12" xlink:href="spxc-20241231.xsd#spxc_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionOtherPostretirementAndPostemploymentBenefits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_c192518b-ef91-44a1-a20f-ff4b8bebef4a" xlink:to="loc_spxc_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionOtherPostretirementAndPostemploymentBenefits_87c771ac-0545-4830-afdb-70ab2fec6c12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_23198724-4467-4e33-b865-c18d2e1b34df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_c192518b-ef91-44a1-a20f-ff4b8bebef4a" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_23198724-4467-4e33-b865-c18d2e1b34df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsReserves_e541b56d-152e-4c15-a00d-c8419e24c689" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsReserves"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_c192518b-ef91-44a1-a20f-ff4b8bebef4a" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsReserves_e541b56d-152e-4c15-a00d-c8419e24c689" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_b807f0f9-ae62-4733-8368-fbc5711e2a76" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_c192518b-ef91-44a1-a20f-ff4b8bebef4a" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_b807f0f9-ae62-4733-8368-fbc5711e2a76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_afcdab74-b3e8-476a-bfc4-19f74097f39e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_73a41b17-8b53-4c65-bede-f610722893e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_afcdab74-b3e8-476a-bfc4-19f74097f39e" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_73a41b17-8b53-4c65-bede-f610722893e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_999fde8d-ec40-48c9-86d7-a9e083680147" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_afcdab74-b3e8-476a-bfc4-19f74097f39e" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_999fde8d-ec40-48c9-86d7-a9e083680147" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ShareholdersEquityandLongTermIncentiveCompensationComponentsUsedforCalculationofBasicandDilutedIncomeLossDetails" xlink:type="simple" xlink:href="spxc-20241231.xsd#ShareholdersEquityandLongTermIncentiveCompensationComponentsUsedforCalculationofBasicandDilutedIncomeLossDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ShareholdersEquityandLongTermIncentiveCompensationComponentsUsedforCalculationofBasicandDilutedIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_30fe5d4c-1955-4540-a261-a4ec277efaf3" 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_2665fa46-76bc-4cda-9fcd-f712a44e4cb4" 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_30fe5d4c-1955-4540-a261-a4ec277efaf3" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_2665fa46-76bc-4cda-9fcd-f712a44e4cb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e8b8205c-7ea0-4632-bdae-a5fa726bc3cd" 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_30fe5d4c-1955-4540-a261-a4ec277efaf3" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e8b8205c-7ea0-4632-bdae-a5fa726bc3cd" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
