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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:6a2ad67f-294b-4c7f-a50d-a045c4d6498e,g:f76f861a-f755-4331-a533-0ebe779f8476-->
<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.pentair.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="simple" xlink:href="pnr-20221231.xsd#ConsolidatedStatementsofOperationsandComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_5160f2e9-4208-47ca-a579-66c659320502" 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_GrossProfit_e67689a2-bd9a-4e66-be09-72667ccea785" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5160f2e9-4208-47ca-a579-66c659320502" xlink:to="loc_us-gaap_GrossProfit_e67689a2-bd9a-4e66-be09-72667ccea785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_37951ce0-0cd4-45ce-8825-49c5a0348333" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5160f2e9-4208-47ca-a579-66c659320502" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_37951ce0-0cd4-45ce-8825-49c5a0348333" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_c6781819-e1c7-45b5-b9f7-1d6a7522a591" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5160f2e9-4208-47ca-a579-66c659320502" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_c6781819-e1c7-45b5-b9f7-1d6a7522a591" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_a83027e1-b011-4ad2-bdd4-ac88d78ee46c" 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_520b0b89-cd79-4682-9cb5-ff542fb78546" 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_a83027e1-b011-4ad2-bdd4-ac88d78ee46c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_520b0b89-cd79-4682-9cb5-ff542fb78546" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_483cb591-b419-473f-831a-d51af5086376" 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_a83027e1-b011-4ad2-bdd4-ac88d78ee46c" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_483cb591-b419-473f-831a-d51af5086376" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_7e505ce8-f744-46aa-90ac-687ab880ee19" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_997897a7-9aa3-403d-96ce-e6dce9430c3b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_GrossProfit_7e505ce8-f744-46aa-90ac-687ab880ee19" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_997897a7-9aa3-403d-96ce-e6dce9430c3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_b278271e-1ab3-4418-b649-2c092a4b4341" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_GrossProfit_7e505ce8-f744-46aa-90ac-687ab880ee19" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_b278271e-1ab3-4418-b649-2c092a4b4341" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5f81d4e4-7692-41dd-89ef-8c3bcb17f07d" 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_InterestIncomeExpenseNet_c16d1341-2097-4e7f-b0c7-59683c3a055f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5f81d4e4-7692-41dd-89ef-8c3bcb17f07d" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_c16d1341-2097-4e7f-b0c7-59683c3a055f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_ecc09c16-c910-402e-9d58-cb367c43cfe2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5f81d4e4-7692-41dd-89ef-8c3bcb17f07d" xlink:to="loc_us-gaap_OperatingIncomeLoss_ecc09c16-c910-402e-9d58-cb367c43cfe2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_07883f07-0db7-489c-99a6-ea035c259f22" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5f81d4e4-7692-41dd-89ef-8c3bcb17f07d" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_07883f07-0db7-489c-99a6-ea035c259f22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_e261982e-226c-4ee8-af0e-6528e8215471" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5f81d4e4-7692-41dd-89ef-8c3bcb17f07d" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_e261982e-226c-4ee8-af0e-6528e8215471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_5acccc48-84c9-4785-95dc-2e049ead820a" 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_8b7e4b95-9b1e-4cbe-ab8b-ae7e8b629a44" 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_5acccc48-84c9-4785-95dc-2e049ead820a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_8b7e4b95-9b1e-4cbe-ab8b-ae7e8b629a44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_ecd46d17-ba19-4a2a-93f5-6ab349bd3390" 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_5acccc48-84c9-4785-95dc-2e049ead820a" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_ecd46d17-ba19-4a2a-93f5-6ab349bd3390" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_fe2ef42d-f348-4c38-adff-9cf3f0b7c314" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_5aa52b31-b554-41a5-b169-ca0586d4369a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_fe2ef42d-f348-4c38-adff-9cf3f0b7c314" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_5aa52b31-b554-41a5-b169-ca0586d4369a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_44421592-8f15-4180-bb57-cf24bdd7f67d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_fe2ef42d-f348-4c38-adff-9cf3f0b7c314" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_44421592-8f15-4180-bb57-cf24bdd7f67d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_0937eed5-5b0b-436d-936b-17d8275c713e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_fe2ef42d-f348-4c38-adff-9cf3f0b7c314" xlink:to="loc_us-gaap_ProfitLoss_0937eed5-5b0b-436d-936b-17d8275c713e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_89839dda-d9f6-46c5-b5ef-04e19ce13d7a" 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_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_e2139241-154b-42f7-9034-475405020380" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_89839dda-d9f6-46c5-b5ef-04e19ce13d7a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_e2139241-154b-42f7-9034-475405020380" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_a9d180be-e980-41a8-8972-ba823df225a1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_89839dda-d9f6-46c5-b5ef-04e19ce13d7a" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_a9d180be-e980-41a8-8972-ba823df225a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_e4a20706-6b51-4ebf-b00c-fc4abb2c0d11" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8ffd6c5e-4b8d-4e00-9e75-25a8b4e0098d" 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_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_e4a20706-6b51-4ebf-b00c-fc4abb2c0d11" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8ffd6c5e-4b8d-4e00-9e75-25a8b4e0098d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_3b20eb5c-43a9-4e4b-b383-1a4584fe6662" 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_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_e4a20706-6b51-4ebf-b00c-fc4abb2c0d11" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_3b20eb5c-43a9-4e4b-b383-1a4584fe6662" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="pnr-20221231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_4c80f831-1560-4e53-9e18-d5581ca9ca0f" 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_OtherAssetsCurrent_e4917580-b82c-47a9-ae41-bdeed933fac3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4c80f831-1560-4e53-9e18-d5581ca9ca0f" xlink:to="loc_us-gaap_OtherAssetsCurrent_e4917580-b82c-47a9-ae41-bdeed933fac3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_43f2a179-73a2-48f8-8ed0-b594a7cfe121" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4c80f831-1560-4e53-9e18-d5581ca9ca0f" xlink:to="loc_us-gaap_InventoryNet_43f2a179-73a2-48f8-8ed0-b594a7cfe121" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsAndNotesReceivableNet_b3675499-45c0-494a-9afb-d8ec316ecaff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsAndNotesReceivableNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4c80f831-1560-4e53-9e18-d5581ca9ca0f" xlink:to="loc_us-gaap_AccountsAndNotesReceivableNet_b3675499-45c0-494a-9afb-d8ec316ecaff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_9c93fc35-2de0-42cd-a6aa-889e65a448c4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_4c80f831-1560-4e53-9e18-d5581ca9ca0f" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_9c93fc35-2de0-42cd-a6aa-889e65a448c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_8a73b89a-17cc-45d6-ba59-5b010c3a01bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_60363ac2-e7c4-4f8e-b19d-04b477e1fa6d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_Liabilities_8a73b89a-17cc-45d6-ba59-5b010c3a01bf" xlink:to="loc_us-gaap_LiabilitiesCurrent_60363ac2-e7c4-4f8e-b19d-04b477e1fa6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_e6d800a0-ace2-4350-a85e-2a31c6b09bea" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8a73b89a-17cc-45d6-ba59-5b010c3a01bf" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_e6d800a0-ace2-4350-a85e-2a31c6b09bea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_96fbc319-cd5e-4f41-b2f3-e061e99885dd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_Liabilities_8a73b89a-17cc-45d6-ba59-5b010c3a01bf" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_96fbc319-cd5e-4f41-b2f3-e061e99885dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_7ba8e338-7e89-43c2-a54c-e58bfac6eede" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8a73b89a-17cc-45d6-ba59-5b010c3a01bf" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_7ba8e338-7e89-43c2-a54c-e58bfac6eede" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_ffa5dea6-e9d5-4f04-8885-4d77308dab8d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8a73b89a-17cc-45d6-ba59-5b010c3a01bf" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_ffa5dea6-e9d5-4f04-8885-4d77308dab8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_da38aa73-506f-4ba5-ad79-31d1fce00ecc" 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_AccountsPayableCurrent_a80b354f-cf06-41ac-8f1c-b5200803d00b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_da38aa73-506f-4ba5-ad79-31d1fce00ecc" xlink:to="loc_us-gaap_AccountsPayableCurrent_a80b354f-cf06-41ac-8f1c-b5200803d00b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_5613874b-1b17-414e-b87f-ea443f002221" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_da38aa73-506f-4ba5-ad79-31d1fce00ecc" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_5613874b-1b17-414e-b87f-ea443f002221" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_ea101039-941a-4b18-854f-d0914b8b2d23" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_da38aa73-506f-4ba5-ad79-31d1fce00ecc" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_ea101039-941a-4b18-854f-d0914b8b2d23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_569cf14f-36f9-4ab7-a0e3-1af75e45f962" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_49276376-650f-4cf8-8226-476dcfb58354" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_569cf14f-36f9-4ab7-a0e3-1af75e45f962" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_49276376-650f-4cf8-8226-476dcfb58354" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_9747045b-b852-4f5e-832d-3493618d63bd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_569cf14f-36f9-4ab7-a0e3-1af75e45f962" xlink:to="loc_us-gaap_Goodwill_9747045b-b852-4f5e-832d-3493618d63bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_41c39832-9a15-40c7-9271-40f1dde8f00a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_569cf14f-36f9-4ab7-a0e3-1af75e45f962" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_41c39832-9a15-40c7-9271-40f1dde8f00a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_2964a223-b0d0-4081-a534-cc08e976adfd" 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_AssetsCurrent_07e92656-8bef-44aa-a6a9-6f51737df7ad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_2964a223-b0d0-4081-a534-cc08e976adfd" xlink:to="loc_us-gaap_AssetsCurrent_07e92656-8bef-44aa-a6a9-6f51737df7ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f8f03ee7-ba6c-4e40-ac34-fbebf4e72125" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2964a223-b0d0-4081-a534-cc08e976adfd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f8f03ee7-ba6c-4e40-ac34-fbebf4e72125" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_62fea5af-cc0a-46ba-8ab1-633dd78c0140" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2964a223-b0d0-4081-a534-cc08e976adfd" xlink:to="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_62fea5af-cc0a-46ba-8ab1-633dd78c0140" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_bbde9f8c-b2fa-4fa4-bd8f-2c93b2afc713" 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_Liabilities_d9548e48-9da7-4e72-97d8-ce6e3b3bff5b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_bbde9f8c-b2fa-4fa4-bd8f-2c93b2afc713" xlink:to="loc_us-gaap_Liabilities_d9548e48-9da7-4e72-97d8-ce6e3b3bff5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_2bf29354-a43c-401f-be62-b15a10d936ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_bbde9f8c-b2fa-4fa4-bd8f-2c93b2afc713" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_2bf29354-a43c-401f-be62-b15a10d936ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_31fd7aa3-ff8f-4a32-985f-05c87d27990c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_5352237c-ef0f-422b-a3cd-8c362a06bba8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_31fd7aa3-ff8f-4a32-985f-05c87d27990c" xlink:to="loc_us-gaap_CommonStockValueOutstanding_5352237c-ef0f-422b-a3cd-8c362a06bba8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_b01d6735-610d-47a8-bc47-3ba7a4e342f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_31fd7aa3-ff8f-4a32-985f-05c87d27990c" xlink:to="loc_us-gaap_AdditionalPaidInCapital_b01d6735-610d-47a8-bc47-3ba7a4e342f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_80b2ed17-7e1a-4b54-bc7f-43115756e12b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_31fd7aa3-ff8f-4a32-985f-05c87d27990c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_80b2ed17-7e1a-4b54-bc7f-43115756e12b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_55f7ac14-8755-40cc-83e4-487d8490933b" 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_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_31fd7aa3-ff8f-4a32-985f-05c87d27990c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_55f7ac14-8755-40cc-83e4-487d8490933b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="pnr-20221231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3ba3c687-9f62-4b13-91ad-05a9d738b090" 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_f5782869-67e4-4a52-9ef5-624ee6b00a2f" 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_3ba3c687-9f62-4b13-91ad-05a9d738b090" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_f5782869-67e4-4a52-9ef5-624ee6b00a2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_096cdf1e-8f13-4c72-85e3-6b805c83eb9a" 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_3ba3c687-9f62-4b13-91ad-05a9d738b090" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_096cdf1e-8f13-4c72-85e3-6b805c83eb9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" 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_ProfitLoss_fb63e149-415f-4496-b94f-efbf7c4d3b86" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_ProfitLoss_fb63e149-415f-4496-b94f-efbf7c4d3b86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_1496ce5b-0464-407f-ae1a-98c0f17cc6a8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_1496ce5b-0464-407f-ae1a-98c0f17cc6a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_c4ec2ca5-3793-4c5a-8dd1-cbedbac456d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_c4ec2ca5-3793-4c5a-8dd1-cbedbac456d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_4c4c1669-e02a-4860-b453-0a30188a44e3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_Depreciation_4c4c1669-e02a-4860-b453-0a30188a44e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_cc96b1b5-b845-4711-bf72-13b470d82de4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_cc96b1b5-b845-4711-bf72-13b470d82de4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_c7d57dba-9977-4160-ad59-19cfb45f1723" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_c7d57dba-9977-4160-ad59-19cfb45f1723" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_4d08b35b-5bf6-4c44-a4de-e2dae192213f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_4d08b35b-5bf6-4c44-a4de-e2dae192213f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_ae0fc801-e916-4325-b1d0-2c9dbde951be" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_ShareBasedCompensation_ae0fc801-e916-4325-b1d0-2c9dbde951be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_a9898339-f2d9-4264-a8c2-626d632452d9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_AssetImpairmentCharges_a9898339-f2d9-4264-a8c2-626d632452d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_f7724743-19f9-4c7a-a8ce-81ea7160336d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_f7724743-19f9-4c7a-a8ce-81ea7160336d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_8e7e0eea-b44c-4aab-b284-4ed17d429b10" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementBenefitContributions"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_8e7e0eea-b44c-4aab-b284-4ed17d429b10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_07e160f0-77c4-415f-b46e-d4e44da1118d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_07e160f0-77c4-415f-b46e-d4e44da1118d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_a6964767-a4fe-4b45-bad5-282d98ee0a7c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_a6964767-a4fe-4b45-bad5-282d98ee0a7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_76b39d76-f6e0-4797-a56b-3893acd1b671" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_76b39d76-f6e0-4797-a56b-3893acd1b671" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_9e57a8f7-281b-435a-8e55-a9cfa64e886b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_9e57a8f7-281b-435a-8e55-a9cfa64e886b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_20e310ac-6390-401b-b059-26b43fe2ff64" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_20e310ac-6390-401b-b059-26b43fe2ff64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_e99b3ca1-b7ce-4ce0-ba3a-c6a0672caf0e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherCurrentLiabilities"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_e99b3ca1-b7ce-4ce0-ba3a-c6a0672caf0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_832b3fa1-a98b-4660-9cad-09050b921285" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_832b3fa1-a98b-4660-9cad-09050b921285" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_e37e587c-c4a4-4c4e-936e-e54a725a4bf8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_e37e587c-c4a4-4c4e-936e-e54a725a4bf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherAssets_dd941eaf-d74e-4ab8-89e7-adfefe6a5df7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSaleOfOtherAssets"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_62a2fa52-a315-47f3-bf66-f6cb8a283af6" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherAssets_dd941eaf-d74e-4ab8-89e7-adfefe6a5df7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" 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_PaymentsForRepurchaseOfCommonStock_c39b4695-8131-4dc4-ae2b-d05acf8e594c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_c39b4695-8131-4dc4-ae2b-d05acf8e594c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForHedgeFinancingActivities_a9530bea-b6c4-443e-bec3-de95ef364cf6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForHedgeFinancingActivities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_us-gaap_PaymentsForHedgeFinancingActivities_a9530bea-b6c4-443e-bec3-de95ef364cf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_9aa2da26-71d6-4ffc-bda0-05a66c51151d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_9aa2da26-71d6-4ffc-bda0-05a66c51151d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_852488f8-817d-402b-ac13-cded523704dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromRepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_852488f8-817d-402b-ac13-cded523704dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_efb106d0-801c-4e91-8c04-3aa8ee907767" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_efb106d0-801c-4e91-8c04-3aa8ee907767" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_a7da8bd0-de23-4cf6-a3bc-c74f84c53d8b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_a7da8bd0-de23-4cf6-a3bc-c74f84c53d8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_82d120a8-807a-4e63-8cc4-2bd46389039c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_82d120a8-807a-4e63-8cc4-2bd46389039c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromHedgeFinancingActivities_23311b05-3cd4-4db8-8d3a-58f5eba9e114" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromHedgeFinancingActivities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_us-gaap_ProceedsFromHedgeFinancingActivities_23311b05-3cd4-4db8-8d3a-58f5eba9e114" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld_48e0da5d-0325-4a5d-b430-2e96f5b16c34" xlink:href="pnr-20221231.xsd#pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b42e53f-0f9a-4545-8f07-976a78ba7762" xlink:to="loc_pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld_48e0da5d-0325-4a5d-b430-2e96f5b16c34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_b17c95a4-5dad-4b27-a67b-915dcab0385e" 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_NetCashProvidedByUsedInFinancingActivities_0552a845-3d9b-481c-aef4-1b92f2609dfe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_b17c95a4-5dad-4b27-a67b-915dcab0385e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0552a845-3d9b-481c-aef4-1b92f2609dfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_35f6f33c-a7d7-4366-ab79-d6d1b7a83b87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_b17c95a4-5dad-4b27-a67b-915dcab0385e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_35f6f33c-a7d7-4366-ab79-d6d1b7a83b87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_73797d37-45b1-4f3b-907f-b6e6b7cdf254" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_b17c95a4-5dad-4b27-a67b-915dcab0385e" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_73797d37-45b1-4f3b-907f-b6e6b7cdf254" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6cf63acd-0eb9-4517-ae42-3280e7cc402e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_b17c95a4-5dad-4b27-a67b-915dcab0385e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6cf63acd-0eb9-4517-ae42-3280e7cc402e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3be8ea58-2d96-4708-bd51-95ec02bc6f4b" 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_PaymentsToAcquireBusinessesNetOfCashAcquired_c9dcd19c-d286-4e7f-a2bc-211db7dfcf5a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3be8ea58-2d96-4708-bd51-95ec02bc6f4b" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_c9dcd19c-d286-4e7f-a2bc-211db7dfcf5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_0c0b6cd2-eaf6-44c6-bd3f-f27cb6626936" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3be8ea58-2d96-4708-bd51-95ec02bc6f4b" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_0c0b6cd2-eaf6-44c6-bd3f-f27cb6626936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6c20499d-0dca-49af-8908-340e0e5ce231" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3be8ea58-2d96-4708-bd51-95ec02bc6f4b" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6c20499d-0dca-49af-8908-340e0e5ce231" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_7f57a5a8-244b-4e35-988a-24aaef123df4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3be8ea58-2d96-4708-bd51-95ec02bc6f4b" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_7f57a5a8-244b-4e35-988a-24aaef123df4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_2fe55e53-6f02-40bf-b6f3-ae1e5d7ae109" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3be8ea58-2d96-4708-bd51-95ec02bc6f4b" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_2fe55e53-6f02-40bf-b6f3-ae1e5d7ae109" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromHedgeInvestingActivities_3424e5fd-1038-4733-84fd-53e1d1aaad11" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromHedgeInvestingActivities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3be8ea58-2d96-4708-bd51-95ec02bc6f4b" xlink:to="loc_us-gaap_ProceedsFromHedgeInvestingActivities_3424e5fd-1038-4733-84fd-53e1d1aaad11" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContractAssetsandLiabilitiesDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContractAssetsandLiabilitiesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContractAssetsandLiabilitiesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ContractWithCustomerAssetLiabilityNet_e3ea483b-fd09-4397-af7e-373048ceb296" xlink:href="pnr-20221231.xsd#pnr_ContractWithCustomerAssetLiabilityNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_82f8c259-0aec-43ca-8c68-590addfe2906" 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_pnr_ContractWithCustomerAssetLiabilityNet_e3ea483b-fd09-4397-af7e-373048ceb296" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_82f8c259-0aec-43ca-8c68-590addfe2906" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_d9d0528a-87bf-47a5-becd-c59079345b9d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_ContractWithCustomerAssetLiabilityNet_e3ea483b-fd09-4397-af7e-373048ceb296" xlink:to="loc_us-gaap_ContractWithCustomerLiability_d9d0528a-87bf-47a5-becd-c59079345b9d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="pnr-20221231.xsd#AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_b019bbe5-01ef-4e89-b528-40f9b63887f1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_b019bbe5-01ef-4e89-b528-40f9b63887f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_51d1bbac-feed-4f5c-b576-9bdb82f388bb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_51d1bbac-feed-4f5c-b576-9bdb82f388bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_d5b8f524-1792-426b-804f-f2cacb13a74d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_d5b8f524-1792-426b-804f-f2cacb13a74d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_73e036a8-f2fd-4843-b142-94084d998d12" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_73e036a8-f2fd-4843-b142-94084d998d12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_bbff4057-aa64-41d3-b751-c5ece4dab860" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_Goodwill_bbff4057-aa64-41d3-b751-c5ece4dab860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_e00cfcab-eae5-4e76-926b-b62f35cf50b0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_e00cfcab-eae5-4e76-926b-b62f35cf50b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_da0faf92-67bc-48c4-b7d7-7acbc268bef4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_da0faf92-67bc-48c4-b7d7-7acbc268bef4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_9e1be177-9282-41cc-a017-689b7956fc46" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_9e1be177-9282-41cc-a017-689b7956fc46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_07e0ac3f-dd95-4e21-a6de-1918260315f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_07e0ac3f-dd95-4e21-a6de-1918260315f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_7d32097f-6288-4de5-89a5-b02611e85fd8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_07b2efdc-c9be-476c-8600-5c54f76f29f4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_7d32097f-6288-4de5-89a5-b02611e85fd8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/EarningsPerShareDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#EarningsPerShareDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/EarningsPerShareDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_2eed288e-775e-4c25-ae87-26af91cbaa5e" 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_0bf89613-e820-4a11-924a-a6e4e7ddca23" 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_2eed288e-775e-4c25-ae87-26af91cbaa5e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0bf89613-e820-4a11-924a-a6e4e7ddca23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_9f026677-e21b-46ab-ab30-f68124dc23e0" 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_2eed288e-775e-4c25-ae87-26af91cbaa5e" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_9f026677-e21b-46ab-ab30-f68124dc23e0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/RestructuringCostsIncludedinSellingGeneralAdministrativeexpensesonConsolidatedStatementsofIncomeDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#RestructuringCostsIncludedinSellingGeneralAdministrativeexpensesonConsolidatedStatementsofIncomeDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/RestructuringCostsIncludedinSellingGeneralAdministrativeexpensesonConsolidatedStatementsofIncomeDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TotalRestructuringAndTransformationCosts_1c6e7afb-9b72-45c5-ac07-4b2c0ad09806" xlink:href="pnr-20221231.xsd#pnr_TotalRestructuringAndTransformationCosts"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TransformationCosts_6b7507d8-7816-4f36-94f8-41f6de42a4a8" xlink:href="pnr-20221231.xsd#pnr_TransformationCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_TotalRestructuringAndTransformationCosts_1c6e7afb-9b72-45c5-ac07-4b2c0ad09806" xlink:to="loc_pnr_TransformationCosts_6b7507d8-7816-4f36-94f8-41f6de42a4a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_65880943-ec86-4d28-bba9-9d9c78988218" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_TotalRestructuringAndTransformationCosts_1c6e7afb-9b72-45c5-ac07-4b2c0ad09806" xlink:to="loc_us-gaap_RestructuringCharges_65880943-ec86-4d28-bba9-9d9c78988218" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/GoodwillandOtherIdentifiableIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#GoodwillandOtherIdentifiableIntangibleAssetsIdentifiableIntangibleAssetsDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/GoodwillandOtherIdentifiableIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5faffe2d-e086-45ae-aabc-d4c20fd22617" 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_634d0da1-3775-4117-a56c-9e8e0a006101" 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_5faffe2d-e086-45ae-aabc-d4c20fd22617" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_634d0da1-3775-4117-a56c-9e8e0a006101" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c8bdd9a0-fe7b-4d38-94f1-b6ac39645967" 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_5faffe2d-e086-45ae-aabc-d4c20fd22617" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c8bdd9a0-fe7b-4d38-94f1-b6ac39645967" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_d85df20c-7fad-4b53-89b1-f72124fd2e30" 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_d6d73e55-2250-4a7d-a8ba-bf553b793d8f" 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_d85df20c-7fad-4b53-89b1-f72124fd2e30" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_d6d73e55-2250-4a7d-a8ba-bf553b793d8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_2d85ae8f-416a-41f6-a6ca-587dcc6efefb" 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_d85df20c-7fad-4b53-89b1-f72124fd2e30" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_2d85ae8f-416a-41f6-a6ca-587dcc6efefb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7918c2e5-729d-44e7-8e93-f26a34a2907f" 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_FiniteLivedIntangibleAssetsNet_9639f33c-3733-489f-ae40-681f130c2d63" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7918c2e5-729d-44e7-8e93-f26a34a2907f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9639f33c-3733-489f-ae40-681f130c2d63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_e5bf5f48-db69-460d-8308-022ee67d8a24" 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_IntangibleAssetsNetExcludingGoodwill_7918c2e5-729d-44e7-8e93-f26a34a2907f" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_e5bf5f48-db69-460d-8308-022ee67d8a24" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SupplementalBalanceSheetInformationDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#SupplementalBalanceSheetInformationDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/SupplementalBalanceSheetInformationDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_89fc8cb7-3812-40da-9e2f-ba090250773b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_e4715e6b-8d8d-489e-b5d7-fa221fb6d837" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_89fc8cb7-3812-40da-9e2f-ba090250773b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_e4715e6b-8d8d-489e-b5d7-fa221fb6d837" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_9ca9dee9-9931-4e24-9ef5-f55704a67789" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_89fc8cb7-3812-40da-9e2f-ba090250773b" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_9ca9dee9-9931-4e24-9ef5-f55704a67789" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_e6109b20-0a0b-4bd0-94ca-eb45c27bfbfe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherCurrentAssets_3629495e-33c8-47f8-9645-bdbe3dd1eb55" xlink:href="pnr-20221231.xsd#pnr_OtherCurrentAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_e6109b20-0a0b-4bd0-94ca-eb45c27bfbfe" xlink:to="loc_pnr_OtherCurrentAssets_3629495e-33c8-47f8-9645-bdbe3dd1eb55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_501b11c4-065e-4e61-abc1-3819e7548922" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_e6109b20-0a0b-4bd0-94ca-eb45c27bfbfe" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_501b11c4-065e-4e61-abc1-3819e7548922" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_dfbd25b4-d572-4140-b36d-4e9f726caa51" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherPrepaidExpenseCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_e6109b20-0a0b-4bd0-94ca-eb45c27bfbfe" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_dfbd25b4-d572-4140-b36d-4e9f726caa51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_f294e036-6f15-480a-84e7-b5431b9a5e08" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_2b898f1b-1359-491b-b9cc-991c11e51796" 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_PropertyPlantAndEquipmentGross_f294e036-6f15-480a-84e7-b5431b9a5e08" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_2b898f1b-1359-491b-b9cc-991c11e51796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareGross_20394448-f936-4b00-b896-659d885c78c4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CapitalizedComputerSoftwareGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_f294e036-6f15-480a-84e7-b5431b9a5e08" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareGross_20394448-f936-4b00-b896-659d885c78c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_68e1b0f9-b29b-491f-ac82-b0d32d92ff52" 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_PropertyPlantAndEquipmentGross_f294e036-6f15-480a-84e7-b5431b9a5e08" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_68e1b0f9-b29b-491f-ac82-b0d32d92ff52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandAndLandImprovements_114c197b-374f-40c5-b65f-6f832c86f817" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LandAndLandImprovements"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_f294e036-6f15-480a-84e7-b5431b9a5e08" xlink:to="loc_us-gaap_LandAndLandImprovements_114c197b-374f-40c5-b65f-6f832c86f817" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_2887acf6-e879-4086-a6c1-0ee3f952e085" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConstructionInProgressGross"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_f294e036-6f15-480a-84e7-b5431b9a5e08" xlink:to="loc_us-gaap_ConstructionInProgressGross_2887acf6-e879-4086-a6c1-0ee3f952e085" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_95ea03fe-9d34-43d2-b290-0633868cc7cd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_Prepaidtaxeslongterm_5672a47e-c240-4187-922a-cb8feb5ced18" xlink:href="pnr-20221231.xsd#pnr_Prepaidtaxeslongterm"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_95ea03fe-9d34-43d2-b290-0633868cc7cd" xlink:to="loc_pnr_Prepaidtaxeslongterm_5672a47e-c240-4187-922a-cb8feb5ced18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_64d0163c-d7ee-4bc3-ad32-9f53bf456841" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredCompensationPlanAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_95ea03fe-9d34-43d2-b290-0633868cc7cd" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_64d0163c-d7ee-4bc3-ad32-9f53bf456841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermAssets_45e8e9d6-f072-4ff0-b4c1-310c16730a14" xlink:href="pnr-20221231.xsd#pnr_OtherLongTermAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_95ea03fe-9d34-43d2-b290-0633868cc7cd" xlink:to="loc_pnr_OtherLongTermAssets_45e8e9d6-f072-4ff0-b4c1-310c16730a14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_c0ef3286-5026-4570-9439-0799a7221b54" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_95ea03fe-9d34-43d2-b290-0633868cc7cd" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_c0ef3286-5026-4570-9439-0799a7221b54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_9cebf799-da73-4f81-8aaa-e658dcb0967e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_109e1e9b-6e85-4919-a862-0119d246f39a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_9cebf799-da73-4f81-8aaa-e658dcb0967e" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_109e1e9b-6e85-4919-a862-0119d246f39a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_2e2e32f3-d96d-4338-a6eb-219ba89c9ef0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_9cebf799-da73-4f81-8aaa-e658dcb0967e" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_2e2e32f3-d96d-4338-a6eb-219ba89c9ef0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermLiabilities_db315010-0e83-4c2d-a707-9a38d7d64677" xlink:href="pnr-20221231.xsd#pnr_OtherLongTermLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_9cebf799-da73-4f81-8aaa-e658dcb0967e" xlink:to="loc_pnr_OtherLongTermLiabilities_db315010-0e83-4c2d-a707-9a38d7d64677" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_34d941c5-3028-4b51-a55f-1d0d41804bef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredCompensationLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_9cebf799-da73-4f81-8aaa-e658dcb0967e" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_34d941c5-3028-4b51-a55f-1d0d41804bef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_105a5514-3f13-4b28-b1a3-af11ee1cb58b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_9cebf799-da73-4f81-8aaa-e658dcb0967e" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_105a5514-3f13-4b28-b1a3-af11ee1cb58b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveNoncurrent_94c538a9-52ce-43ef-a078-ef3f988e71d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SelfInsuranceReserveNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_9cebf799-da73-4f81-8aaa-e658dcb0967e" xlink:to="loc_us-gaap_SelfInsuranceReserveNoncurrent_94c538a9-52ce-43ef-a078-ef3f988e71d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_cd575a00-7566-4c54-ae18-15351a5567b5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_DividendsPayableCurrent_cd575a00-7566-4c54-ae18-15351a5567b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_AccruedFreight_aa5fb11f-ee27-4455-9022-b6a26706d9b7" xlink:href="pnr-20221231.xsd#pnr_AccruedFreight"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_pnr_AccruedFreight_aa5fb11f-ee27-4455-9022-b6a26706d9b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_f2c9d5aa-3a36-470a-8a7a-0918a0c80580" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TaxesPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_f2c9d5aa-3a36-470a-8a7a-0918a0c80580" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_0a462e1a-acc1-4054-b5bc-cf188ddda276" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_0a462e1a-acc1-4054-b5bc-cf188ddda276" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_2784fcc3-b953-49be-aea3-d6c8652df4db" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_2784fcc3-b953-49be-aea3-d6c8652df4db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_6a2978c6-78d8-4ed0-ae51-16642cf9436d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_6a2978c6-78d8-4ed0-ae51-16642cf9436d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_99784af5-4585-438d-964f-f0a84a845fff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_99784af5-4585-438d-964f-f0a84a845fff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_436bc9f2-a3df-4ea7-babd-70bd42d79fa4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_436bc9f2-a3df-4ea7-babd-70bd42d79fa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_58164bd6-d070-4d4f-966c-692e6bcde855" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_58164bd6-d070-4d4f-966c-692e6bcde855" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_7ccee487-db6e-4e1f-b590-d660e392de5f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringReserve"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_16d61927-2c58-46e1-8a96-90e97577b37c" xlink:to="loc_us-gaap_RestructuringReserve_7ccee487-db6e-4e1f-b590-d660e392de5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_915d6cd9-bb5c-4e7d-9e0d-95b51638a0bd" 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_InventoryRawMaterialsAndSupplies_37a032af-a8f7-4dac-9821-0212136f624c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryRawMaterialsAndSupplies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_915d6cd9-bb5c-4e7d-9e0d-95b51638a0bd" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSupplies_37a032af-a8f7-4dac-9821-0212136f624c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_2d70afde-d5c4-48b2-9746-c97324de4637" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_915d6cd9-bb5c-4e7d-9e0d-95b51638a0bd" xlink:to="loc_us-gaap_InventoryWorkInProcess_2d70afde-d5c4-48b2-9746-c97324de4637" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_9b151ad9-4f23-4308-97ea-871921898c15" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_915d6cd9-bb5c-4e7d-9e0d-95b51638a0bd" xlink:to="loc_us-gaap_InventoryFinishedGoods_9b151ad9-4f23-4308-97ea-871921898c15" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/AccumulatedOtherComprehensiveLossDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#AccumulatedOtherComprehensiveLossDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/AccumulatedOtherComprehensiveLossDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_e7be9cbf-6cb9-4ddc-9248-5dc853225286" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_7f36a42e-69fe-4835-ac16-b0b13798169d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_e7be9cbf-6cb9-4ddc-9248-5dc853225286" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_7f36a42e-69fe-4835-ac16-b0b13798169d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax_d682111a-6151-4f38-8ec1-8edb7928b8c3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_e7be9cbf-6cb9-4ddc-9248-5dc853225286" xlink:to="loc_us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax_d682111a-6151-4f38-8ec1-8edb7928b8c3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtOutstandingMaturesonCalendarYearBasisDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#DebtDebtOutstandingMaturesonCalendarYearBasisDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DebtDebtOutstandingMaturesonCalendarYearBasisDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_a2c58c15-7816-41f3-b97f-2073e3d525b4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_ed61086f-1a1e-4538-8622-fe24e2757d31" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2c58c15-7816-41f3-b97f-2073e3d525b4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_ed61086f-1a1e-4538-8622-fe24e2757d31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_a28c6de1-e3ff-4851-a13d-9c233939e213" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2c58c15-7816-41f3-b97f-2073e3d525b4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_a28c6de1-e3ff-4851-a13d-9c233939e213" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_8f5a0e0a-e554-4930-9b92-f6f6420cbad3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2c58c15-7816-41f3-b97f-2073e3d525b4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_8f5a0e0a-e554-4930-9b92-f6f6420cbad3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_fa186d7e-6367-47f4-8255-359f7bf8c708" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2c58c15-7816-41f3-b97f-2073e3d525b4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_fa186d7e-6367-47f4-8255-359f7bf8c708" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_979af05a-cf91-4c38-b938-91d1ed258f13" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2c58c15-7816-41f3-b97f-2073e3d525b4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_979af05a-cf91-4c38-b938-91d1ed258f13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_eb910777-3f79-4274-9900-dbc1e7dcdd38" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2c58c15-7816-41f3-b97f-2073e3d525b4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_eb910777-3f79-4274-9900-dbc1e7dcdd38" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesofLongtermDebtandDerivativeFinancialInstrumentsDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesofLongtermDebtandDerivativeFinancialInstrumentsDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesofLongtermDebtandDerivativeFinancialInstrumentsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6557d08a-0fc0-4fba-9598-d392f4904d87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_59ff0043-de05-4627-9300-e81e735ae702" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtPercentageBearingVariableInterestAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_6557d08a-0fc0-4fba-9598-d392f4904d87" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_59ff0043-de05-4627-9300-e81e735ae702" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_2e440dba-5dfb-404d-8090-90a3cca8b021" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtPercentageBearingFixedInterestAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_6557d08a-0fc0-4fba-9598-d392f4904d87" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_2e440dba-5dfb-404d-8090-90a3cca8b021" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#DerivativesandFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DerivativesandFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_8bead1b6-9bbb-4b84-b6cf-2d556e5eddab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_24f1e5e2-abab-43d1-97d5-c85424974f9f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_8bead1b6-9bbb-4b84-b6cf-2d556e5eddab" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_24f1e5e2-abab-43d1-97d5-c85424974f9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_3bfa9bac-46db-467a-b508-a8a87626d9fd" xlink:href="pnr-20221231.xsd#pnr_DeferredCompensationPlanAssetsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_8bead1b6-9bbb-4b84-b6cf-2d556e5eddab" xlink:to="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_3bfa9bac-46db-467a-b508-a8a87626d9fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_44f76891-a88b-46b4-8f2c-befbe6ad38b1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_8bead1b6-9bbb-4b84-b6cf-2d556e5eddab" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_44f76891-a88b-46b4-8f2c-befbe6ad38b1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesIncomeLossBeforeIncomeTaxesandNoncontrollingInterestDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#IncomeTaxesIncomeLossBeforeIncomeTaxesandNoncontrollingInterestDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesIncomeLossBeforeIncomeTaxesandNoncontrollingInterestDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_5484dc5d-599b-4be9-a2aa-4c10cfcf795c" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_5fdd8fe4-da81-49d4-ad2e-0d4b12664f79" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_5484dc5d-599b-4be9-a2aa-4c10cfcf795c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_5fdd8fe4-da81-49d4-ad2e-0d4b12664f79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_3fa97aa1-610d-45ad-bd32-22b1449761a2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_5484dc5d-599b-4be9-a2aa-4c10cfcf795c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_3fa97aa1-610d-45ad-bd32-22b1449761a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesProvisionforIncomeTaxesDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#IncomeTaxesProvisionforIncomeTaxesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesProvisionforIncomeTaxesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_111f7a0e-f131-47f3-b0da-8cda25df64c2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_f85d6bf2-a100-4c92-bab3-c4160b4bc180" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_111f7a0e-f131-47f3-b0da-8cda25df64c2" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_f85d6bf2-a100-4c92-bab3-c4160b4bc180" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_5073739a-d92e-4ba7-8eee-09b3d048aa99" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_568362f6-0a2c-495c-ba1f-25df80e38716" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_5073739a-d92e-4ba7-8eee-09b3d048aa99" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_568362f6-0a2c-495c-ba1f-25df80e38716" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_c10fa920-fd70-4641-b4a6-6a38311cdc32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_5073739a-d92e-4ba7-8eee-09b3d048aa99" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_c10fa920-fd70-4641-b4a6-6a38311cdc32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_28ad2e7b-f7c0-4e1b-bf44-c692dc10cbf4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_bf077a92-465b-4de3-a18c-830227309119" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_28ad2e7b-f7c0-4e1b-bf44-c692dc10cbf4" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_bf077a92-465b-4de3-a18c-830227309119" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_6a02e7e3-5ea6-4973-a2ac-8cb3d42e0e73" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_28ad2e7b-f7c0-4e1b-bf44-c692dc10cbf4" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_6a02e7e3-5ea6-4973-a2ac-8cb3d42e0e73" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveTaxRateDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveTaxRateDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveTaxRateDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_70fedc20-b5f0-4beb-95f0-869ff0dfd0dd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_a8153ca1-e1d7-47a6-92d0-348e0c1f9d46" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_70fedc20-b5f0-4beb-95f0-869ff0dfd0dd" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_a8153ca1-e1d7-47a6-92d0-348e0c1f9d46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_f0ed14ca-25da-40ae-a99c-af83f592c331" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_70fedc20-b5f0-4beb-95f0-869ff0dfd0dd" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_f0ed14ca-25da-40ae-a99c-af83f592c331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_10909852-26c5-455a-9b72-a2aea0950186" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_70fedc20-b5f0-4beb-95f0-869ff0dfd0dd" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_10909852-26c5-455a-9b72-a2aea0950186" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationBeatPercent_72bde29a-4835-420f-bd4e-54c488faa133" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationBeatPercent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_70fedc20-b5f0-4beb-95f0-869ff0dfd0dd" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationBeatPercent_72bde29a-4835-420f-bd4e-54c488faa133" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage_4ab7da95-ff1e-488f-a31a-d07cc5419848" xlink:href="pnr-20221231.xsd#pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_70fedc20-b5f0-4beb-95f0-869ff0dfd0dd" xlink:to="loc_pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage_4ab7da95-ff1e-488f-a31a-d07cc5419848" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_ec3e5448-7bd8-4ee4-b54d-d1a072281903" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_70fedc20-b5f0-4beb-95f0-869ff0dfd0dd" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_ec3e5448-7bd8-4ee4-b54d-d1a072281903" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#IncomeTaxesDeferredTaxAssetsandLiabilitiesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_7f4dabd9-0b80-4c42-9f7b-4a5aaeb72448" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_529aacc9-9a5d-414b-8596-a323eb332bfb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_7f4dabd9-0b80-4c42-9f7b-4a5aaeb72448" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_529aacc9-9a5d-414b-8596-a323eb332bfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_8de9d3d0-fe49-4f10-be49-58b2e2011cc1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_7f4dabd9-0b80-4c42-9f7b-4a5aaeb72448" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_8de9d3d0-fe49-4f10-be49-58b2e2011cc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_ea1f9585-5c03-46e6-aba3-07c730e20707" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_65eda469-809c-4686-8a60-299d66193083" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ea1f9585-5c03-46e6-aba3-07c730e20707" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_65eda469-809c-4686-8a60-299d66193083" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_8cd5bc0d-548a-4c9e-b5c8-718c7ad503c4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ea1f9585-5c03-46e6-aba3-07c730e20707" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_8cd5bc0d-548a-4c9e-b5c8-718c7ad503c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_de3b35d3-5b77-4cbf-a593-c57048de09c6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_ea1f9585-5c03-46e6-aba3-07c730e20707" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_de3b35d3-5b77-4cbf-a593-c57048de09c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_b274b985-5033-43b0-a4d2-571838ec7985" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_02d407b2-9bfc-483c-8bc1-150c75c15ddb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b274b985-5033-43b0-a4d2-571838ec7985" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_02d407b2-9bfc-483c-8bc1-150c75c15ddb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_a7a6e156-edc1-473f-ac81-84a86291db3c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b274b985-5033-43b0-a4d2-571838ec7985" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_a7a6e156-edc1-473f-ac81-84a86291db3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_fa085795-1f4d-4aa3-a582-f9e3f3381505" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_effa69bd-bb2e-49e7-9e89-e6c665f6cd68" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fa085795-1f4d-4aa3-a582-f9e3f3381505" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_effa69bd-bb2e-49e7-9e89-e6c665f6cd68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_81a446c8-b8fb-444b-a7f6-2c3198b7129e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fa085795-1f4d-4aa3-a582-f9e3f3381505" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_81a446c8-b8fb-444b-a7f6-2c3198b7129e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_71121049-0991-4eb8-8968-1ce6a43eae12" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_fa085795-1f4d-4aa3-a582-f9e3f3381505" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_71121049-0991-4eb8-8968-1ce6a43eae12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards_1fbd5b39-5558-4914-8d39-bce364f36065" xlink:href="pnr-20221231.xsd#pnr_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fa085795-1f4d-4aa3-a582-f9e3f3381505" xlink:to="loc_pnr_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards_1fbd5b39-5558-4914-8d39-bce364f36065" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_67b8baa1-ee5a-4420-b768-76d84f364335" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fa085795-1f4d-4aa3-a582-f9e3f3381505" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_67b8baa1-ee5a-4420-b768-76d84f364335" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredTaxAssetTaxDeferredExpenseResearchAndDevelopmentCosts_8ae34bfd-13ad-4292-ac62-53fbba8264be" xlink:href="pnr-20221231.xsd#pnr_DeferredTaxAssetTaxDeferredExpenseResearchAndDevelopmentCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_fa085795-1f4d-4aa3-a582-f9e3f3381505" xlink:to="loc_pnr_DeferredTaxAssetTaxDeferredExpenseResearchAndDevelopmentCosts_8ae34bfd-13ad-4292-ac62-53fbba8264be" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansObligationsandFundedStatusDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#BenefitPlansObligationsandFundedStatusDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/BenefitPlansObligationsandFundedStatusDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_171c3e84-a389-4ad3-8a5c-1902a89d8d6d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_9a45b0dc-1cea-4d27-b440-c5b95492e184" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_171c3e84-a389-4ad3-8a5c-1902a89d8d6d" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_9a45b0dc-1cea-4d27-b440-c5b95492e184" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_e36514a3-9faf-47f6-a298-42fb139e370a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_171c3e84-a389-4ad3-8a5c-1902a89d8d6d" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_e36514a3-9faf-47f6-a298-42fb139e370a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansAmountsRecordedinConsolidatedBalanceSheetsDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#BenefitPlansAmountsRecordedinConsolidatedBalanceSheetsDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/BenefitPlansAmountsRecordedinConsolidatedBalanceSheetsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_3ebb01e3-0c15-4c5d-be1b-756f80286d5c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_2e7ef234-6a28-4a95-8b37-210b54e8c7be" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_3ebb01e3-0c15-4c5d-be1b-756f80286d5c" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_2e7ef234-6a28-4a95-8b37-210b54e8c7be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_b6e60927-0bd2-45e4-8d6d-db07de2bdb5b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_3ebb01e3-0c15-4c5d-be1b-756f80286d5c" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_b6e60927-0bd2-45e4-8d6d-db07de2bdb5b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansComponentsofNetPeriodicBenefitCostDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#BenefitPlansComponentsofNetPeriodicBenefitCostDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/BenefitPlansComponentsofNetPeriodicBenefitCostDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_62f1cbd7-d559-42f8-bc8d-2231b88aec80" 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_DefinedBenefitPlanActuarialGainLoss_e4a4e0d0-c70f-4ad6-ac50-278e692ede96" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_62f1cbd7-d559-42f8-bc8d-2231b88aec80" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_e4a4e0d0-c70f-4ad6-ac50-278e692ede96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c865b578-353e-4696-a383-f425302d2941" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_62f1cbd7-d559-42f8-bc8d-2231b88aec80" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c865b578-353e-4696-a383-f425302d2941" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_eba86a20-c5fa-41ac-8b17-d44ac2bd7d39" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_62f1cbd7-d559-42f8-bc8d-2231b88aec80" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_eba86a20-c5fa-41ac-8b17-d44ac2bd7d39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_b4c8f809-f0a6-4cf3-a922-27d67223a00f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_62f1cbd7-d559-42f8-bc8d-2231b88aec80" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_b4c8f809-f0a6-4cf3-a922-27d67223a00f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SegmentInformationReconciliationofIncomefromContinuingOperationsfromSegmentstoConsolidatedDetails" xlink:type="simple" xlink:href="pnr-20221231.xsd#SegmentInformationReconciliationofIncomefromContinuingOperationsfromSegmentstoConsolidatedDetails"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/SegmentInformationReconciliationofIncomefromContinuingOperationsfromSegmentstoConsolidatedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" 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_pnr_LegalSettlementAndAccrualAdjustments_eebcdb56-184f-498f-87ef-b0f31378d40a" xlink:href="pnr-20221231.xsd#pnr_LegalSettlementAndAccrualAdjustments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_pnr_LegalSettlementAndAccrualAdjustments_eebcdb56-184f-498f-87ef-b0f31378d40a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TransformationCosts_8aacea11-5fbe-42de-ab78-f1f2ba4b1747" xlink:href="pnr-20221231.xsd#pnr_TransformationCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_pnr_TransformationCosts_8aacea11-5fbe-42de-ab78-f1f2ba4b1747" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRevenueExpenseNet_f553c9d1-b9fa-47d0-851c-4a149ad8c028" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRevenueExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_us-gaap_InterestRevenueExpenseNet_f553c9d1-b9fa-47d0-851c-4a149ad8c028" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_InventoryStepUpRelatedToMerger_63f64b53-afd1-421b-b68d-5d922ef3ffea" xlink:href="pnr-20221231.xsd#pnr_InventoryStepUpRelatedToMerger"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_pnr_InventoryStepUpRelatedToMerger_63f64b53-afd1-421b-b68d-5d922ef3ffea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_Dealrelatedcostsandexpenses_e28f1754-f087-4640-8825-68a2a94bafc2" xlink:href="pnr-20221231.xsd#pnr_Dealrelatedcostsandexpenses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_pnr_Dealrelatedcostsandexpenses_e28f1754-f087-4640-8825-68a2a94bafc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_f2735a0c-5055-428f-b767-2efa812496d3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_us-gaap_OtherExpenses_f2735a0c-5055-428f-b767-2efa812496d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_28e70abd-2671-40aa-901f-3fd60cb0a222" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_28e70abd-2671-40aa-901f-3fd60cb0a222" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_SegmentIncomeLoss_d1088b8f-4e9e-445d-acbd-cb5aea3a053a" xlink:href="pnr-20221231.xsd#pnr_SegmentIncomeLoss"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_pnr_SegmentIncomeLoss_d1088b8f-4e9e-445d-acbd-cb5aea3a053a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_45751943-0998-4697-a498-029f08d49d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_45751943-0998-4697-a498-029f08d49d4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_c0d48790-91eb-4cf4-8e77-f53c638e0bd3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_us-gaap_RestructuringCharges_c0d48790-91eb-4cf4-8e77-f53c638e0bd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_361de777-c01e-4197-a38a-395ff096e8d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_361de777-c01e-4197-a38a-395ff096e8d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_COVID19RelatedCostsAndExpenses_2109fda5-4504-452e-b208-8a7c4782ddf6" xlink:href="pnr-20221231.xsd#pnr_COVID19RelatedCostsAndExpenses"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_pnr_COVID19RelatedCostsAndExpenses_2109fda5-4504-452e-b208-8a7c4782ddf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_3f0768cc-6785-4548-a825-8ed43e9eaa5a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_us-gaap_AssetImpairmentCharges_3f0768cc-6785-4548-a825-8ed43e9eaa5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessExitCosts1_2663ed9b-6a32-4238-b5fc-a20fb87abc02" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessExitCosts1"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2e12ee2d-f58e-4372-b1ac-d3a4e5001b70" xlink:to="loc_us-gaap_BusinessExitCosts1_2663ed9b-6a32-4238-b5fc-a20fb87abc02" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesComponentsofLeaseCostSupplementalCashFlowandOtherInformationRelatedtoLeasesDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#CommitmentsandContingenciesComponentsofLeaseCostSupplementalCashFlowandOtherInformationRelatedtoLeasesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CommitmentsandContingenciesComponentsofLeaseCostSupplementalCashFlowandOtherInformationRelatedtoLeasesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_8b5837a9-9f73-4f03-b602-9c5731a73a89" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_726046c9-0408-4949-b1f2-4ec0d0ae62c1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_8b5837a9-9f73-4f03-b602-9c5731a73a89" xlink:to="loc_us-gaap_OperatingLeaseCost_726046c9-0408-4949-b1f2-4ec0d0ae62c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_9b4caedd-aea8-43f2-bcdc-4091c6d877d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_8b5837a9-9f73-4f03-b602-9c5731a73a89" xlink:to="loc_us-gaap_SubleaseIncome_9b4caedd-aea8-43f2-bcdc-4091c6d877d5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail" xlink:type="simple" xlink:href="pnr-20221231.xsd#CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abe6bcfa-22e3-4a70-9533-c9d35bc5bfe3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_7c328dc5-38c7-447f-87ad-b3bc84913c13" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abe6bcfa-22e3-4a70-9533-c9d35bc5bfe3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_7c328dc5-38c7-447f-87ad-b3bc84913c13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_af1fd6e4-06a2-4f6b-bb04-401d3b23c564" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abe6bcfa-22e3-4a70-9533-c9d35bc5bfe3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_af1fd6e4-06a2-4f6b-bb04-401d3b23c564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_066946b1-e6ac-4713-8755-7da7ad659b4a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abe6bcfa-22e3-4a70-9533-c9d35bc5bfe3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_066946b1-e6ac-4713-8755-7da7ad659b4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_9e7c60d8-64a7-4edd-9e5a-a7c4df5aaec0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abe6bcfa-22e3-4a70-9533-c9d35bc5bfe3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_9e7c60d8-64a7-4edd-9e5a-a7c4df5aaec0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_7dfc218f-d218-4e4f-8145-e50a6d300ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abe6bcfa-22e3-4a70-9533-c9d35bc5bfe3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_7dfc218f-d218-4e4f-8145-e50a6d300ae9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_78362d5f-35d8-494f-9ab2-144926e9c8c9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_abe6bcfa-22e3-4a70-9533-c9d35bc5bfe3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_78362d5f-35d8-494f-9ab2-144926e9c8c9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail_1" xlink:type="simple" xlink:href="pnr-20221231.xsd#CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail_1"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_66d5a601-a073-4da6-8292-85672affcd5c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_01b350ce-96f8-4f91-b421-7904994e1f32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_66d5a601-a073-4da6-8292-85672affcd5c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_01b350ce-96f8-4f91-b421-7904994e1f32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_5bbbd5f6-2c04-403b-bdaa-06e57d03bb0a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_66d5a601-a073-4da6-8292-85672affcd5c" xlink:to="loc_us-gaap_OperatingLeaseLiability_5bbbd5f6-2c04-403b-bdaa-06e57d03bb0a" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
