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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:6414abe4-778d-4857-a785-3d0173dfa1fd,g:54334b06-93e8-4ec8-822f-abd9410c14ff-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="spxc-20230401.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c3b78393-8ecb-490d-8c68-57bd0cc72db8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_9838abc7-4447-405e-aa12-b616712f6074" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c3b78393-8ecb-490d-8c68-57bd0cc72db8" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_9838abc7-4447-405e-aa12-b616712f6074" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_68981747-f023-415b-afb3-d5c7ac20bf45" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c3b78393-8ecb-490d-8c68-57bd0cc72db8" xlink:to="loc_us-gaap_InvestmentIncomeInterest_68981747-f023-415b-afb3-d5c7ac20bf45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_59d9c9c4-21ed-4c43-8b61-47de1ed2c3df" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_c3b78393-8ecb-490d-8c68-57bd0cc72db8" xlink:to="loc_us-gaap_InterestExpense_59d9c9c4-21ed-4c43-8b61-47de1ed2c3df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_85b74d90-04e1-45ca-9904-447cf6a8697e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c3b78393-8ecb-490d-8c68-57bd0cc72db8" xlink:to="loc_us-gaap_OperatingIncomeLoss_85b74d90-04e1-45ca-9904-447cf6a8697e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_0fb06af0-d796-4e53-98ee-c6c1c562a2a8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_db1645e1-3c64-4281-a8b2-d1245d5320f9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0fb06af0-d796-4e53-98ee-c6c1c562a2a8" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_db1645e1-3c64-4281-a8b2-d1245d5320f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_c56875ad-151f-48a1-94ec-c7843b2d4dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0fb06af0-d796-4e53-98ee-c6c1c562a2a8" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_c56875ad-151f-48a1-94ec-c7843b2d4dcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_027bfc10-2fc8-496e-8407-cd03f7cd37d1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_0fb06af0-d796-4e53-98ee-c6c1c562a2a8" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_027bfc10-2fc8-496e-8407-cd03f7cd37d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_3bec0556-c36c-41b6-aa26-39159a6d5904" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0fb06af0-d796-4e53-98ee-c6c1c562a2a8" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_3bec0556-c36c-41b6-aa26-39159a6d5904" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_e4a054ba-17fa-4533-b1bc-23002f1982ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_0fb06af0-d796-4e53-98ee-c6c1c562a2a8" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_e4a054ba-17fa-4533-b1bc-23002f1982ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_9cf4b4b8-9349-4a2a-b3d7-0330021d0d13" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_24a0d0e5-c110-4433-9d98-2fc663679ac8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_9cf4b4b8-9349-4a2a-b3d7-0330021d0d13" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_24a0d0e5-c110-4433-9d98-2fc663679ac8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_56ec1154-4cea-462e-bc3b-d896bc0974a9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_9cf4b4b8-9349-4a2a-b3d7-0330021d0d13" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_56ec1154-4cea-462e-bc3b-d896bc0974a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_889f1547-9bfb-4879-bbf7-7d3cb72e5c00" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a9abc2cd-1976-459c-a8d0-acd97c416cca" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_889f1547-9bfb-4879-bbf7-7d3cb72e5c00" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a9abc2cd-1976-459c-a8d0-acd97c416cca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_dfa7842b-6be8-45ff-a695-bcb5774d5756" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_889f1547-9bfb-4879-bbf7-7d3cb72e5c00" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_dfa7842b-6be8-45ff-a695-bcb5774d5756" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_47bf061a-c1ed-4437-894c-3eed4666ea24" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_94c24425-b732-41d0-b08e-1b29cf8a666c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_47bf061a-c1ed-4437-894c-3eed4666ea24" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_94c24425-b732-41d0-b08e-1b29cf8a666c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_26ff74da-bfc5-4a90-8218-cb6a793e89cf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_47bf061a-c1ed-4437-894c-3eed4666ea24" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_26ff74da-bfc5-4a90-8218-cb6a793e89cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_3d796076-2f8a-44e2-9a3c-18fb726387f8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_4036ff70-7a24-4487-8a0f-6c325f7a7b6f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_3d796076-2f8a-44e2-9a3c-18fb726387f8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_4036ff70-7a24-4487-8a0f-6c325f7a7b6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_2f35e8d5-6297-4cbf-8e5c-7c3698d1cc33" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_3d796076-2f8a-44e2-9a3c-18fb726387f8" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_2f35e8d5-6297-4cbf-8e5c-7c3698d1cc33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b574d419-feb5-45f2-bd8c-c4612dc541cc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_11b7f84b-22d7-4b6d-83bb-f7de9372a8a2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b574d419-feb5-45f2-bd8c-c4612dc541cc" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_11b7f84b-22d7-4b6d-83bb-f7de9372a8a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_75f23d64-7e39-4ce1-a161-39f94c1e332b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b574d419-feb5-45f2-bd8c-c4612dc541cc" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_75f23d64-7e39-4ce1-a161-39f94c1e332b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="spxc-20230401.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_a3392355-ac17-41ec-94c8-78823fbc0396" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_b87734c6-17b6-4c28-a612-775d9a3bd958" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a3392355-ac17-41ec-94c8-78823fbc0396" xlink:to="loc_us-gaap_ShortTermBorrowings_b87734c6-17b6-4c28-a612-775d9a3bd958" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_b25a72e7-f493-4893-bd34-e012af76576a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a3392355-ac17-41ec-94c8-78823fbc0396" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_b25a72e7-f493-4893-bd34-e012af76576a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_b3653026-6bf9-4fcc-a5a6-fa53c31cd830" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a3392355-ac17-41ec-94c8-78823fbc0396" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_b3653026-6bf9-4fcc-a5a6-fa53c31cd830" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_192b8d6d-567b-43af-b750-fdd061fe2aad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a3392355-ac17-41ec-94c8-78823fbc0396" xlink:to="loc_us-gaap_LongTermDebtCurrent_192b8d6d-567b-43af-b750-fdd061fe2aad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_4343f6a4-ea01-4451-bac6-50ef1d44394f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a3392355-ac17-41ec-94c8-78823fbc0396" xlink:to="loc_us-gaap_AccountsPayableCurrent_4343f6a4-ea01-4451-bac6-50ef1d44394f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_6624c097-e994-424d-aae4-b18fab424fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a3392355-ac17-41ec-94c8-78823fbc0396" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_6624c097-e994-424d-aae4-b18fab424fe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_63a7de3c-d5b7-450e-b459-9241310c5d50" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_68a17223-7c3b-43aa-aa54-fa0d55b48a77" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_63a7de3c-d5b7-450e-b459-9241310c5d50" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_68a17223-7c3b-43aa-aa54-fa0d55b48a77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_41d96a5e-843d-4718-ada6-094731716643" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_63a7de3c-d5b7-450e-b459-9241310c5d50" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_41d96a5e-843d-4718-ada6-094731716643" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_AssetsOfAbandonedEntities_13948476-bf17-4629-85b7-c45b0f5571cf" xlink:href="spxc-20230401.xsd#spxc_AssetsOfAbandonedEntities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_63a7de3c-d5b7-450e-b459-9241310c5d50" xlink:to="loc_spxc_AssetsOfAbandonedEntities_13948476-bf17-4629-85b7-c45b0f5571cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_30078ca9-ae88-4c4a-b0e4-4acfac63dba5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_63a7de3c-d5b7-450e-b459-9241310c5d50" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_30078ca9-ae88-4c4a-b0e4-4acfac63dba5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_2f8650b6-8a57-4576-891e-67cfd8ef15aa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_63a7de3c-d5b7-450e-b459-9241310c5d50" xlink:to="loc_us-gaap_AssetsCurrent_2f8650b6-8a57-4576-891e-67cfd8ef15aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_545d2856-1a93-4a54-b3a4-0d275688d3a6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_63a7de3c-d5b7-450e-b459-9241310c5d50" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_545d2856-1a93-4a54-b3a4-0d275688d3a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_b82f7df2-7ed9-4276-a93b-d2e9b9468b5a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_63a7de3c-d5b7-450e-b459-9241310c5d50" xlink:to="loc_us-gaap_Goodwill_b82f7df2-7ed9-4276-a93b-d2e9b9468b5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_f74b13c2-eb76-4f52-b0a9-0ca608b99e08" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_c1ca5d25-4cdb-474a-a417-03ad431c0cec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f74b13c2-eb76-4f52-b0a9-0ca608b99e08" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_c1ca5d25-4cdb-474a-a417-03ad431c0cec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_0c86f57a-1164-4e48-9dde-5d7132a32e1f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f74b13c2-eb76-4f52-b0a9-0ca608b99e08" xlink:to="loc_us-gaap_CommitmentsAndContingencies_0c86f57a-1164-4e48-9dde-5d7132a32e1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_e3848a2c-d25b-4cbc-bac6-032de6361286" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f74b13c2-eb76-4f52-b0a9-0ca608b99e08" xlink:to="loc_us-gaap_LiabilitiesCurrent_e3848a2c-d25b-4cbc-bac6-032de6361286" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_99ec9032-6ca3-4a16-9476-2bd8425b6b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_f74b13c2-eb76-4f52-b0a9-0ca608b99e08" xlink:to="loc_us-gaap_StockholdersEquity_99ec9032-6ca3-4a16-9476-2bd8425b6b3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_2059faae-72bf-484c-9558-76f5f894177c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_LiabilitiesOfAbandonedEntities_f6e2263b-4fdd-4984-86f8-4d3abe8661ba" xlink:href="spxc-20230401.xsd#spxc_LiabilitiesOfAbandonedEntities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_2059faae-72bf-484c-9558-76f5f894177c" xlink:to="loc_spxc_LiabilitiesOfAbandonedEntities_f6e2263b-4fdd-4984-86f8-4d3abe8661ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_f5565ef2-99d1-4761-9788-7c31e83ab4fc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_2059faae-72bf-484c-9558-76f5f894177c" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_f5565ef2-99d1-4761-9788-7c31e83ab4fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_cf840bac-9b5c-4cb5-abcd-b58bad745c81" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_2059faae-72bf-484c-9558-76f5f894177c" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_cf840bac-9b5c-4cb5-abcd-b58bad745c81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_b44b82d5-c9c0-4bcd-a8b4-3b8aecfcb9cf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_2059faae-72bf-484c-9558-76f5f894177c" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_b44b82d5-c9c0-4bcd-a8b4-3b8aecfcb9cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_db50004a-b28c-4eb1-8bb6-605221eb2c11" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_25f5d70e-ce3b-4454-95f3-519b03f948f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_db50004a-b28c-4eb1-8bb6-605221eb2c11" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_25f5d70e-ce3b-4454-95f3-519b03f948f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_1da77bf7-e4e7-4d06-a09b-6f931b2a493a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_db50004a-b28c-4eb1-8bb6-605221eb2c11" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_1da77bf7-e4e7-4d06-a09b-6f931b2a493a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_18e3af44-0cc4-41f2-97b9-fee41c1ea1fe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_89b5389d-ae58-4701-8e4e-23b25bda6bdc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_18e3af44-0cc4-41f2-97b9-fee41c1ea1fe" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_89b5389d-ae58-4701-8e4e-23b25bda6bdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_194666e9-1fbf-405e-afc1-c12b155bbc73" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_18e3af44-0cc4-41f2-97b9-fee41c1ea1fe" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_194666e9-1fbf-405e-afc1-c12b155bbc73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_195fd7b5-67d8-4553-9c1e-b2cac6794753" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_18e3af44-0cc4-41f2-97b9-fee41c1ea1fe" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_195fd7b5-67d8-4553-9c1e-b2cac6794753" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_5cd87508-06c2-4038-a72d-77837dd9bdd8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_18e3af44-0cc4-41f2-97b9-fee41c1ea1fe" xlink:to="loc_us-gaap_OtherAssetsCurrent_5cd87508-06c2-4038-a72d-77837dd9bdd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_860bba96-44ce-4da3-8c09-bbeb30414506" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_18e3af44-0cc4-41f2-97b9-fee41c1ea1fe" xlink:to="loc_us-gaap_InventoryNet_860bba96-44ce-4da3-8c09-bbeb30414506" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_c879cda9-8952-43e1-84e3-ea935b3617a1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8fd1e4b3-7eeb-4e88-ac44-c4f9d5390c86" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_c879cda9-8952-43e1-84e3-ea935b3617a1" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8fd1e4b3-7eeb-4e88-ac44-c4f9d5390c86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_02791871-2e25-494c-80a0-9b122ef5a874" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_c879cda9-8952-43e1-84e3-ea935b3617a1" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_02791871-2e25-494c-80a0-9b122ef5a874" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_0284a42c-b49a-4cc0-8028-0722761be416" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_c879cda9-8952-43e1-84e3-ea935b3617a1" xlink:to="loc_us-gaap_CommonStockValueOutstanding_0284a42c-b49a-4cc0-8028-0722761be416" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_945ef25b-4702-472b-a47f-a7cd900db66d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_c879cda9-8952-43e1-84e3-ea935b3617a1" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_945ef25b-4702-472b-a47f-a7cd900db66d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_04d23c39-808a-4107-b541-268cbeb30939" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_c879cda9-8952-43e1-84e3-ea935b3617a1" xlink:to="loc_us-gaap_TreasuryStockCommonValue_04d23c39-808a-4107-b541-268cbeb30939" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_67edef11-0d51-4fb1-99c9-bf4846d2db54" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_2263d777-adde-4bb2-b540-56dff32f9246" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_67edef11-0d51-4fb1-99c9-bf4846d2db54" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_2263d777-adde-4bb2-b540-56dff32f9246" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_b9437876-cf4e-4fd1-9516-6812eb53495e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Land"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_67edef11-0d51-4fb1-99c9-bf4846d2db54" xlink:to="loc_us-gaap_Land_b9437876-cf4e-4fd1-9516-6812eb53495e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_13d3c4d0-fabe-43bc-b21d-a5eb2a1d5468" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_67edef11-0d51-4fb1-99c9-bf4846d2db54" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_13d3c4d0-fabe-43bc-b21d-a5eb2a1d5468" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="spxc-20230401.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_43269a7b-411c-4fdc-9352-4aad53d6e9e6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_610e8ded-d6ce-468a-82ff-6f0b51db7f02" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_43269a7b-411c-4fdc-9352-4aad53d6e9e6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_610e8ded-d6ce-468a-82ff-6f0b51db7f02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d7fb1338-febc-4d39-bcb5-a0a75ec1d81a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_43269a7b-411c-4fdc-9352-4aad53d6e9e6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d7fb1338-febc-4d39-bcb5-a0a75ec1d81a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ec9f8b34-226f-4c01-91d6-7c3a064279dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_43269a7b-411c-4fdc-9352-4aad53d6e9e6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ec9f8b34-226f-4c01-91d6-7c3a064279dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_bc407079-b167-4ce0-b95d-05e20dd83b9c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_43269a7b-411c-4fdc-9352-4aad53d6e9e6" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_bc407079-b167-4ce0-b95d-05e20dd83b9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_14835c27-cd15-4edd-ab07-9882c991f42b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_236da2dc-21cd-4b9f-96f0-51b845644c35" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_14835c27-cd15-4edd-ab07-9882c991f42b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_236da2dc-21cd-4b9f-96f0-51b845644c35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_bde2dd84-947a-4e10-94dc-ca31e20782ca" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_14835c27-cd15-4edd-ab07-9882c991f42b" xlink:to="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_bde2dd84-947a-4e10-94dc-ca31e20782ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_952ef330-ec4d-472d-8ef8-7103ce89b72c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLifeInsurancePolicies_e25bfc37-e1d0-44eb-9034-9ceaa66e3063" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromLifeInsurancePolicies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_952ef330-ec4d-472d-8ef8-7103ce89b72c" xlink:to="loc_us-gaap_ProceedsFromLifeInsurancePolicies_e25bfc37-e1d0-44eb-9034-9ceaa66e3063" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_51b5ed1f-684a-4c61-ac99-3e836a36b22d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_952ef330-ec4d-472d-8ef8-7103ce89b72c" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_51b5ed1f-684a-4c61-ac99-3e836a36b22d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_c5909fda-77d2-40f3-9cb6-bf2612831b28" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_952ef330-ec4d-472d-8ef8-7103ce89b72c" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_c5909fda-77d2-40f3-9cb6-bf2612831b28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8a54fdbc-31af-41b1-97bb-b5bb933ec1c9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_0bded2de-93e7-4426-b8e1-6a413994850c" xlink:href="spxc-20230401.xsd#spxc_RepaymentsUnderTradeReceivablesAgreement"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8a54fdbc-31af-41b1-97bb-b5bb933ec1c9" xlink:to="loc_spxc_RepaymentsUnderTradeReceivablesAgreement_0bded2de-93e7-4426-b8e1-6a413994850c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingsUnderSeniorCreditFacilities_39d8ef4e-c303-46dd-9ede-5a4420a6eebf" xlink:href="spxc-20230401.xsd#spxc_BorrowingsUnderSeniorCreditFacilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8a54fdbc-31af-41b1-97bb-b5bb933ec1c9" xlink:to="loc_spxc_BorrowingsUnderSeniorCreditFacilities_39d8ef4e-c303-46dd-9ede-5a4420a6eebf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_RepaymentsUnderSeniorCreditFacilities_9956202a-5c6b-4315-99ee-6404b2f89339" xlink:href="spxc-20230401.xsd#spxc_RepaymentsUnderSeniorCreditFacilities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8a54fdbc-31af-41b1-97bb-b5bb933ec1c9" xlink:to="loc_spxc_RepaymentsUnderSeniorCreditFacilities_9956202a-5c6b-4315-99ee-6404b2f89339" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_BorrowingUnderTradeReceivablesAgreement_17e278df-bd88-49ad-ab4e-c170864aec38" xlink:href="spxc-20230401.xsd#spxc_BorrowingUnderTradeReceivablesAgreement"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8a54fdbc-31af-41b1-97bb-b5bb933ec1c9" xlink:to="loc_spxc_BorrowingUnderTradeReceivablesAgreement_17e278df-bd88-49ad-ab4e-c170864aec38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_34c819ae-24db-4630-bb4a-b9b0ae467536" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8a54fdbc-31af-41b1-97bb-b5bb933ec1c9" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_34c819ae-24db-4630-bb4a-b9b0ae467536" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_64886c27-60b6-44b6-b798-06bb060cff61" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8a54fdbc-31af-41b1-97bb-b5bb933ec1c9" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_64886c27-60b6-44b6-b798-06bb060cff61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_54376d7d-6b13-4db2-9748-ba3015e68ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8a54fdbc-31af-41b1-97bb-b5bb933ec1c9" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_54376d7d-6b13-4db2-9748-ba3015e68ae9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d4048586-5577-402f-89f9-a748eb06cc00" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_2bd19c68-8c37-46c0-8406-4629bcb4104e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d4048586-5577-402f-89f9-a748eb06cc00" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_2bd19c68-8c37-46c0-8406-4629bcb4104e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_043fa0d3-358d-4711-afc9-cbf594983985" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d4048586-5577-402f-89f9-a748eb06cc00" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_043fa0d3-358d-4711-afc9-cbf594983985" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0cf06644-dbd6-490b-a3a1-1d7c233d0f57" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_ef2fd682-bf1d-4d68-86ba-12afb8533fc5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_0cf06644-dbd6-490b-a3a1-1d7c233d0f57" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_ef2fd682-bf1d-4d68-86ba-12afb8533fc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_f22256a4-dd74-4408-902b-dbbcb40d7c9c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_0cf06644-dbd6-490b-a3a1-1d7c233d0f57" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_f22256a4-dd74-4408-902b-dbbcb40d7c9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_c93bec51-5f06-4e21-9f34-e5ef71c180f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_c93bec51-5f06-4e21-9f34-e5ef71c180f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_23a45b4d-b8fd-4766-8ee7-5cb1cacafdb6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_23a45b4d-b8fd-4766-8ee7-5cb1cacafdb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_54e67f9b-d4f8-4f7d-b16a-b9e470729995" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_54e67f9b-d4f8-4f7d-b16a-b9e470729995" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_c64c0caa-e5fc-43e4-be45-0d9a13be9e14" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets_c64c0caa-e5fc-43e4-be45-0d9a13be9e14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_d8d5ced9-1acd-41a3-80b3-0a1ce9db4297" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_d8d5ced9-1acd-41a3-80b3-0a1ce9db4297" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_eb851857-0ecd-4128-84b0-4ead605a079b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_PaymentsForRestructuring_eb851857-0ecd-4128-84b0-4ead605a079b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_752c98e8-b561-4f06-9353-d42cb53bda92" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_752c98e8-b561-4f06-9353-d42cb53bda92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_6d954a12-dc6c-4c24-9e62-7b14fbf41442" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_6d954a12-dc6c-4c24-9e62-7b14fbf41442" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_3bbe79b8-1b9a-4ccc-8713-0c4ac4327f68" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_ShareBasedCompensation_3bbe79b8-1b9a-4ccc-8713-0c4ac4327f68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_165c7cc4-2384-4314-9934-80351ec83039" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_165c7cc4-2384-4314-9934-80351ec83039" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_bca47c98-4a1c-4482-a481-7e204b5ff7e3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8037ce0f-7017-497b-9192-5a743261244d" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_bca47c98-4a1c-4482-a481-7e204b5ff7e3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="simple" xlink:href="spxc-20230401.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperations_2b31b11d-9ff0-4738-b298-655d96e5eb82" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities_8bcd3a26-c80c-4e74-8f20-ae98f0ac136f" xlink:href="spxc-20230401.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_2b31b11d-9ff0-4738-b298-655d96e5eb82" xlink:to="loc_spxc_CashAndCashEquivalentsIncludedInAssetsOfAbandonedEntities_8bcd3a26-c80c-4e74-8f20-ae98f0ac136f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_24547027-833d-4d91-8105-1f13aa375b6c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_2b31b11d-9ff0-4738-b298-655d96e5eb82" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_24547027-833d-4d91-8105-1f13aa375b6c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="simple" xlink:href="spxc-20230401.xsd#ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSWindDownofDBTAssetsandLiabilitiesofDiscontinuedOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_2c0229fb-66a1-43e0-9faa-d61cc12da4dd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross_c3887a3c-3b8a-4135-a8af-d60f19491fe4" xlink:href="spxc-20230401.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_2c0229fb-66a1-43e0-9faa-d61cc12da4dd" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentGross_c3887a3c-3b8a-4135-a8af-d60f19491fe4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_5cc3809f-5006-45f7-9c01-b92937968018" xlink:href="spxc-20230401.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_2c0229fb-66a1-43e0-9faa-d61cc12da4dd" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation_5cc3809f-5006-45f7-9c01-b92937968018" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_ef02ebaf-112a-4afa-a212-f59afbb41cf8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_1ae3201d-c120-44dd-960e-adb9f601ef95" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_ef02ebaf-112a-4afa-a212-f59afbb41cf8" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_1ae3201d-c120-44dd-960e-adb9f601ef95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_b4ee369c-245b-4a73-bc1e-2f3bac96d204" xlink:href="spxc-20230401.xsd#spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_ef02ebaf-112a-4afa-a212-f59afbb41cf8" xlink:to="loc_spxc_DisposalGroupIncludingDiscontinuedOperationContractLiabilitiesCurrent_b4ee369c-245b-4a73-bc1e-2f3bac96d204" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_c549ef65-09b8-4070-bc1a-6c969f0d4c4b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_ef02ebaf-112a-4afa-a212-f59afbb41cf8" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_c549ef65-09b8-4070-bc1a-6c969f0d4c4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_4fce1931-6369-4761-baf4-74b197cfe6ac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_ef02ebaf-112a-4afa-a212-f59afbb41cf8" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent_4fce1931-6369-4761-baf4-74b197cfe6ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_3ef16a38-4485-4185-bdb6-f8f19d6895eb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_5370841f-f5da-4df9-b417-8ffda1b94c87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_3ef16a38-4485-4185-bdb6-f8f19d6895eb" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_5370841f-f5da-4df9-b417-8ffda1b94c87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_bd3b45b9-e8b5-4031-8c4c-cbcb7891ca68" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_3ef16a38-4485-4185-bdb6-f8f19d6895eb" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_bd3b45b9-e8b5-4031-8c4c-cbcb7891ca68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_2c20fade-04f9-45c2-a9a2-07852ed6dc60" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_3ef16a38-4485-4185-bdb6-f8f19d6895eb" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_2c20fade-04f9-45c2-a9a2-07852ed6dc60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_817ea72f-d7b9-4d8e-8486-35c788a3acf0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_3ef16a38-4485-4185-bdb6-f8f19d6895eb" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_817ea72f-d7b9-4d8e-8486-35c788a3acf0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_da9e0cfd-a80a-4265-9a08-4bf9b80d87f8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_3ef16a38-4485-4185-bdb6-f8f19d6895eb" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_da9e0cfd-a80a-4265-9a08-4bf9b80d87f8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSResultsofOperationsDetails" xlink:type="simple" xlink:href="spxc-20230401.xsd#ACQUISITIONSANDDISCONTINUEDOPERATIONSResultsofOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/ACQUISITIONSANDDISCONTINUEDOPERATIONSResultsofOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_8fa97666-4ef9-46f7-bfe2-2e4d60f64a27" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_d6b1577b-41e3-4ad0-8a7a-de865130d41c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_8fa97666-4ef9-46f7-bfe2-2e4d60f64a27" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_d6b1577b-41e3-4ad0-8a7a-de865130d41c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_10f2580e-b2d7-46fe-8cd4-ec25997df049" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_8fa97666-4ef9-46f7-bfe2-2e4d60f64a27" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_10f2580e-b2d7-46fe-8cd4-ec25997df049" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/REVENUESFROMCONTRACTSContractBalancesDetails" xlink:type="simple" xlink:href="spxc-20230401.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_3ed1d8e1-c2e5-4381-baf7-de78d539ab37" xlink:href="spxc-20230401.xsd#spxc_IncreaseDecreaseinContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_57ba4978-dd12-44d7-9aa0-0951c36dadc9" xlink:href="spxc-20230401.xsd#spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_3ed1d8e1-c2e5-4381-baf7-de78d539ab37" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityCurrent_57ba4978-dd12-44d7-9aa0-0951c36dadc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_ae0e7de1-42e8-4278-93c6-09a2fcb04539" xlink:href="spxc-20230401.xsd#spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_3ed1d8e1-c2e5-4381-baf7-de78d539ab37" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerAssetNetCurrent_ae0e7de1-42e8-4278-93c6-09a2fcb04539" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_40102513-7ec0-4588-9194-8ab125075857" xlink:href="spxc-20230401.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_3ed1d8e1-c2e5-4381-baf7-de78d539ab37" xlink:to="loc_spxc_IncreaseDecreaseinAccountsReceivableNet_40102513-7ec0-4588-9194-8ab125075857" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_570ef54a-dd72-4add-a4d1-c7ffccf5801e" xlink:href="spxc-20230401.xsd#spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_IncreaseDecreaseinContractwithCustomersNet_3ed1d8e1-c2e5-4381-baf7-de78d539ab37" xlink:to="loc_spxc_IncreaseDecreaseinContractwithCustomerLiabilityNoncurrent_570ef54a-dd72-4add-a4d1-c7ffccf5801e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_spxc_ContractwithCustomersNet_219f5e77-a084-4d67-9cb7-bb13aa30f5d5" xlink:href="spxc-20230401.xsd#spxc_ContractwithCustomersNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_e1469e2a-f3a0-4e5d-9988-0100a35f8b1f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_219f5e77-a084-4d67-9cb7-bb13aa30f5d5" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_e1469e2a-f3a0-4e5d-9988-0100a35f8b1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_814e1295-771d-4c13-872c-7c9cbd4f46d4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_219f5e77-a084-4d67-9cb7-bb13aa30f5d5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_814e1295-771d-4c13-872c-7c9cbd4f46d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_b92f7163-dc3e-4011-b1b4-5e261ad7a093" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_219f5e77-a084-4d67-9cb7-bb13aa30f5d5" xlink:to="loc_us-gaap_AccountsReceivableNet_b92f7163-dc3e-4011-b1b4-5e261ad7a093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_a441efa1-9530-48cb-8fc7-78b90170a72e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spxc_ContractwithCustomersNet_219f5e77-a084-4d67-9cb7-bb13aa30f5d5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_a441efa1-9530-48cb-8fc7-78b90170a72e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/INVENTORIESNETDetails" xlink:type="simple" xlink:href="spxc-20230401.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_be009aa7-02f6-442d-9898-1a5d10add595" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_0c27c6fd-4b03-4eaa-a99c-a822c4c02e75" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_be009aa7-02f6-442d-9898-1a5d10add595" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_0c27c6fd-4b03-4eaa-a99c-a822c4c02e75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_72195a03-2aa7-44b3-be35-f1b2712fff91" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_be009aa7-02f6-442d-9898-1a5d10add595" xlink:to="loc_us-gaap_InventoryRawMaterialsAndPurchasedPartsNetOfReserves_72195a03-2aa7-44b3-be35-f1b2712fff91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_1698e35d-0234-477a-ba6a-dd8d17775439" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_be009aa7-02f6-442d-9898-1a5d10add595" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_1698e35d-0234-477a-ba6a-dd8d17775439" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/GOODWILLANDOTHERINTANGIBLEASSETSOtherIntangiblesNetDetails" xlink:type="simple" xlink:href="spxc-20230401.xsd#GOODWILLANDOTHERINTANGIBLEASSETSOtherIntangiblesNetDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/GOODWILLANDOTHERINTANGIBLEASSETSOtherIntangiblesNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_69c15567-73dc-4f4c-82e3-44aa2908e570" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_271181c4-caed-498d-9bcd-0e99c391e41f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_69c15567-73dc-4f4c-82e3-44aa2908e570" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_271181c4-caed-498d-9bcd-0e99c391e41f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c13524ae-635e-4e77-ad58-d0f36b90f181" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_69c15567-73dc-4f4c-82e3-44aa2908e570" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c13524ae-635e-4e77-ad58-d0f36b90f181" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_3f19cc4b-7dc6-4791-b703-9d179023f8b4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_02eb42d5-f5c0-4b27-9858-3274a77613db" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_3f19cc4b-7dc6-4791-b703-9d179023f8b4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_02eb42d5-f5c0-4b27-9858-3274a77613db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_977fd569-f8d1-42c5-9f10-6ef9440fb783" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_3f19cc4b-7dc6-4791-b703-9d179023f8b4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_977fd569-f8d1-42c5-9f10-6ef9440fb783" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_1bc99f0b-f57d-4be7-b4d2-fd662231a1ce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7a60950c-147d-4925-88a2-27423ece412b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_1bc99f0b-f57d-4be7-b4d2-fd662231a1ce" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7a60950c-147d-4925-88a2-27423ece412b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_acacc87a-5e10-4213-af0c-6952afe8efad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_1bc99f0b-f57d-4be7-b4d2-fd662231a1ce" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_acacc87a-5e10-4213-af0c-6952afe8efad" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/EMPLOYEEBENEFITPLANSNetPeriodicExpenseIncomeDetails" xlink:type="simple" xlink:href="spxc-20230401.xsd#EMPLOYEEBENEFITPLANSNetPeriodicExpenseIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/EMPLOYEEBENEFITPLANSNetPeriodicExpenseIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_adec6852-ab0e-42f2-b8a5-d99db914782e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_3edf35cb-1637-474e-a87d-f978ece25137" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_adec6852-ab0e-42f2-b8a5-d99db914782e" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_3edf35cb-1637-474e-a87d-f978ece25137" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_22209acf-e94a-4d9d-947a-a0441aba693f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_adec6852-ab0e-42f2-b8a5-d99db914782e" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_22209acf-e94a-4d9d-947a-a0441aba693f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_d95b3326-f378-48f0-add9-4ac375eee4fe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_adec6852-ab0e-42f2-b8a5-d99db914782e" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_d95b3326-f378-48f0-add9-4ac375eee4fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_40a565e6-a770-483c-b714-fd5ee1611017" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_adec6852-ab0e-42f2-b8a5-d99db914782e" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_40a565e6-a770-483c-b714-fd5ee1611017" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_2325a79b-f58d-4454-a68d-6e29add87ee8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_adec6852-ab0e-42f2-b8a5-d99db914782e" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_2325a79b-f58d-4454-a68d-6e29add87ee8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONComponentsUsedForCalculationOfBasicAndDilutedIncomeDetails" xlink:type="simple" xlink:href="spxc-20230401.xsd#STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONComponentsUsedForCalculationOfBasicAndDilutedIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONComponentsUsedForCalculationOfBasicAndDilutedIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_241505c5-6241-4c32-b47c-81e9960a98ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_373a65c9-7218-4fd7-be63-cc922d33b571" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_241505c5-6241-4c32-b47c-81e9960a98ff" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_373a65c9-7218-4fd7-be63-cc922d33b571" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_1899bb4b-2564-4a3d-a00b-b37a9801e33b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_241505c5-6241-4c32-b47c-81e9960a98ff" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_1899bb4b-2564-4a3d-a00b-b37a9801e33b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="spxc-20230401.xsd#STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONAccumulatedOtherComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.spx.com/role/STOCKHOLDERSEQUITYANDLONGTERMINCENTIVECOMPENSATIONAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7ebf640a-5a8a-4b8f-b2f1-a89a5d3534f9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_f5f536c3-daad-4a8e-98cc-92194c9e31ec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7ebf640a-5a8a-4b8f-b2f1-a89a5d3534f9" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_f5f536c3-daad-4a8e-98cc-92194c9e31ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_63ac2343-f126-46cc-8736-5655011c47ee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7ebf640a-5a8a-4b8f-b2f1-a89a5d3534f9" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_63ac2343-f126-46cc-8736-5655011c47ee" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
