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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:788f15cf-96fb-4bcd-b0dd-7494b0181ba9,g:ad8aee4d-cc0e-4652-a1aa-9fc8c27abb75-->
<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-20231231.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_OperatingIncomeLoss_9b0b6bc7-416a-45e3-8991-85d8c0a45413" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_73f50788-32f2-48d1-af0a-11f5bbd5d238" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b0b6bc7-416a-45e3-8991-85d8c0a45413" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_73f50788-32f2-48d1-af0a-11f5bbd5d238" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_cccf6723-d87c-4193-9527-b7a58169432f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9b0b6bc7-416a-45e3-8991-85d8c0a45413" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_cccf6723-d87c-4193-9527-b7a58169432f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_c719df0a-c48c-473d-90a9-2b6e272607e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b0b6bc7-416a-45e3-8991-85d8c0a45413" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_c719df0a-c48c-473d-90a9-2b6e272607e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_SpecialCharges_6c424872-eb2f-4c3d-9744-9d68b066691b" xlink:href="spxc-20231231.xsd#spxc_SpecialCharges"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9b0b6bc7-416a-45e3-8991-85d8c0a45413" xlink:to="loc_spxc_SpecialCharges_6c424872-eb2f-4c3d-9744-9d68b066691b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_b15c2973-8579-45a9-b0c4-3ff95ced4dfc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b0b6bc7-416a-45e3-8991-85d8c0a45413" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_b15c2973-8579-45a9-b0c4-3ff95ced4dfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_5151d99a-ccb6-42a7-bd2f-0869dfff9d88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b0b6bc7-416a-45e3-8991-85d8c0a45413" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_5151d99a-ccb6-42a7-bd2f-0869dfff9d88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_9a80604b-386a-40af-9962-0ffff391590b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b0b6bc7-416a-45e3-8991-85d8c0a45413" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_9a80604b-386a-40af-9962-0ffff391590b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_c153f6eb-dd0b-4f9e-a5dc-0c0f0b7d7d2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_99b1c6bd-e5d3-4bb1-bb51-e53ef840d3d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c153f6eb-dd0b-4f9e-a5dc-0c0f0b7d7d2a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_99b1c6bd-e5d3-4bb1-bb51-e53ef840d3d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_1bc5cee1-8803-410c-8f69-e20989d60149" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c153f6eb-dd0b-4f9e-a5dc-0c0f0b7d7d2a" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_1bc5cee1-8803-410c-8f69-e20989d60149" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_95aa720e-9deb-494a-a259-a8349e888cfc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_cb155cb5-2ca9-467c-ae15-bdff87bb9c48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_95aa720e-9deb-494a-a259-a8349e888cfc" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_cb155cb5-2ca9-467c-ae15-bdff87bb9c48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_9eae7b11-8347-4162-89cb-edcbbf3425c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_95aa720e-9deb-494a-a259-a8349e888cfc" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_9eae7b11-8347-4162-89cb-edcbbf3425c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_418225a3-043a-4adf-beb2-a6fb3e5c9d0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_7d3ecc97-b814-473e-8e8a-b9526d4ddf1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_418225a3-043a-4adf-beb2-a6fb3e5c9d0d" xlink:to="loc_us-gaap_OperatingIncomeLoss_7d3ecc97-b814-473e-8e8a-b9526d4ddf1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_0cdde60f-5c63-4a4d-a21b-ca8b9abdc836" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_418225a3-043a-4adf-beb2-a6fb3e5c9d0d" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_0cdde60f-5c63-4a4d-a21b-ca8b9abdc836" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_c863f797-4592-41d1-a00b-06b39352e874" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_418225a3-043a-4adf-beb2-a6fb3e5c9d0d" xlink:to="loc_us-gaap_InterestExpense_c863f797-4592-41d1-a00b-06b39352e874" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_946734ae-f663-4f72-9cd8-636667e67ae4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_418225a3-043a-4adf-beb2-a6fb3e5c9d0d" xlink:to="loc_us-gaap_InvestmentIncomeInterest_946734ae-f663-4f72-9cd8-636667e67ae4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_c1c8e8ed-d10b-4864-8d94-5cdbdeb2fcf3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_418225a3-043a-4adf-beb2-a6fb3e5c9d0d" xlink:to="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_c1c8e8ed-d10b-4864-8d94-5cdbdeb2fcf3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_7572dc99-2587-4df8-bb51-c1226f7e9c72" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_ab81c653-f115-4c64-9a41-004689dfb1c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_7572dc99-2587-4df8-bb51-c1226f7e9c72" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_ab81c653-f115-4c64-9a41-004689dfb1c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dec68576-30e8-46a3-8d5c-86c921518743" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_7572dc99-2587-4df8-bb51-c1226f7e9c72" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dec68576-30e8-46a3-8d5c-86c921518743" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_634ceeca-fe76-4244-a12c-4fb5af2b249b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_7ef36a86-eb68-45dc-8183-b5be80bfbd13" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_634ceeca-fe76-4244-a12c-4fb5af2b249b" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_7ef36a86-eb68-45dc-8183-b5be80bfbd13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_40c94adc-1f1e-4a2d-9828-8c7f433ae418" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_634ceeca-fe76-4244-a12c-4fb5af2b249b" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_40c94adc-1f1e-4a2d-9828-8c7f433ae418" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_046e1c88-ab0b-4d03-8e26-628489247a2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_03b1ee71-a14e-4415-b9d1-f07fb055389c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_046e1c88-ab0b-4d03-8e26-628489247a2b" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_03b1ee71-a14e-4415-b9d1-f07fb055389c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_73956a05-b3fa-4f72-9a5a-97a500117caf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_046e1c88-ab0b-4d03-8e26-628489247a2b" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_73956a05-b3fa-4f72-9a5a-97a500117caf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="spxc-20231231.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_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_27891d5e-782b-4463-929f-a0ef5043423d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_4ecf8de8-e08b-4c83-89be-cbef02d9ea4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_27891d5e-782b-4463-929f-a0ef5043423d" xlink:to="loc_us-gaap_NetIncomeLoss_4ecf8de8-e08b-4c83-89be-cbef02d9ea4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_5473883a-919c-4e39-a337-d29916739138" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_27891d5e-782b-4463-929f-a0ef5043423d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_5473883a-919c-4e39-a337-d29916739138" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_209b4869-afa5-4785-9e0a-9118913d901e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_4672b5ae-637f-47eb-a6a4-9251fe95a52f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_209b4869-afa5-4785-9e0a-9118913d901e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_4672b5ae-637f-47eb-a6a4-9251fe95a52f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_dbe2553c-6c8e-4cd1-a886-d2c790fed21e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_209b4869-afa5-4785-9e0a-9118913d901e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_dbe2553c-6c8e-4cd1-a886-d2c790fed21e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_776fbca0-77b0-4ee1-aeb4-6d8c81cef2a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_209b4869-afa5-4785-9e0a-9118913d901e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_776fbca0-77b0-4ee1-aeb4-6d8c81cef2a3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="spxc-20231231.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_LiabilitiesCurrent_87b6fa00-b471-466c-bfee-37b90c1fbdb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_999a0d0e-4792-4fe4-a268-62d46fde8d38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_87b6fa00-b471-466c-bfee-37b90c1fbdb3" xlink:to="loc_us-gaap_AccountsPayableCurrent_999a0d0e-4792-4fe4-a268-62d46fde8d38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_60241f9f-f26e-4a78-b850-3081746dc859" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_87b6fa00-b471-466c-bfee-37b90c1fbdb3" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_60241f9f-f26e-4a78-b850-3081746dc859" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_6b8a160f-6600-472c-a074-4b7049d0b5f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_87b6fa00-b471-466c-bfee-37b90c1fbdb3" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_6b8a160f-6600-472c-a074-4b7049d0b5f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_3701da89-68e5-4137-aa8d-025e9421da57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_87b6fa00-b471-466c-bfee-37b90c1fbdb3" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_3701da89-68e5-4137-aa8d-025e9421da57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_32e25c3c-838b-439b-a964-19635457dfe1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_87b6fa00-b471-466c-bfee-37b90c1fbdb3" xlink:to="loc_us-gaap_ShortTermBorrowings_32e25c3c-838b-439b-a964-19635457dfe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_23198513-d84d-4708-8145-4b21020956c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_87b6fa00-b471-466c-bfee-37b90c1fbdb3" xlink:to="loc_us-gaap_LongTermDebtCurrent_23198513-d84d-4708-8145-4b21020956c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_80776ef7-e39c-42c8-ab16-ea465ec29dc1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_6e549703-d2ec-43c6-96bd-c912b33f7f6a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_80776ef7-e39c-42c8-ab16-ea465ec29dc1" xlink:to="loc_us-gaap_Land_6e549703-d2ec-43c6-96bd-c912b33f7f6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_6ab6463a-e38d-4f95-b457-3482306a5264" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_80776ef7-e39c-42c8-ab16-ea465ec29dc1" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_6ab6463a-e38d-4f95-b457-3482306a5264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_7799deed-242d-4e8f-9773-c0a27d04e89d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_80776ef7-e39c-42c8-ab16-ea465ec29dc1" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_7799deed-242d-4e8f-9773-c0a27d04e89d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_4ee4625a-0a7c-4e9e-88fc-3d305af95190" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_8a233fe7-9875-47f4-bbde-33eb3075ab77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_4ee4625a-0a7c-4e9e-88fc-3d305af95190" xlink:to="loc_us-gaap_AssetsCurrent_8a233fe7-9875-47f4-bbde-33eb3075ab77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_14bda746-f49e-4155-8a42-7a735885ed0c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4ee4625a-0a7c-4e9e-88fc-3d305af95190" xlink:to="loc_us-gaap_Goodwill_14bda746-f49e-4155-8a42-7a735885ed0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1c357151-1f7d-4843-a8f2-bd0e66de5632" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4ee4625a-0a7c-4e9e-88fc-3d305af95190" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1c357151-1f7d-4843-a8f2-bd0e66de5632" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_e7501522-7c5f-467a-8817-aab113847093" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4ee4625a-0a7c-4e9e-88fc-3d305af95190" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_e7501522-7c5f-467a-8817-aab113847093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_df808775-2922-4194-89c0-75acbba617af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4ee4625a-0a7c-4e9e-88fc-3d305af95190" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_df808775-2922-4194-89c0-75acbba617af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_6467c0bd-ffcb-4a79-86bf-791caf2bae33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4ee4625a-0a7c-4e9e-88fc-3d305af95190" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_6467c0bd-ffcb-4a79-86bf-791caf2bae33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_AssetsOfAbandonedEntities_43198797-a72e-4623-b000-6d0465a6f06b" xlink:href="spxc-20231231.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_4ee4625a-0a7c-4e9e-88fc-3d305af95190" xlink:to="loc_spxc_AssetsOfAbandonedEntities_43198797-a72e-4623-b000-6d0465a6f06b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_c861b2c3-84a5-4f6a-9051-95169429fe03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_dcd6fd72-3996-428e-8fcf-cbe3b6b78001" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c861b2c3-84a5-4f6a-9051-95169429fe03" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_dcd6fd72-3996-428e-8fcf-cbe3b6b78001" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_d4f96ad8-cab6-4436-aa03-e74af7b4c299" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c861b2c3-84a5-4f6a-9051-95169429fe03" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_d4f96ad8-cab6-4436-aa03-e74af7b4c299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_12a9cbc4-1a2f-4ee9-903c-0e7be1fc15e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c861b2c3-84a5-4f6a-9051-95169429fe03" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_12a9cbc4-1a2f-4ee9-903c-0e7be1fc15e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_d20e0864-c36b-483c-8b3e-38641ab58e45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c861b2c3-84a5-4f6a-9051-95169429fe03" xlink:to="loc_us-gaap_InventoryNet_d20e0864-c36b-483c-8b3e-38641ab58e45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_24abbc99-f386-4cfc-8886-ae9c70f8f3e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c861b2c3-84a5-4f6a-9051-95169429fe03" xlink:to="loc_us-gaap_OtherAssetsCurrent_24abbc99-f386-4cfc-8886-ae9c70f8f3e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2f37ec23-1c41-421e-9204-b19f470ffca9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_caacf701-23c3-4a5e-820b-79aa1fb43916" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2f37ec23-1c41-421e-9204-b19f470ffca9" xlink:to="loc_us-gaap_CommonStockValueOutstanding_caacf701-23c3-4a5e-820b-79aa1fb43916" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_3e06b99a-471a-4f53-977e-da369de7217e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2f37ec23-1c41-421e-9204-b19f470ffca9" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_3e06b99a-471a-4f53-977e-da369de7217e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_955460ba-5326-4291-9391-b68a26c074a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2f37ec23-1c41-421e-9204-b19f470ffca9" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_955460ba-5326-4291-9391-b68a26c074a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_866672a2-812e-44af-afb6-3faf8a2853d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2f37ec23-1c41-421e-9204-b19f470ffca9" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_866672a2-812e-44af-afb6-3faf8a2853d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_f0453349-5522-480c-9c60-2ba075f7369d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2f37ec23-1c41-421e-9204-b19f470ffca9" xlink:to="loc_us-gaap_TreasuryStockCommonValue_f0453349-5522-480c-9c60-2ba075f7369d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_a5696e9b-d85a-421a-b53e-6c115678c6c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_58588c4a-fb93-4839-a785-2327ca4f9540" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a5696e9b-d85a-421a-b53e-6c115678c6c2" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_58588c4a-fb93-4839-a785-2327ca4f9540" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_03882d85-f14c-4420-8913-f8451f1189aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a5696e9b-d85a-421a-b53e-6c115678c6c2" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_03882d85-f14c-4420-8913-f8451f1189aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_5aa18390-d75c-4951-80c1-373fb4323b20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a5696e9b-d85a-421a-b53e-6c115678c6c2" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_5aa18390-d75c-4951-80c1-373fb4323b20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LiabilitiesOfAbandonedEntities_95faf956-1fd6-49f8-ab10-89cb0ef54127" xlink:href="spxc-20231231.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_a5696e9b-d85a-421a-b53e-6c115678c6c2" xlink:to="loc_spxc_LiabilitiesOfAbandonedEntities_95faf956-1fd6-49f8-ab10-89cb0ef54127" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_75cd2538-5b46-4c13-9009-e3acb89a1b70" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_b86cfafd-421f-41f1-b097-7906bc8305af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_75cd2538-5b46-4c13-9009-e3acb89a1b70" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_b86cfafd-421f-41f1-b097-7906bc8305af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_871c4f80-33fd-4633-9baa-d5cc890dc5d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_75cd2538-5b46-4c13-9009-e3acb89a1b70" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_871c4f80-33fd-4633-9baa-d5cc890dc5d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_13e69f8e-0013-4bce-b380-59187b8cf4b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_9181826d-ea17-4dd8-8c07-f6309d70dfb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_13e69f8e-0013-4bce-b380-59187b8cf4b5" xlink:to="loc_us-gaap_LiabilitiesCurrent_9181826d-ea17-4dd8-8c07-f6309d70dfb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_966ccf4c-cc39-4cdb-bb76-d696628b107e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_13e69f8e-0013-4bce-b380-59187b8cf4b5" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_966ccf4c-cc39-4cdb-bb76-d696628b107e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_ce6e0c8a-d76d-41e0-b32e-a281557609e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_13e69f8e-0013-4bce-b380-59187b8cf4b5" xlink:to="loc_us-gaap_CommitmentsAndContingencies_ce6e0c8a-d76d-41e0-b32e-a281557609e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4238e9df-5731-4104-8782-71b3b1d1c363" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_13e69f8e-0013-4bce-b380-59187b8cf4b5" xlink:to="loc_us-gaap_StockholdersEquity_4238e9df-5731-4104-8782-71b3b1d1c363" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="spxc-20231231.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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingsUnderSeniorCreditFacilities_09ded713-4bc1-4202-b000-ca88eaf1c45d" xlink:href="spxc-20231231.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_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_spxc_BorrowingsUnderSeniorCreditFacilities_09ded713-4bc1-4202-b000-ca88eaf1c45d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderSeniorCreditFacilities_a752574c-773d-4885-acb6-2e1d0e05c3a6" xlink:href="spxc-20231231.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_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_spxc_RepaymentsUnderSeniorCreditFacilities_a752574c-773d-4885-acb6-2e1d0e05c3a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingUnderTradeReceivablesAgreement_51f03fab-0dc3-4f7f-a7cf-b99e54f8b296" xlink:href="spxc-20231231.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_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_spxc_BorrowingUnderTradeReceivablesAgreement_51f03fab-0dc3-4f7f-a7cf-b99e54f8b296" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_05a24e51-3669-44a2-90c7-2650425cddaa" xlink:href="spxc-20231231.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_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_05a24e51-3669-44a2-90c7-2650425cddaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_848ee74d-49d7-4846-8ec2-49345be73ca8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_848ee74d-49d7-4846-8ec2-49345be73ca8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_588589e1-4bdd-44a5-8e86-0ae25e91cddd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_588589e1-4bdd-44a5-8e86-0ae25e91cddd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_cf0d0621-c848-475f-9894-f7e66cd08757" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_cf0d0621-c848-475f-9894-f7e66cd08757" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_ebaa010a-d738-44d1-9605-f2ee08d51005" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_ebaa010a-d738-44d1-9605-f2ee08d51005" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_59ac681c-5414-4fae-9d22-b6ca88ea0e9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_9e1df430-7bf3-4aa9-8491-285aba5ad050" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_59ac681c-5414-4fae-9d22-b6ca88ea0e9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_904ce8ea-9a69-4b6b-bb1b-43d03e17a00d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_847ab77b-1e36-41b9-be85-96ffc596768c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_904ce8ea-9a69-4b6b-bb1b-43d03e17a00d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_847ab77b-1e36-41b9-be85-96ffc596768c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ca60c249-c05c-4c7c-abce-3e58c183e2a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_904ce8ea-9a69-4b6b-bb1b-43d03e17a00d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ca60c249-c05c-4c7c-abce-3e58c183e2a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ec1896a5-6408-41ae-baa3-6e186a594b16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_904ce8ea-9a69-4b6b-bb1b-43d03e17a00d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ec1896a5-6408-41ae-baa3-6e186a594b16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_92034ccd-3cf8-486b-944e-ceeb6d6dcbc8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_904ce8ea-9a69-4b6b-bb1b-43d03e17a00d" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_92034ccd-3cf8-486b-944e-ceeb6d6dcbc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_GainLossOnAmendmentAndOrRefinancingOfDebt_049022a8-d3ea-470b-98c9-7af938f8f175" xlink:href="spxc-20231231.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_spxc_GainLossOnAmendmentAndOrRefinancingOfDebt_049022a8-d3ea-470b-98c9-7af938f8f175" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LossOnDivestitureOfAsbestosRelatedAssetsAndLiabilities_70deb37e-6e9f-4c45-91cd-2edad87b200b" xlink:href="spxc-20231231.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_spxc_LossOnDivestitureOfAsbestosRelatedAssetsAndLiabilities_70deb37e-6e9f-4c45-91cd-2edad87b200b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_cb5cee54-5e87-4e6d-a94b-8659be9495db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_cb5cee54-5e87-4e6d-a94b-8659be9495db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_5c2e36d7-5d9a-41b7-abfc-351ee54e6188" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_5c2e36d7-5d9a-41b7-abfc-351ee54e6188" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_0bb57892-e32c-4fd6-b699-42a42183cbf6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_0bb57892-e32c-4fd6-b699-42a42183cbf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_SpecialCharges_48968142-1d58-4aad-a314-f77e5035263c" xlink:href="spxc-20231231.xsd#spxc_SpecialCharges"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_spxc_SpecialCharges_48968142-1d58-4aad-a314-f77e5035263c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_44c29a79-7d9b-49d9-a188-ec70ec3ce120" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_44c29a79-7d9b-49d9-a188-ec70ec3ce120" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_ContributionToDivestAsbestosRelatedAssetsAndLiabilities_a38aa3e1-e9aa-4cbd-9397-fe1254069b67" xlink:href="spxc-20231231.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_spxc_ContributionToDivestAsbestosRelatedAssetsAndLiabilities_a38aa3e1-e9aa-4cbd-9397-fe1254069b67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_98f73b4c-6a22-4665-bc9a-0508528b145a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_98f73b4c-6a22-4665-bc9a-0508528b145a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_83f91866-c7e6-4ffc-b485-a87c90354f49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_83f91866-c7e6-4ffc-b485-a87c90354f49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_0585e58e-a42e-4a2a-86e5-68e7855dc689" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_PaymentsForRestructuring_0585e58e-a42e-4a2a-86e5-68e7855dc689" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_fb119ab7-bb4e-47c9-ab85-519833504d16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_fb119ab7-bb4e-47c9-ab85-519833504d16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_b01cb7e0-fb9a-48af-aa66-695c3fe6e11d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_b01cb7e0-fb9a-48af-aa66-695c3fe6e11d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_bc764fed-3485-4497-b1fc-80c378e9efd1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_ShareBasedCompensation_bc764fed-3485-4497-b1fc-80c378e9efd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_c943f0e7-8b7c-4f33-8187-1652d67d5b7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_c943f0e7-8b7c-4f33-8187-1652d67d5b7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_21ff0509-9e5a-4d25-a4cf-6a96a5f0b62e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fde20f0-7dbb-4c6c-8e49-583d0a0c71fc" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_21ff0509-9e5a-4d25-a4cf-6a96a5f0b62e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6c66b5c2-ffa3-4966-bb7d-f9aea98d4f12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_56f7034a-c08b-4f09-975b-76a9f7783aad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6c66b5c2-ffa3-4966-bb7d-f9aea98d4f12" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_56f7034a-c08b-4f09-975b-76a9f7783aad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_f4f6bc74-20a7-477b-b18b-8498fe645842" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6c66b5c2-ffa3-4966-bb7d-f9aea98d4f12" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_f4f6bc74-20a7-477b-b18b-8498fe645842" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_aa6b29f0-0b06-46a4-a41f-0be2887cf2f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_5babfe3e-600a-4d8c-98b8-55c25378d0e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_aa6b29f0-0b06-46a4-a41f-0be2887cf2f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_5babfe3e-600a-4d8c-98b8-55c25378d0e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_a6f5e680-fb74-436d-a7aa-aa7821848f2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_aa6b29f0-0b06-46a4-a41f-0be2887cf2f7" xlink:to="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_a6f5e680-fb74-436d-a7aa-aa7821848f2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_de96edaa-e05e-4d80-a793-570c3162572f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLifeInsurancePolicies_07259a9b-6dc7-4aff-ab06-2036b39b58a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromLifeInsurancePolicies"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_de96edaa-e05e-4d80-a793-570c3162572f" xlink:to="loc_us-gaap_PaymentsForProceedsFromLifeInsurancePolicies_07259a9b-6dc7-4aff-ab06-2036b39b58a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_686cb646-a4f4-41bb-8305-6ebdca1116f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_de96edaa-e05e-4d80-a793-570c3162572f" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_686cb646-a4f4-41bb-8305-6ebdca1116f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_adc01dbc-aada-4d63-83e4-c6521853c990" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_de96edaa-e05e-4d80-a793-570c3162572f" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_adc01dbc-aada-4d63-83e4-c6521853c990" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7d16f263-dfd0-4848-a81e-1062ec890352" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_7c160849-0fdd-489b-93ba-3a8831285dd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_7d16f263-dfd0-4848-a81e-1062ec890352" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_7c160849-0fdd-489b-93ba-3a8831285dd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_0442a341-425a-4ad3-8237-3594c933ff5a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_7d16f263-dfd0-4848-a81e-1062ec890352" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_0442a341-425a-4ad3-8237-3594c933ff5a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ConsolidatedStatementsofCashFlowsParenthetical" xlink:type="simple" xlink:href="spxc-20231231.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_2fa2966a-83ea-4f27-8097-e51b8fac9bd0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities_069a75e8-191f-440c-9edd-8bbebcd53e62" xlink:href="spxc-20231231.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_2fa2966a-83ea-4f27-8097-e51b8fac9bd0" xlink:to="loc_spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities_069a75e8-191f-440c-9edd-8bbebcd53e62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d0753c1c-83f0-4284-82f8-93e00873d083" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2fa2966a-83ea-4f27-8097-e51b8fac9bd0" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d0753c1c-83f0-4284-82f8-93e00873d083" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/UseofEstimatesAccruedExpensesDetails" xlink:type="simple" xlink:href="spxc-20231231.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_35aaf275-042d-4984-bd27-182375d06e4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedEmployeeBenefitsCurrent_a8a758aa-8be3-4c1c-9db5-828d54c63399" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedEmployeeBenefitsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_35aaf275-042d-4984-bd27-182375d06e4f" xlink:to="loc_us-gaap_AccruedEmployeeBenefitsCurrent_a8a758aa-8be3-4c1c-9db5-828d54c63399" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_82ebb390-0bfd-49a1-a9ce-140579d7dbe3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_35aaf275-042d-4984-bd27-182375d06e4f" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_82ebb390-0bfd-49a1-a9ce-140579d7dbe3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_e7de183c-1a91-424c-8606-c17011c703ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_35aaf275-042d-4984-bd27-182375d06e4f" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_e7de183c-1a91-424c-8606-c17011c703ef" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleAcquisitionofASPEQDetails" xlink:type="simple" xlink:href="spxc-20231231.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_5d40c9d0-652f-4aee-a316-2b6f2a9acc6f" xlink:href="spxc-20231231.xsd#spxc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_086485ec-36b4-4fe2-a703-89ca579d7355" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d40c9d0-652f-4aee-a316-2b6f2a9acc6f" xlink:to="loc_us-gaap_Goodwill_086485ec-36b4-4fe2-a703-89ca579d7355" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_430c5575-e8a3-4de5-baa4-56b730a38e48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d40c9d0-652f-4aee-a316-2b6f2a9acc6f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_430c5575-e8a3-4de5-baa4-56b730a38e48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6988d057-8a50-4a88-ad51-00d0d54dd57b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d40c9d0-652f-4aee-a316-2b6f2a9acc6f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6988d057-8a50-4a88-ad51-00d0d54dd57b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_de89b8be-e7a6-4df1-be57-fbdf3fcd680b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d40c9d0-652f-4aee-a316-2b6f2a9acc6f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_de89b8be-e7a6-4df1-be57-fbdf3fcd680b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_827b59fd-56ee-416e-a868-e66f6b2cd412" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d40c9d0-652f-4aee-a316-2b6f2a9acc6f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_827b59fd-56ee-416e-a868-e66f6b2cd412" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleSaleofTransformersSolutionsBusinessDetails" xlink:type="simple" xlink:href="spxc-20231231.xsd#AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleSaleofTransformersSolutionsBusinessDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleSaleofTransformersSolutionsBusinessDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_8793cd37-3592-4c7b-80d4-6d3702e1ed00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_6c283145-29c5-4ba4-ae68-3de2f5c2e8e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_8793cd37-3592-4c7b-80d4-6d3702e1ed00" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_6c283145-29c5-4ba4-ae68-3de2f5c2e8e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_71da41cf-0ab2-45a7-a8f0-28e08795fa38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_8793cd37-3592-4c7b-80d4-6d3702e1ed00" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_71da41cf-0ab2-45a7-a8f0-28e08795fa38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpenseNet_d417738d-17e5-4d4a-88ab-a89bda610ed7" xlink:href="spxc-20231231.xsd#spxc_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_8793cd37-3592-4c7b-80d4-6d3702e1ed00" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpenseNet_d417738d-17e5-4d4a-88ab-a89bda610ed7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_8c0df4bb-e9a8-412f-a351-b28bbc616d02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_8793cd37-3592-4c7b-80d4-6d3702e1ed00" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_8c0df4bb-e9a8-412f-a351-b28bbc616d02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationSpecialCharges_ce9d7b6f-1b91-4c99-a16b-891d5d1ced26" xlink:href="spxc-20231231.xsd#spxc_DisposalGroupIncludingDiscontinuedOperationSpecialCharges"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_8793cd37-3592-4c7b-80d4-6d3702e1ed00" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationSpecialCharges_ce9d7b6f-1b91-4c99-a16b-891d5d1ced26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestIncome_e60af323-323a-41ef-8bd9-a8365d965874" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestIncome"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_8793cd37-3592-4c7b-80d4-6d3702e1ed00" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestIncome_e60af323-323a-41ef-8bd9-a8365d965874" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="simple" xlink:href="spxc-20231231.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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_ce7a01bd-7fcf-4cd3-bf4f-fdf0c1c3de84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_b90c1447-932d-42a7-8bc3-370f975e79a4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ce7a01bd-7fcf-4cd3-bf4f-fdf0c1c3de84" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_b90c1447-932d-42a7-8bc3-370f975e79a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_5a10ebc8-78d3-4979-bae7-a48b8e3534ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ce7a01bd-7fcf-4cd3-bf4f-fdf0c1c3de84" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_5a10ebc8-78d3-4979-bae7-a48b8e3534ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_72599dd7-1521-4c7f-a1cb-2083318ece92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ce7a01bd-7fcf-4cd3-bf4f-fdf0c1c3de84" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_72599dd7-1521-4c7f-a1cb-2083318ece92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_464ca7ad-7723-4cf1-b509-e1f8f94d0cf8" xlink:href="spxc-20231231.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_ce7a01bd-7fcf-4cd3-bf4f-fdf0c1c3de84" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_464ca7ad-7723-4cf1-b509-e1f8f94d0cf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_d8893548-43d2-4a2e-b660-6bc116ac6e9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_f1688c03-7d36-4e28-a786-43d31369c553" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d8893548-43d2-4a2e-b660-6bc116ac6e9f" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_f1688c03-7d36-4e28-a786-43d31369c553" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_fac3de82-a383-446f-be40-b5de63fd2200" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d8893548-43d2-4a2e-b660-6bc116ac6e9f" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_fac3de82-a383-446f-be40-b5de63fd2200" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_dc9dcf8f-6861-4a36-ac4e-4c98e981328b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d8893548-43d2-4a2e-b660-6bc116ac6e9f" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_dc9dcf8f-6861-4a36-ac4e-4c98e981328b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_0469fcd1-8c29-4458-92ab-e7287d328857" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_d8893548-43d2-4a2e-b660-6bc116ac6e9f" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_0469fcd1-8c29-4458-92ab-e7287d328857" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_90a9307c-daf0-4c2f-87d8-89f4f7bf8429" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_d8893548-43d2-4a2e-b660-6bc116ac6e9f" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_90a9307c-daf0-4c2f-87d8-89f4f7bf8429" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_76ed792e-beaf-4685-98c3-26df5e4c9e0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross_9502a081-a922-460f-889e-b8516ba7000f" xlink:href="spxc-20231231.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_76ed792e-beaf-4685-98c3-26df5e4c9e0d" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross_9502a081-a922-460f-889e-b8516ba7000f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_b2dada18-a1ad-43fb-8cc1-d7efa07db78b" xlink:href="spxc-20231231.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_76ed792e-beaf-4685-98c3-26df5e4c9e0d" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_b2dada18-a1ad-43fb-8cc1-d7efa07db78b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/AcquisitionsDiscontinuedOperationsandtheAsbestosPortfolioSaleResultsofOperationsDetails" xlink:type="simple" xlink:href="spxc-20231231.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_abf650dc-7d1c-41b1-9420-5fb8ecc91e6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_c08d021f-216f-488b-92ed-9d764641ae77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_abf650dc-7d1c-41b1-9420-5fb8ecc91e6b" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_c08d021f-216f-488b-92ed-9d764641ae77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_93eda267-e67e-41a0-99cd-134c9a39da75" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_abf650dc-7d1c-41b1-9420-5fb8ecc91e6b" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_93eda267-e67e-41a0-99cd-134c9a39da75" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/RevenuesfromContractsContractBalancesDetails" xlink:type="simple" xlink:href="spxc-20231231.xsd#RevenuesfromContractsContractBalancesDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/RevenuesfromContractsContractBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_7c148454-470a-48cd-8d59-88ad5003dc92" xlink:href="spxc-20231231.xsd#spxc_IncreaseDecreaseinContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_6b2a8d97-a80e-4e54-9209-1232bbb868b3" xlink:href="spxc-20231231.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_7c148454-470a-48cd-8d59-88ad5003dc92" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_6b2a8d97-a80e-4e54-9209-1232bbb868b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_9114bf9c-e2e0-40e4-b4da-bcf9c93bd72e" xlink:href="spxc-20231231.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_7c148454-470a-48cd-8d59-88ad5003dc92" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_9114bf9c-e2e0-40e4-b4da-bcf9c93bd72e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_e101581b-9cbe-4450-80dd-aebb378f6d47" xlink:href="spxc-20231231.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_7c148454-470a-48cd-8d59-88ad5003dc92" xlink:to="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_e101581b-9cbe-4450-80dd-aebb378f6d47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_030e4fb4-4465-4024-b84a-e28514b959b0" xlink:href="spxc-20231231.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_7c148454-470a-48cd-8d59-88ad5003dc92" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_030e4fb4-4465-4024-b84a-e28514b959b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_ContractwithCustomersNet_86a773d2-2861-4729-b3f0-d932b6050bcc" xlink:href="spxc-20231231.xsd#spxc_ContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_93285846-fe5c-41ac-8287-730a9529fbfd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_86a773d2-2861-4729-b3f0-d932b6050bcc" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_93285846-fe5c-41ac-8287-730a9529fbfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_ae4c0ba3-825f-4373-9bba-b34fb8d07b82" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_86a773d2-2861-4729-b3f0-d932b6050bcc" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_ae4c0ba3-825f-4373-9bba-b34fb8d07b82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_a5a6f450-6135-4f56-939e-26db3f07e181" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_86a773d2-2861-4729-b3f0-d932b6050bcc" xlink:to="loc_us-gaap_AccountsReceivableNet_a5a6f450-6135-4f56-939e-26db3f07e181" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_abd0217a-1db9-4f86-8564-a71f32dabf3a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_86a773d2-2861-4729-b3f0-d932b6050bcc" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_abd0217a-1db9-4f86-8564-a71f32dabf3a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesLeaseCostDetails" xlink:type="simple" xlink:href="spxc-20231231.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_b101c540-eee4-44b4-9cb5-49cb298f865b" xlink:href="spxc-20231231.xsd#spxc_FinanceLeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_bf2f7711-d5a8-4225-b70c-ad80d0127683" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b101c540-eee4-44b4-9cb5-49cb298f865b" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_bf2f7711-d5a8-4225-b70c-ad80d0127683" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_4e703247-4660-48d6-88d4-cab8ca53c570" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b101c540-eee4-44b4-9cb5-49cb298f865b" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_4e703247-4660-48d6-88d4-cab8ca53c570" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesSupplementalBalanceSheetInformationDetails" xlink:type="simple" xlink:href="spxc-20231231.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_186f109a-c678-44ca-bed6-85d785c3a63b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_b4a72c34-7630-42c7-9a70-d8f1f6fefd04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_186f109a-c678-44ca-bed6-85d785c3a63b" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_b4a72c34-7630-42c7-9a70-d8f1f6fefd04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_f456d5b6-0f57-48b4-9ecf-eed53bd481f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_186f109a-c678-44ca-bed6-85d785c3a63b" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_f456d5b6-0f57-48b4-9ecf-eed53bd481f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_f4b5612c-27c7-4d38-b9d6-a2445357c152" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_3a09c23b-9852-4f56-be52-11043980b206" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f4b5612c-27c7-4d38-b9d6-a2445357c152" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_3a09c23b-9852-4f56-be52-11043980b206" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_95bc0439-c43b-42ce-9e8d-7aab641a6287" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f4b5612c-27c7-4d38-b9d6-a2445357c152" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_95bc0439-c43b-42ce-9e8d-7aab641a6287" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails" xlink:type="simple" xlink:href="spxc-20231231.xsd#LeasesFutureMinimumPaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/LeasesFutureMinimumPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive_62be1fe4-dcb4-4c1b-8ca3-78f3ed48ba4c" xlink:href="spxc-20231231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive_1a9ef482-faf5-45f8-b1f5-b030291ae84b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_62be1fe4-dcb4-4c1b-8ca3-78f3ed48ba4c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive_1a9ef482-faf5-45f8-b1f5-b030291ae84b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive_be32aa82-fd51-41dd-a0df-f29d380d41fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_62be1fe4-dcb4-4c1b-8ca3-78f3ed48ba4c" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive_be32aa82-fd51-41dd-a0df-f29d380d41fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths_05ae6fb2-416c-4c5b-a74c-da2ce62318d7" xlink:href="spxc-20231231.xsd#spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_ee7ba313-a094-4a2b-9d8a-fdfb09f98c17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_05ae6fb2-416c-4c5b-a74c-da2ce62318d7" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_ee7ba313-a094-4a2b-9d8a-fdfb09f98c17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths_bb6d5c20-d988-4222-85e9-a805741ed280" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_05ae6fb2-416c-4c5b-a74c-da2ce62318d7" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths_bb6d5c20-d988-4222-85e9-a805741ed280" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearThree_03f1dd3c-d825-45cc-91a1-494523c477df" xlink:href="spxc-20231231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearThree"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree_e44947d6-04cb-42c0-8320-f63874bed868" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_03f1dd3c-d825-45cc-91a1-494523c477df" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree_e44947d6-04cb-42c0-8320-f63874bed868" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree_197a247e-d0ab-4700-b0fd-d2f85089cc35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_03f1dd3c-d825-45cc-91a1-494523c477df" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree_197a247e-d0ab-4700-b0fd-d2f85089cc35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFour_b342ddca-bcb2-4ec3-b754-1f0fff90b63b" xlink:href="spxc-20231231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearFour"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour_6621f0c8-bc5e-4361-81f5-3735d3f9f518" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b342ddca-bcb2-4ec3-b754-1f0fff90b63b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour_6621f0c8-bc5e-4361-81f5-3735d3f9f518" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour_a480d32b-4e49-4c51-84b4-dc61aa91c6c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b342ddca-bcb2-4ec3-b754-1f0fff90b63b" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour_a480d32b-4e49-4c51-84b4-dc61aa91c6c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3b1da409-6cae-4484-9aa9-39a3d5cb4681" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths_fec6da60-8cc4-45ae-b49c-0c143bf4378e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b1da409-6cae-4484-9aa9-39a3d5cb4681" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInNextRollingTwelveMonths_fec6da60-8cc4-45ae-b49c-0c143bf4378e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo_e8bab702-f6e6-4324-8329-9274700ccafc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b1da409-6cae-4484-9aa9-39a3d5cb4681" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo_e8bab702-f6e6-4324-8329-9274700ccafc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree_d9528962-5e2e-467f-84ce-5a03424e7829" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b1da409-6cae-4484-9aa9-39a3d5cb4681" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearThree_d9528962-5e2e-467f-84ce-5a03424e7829" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour_e3a778a0-33cd-41ca-8c83-6bc6061c3266" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b1da409-6cae-4484-9aa9-39a3d5cb4681" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFour_e3a778a0-33cd-41ca-8c83-6bc6061c3266" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive_3d071a36-d851-4f0e-9edf-fd26d137fc57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b1da409-6cae-4484-9aa9-39a3d5cb4681" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive_3d071a36-d851-4f0e-9edf-fd26d137fc57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive_8584347b-61bb-4b7e-b675-27a3a949a3df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3b1da409-6cae-4484-9aa9-39a3d5cb4681" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingAfterYearFive_8584347b-61bb-4b7e-b675-27a3a949a3df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_54bc5419-69db-47b3-a753-7ad89174e699" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_b4ba6126-6c49-4f75-89e6-06c5f8e246f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54bc5419-69db-47b3-a753-7ad89174e699" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths_b4ba6126-6c49-4f75-89e6-06c5f8e246f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo_e85ebf35-1d23-4046-a88f-f57ff6262db4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54bc5419-69db-47b3-a753-7ad89174e699" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo_e85ebf35-1d23-4046-a88f-f57ff6262db4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree_a8422ea0-9a61-433f-a99a-0eb27a264ee6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54bc5419-69db-47b3-a753-7ad89174e699" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree_a8422ea0-9a61-433f-a99a-0eb27a264ee6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour_71c7d106-854e-4e48-bf6c-54ff3280a641" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54bc5419-69db-47b3-a753-7ad89174e699" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour_71c7d106-854e-4e48-bf6c-54ff3280a641" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive_cb6f8468-15f7-4d5f-b898-3022e6b975af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54bc5419-69db-47b3-a753-7ad89174e699" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive_cb6f8468-15f7-4d5f-b898-3022e6b975af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive_2b5172ca-ddc2-4cb7-bc72-4e880d9809d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54bc5419-69db-47b3-a753-7ad89174e699" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive_2b5172ca-ddc2-4cb7-bc72-4e880d9809d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearTwo_3c07eea6-1061-4396-9495-c36a51793968" xlink:href="spxc-20231231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearTwo"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo_0abba2d7-4071-4413-b16d-5db5200db90e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3c07eea6-1061-4396-9495-c36a51793968" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo_0abba2d7-4071-4413-b16d-5db5200db90e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo_a2dff64d-4bc0-4740-b390-652b0edd1fa8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3c07eea6-1061-4396-9495-c36a51793968" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearTwo_a2dff64d-4bc0-4740-b390-652b0edd1fa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDue_e73f035a-d4bb-40df-98d1-7cdc612618b4" xlink:href="spxc-20231231.xsd#spxc_LeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths_068525ef-896c-48f4-ae17-b4b821b3693f" xlink:href="spxc-20231231.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_e73f035a-d4bb-40df-98d1-7cdc612618b4" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInNextRollingTwelveMonths_068525ef-896c-48f4-ae17-b4b821b3693f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearTwo_3cfd1c93-7785-4ebd-89fa-f0785888b0eb" xlink:href="spxc-20231231.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_e73f035a-d4bb-40df-98d1-7cdc612618b4" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearTwo_3cfd1c93-7785-4ebd-89fa-f0785888b0eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearThree_bc74db77-a103-44f5-a221-f8c16e5f7829" xlink:href="spxc-20231231.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_e73f035a-d4bb-40df-98d1-7cdc612618b4" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearThree_bc74db77-a103-44f5-a221-f8c16e5f7829" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFour_3517136c-2ac7-470b-80f9-3451eaad1d09" xlink:href="spxc-20231231.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_e73f035a-d4bb-40df-98d1-7cdc612618b4" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFour_3517136c-2ac7-470b-80f9-3451eaad1d09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFive_388090a9-ba2f-4662-918e-4c343fa6e82e" xlink:href="spxc-20231231.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_e73f035a-d4bb-40df-98d1-7cdc612618b4" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFive_388090a9-ba2f-4662-918e-4c343fa6e82e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive_69253139-2b1f-44c8-a907-0aad5551a3a8" xlink:href="spxc-20231231.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_e73f035a-d4bb-40df-98d1-7cdc612618b4" xlink:to="loc_spxc_LeaseLiabilityPaymentsDueInRollingAfterYearFive_69253139-2b1f-44c8-a907-0aad5551a3a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityPaymentsDueInRollingYearFive_0baa69ad-e67a-4f4a-bbbc-0ac4a889ca18" xlink:href="spxc-20231231.xsd#spxc_LeaseLiabilityPaymentsDueInRollingYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive_c4c0dda3-73cc-4998-b534-e885765a5456" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0baa69ad-e67a-4f4a-bbbc-0ac4a889ca18" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive_c4c0dda3-73cc-4998-b534-e885765a5456" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive_cbb8c9d0-47e7-4a67-ab92-6e7f0004f02d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0baa69ad-e67a-4f4a-bbbc-0ac4a889ca18" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueInRollingYearFive_cbb8c9d0-47e7-4a67-ab92-6e7f0004f02d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiability_84c01e5d-3495-46d1-bbfd-14f71252114a" xlink:href="spxc-20231231.xsd#spxc_LeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_af965a27-88a5-49fc-b324-0f99aa12346e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_84c01e5d-3495-46d1-bbfd-14f71252114a" xlink:to="loc_us-gaap_OperatingLeaseLiability_af965a27-88a5-49fc-b324-0f99aa12346e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_9aa6de59-c7f7-4cce-b6b4-d1cb60208ed6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_84c01e5d-3495-46d1-bbfd-14f71252114a" xlink:to="loc_us-gaap_FinanceLeaseLiability_9aa6de59-c7f7-4cce-b6b4-d1cb60208ed6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LeaseLiabilityUndiscountedExcessAmount_714212ef-e862-464a-b111-95c4474f67f2" xlink:href="spxc-20231231.xsd#spxc_LeaseLiabilityUndiscountedExcessAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_7eaf2380-b38e-4a61-bf02-1c794a4db57c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_714212ef-e862-464a-b111-95c4474f67f2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_7eaf2380-b38e-4a61-bf02-1c794a4db57c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_f410152c-f920-4cb1-86c7-59e40791f29e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_714212ef-e862-464a-b111-95c4474f67f2" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_f410152c-f920-4cb1-86c7-59e40791f29e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/InformationonReportableSegmentsFinancialDataDetails" xlink:type="simple" xlink:href="spxc-20231231.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_e5d41dbd-9091-441d-8845-0155b64274e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoncurrentAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LongLivedAssetsOfDiscontinuedOperations_0e96967f-607d-472a-8cd9-2b8c5b97f130" xlink:href="spxc-20231231.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_e5d41dbd-9091-441d-8845-0155b64274e6" xlink:to="loc_spxc_LongLivedAssetsOfDiscontinuedOperations_0e96967f-607d-472a-8cd9-2b8c5b97f130" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LongLivedAssetsOfContinuingOperations_4e52b015-f39a-4952-9b06-c39daa10d13f" xlink:href="spxc-20231231.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_e5d41dbd-9091-441d-8845-0155b64274e6" xlink:to="loc_spxc_LongLivedAssetsOfContinuingOperations_4e52b015-f39a-4952-9b06-c39daa10d13f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/InventoriesNetDetails" xlink:type="simple" xlink:href="spxc-20231231.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_08fe1b78-ab20-49cb-be7a-6185404eefe3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_d1dad8af-1c59-46c8-83fb-a1ba15c5c92c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_08fe1b78-ab20-49cb-be7a-6185404eefe3" xlink:to="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_d1dad8af-1c59-46c8-83fb-a1ba15c5c92c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_08b30435-423f-4ca0-9fa3-afb4e924a6a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_08fe1b78-ab20-49cb-be7a-6185404eefe3" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_08b30435-423f-4ca0-9fa3-afb4e924a6a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_c172e21a-01ff-46b3-983d-7865d7fd4ec3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_08fe1b78-ab20-49cb-be7a-6185404eefe3" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_c172e21a-01ff-46b3-983d-7865d7fd4ec3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsGoodwillDetails" xlink:type="simple" xlink:href="spxc-20231231.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_13f5be64-0afa-4afc-9ecb-222ce0065595" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillGross_0f8de4e2-d15b-4537-aa55-dc0f77fa0ed2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_13f5be64-0afa-4afc-9ecb-222ce0065595" xlink:to="loc_us-gaap_GoodwillGross_0f8de4e2-d15b-4537-aa55-dc0f77fa0ed2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_9b67944c-4a46-4962-8483-d7ecb570ec59" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_13f5be64-0afa-4afc-9ecb-222ce0065595" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_9b67944c-4a46-4962-8483-d7ecb570ec59" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="spxc-20231231.xsd#GoodwillandOtherIntangibleAssetsScheduleofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_adcdd437-4777-4e73-b721-2962b573efcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0f9e75db-a6c1-408d-9925-49a510de3771" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_adcdd437-4777-4e73-b721-2962b573efcc" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0f9e75db-a6c1-408d-9925-49a510de3771" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_e4c47bf7-7e8c-41bd-b640-b37dbbde10b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_adcdd437-4777-4e73-b721-2962b573efcc" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_e4c47bf7-7e8c-41bd-b640-b37dbbde10b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_0dce30d9-e4a5-4c62-83e4-be95d1e8590e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_7ac8947f-c8bc-46ee-87f4-9f417d7436a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_0dce30d9-e4a5-4c62-83e4-be95d1e8590e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_7ac8947f-c8bc-46ee-87f4-9f417d7436a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_50ffc5b4-7aab-4efd-a7be-e8906bb57a7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_IntangibleAssetsNetExcludingGoodwill_0dce30d9-e4a5-4c62-83e4-be95d1e8590e" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_50ffc5b4-7aab-4efd-a7be-e8906bb57a7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_8ff8bf50-6af3-4381-87e3-b953535739a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_f693409d-e342-498f-9154-868d0eb6bec3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8ff8bf50-6af3-4381-87e3-b953535739a9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_f693409d-e342-498f-9154-868d0eb6bec3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_b98e4e6d-6ade-4855-b6eb-8cae8bd898cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8ff8bf50-6af3-4381-87e3-b953535739a9" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_b98e4e6d-6ade-4855-b6eb-8cae8bd898cb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsScheduleofIntangibleAssetsDetails_1" xlink:type="simple" xlink:href="spxc-20231231.xsd#GoodwillandOtherIntangibleAssetsScheduleofIntangibleAssetsDetails_1"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/GoodwillandOtherIntangibleAssetsScheduleofIntangibleAssetsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d35f1661-f4ca-4636-92ff-b4fceeba3018" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_c1cd2c28-7744-4e90-8d1f-ccabd8fe3339" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d35f1661-f4ca-4636-92ff-b4fceeba3018" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_c1cd2c28-7744-4e90-8d1f-ccabd8fe3339" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_24ef03c5-cb98-42cc-b71e-2591b4fdfc5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d35f1661-f4ca-4636-92ff-b4fceeba3018" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_24ef03c5-cb98-42cc-b71e-2591b4fdfc5d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/EmployeeBenefitPlansObligationsandFundedStatusDetails" xlink:type="simple" xlink:href="spxc-20231231.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_DefinedBenefitPlanFundedStatusOfPlan_41a8d974-1432-4029-b324-21e5d6ca7cb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_8c11c8d0-5f4b-4a44-b249-6745055211b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_41a8d974-1432-4029-b324-21e5d6ca7cb3" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_8c11c8d0-5f4b-4a44-b249-6745055211b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_ce14ab65-1551-4560-9e83-a7de766bc86c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_41a8d974-1432-4029-b324-21e5d6ca7cb3" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_ce14ab65-1551-4560-9e83-a7de766bc86c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_bba77db2-eefe-42db-9ea4-f443a2075bda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_269fb18b-ae0a-4437-8b4b-ed95d0edaa6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_bba77db2-eefe-42db-9ea4-f443a2075bda" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_269fb18b-ae0a-4437-8b4b-ed95d0edaa6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_12382ff9-ba31-4907-9160-8bd2466994ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_bba77db2-eefe-42db-9ea4-f443a2075bda" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_12382ff9-ba31-4907-9160-8bd2466994ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_a26654b2-fba9-412b-a4e8-ec8f59b6cb4d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_bba77db2-eefe-42db-9ea4-f443a2075bda" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_a26654b2-fba9-412b-a4e8-ec8f59b6cb4d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/EmployeeBenefitPlansPostretirementBenefitPlansDetails" xlink:type="simple" xlink:href="spxc-20231231.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_0b0987c2-bc5d-43f4-8a2a-819dcef7a37b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax_eaebce30-7dc4-4c02-80a8-a141ed079b44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0b0987c2-bc5d-43f4-8a2a-819dcef7a37b" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax_eaebce30-7dc4-4c02-80a8-a141ed079b44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_3328ec43-de19-4fbd-8ca3-00080a7e888a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0b0987c2-bc5d-43f4-8a2a-819dcef7a37b" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_3328ec43-de19-4fbd-8ca3-00080a7e888a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_65269d43-613d-4b53-90bf-8bd912020208" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0b0987c2-bc5d-43f4-8a2a-819dcef7a37b" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_65269d43-613d-4b53-90bf-8bd912020208" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_d758b015-b10b-45fe-8010-141a6b56f9c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0b0987c2-bc5d-43f4-8a2a-819dcef7a37b" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_d758b015-b10b-45fe-8010-141a6b56f9c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_33115603-deb0-4505-9c84-225f370102d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0b0987c2-bc5d-43f4-8a2a-819dcef7a37b" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_33115603-deb0-4505-9c84-225f370102d8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/IncomeTaxesIncomeTaxesProvisionforBenefitDetails" xlink:type="simple" xlink:href="spxc-20231231.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_eea842a4-e24e-4b01-aad9-0a9444f5ec1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_13b722cb-831e-4f5d-b729-b17e70af1350" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_eea842a4-e24e-4b01-aad9-0a9444f5ec1d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_13b722cb-831e-4f5d-b729-b17e70af1350" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_a042de35-9259-4b33-b561-ea21d244557d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_eea842a4-e24e-4b01-aad9-0a9444f5ec1d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_a042de35-9259-4b33-b561-ea21d244557d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_32826771-c999-4e61-9b23-4f558445fada" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_be3c0790-c849-47a1-b7b1-afefedbbb957" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32826771-c999-4e61-9b23-4f558445fada" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_be3c0790-c849-47a1-b7b1-afefedbbb957" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_45b6b4ca-6ae6-4741-be1a-9c93854559fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32826771-c999-4e61-9b23-4f558445fada" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_45b6b4ca-6ae6-4741-be1a-9c93854559fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_a05c66d1-e85e-48d2-b53b-76ba5bda5981" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7b694b15-c486-49b8-8ef5-5f6bec0fa673" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a05c66d1-e85e-48d2-b53b-76ba5bda5981" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7b694b15-c486-49b8-8ef5-5f6bec0fa673" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e46f66ce-bdfa-4e22-9822-225c7ecf33db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a05c66d1-e85e-48d2-b53b-76ba5bda5981" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e46f66ce-bdfa-4e22-9822-225c7ecf33db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_8feb534e-2cc5-466d-b99b-dbef188a84b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_c30a5ddb-f425-4c0c-bb49-43a34715e2cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8feb534e-2cc5-466d-b99b-dbef188a84b0" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_c30a5ddb-f425-4c0c-bb49-43a34715e2cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_f0cfdfc2-e2c3-438d-a846-b5fdab74f5c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8feb534e-2cc5-466d-b99b-dbef188a84b0" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_f0cfdfc2-e2c3-438d-a846-b5fdab74f5c1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/IncomeTaxesEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="spxc-20231231.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_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_f7d284bf-b762-4ae8-a586-740effc34bd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_f7d284bf-b762-4ae8-a586-740effc34bd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationImpairmentAndBasisAdjustmentsPercent_61449a4c-d584-411a-a824-078b1348ef37" xlink:href="spxc-20231231.xsd#spxc_EffectiveIncomeTaxRateReconciliationImpairmentAndBasisAdjustmentsPercent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationImpairmentAndBasisAdjustmentsPercent_61449a4c-d584-411a-a824-078b1348ef37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_4d1212dd-897c-4f4a-9ebe-20351d9c82ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_4d1212dd-897c-4f4a-9ebe-20351d9c82ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxCreditsAndExemptions_0f2f50ea-42cd-41c8-8a27-a661b94c36f9" xlink:href="spxc-20231231.xsd#spxc_EffectiveIncomeTaxRateReconciliationTaxCreditsAndExemptions"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxCreditsAndExemptions_0f2f50ea-42cd-41c8-8a27-a661b94c36f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_a35f7528-fbca-48ea-adf5-65aa88abc3b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_a35f7528-fbca-48ea-adf5-65aa88abc3b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_966ae22f-e037-42b8-8a1a-53dbea76c69c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_966ae22f-e037-42b8-8a1a-53dbea76c69c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent1_f5b5d860-0d17-4945-b20e-03947d790ab8" xlink:href="spxc-20231231.xsd#spxc_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent1"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent1_f5b5d860-0d17-4945-b20e-03947d790ab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_0b979aa9-bf08-4296-86ee-66d61d2bb1a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_0b979aa9-bf08-4296-86ee-66d61d2bb1a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_2aa3759f-f434-45f9-9575-2c5556667d8c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_2aa3759f-f434-45f9-9575-2c5556667d8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationDispositionOfBusiness_a15d30ba-5240-4ae3-a755-6ac69a0ccb8e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationDispositionOfBusiness"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationDispositionOfBusiness_a15d30ba-5240-4ae3-a755-6ac69a0ccb8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_fe095ef0-d3d2-4c5d-aa5a-01d62781f96b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_fe095ef0-d3d2-4c5d-aa5a-01d62781f96b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_5d744b3f-7b75-45ca-ae3f-0d7e5ab5e016" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_5d744b3f-7b75-45ca-ae3f-0d7e5ab5e016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationNonDeductibleLossOnDispositionOfBusinessPercent_bc6cf81e-8236-46f7-9502-ecc0bb9d1603" xlink:href="spxc-20231231.xsd#spxc_EffectiveIncomeTaxRateReconciliationNonDeductibleLossOnDispositionOfBusinessPercent"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationNonDeductibleLossOnDispositionOfBusinessPercent_bc6cf81e-8236-46f7-9502-ecc0bb9d1603" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxAdjustmentsToContingentConsideration_fe745297-266a-4934-a21f-3cd1c98abd6c" xlink:href="spxc-20231231.xsd#spxc_EffectiveIncomeTaxRateReconciliationTaxAdjustmentsToContingentConsideration"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_d73a8a47-8477-4095-932e-ebac75ab4927" xlink:to="loc_spxc_EffectiveIncomeTaxRateReconciliationTaxAdjustmentsToContingentConsideration_fe745297-266a-4934-a21f-3cd1c98abd6c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="spxc-20231231.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_a4a69dcb-3bc4-41c0-b47f-1ca233a1841a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_a07e242b-5def-4649-b61a-fb4eb6313492" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4a69dcb-3bc4-41c0-b47f-1ca233a1841a" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_a07e242b-5def-4649-b61a-fb4eb6313492" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_5343dd8d-8942-421d-b4ca-bcba916f2298" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4a69dcb-3bc4-41c0-b47f-1ca233a1841a" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_5343dd8d-8942-421d-b4ca-bcba916f2298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_d01ae3d6-f50c-4f03-a4a8-99aae4a197bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4a69dcb-3bc4-41c0-b47f-1ca233a1841a" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_d01ae3d6-f50c-4f03-a4a8-99aae4a197bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_bb15846a-d7ea-49a7-a90d-65622037f53f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4a69dcb-3bc4-41c0-b47f-1ca233a1841a" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_bb15846a-d7ea-49a7-a90d-65622037f53f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_e7834109-aef1-4d08-bca3-d790c3fe864c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_81598d52-ab44-42e7-9fb3-b304a35525ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e7834109-aef1-4d08-bca3-d790c3fe864c" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_81598d52-ab44-42e7-9fb3-b304a35525ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_09328951-a3c4-4f6c-8c5a-345467c15376" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e7834109-aef1-4d08-bca3-d790c3fe864c" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_09328951-a3c4-4f6c-8c5a-345467c15376" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_37b3ad77-2d8b-42f6-bd02-e4d4960d098f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_42d11e00-8989-4b39-ba0d-0ff7bb0a3b9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37b3ad77-2d8b-42f6-bd02-e4d4960d098f" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_42d11e00-8989-4b39-ba0d-0ff7bb0a3b9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_e8704dae-141d-4408-8671-f595f75e16d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_37b3ad77-2d8b-42f6-bd02-e4d4960d098f" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_e8704dae-141d-4408-8671-f595f75e16d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_1a7b873e-51e6-471d-9009-abf1c6078585" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalEnvironmentalAndSelfInsurance_da7be2f2-0206-43e2-8370-93fe325b0f3e" xlink:href="spxc-20231231.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_1a7b873e-51e6-471d-9009-abf1c6078585" xlink:to="loc_spxc_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLegalEnvironmentalAndSelfInsurance_da7be2f2-0206-43e2-8370-93fe325b0f3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DeferredTaxAssetsNetOperatingLossAndTaxCreditCarryforwards_333b13b1-6d3c-409f-8296-af40180fc898" xlink:href="spxc-20231231.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_1a7b873e-51e6-471d-9009-abf1c6078585" xlink:to="loc_spxc_DeferredTaxAssetsNetOperatingLossAndTaxCreditCarryforwards_333b13b1-6d3c-409f-8296-af40180fc898" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_dd6ce3a7-c092-4656-be25-ce6a2ef36c07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1a7b873e-51e6-471d-9009-abf1c6078585" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_dd6ce3a7-c092-4656-be25-ce6a2ef36c07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionOtherPostretirementAndPostemploymentBenefits_71dc536e-b9c4-47ce-8481-5a01569ef81b" xlink:href="spxc-20231231.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_1a7b873e-51e6-471d-9009-abf1c6078585" xlink:to="loc_spxc_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionOtherPostretirementAndPostemploymentBenefits_71dc536e-b9c4-47ce-8481-5a01569ef81b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_1ebada88-b131-4afd-bdb1-e7fc2b80ebc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1a7b873e-51e6-471d-9009-abf1c6078585" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_1ebada88-b131-4afd-bdb1-e7fc2b80ebc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsReserves_0b9dd766-956e-419a-8f74-03452f0c833b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1a7b873e-51e6-471d-9009-abf1c6078585" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsReserves_0b9dd766-956e-419a-8f74-03452f0c833b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_0d81da2b-a3d3-4ea2-abd9-adc175fde4e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1a7b873e-51e6-471d-9009-abf1c6078585" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_0d81da2b-a3d3-4ea2-abd9-adc175fde4e0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ShareholdersEquityandLongTermIncentiveCompensationComponentsUsedforCalculationofBasicandDilutedIncomeLossDetails" xlink:type="simple" xlink:href="spxc-20231231.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_b65aa9f9-cae2-4d1d-904c-e14a99add091" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_9f63217f-33f0-4a33-a020-40806115495b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b65aa9f9-cae2-4d1d-904c-e14a99add091" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_9f63217f-33f0-4a33-a020-40806115495b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_34dbd473-d623-4f1a-a5c5-9017e3cfc9f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b65aa9f9-cae2-4d1d-904c-e14a99add091" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_34dbd473-d623-4f1a-a5c5-9017e3cfc9f0" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
