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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:6b8c0011-9ea2-4a95-afff-75f2e823f429,g:f607995d-2988-4506-9f40-b72871c32d7c-->
<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-20231231.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_EarningsPerShareDiluted_6e89c54f-e108-42a4-a83b-bf55a0cd72ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_bedf0f88-38f6-41b5-ab53-db4eb023b92f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_6e89c54f-e108-42a4-a83b-bf55a0cd72ad" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_bedf0f88-38f6-41b5-ab53-db4eb023b92f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_46f9caf7-ff6c-4a7e-a967-c6c40252627f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_6e89c54f-e108-42a4-a83b-bf55a0cd72ad" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_46f9caf7-ff6c-4a7e-a967-c6c40252627f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d31f2ed-c812-425b-8516-ab1a9673fa56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_023dbe8e-511a-4b8d-84f7-f415a29d1c99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4d31f2ed-c812-425b-8516-ab1a9673fa56" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_023dbe8e-511a-4b8d-84f7-f415a29d1c99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_b5e6bebc-7959-40b8-84fd-7c0207823ea4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4d31f2ed-c812-425b-8516-ab1a9673fa56" xlink:to="loc_us-gaap_OperatingIncomeLoss_b5e6bebc-7959-40b8-84fd-7c0207823ea4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_4b191e87-001a-434a-8766-7fc4ddd4215a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4d31f2ed-c812-425b-8516-ab1a9673fa56" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_4b191e87-001a-434a-8766-7fc4ddd4215a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_c3cc59cd-900c-45b3-8638-33be8f77068b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4d31f2ed-c812-425b-8516-ab1a9673fa56" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_c3cc59cd-900c-45b3-8638-33be8f77068b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_00eb7c87-c2ca-472e-83e8-fe7396a7bd40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_9cfea785-9c78-46dd-b221-0251cfe68dde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_00eb7c87-c2ca-472e-83e8-fe7396a7bd40" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_9cfea785-9c78-46dd-b221-0251cfe68dde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_b6415c71-5d0a-4de7-9ff7-c4721492c201" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_00eb7c87-c2ca-472e-83e8-fe7396a7bd40" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_b6415c71-5d0a-4de7-9ff7-c4721492c201" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_bf5da8aa-d5bc-4d05-b054-2bf1d5bc17b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b0f1f6de-3739-4edc-886b-d90ed6c66b52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_bf5da8aa-d5bc-4d05-b054-2bf1d5bc17b7" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b0f1f6de-3739-4edc-886b-d90ed6c66b52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_db581cd8-5400-4d0d-bd49-36343ed55312" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_bf5da8aa-d5bc-4d05-b054-2bf1d5bc17b7" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_db581cd8-5400-4d0d-bd49-36343ed55312" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_92ab5afe-c335-4770-a800-ad3407948491" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_fd8c1ff3-c836-4a56-ac07-3674ba53e1b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_92ab5afe-c335-4770-a800-ad3407948491" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_fd8c1ff3-c836-4a56-ac07-3674ba53e1b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_0efce4e0-d07e-4dc7-89bc-5f73cfb256fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_92ab5afe-c335-4770-a800-ad3407948491" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_0efce4e0-d07e-4dc7-89bc-5f73cfb256fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_75627601-0a3f-4dbf-aea2-4439da7a4acf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_a5eeac03-e45a-425e-b98b-f6a416efd5a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_75627601-0a3f-4dbf-aea2-4439da7a4acf" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_a5eeac03-e45a-425e-b98b-f6a416efd5a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_67c5e9b6-79fb-4c91-8ab0-06eed4f87150" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_75627601-0a3f-4dbf-aea2-4439da7a4acf" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_67c5e9b6-79fb-4c91-8ab0-06eed4f87150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_5337f67f-b2f8-4fe1-89c3-2d159e6677d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_c5729dd9-1eab-47b8-aedb-efaed60daac6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5337f67f-b2f8-4fe1-89c3-2d159e6677d1" xlink:to="loc_us-gaap_GrossProfit_c5729dd9-1eab-47b8-aedb-efaed60daac6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_d9aa8b8f-eb33-4cf7-ac39-e3e575f30d96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5337f67f-b2f8-4fe1-89c3-2d159e6677d1" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_d9aa8b8f-eb33-4cf7-ac39-e3e575f30d96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_222f7faa-4405-4e2e-91c6-9bf3dd6d0d3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5337f67f-b2f8-4fe1-89c3-2d159e6677d1" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_222f7faa-4405-4e2e-91c6-9bf3dd6d0d3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_bc76f2d9-92b1-4fa2-b7ba-b758eced0a4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_5d6e45d3-e8f8-4996-9270-87fec1b6bfa7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_bc76f2d9-92b1-4fa2-b7ba-b758eced0a4e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_5d6e45d3-e8f8-4996-9270-87fec1b6bfa7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_d2b2eb73-5d13-4c12-9ae8-88d164a1afa8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_bc76f2d9-92b1-4fa2-b7ba-b758eced0a4e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_d2b2eb73-5d13-4c12-9ae8-88d164a1afa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_e638e37b-124c-4dad-9281-5f3b340e0e92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_bc76f2d9-92b1-4fa2-b7ba-b758eced0a4e" xlink:to="loc_us-gaap_ProfitLoss_e638e37b-124c-4dad-9281-5f3b340e0e92" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="pnr-20231231.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_LiabilitiesCurrent_f3e5aac5-9970-42ec-9cd7-9b54d7df0003" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_3878dcd6-ad44-4061-8acf-8c81d53de624" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f3e5aac5-9970-42ec-9cd7-9b54d7df0003" xlink:to="loc_us-gaap_AccountsPayableCurrent_3878dcd6-ad44-4061-8acf-8c81d53de624" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_83d3c709-880c-4fe7-984b-8c0708781af4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3e5aac5-9970-42ec-9cd7-9b54d7df0003" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_83d3c709-880c-4fe7-984b-8c0708781af4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_0e3bd527-6286-4f39-96cb-baf462237332" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3e5aac5-9970-42ec-9cd7-9b54d7df0003" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_0e3bd527-6286-4f39-96cb-baf462237332" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c2cb8d7a-7094-4fb9-acef-c49b5f29a8b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_7a7481e7-c31e-42bc-a223-38429eddd3ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c2cb8d7a-7094-4fb9-acef-c49b5f29a8b0" xlink:to="loc_us-gaap_CommonStockValueOutstanding_7a7481e7-c31e-42bc-a223-38429eddd3ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_95f237db-a707-4286-965f-36e63a074b2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2cb8d7a-7094-4fb9-acef-c49b5f29a8b0" xlink:to="loc_us-gaap_AdditionalPaidInCapital_95f237db-a707-4286-965f-36e63a074b2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_2b00510c-f655-48aa-8256-69dbf890ca01" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c2cb8d7a-7094-4fb9-acef-c49b5f29a8b0" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_2b00510c-f655-48aa-8256-69dbf890ca01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_3ba1aa3c-4e73-4e41-97e2-0eb61afdd1f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c2cb8d7a-7094-4fb9-acef-c49b5f29a8b0" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_3ba1aa3c-4e73-4e41-97e2-0eb61afdd1f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_fe6bc362-a28a-4637-b443-490076651e24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_0c85dd9f-e742-4d64-bda5-6b58011f80f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_fe6bc362-a28a-4637-b443-490076651e24" xlink:to="loc_us-gaap_AssetsCurrent_0c85dd9f-e742-4d64-bda5-6b58011f80f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_ec453050-69fd-463d-b527-8636bc9181a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fe6bc362-a28a-4637-b443-490076651e24" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_ec453050-69fd-463d-b527-8636bc9181a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_0be75fcc-32c1-4ff5-a994-b14c9018218f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fe6bc362-a28a-4637-b443-490076651e24" xlink:to="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_0be75fcc-32c1-4ff5-a994-b14c9018218f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_fea9d03f-e104-4a40-8ec7-56a50971e04b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_ea9a8afb-9331-4a07-bc13-ad0760c412f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fea9d03f-e104-4a40-8ec7-56a50971e04b" xlink:to="loc_us-gaap_LiabilitiesCurrent_ea9a8afb-9331-4a07-bc13-ad0760c412f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_abec2eca-ce31-4682-b2f3-26fbe59d7788" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fea9d03f-e104-4a40-8ec7-56a50971e04b" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_abec2eca-ce31-4682-b2f3-26fbe59d7788" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_381f6fe8-3349-46e3-bf0d-7b789f9089a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_fea9d03f-e104-4a40-8ec7-56a50971e04b" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_381f6fe8-3349-46e3-bf0d-7b789f9089a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_aff05db9-99af-4f19-b54b-24ee04d1ce2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fea9d03f-e104-4a40-8ec7-56a50971e04b" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_aff05db9-99af-4f19-b54b-24ee04d1ce2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_c189fa4e-c5a2-4875-a87f-b55edfb7bedc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fea9d03f-e104-4a40-8ec7-56a50971e04b" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_c189fa4e-c5a2-4875-a87f-b55edfb7bedc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_4ea3fac9-9d66-4519-bf39-a264a713a99d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_933d8a85-b009-4163-8fd7-c21371140315" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4ea3fac9-9d66-4519-bf39-a264a713a99d" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_933d8a85-b009-4163-8fd7-c21371140315" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_87c9cfa2-f244-4564-a010-897e77e2f5f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_4ea3fac9-9d66-4519-bf39-a264a713a99d" xlink:to="loc_us-gaap_Goodwill_87c9cfa2-f244-4564-a010-897e77e2f5f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_fc24c047-5c04-4994-adf6-392a0904ecdc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4ea3fac9-9d66-4519-bf39-a264a713a99d" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_fc24c047-5c04-4994-adf6-392a0904ecdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_0d253d76-6d7c-4ec9-a7dc-27e12e7bd20f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_2659c218-a05b-46aa-a867-e99a2a013f7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0d253d76-6d7c-4ec9-a7dc-27e12e7bd20f" xlink:to="loc_us-gaap_Liabilities_2659c218-a05b-46aa-a867-e99a2a013f7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_e81ba42f-143c-4a5c-b224-54573c6649c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0d253d76-6d7c-4ec9-a7dc-27e12e7bd20f" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_e81ba42f-143c-4a5c-b224-54573c6649c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_d19f9959-5b0c-4920-b350-13d53bf9b097" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_d310fb96-2f36-40e7-bf22-dd89933bded6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d19f9959-5b0c-4920-b350-13d53bf9b097" xlink:to="loc_us-gaap_OtherAssetsCurrent_d310fb96-2f36-40e7-bf22-dd89933bded6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_8f09ce7a-6166-449d-9b9f-2d2b3b69181b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d19f9959-5b0c-4920-b350-13d53bf9b097" xlink:to="loc_us-gaap_InventoryNet_8f09ce7a-6166-449d-9b9f-2d2b3b69181b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsAndNotesReceivableNet_9a0abf66-a63b-4b9e-a6e5-b9582caf94cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d19f9959-5b0c-4920-b350-13d53bf9b097" xlink:to="loc_us-gaap_AccountsAndNotesReceivableNet_9a0abf66-a63b-4b9e-a6e5-b9582caf94cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_22e8c919-d82c-4e09-ae20-e9a8f1862d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d19f9959-5b0c-4920-b350-13d53bf9b097" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_22e8c919-d82c-4e09-ae20-e9a8f1862d7a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="pnr-20231231.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_71ee5ab6-3082-435b-a0b6-619b3074e6ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_250fe7ff-56f0-499a-b27f-fdfab38c17c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_71ee5ab6-3082-435b-a0b6-619b3074e6ed" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_250fe7ff-56f0-499a-b27f-fdfab38c17c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_68e0b21b-b26f-440f-84d6-4e074e3ba53d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_71ee5ab6-3082-435b-a0b6-619b3074e6ed" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_68e0b21b-b26f-440f-84d6-4e074e3ba53d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_6db3ba31-dcf3-4c79-bed4-4884ad7744d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_71ee5ab6-3082-435b-a0b6-619b3074e6ed" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_6db3ba31-dcf3-4c79-bed4-4884ad7744d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fd6152df-18fa-4829-b876-f35563e60bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_71ee5ab6-3082-435b-a0b6-619b3074e6ed" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fd6152df-18fa-4829-b876-f35563e60bf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_601655d8-4e1f-4c78-b05c-1ce9733517b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_601655d8-4e1f-4c78-b05c-1ce9733517b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_27da4535-b786-41d3-aece-48a1892608e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromHedgeFinancingActivities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_27da4535-b786-41d3-aece-48a1892608e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_1f8bd254-8ae5-44f8-90bb-b2e5a41cb547" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_1f8bd254-8ae5-44f8-90bb-b2e5a41cb547" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_b6d78698-3dd0-4543-a5e9-fe6b472cd484" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_b6d78698-3dd0-4543-a5e9-fe6b472cd484" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_431df9a2-486a-4d38-a65a-d49bf985670d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_431df9a2-486a-4d38-a65a-d49bf985670d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_231aed5f-eb5d-44f1-911c-02d6ee0fee3a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_231aed5f-eb5d-44f1-911c-02d6ee0fee3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_90e07408-f899-4ee5-a702-bc1ebae2373b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_90e07408-f899-4ee5-a702-bc1ebae2373b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld_a1721ed4-a891-4448-bc7b-1b21292a8e08" xlink:href="pnr-20231231.xsd#pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_839523ea-9108-4ae4-8f8c-0b31bd7dfe16" xlink:to="loc_pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld_a1721ed4-a891-4448-bc7b-1b21292a8e08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_a653e3d0-8071-46e7-bd49-7acd31d341f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_ProfitLoss_a653e3d0-8071-46e7-bd49-7acd31d341f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_66fe26e9-5fae-4280-8d6b-47d45369427c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_66fe26e9-5fae-4280-8d6b-47d45369427c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_bb9bf805-b5eb-4034-8108-e49d046818a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_bb9bf805-b5eb-4034-8108-e49d046818a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_fb7070b3-98fe-4066-8042-1bb7b4b545fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_Depreciation_fb7070b3-98fe-4066-8042-1bb7b4b545fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_b7906a42-25b1-4269-85a1-62146211eaab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_b7906a42-25b1-4269-85a1-62146211eaab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_1d20f915-ed10-4f1e-9de9-9166d79e4eef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_1d20f915-ed10-4f1e-9de9-9166d79e4eef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_e38a97fb-e6e2-49d5-aebf-f2719f1416e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_e38a97fb-e6e2-49d5-aebf-f2719f1416e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_528f9d3d-0beb-4945-8058-5266a5e2e544" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_ShareBasedCompensation_528f9d3d-0beb-4945-8058-5266a5e2e544" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_ebeb11d7-18f1-4e88-bacc-314e420bb084" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_AssetImpairmentCharges_ebeb11d7-18f1-4e88-bacc-314e420bb084" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_eab85d85-ea2b-4222-90ea-f00cab4cd457" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_eab85d85-ea2b-4222-90ea-f00cab4cd457" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_8d819a2b-6401-4331-979f-195b0f69d6b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_8d819a2b-6401-4331-979f-195b0f69d6b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_62fb3036-cb68-4cdb-95ed-b04a47242331" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_62fb3036-cb68-4cdb-95ed-b04a47242331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_080678dc-09e8-4393-899f-03003ab01d02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_080678dc-09e8-4393-899f-03003ab01d02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_1c4ac75f-c4d5-40c8-b4cd-5d35fa72c49e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_1c4ac75f-c4d5-40c8-b4cd-5d35fa72c49e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_5331688b-85bd-46e3-8350-8b8559aba027" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_5331688b-85bd-46e3-8350-8b8559aba027" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_5369f97d-ffd8-4e65-bffc-f6db798523e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_5369f97d-ffd8-4e65-bffc-f6db798523e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_99d691ca-eae6-4696-8d4e-2fd3d7bfd226" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_99d691ca-eae6-4696-8d4e-2fd3d7bfd226" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_3a0cd076-3118-4344-8f72-8a14298a62b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_3a0cd076-3118-4344-8f72-8a14298a62b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_1ab82091-0cc4-4076-accc-58a5b28d8f50" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_1ab82091-0cc4-4076-accc-58a5b28d8f50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherAssets_e1d8c593-3337-4f84-a349-6715d5a4308a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c91b5c51-8358-4a1b-9980-902f7efc61de" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherAssets_e1d8c593-3337-4f84-a349-6715d5a4308a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_87058b42-0302-4c5b-870e-39644e90eec6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_46054aec-610a-40c5-bf7e-dc8d9ac08970" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_87058b42-0302-4c5b-870e-39644e90eec6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_46054aec-610a-40c5-bf7e-dc8d9ac08970" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_5b68fae7-5eeb-4ea2-9431-8cbef3684bef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_87058b42-0302-4c5b-870e-39644e90eec6" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_5b68fae7-5eeb-4ea2-9431-8cbef3684bef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8a8ddd95-cfe5-4ef6-af4a-90b172a94e43" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_850e31ef-3e1e-497b-9bd9-6f59bd7bc86c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a8ddd95-cfe5-4ef6-af4a-90b172a94e43" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_850e31ef-3e1e-497b-9bd9-6f59bd7bc86c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_5dc648a7-511b-4359-80dc-b1e5b0056165" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a8ddd95-cfe5-4ef6-af4a-90b172a94e43" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_5dc648a7-511b-4359-80dc-b1e5b0056165" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ab9bad37-0080-4ea0-9642-3b78aa513039" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a8ddd95-cfe5-4ef6-af4a-90b172a94e43" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ab9bad37-0080-4ea0-9642-3b78aa513039" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_f32662fa-ea52-4b40-a42b-7330c21e9e64" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a8ddd95-cfe5-4ef6-af4a-90b172a94e43" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_f32662fa-ea52-4b40-a42b-7330c21e9e64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_8cc2a1e0-61a4-47e0-8c1f-b0fe4c210191" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a8ddd95-cfe5-4ef6-af4a-90b172a94e43" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_8cc2a1e0-61a4-47e0-8c1f-b0fe4c210191" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeInvestingActivities_e69f0096-ab81-4d87-915b-df8ad311e794" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromHedgeInvestingActivities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8a8ddd95-cfe5-4ef6-af4a-90b172a94e43" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeInvestingActivities_e69f0096-ab81-4d87-915b-df8ad311e794" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContractAssetsandLiabilitiesDetail" xlink:type="simple" xlink:href="pnr-20231231.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_2e3708f6-d7fc-4401-931e-a8633a578c0f" xlink:href="pnr-20231231.xsd#pnr_ContractWithCustomerAssetLiabilityNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_2f9a85d1-7df2-4e16-8f80-cbde6dcb98b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2e3708f6-d7fc-4401-931e-a8633a578c0f" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_2f9a85d1-7df2-4e16-8f80-cbde6dcb98b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_e77231c4-eeaf-4614-ad50-baf3ca44c183" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2e3708f6-d7fc-4401-931e-a8633a578c0f" xlink:to="loc_us-gaap_ContractWithCustomerLiability_e77231c4-eeaf-4614-ad50-baf3ca44c183" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="pnr-20231231.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_6a9ac2b8-5eae-48d4-8f79-f59ba3151c16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_6a9ac2b8-5eae-48d4-8f79-f59ba3151c16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_fcf58855-4110-4de2-ae49-75a3329167cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_fcf58855-4110-4de2-ae49-75a3329167cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_2f1190be-0970-40d1-a369-1f08b42a2847" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_2f1190be-0970-40d1-a369-1f08b42a2847" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_73cd54e5-bfa6-4d1d-bb09-263f8eb3a30d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_73cd54e5-bfa6-4d1d-bb09-263f8eb3a30d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_4e33c08b-0d6a-4c32-a989-cdf3d55ac41c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_Goodwill_4e33c08b-0d6a-4c32-a989-cdf3d55ac41c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_da54835c-f705-4a07-8cb0-7be6a155a518" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_da54835c-f705-4a07-8cb0-7be6a155a518" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_f8230569-cd4e-4fd7-9907-4e5cde4e2682" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_f8230569-cd4e-4fd7-9907-4e5cde4e2682" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_57eb958f-4923-4c6c-a5b0-cdaa68daf570" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_57eb958f-4923-4c6c-a5b0-cdaa68daf570" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_876e4d08-e5f8-4f0a-b668-41767803fe23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_876e4d08-e5f8-4f0a-b668-41767803fe23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_0709d432-43a4-484b-98c0-37127fc35370" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_baa2c1ec-3025-429c-8389-d12e447a1bdf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_0709d432-43a4-484b-98c0-37127fc35370" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/EarningsPerShareDetail" xlink:type="simple" xlink:href="pnr-20231231.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_593f7b1b-930c-46af-888f-b2a1ba6fecc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fde064bb-37a5-42d5-8826-6894f25c2ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_593f7b1b-930c-46af-888f-b2a1ba6fecc4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fde064bb-37a5-42d5-8826-6894f25c2ae9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_0bbf53e0-b29a-4cc3-84be-2d72e22eb876" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_593f7b1b-930c-46af-888f-b2a1ba6fecc4" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_0bbf53e0-b29a-4cc3-84be-2d72e22eb876" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/RestructuringCostsIncludedinSellingGeneralAdministrativeexpensesonConsolidatedStatementsofIncomeDetail" xlink:type="simple" xlink:href="pnr-20231231.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_e602651f-94f1-452b-bb23-d8d61df5dee6" xlink:href="pnr-20231231.xsd#pnr_TotalRestructuringAndTransformationCosts"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TransformationCosts_d05522f2-7f5d-4625-89b4-db3db492f3ee" xlink:href="pnr-20231231.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_e602651f-94f1-452b-bb23-d8d61df5dee6" xlink:to="loc_pnr_TransformationCosts_d05522f2-7f5d-4625-89b4-db3db492f3ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_17498cb6-eee6-405d-b6b6-8a97172a4587" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e602651f-94f1-452b-bb23-d8d61df5dee6" xlink:to="loc_us-gaap_RestructuringCharges_17498cb6-eee6-405d-b6b6-8a97172a4587" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/GoodwillandOtherIdentifiableIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="simple" xlink:href="pnr-20231231.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_IntangibleAssetsGrossExcludingGoodwill_9d843280-7918-4f12-a8da-8e187c5ec670" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_371bcc18-3d2f-408f-a96e-e1e5c8a58ac4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_9d843280-7918-4f12-a8da-8e187c5ec670" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_371bcc18-3d2f-408f-a96e-e1e5c8a58ac4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_519d1f40-ddd7-4ecd-93e3-f4a719320875" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_9d843280-7918-4f12-a8da-8e187c5ec670" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_519d1f40-ddd7-4ecd-93e3-f4a719320875" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_0a24c062-5252-4934-a685-66fd8622e2fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_05959c50-07b4-4619-86f6-c4fd005e76f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_0a24c062-5252-4934-a685-66fd8622e2fc" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_05959c50-07b4-4619-86f6-c4fd005e76f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_939c18ed-98b5-4a53-b930-3efadc62a192" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_0a24c062-5252-4934-a685-66fd8622e2fc" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_939c18ed-98b5-4a53-b930-3efadc62a192" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1d0da6d2-8791-4933-ba94-11b211cef557" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_27799bde-d361-496a-98ba-4fd4e1b86a69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1d0da6d2-8791-4933-ba94-11b211cef557" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_27799bde-d361-496a-98ba-4fd4e1b86a69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_f36041e2-31ac-480c-b358-f23f5cf12e71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1d0da6d2-8791-4933-ba94-11b211cef557" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_f36041e2-31ac-480c-b358-f23f5cf12e71" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SupplementalBalanceSheetInformationDetail" xlink:type="simple" xlink:href="pnr-20231231.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_OtherAssetsMiscellaneousNoncurrent_34b6e64b-2c77-4bc1-99c7-22f1721471a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_Prepaidtaxeslongterm_b9b27eb8-9bcc-42f9-b686-777dd090cb95" xlink:href="pnr-20231231.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_34b6e64b-2c77-4bc1-99c7-22f1721471a9" xlink:to="loc_pnr_Prepaidtaxeslongterm_b9b27eb8-9bcc-42f9-b686-777dd090cb95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_afd4358a-5821-4e66-8139-dc218b1ab0be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_34b6e64b-2c77-4bc1-99c7-22f1721471a9" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_afd4358a-5821-4e66-8139-dc218b1ab0be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermAssets_1ec3f73b-9d50-44c8-9eb2-4520bf6f3438" xlink:href="pnr-20231231.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_34b6e64b-2c77-4bc1-99c7-22f1721471a9" xlink:to="loc_pnr_OtherLongTermAssets_1ec3f73b-9d50-44c8-9eb2-4520bf6f3438" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_2564c4a2-ef6b-47a4-b123-21adb9cd5bda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_34b6e64b-2c77-4bc1-99c7-22f1721471a9" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_2564c4a2-ef6b-47a4-b123-21adb9cd5bda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_36f5ff50-3c6f-4733-8187-b974b6a80e82" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_2c5301c2-7db9-4b74-a129-fde3d6437c2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_36f5ff50-3c6f-4733-8187-b974b6a80e82" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_2c5301c2-7db9-4b74-a129-fde3d6437c2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_4b71ce17-381f-439c-a32a-f088e2b07648" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_36f5ff50-3c6f-4733-8187-b974b6a80e82" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_4b71ce17-381f-439c-a32a-f088e2b07648" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_4f20d307-ddef-4039-bbb8-09f162ddec2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherCurrentAssets_be39bb1f-6f0b-4799-af9b-2397971449f8" xlink:href="pnr-20231231.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_4f20d307-ddef-4039-bbb8-09f162ddec2c" xlink:to="loc_pnr_OtherCurrentAssets_be39bb1f-6f0b-4799-af9b-2397971449f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_76631526-20fc-4468-b3f6-292033c2b4a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4f20d307-ddef-4039-bbb8-09f162ddec2c" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_76631526-20fc-4468-b3f6-292033c2b4a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_59ee9001-54e0-4d22-b0f9-3d738dbf2110" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4f20d307-ddef-4039-bbb8-09f162ddec2c" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_59ee9001-54e0-4d22-b0f9-3d738dbf2110" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_ee4201d5-cd70-41fc-a9e4-e951ae73d4e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_555651ee-acd0-4a35-87a2-62febbe2e3b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ee4201d5-cd70-41fc-a9e4-e951ae73d4e1" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_555651ee-acd0-4a35-87a2-62febbe2e3b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_df88d7fd-fdf0-4b07-9032-62fc02c475f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ee4201d5-cd70-41fc-a9e4-e951ae73d4e1" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_df88d7fd-fdf0-4b07-9032-62fc02c475f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermLiabilities_71c1d259-baf2-488a-b73d-c43d555519da" xlink:href="pnr-20231231.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_ee4201d5-cd70-41fc-a9e4-e951ae73d4e1" xlink:to="loc_pnr_OtherLongTermLiabilities_71c1d259-baf2-488a-b73d-c43d555519da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_470f6a5f-7774-4669-b719-cd20272647e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ee4201d5-cd70-41fc-a9e4-e951ae73d4e1" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_470f6a5f-7774-4669-b719-cd20272647e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_32ee4d00-f58f-4665-99aa-aef4600fa329" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ee4201d5-cd70-41fc-a9e4-e951ae73d4e1" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_32ee4d00-f58f-4665-99aa-aef4600fa329" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveNoncurrent_e0031e64-80ba-467a-9bc0-debc290d309a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ee4201d5-cd70-41fc-a9e4-e951ae73d4e1" xlink:to="loc_us-gaap_SelfInsuranceReserveNoncurrent_e0031e64-80ba-467a-9bc0-debc290d309a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_00e8a58e-64f0-4ea9-b560-aa2f121e6740" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_DividendsPayableCurrent_00e8a58e-64f0-4ea9-b560-aa2f121e6740" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_AccruedFreight_63c49301-1bf0-4da2-9836-e80b410d15ab" xlink:href="pnr-20231231.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_pnr_AccruedFreight_63c49301-1bf0-4da2-9836-e80b410d15ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_a254f0eb-ab1c-4938-9d6e-6fb9add2e1e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_a254f0eb-ab1c-4938-9d6e-6fb9add2e1e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_f75b7761-2450-4ccb-bfff-10acaaee52fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_f75b7761-2450-4ccb-bfff-10acaaee52fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_e816e817-04f7-4d79-bc45-a5f85a50a7b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_e816e817-04f7-4d79-bc45-a5f85a50a7b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_db43db4b-0318-4024-a7c5-6e698dc50c71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_db43db4b-0318-4024-a7c5-6e698dc50c71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_31e0ef18-b08c-4866-956e-89e548eef33c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_31e0ef18-b08c-4866-956e-89e548eef33c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_562191a6-8510-40f5-95ab-790f5d16fea7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_562191a6-8510-40f5-95ab-790f5d16fea7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_9fe36345-f88c-4fc0-aad9-657f7309d87d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_9fe36345-f88c-4fc0-aad9-657f7309d87d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_79e24af8-67dd-4ed2-b204-f3b545c1ca28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d481e6c1-b806-4740-a19c-60bd66d317aa" xlink:to="loc_us-gaap_RestructuringReserve_79e24af8-67dd-4ed2-b204-f3b545c1ca28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_54376ae3-2814-4025-91ca-e5d4cb6342eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSupplies_7e410ef1-8a00-4204-84d0-24e4f10d3dae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54376ae3-2814-4025-91ca-e5d4cb6342eb" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSupplies_7e410ef1-8a00-4204-84d0-24e4f10d3dae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_9bf349a9-8e9e-46dc-9ba1-14bebb6f3d7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54376ae3-2814-4025-91ca-e5d4cb6342eb" xlink:to="loc_us-gaap_InventoryWorkInProcess_9bf349a9-8e9e-46dc-9ba1-14bebb6f3d7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_d70c0cc2-bfa6-4172-b4db-d18582308b71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_54376ae3-2814-4025-91ca-e5d4cb6342eb" xlink:to="loc_us-gaap_InventoryFinishedGoods_d70c0cc2-bfa6-4172-b4db-d18582308b71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_f3980fa2-bc53-45f9-a1df-0bc4368e1f42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_a3ea7172-20e9-4d62-ad35-36a367c94ebd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3980fa2-bc53-45f9-a1df-0bc4368e1f42" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_a3ea7172-20e9-4d62-ad35-36a367c94ebd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareGross_b7565fa2-c187-4da9-972c-e8cadf126d28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3980fa2-bc53-45f9-a1df-0bc4368e1f42" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareGross_b7565fa2-c187-4da9-972c-e8cadf126d28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_0f53c5df-2809-495a-8fdb-80faf26decde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3980fa2-bc53-45f9-a1df-0bc4368e1f42" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_0f53c5df-2809-495a-8fdb-80faf26decde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandAndLandImprovements_ff7923d1-035f-4a6e-aceb-ed432ee6607a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3980fa2-bc53-45f9-a1df-0bc4368e1f42" xlink:to="loc_us-gaap_LandAndLandImprovements_ff7923d1-035f-4a6e-aceb-ed432ee6607a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_bd5fc7a0-1930-428a-8a74-78badf68722a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3980fa2-bc53-45f9-a1df-0bc4368e1f42" xlink:to="loc_us-gaap_ConstructionInProgressGross_bd5fc7a0-1930-428a-8a74-78badf68722a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/AccumulatedOtherComprehensiveLossDetail" xlink:type="simple" xlink:href="pnr-20231231.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_4a697d05-d62b-409e-82be-fe4faf3800af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_f698d907-8343-40a9-8884-4a45ff211676" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4a697d05-d62b-409e-82be-fe4faf3800af" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_f698d907-8343-40a9-8884-4a45ff211676" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax_81bde3f6-1e23-4ad8-87d1-a4a30e347201" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4a697d05-d62b-409e-82be-fe4faf3800af" xlink:to="loc_us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax_81bde3f6-1e23-4ad8-87d1-a4a30e347201" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtOutstandingMaturesonCalendarYearBasisDetail" xlink:type="simple" xlink:href="pnr-20231231.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_41fe4c27-30f3-46a1-b7c0-d617e0714a6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_1891f798-61ef-447c-9ffd-5f6cc7d2e1dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_41fe4c27-30f3-46a1-b7c0-d617e0714a6c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_1891f798-61ef-447c-9ffd-5f6cc7d2e1dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_1187512a-0278-48a1-af60-d0b9e1d2b06b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_41fe4c27-30f3-46a1-b7c0-d617e0714a6c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_1187512a-0278-48a1-af60-d0b9e1d2b06b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_b9d683f5-b783-477c-8e31-3ff092f72466" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_41fe4c27-30f3-46a1-b7c0-d617e0714a6c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_b9d683f5-b783-477c-8e31-3ff092f72466" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_5a42865a-dbbe-463f-901b-68a77142f2b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_41fe4c27-30f3-46a1-b7c0-d617e0714a6c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_5a42865a-dbbe-463f-901b-68a77142f2b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_51ef2ff2-9abb-4183-98ce-efee0fcca7b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_41fe4c27-30f3-46a1-b7c0-d617e0714a6c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_51ef2ff2-9abb-4183-98ce-efee0fcca7b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_7c0749d1-244c-46b3-ae43-3fcf43d0f967" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_41fe4c27-30f3-46a1-b7c0-d617e0714a6c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_7c0749d1-244c-46b3-ae43-3fcf43d0f967" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesofLongtermDebtandDerivativeFinancialInstrumentsDetail" xlink:type="simple" xlink:href="pnr-20231231.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_23ac7223-61fc-49fe-bbd4-b23bb88c4ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_043f1861-7797-42e5-91bf-6a742aa84c92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_23ac7223-61fc-49fe-bbd4-b23bb88c4ac2" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_043f1861-7797-42e5-91bf-6a742aa84c92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_0aabdfd0-e70b-4347-a41c-e8a7142be9b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_23ac7223-61fc-49fe-bbd4-b23bb88c4ac2" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_0aabdfd0-e70b-4347-a41c-e8a7142be9b3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueDetail" xlink:type="simple" xlink:href="pnr-20231231.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_eb38535d-8440-4ce5-88d0-dbf4bd06ea83" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_1ac3cdb3-f505-451e-82e3-72ba1f8fe8e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_eb38535d-8440-4ce5-88d0-dbf4bd06ea83" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_1ac3cdb3-f505-451e-82e3-72ba1f8fe8e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_f159ddf0-e028-4fc5-a60b-ea604ca9cbf6" xlink:href="pnr-20231231.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_eb38535d-8440-4ce5-88d0-dbf4bd06ea83" xlink:to="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_f159ddf0-e028-4fc5-a60b-ea604ca9cbf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_317079a2-4eb7-4600-bfce-8f5ff4ad61c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_eb38535d-8440-4ce5-88d0-dbf4bd06ea83" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_317079a2-4eb7-4600-bfce-8f5ff4ad61c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_InterestRateContractAssetsFairValueDisclosure_385b2c5c-4501-45b2-a935-1a324e6e5268" xlink:href="pnr-20231231.xsd#pnr_InterestRateContractAssetsFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_eb38535d-8440-4ce5-88d0-dbf4bd06ea83" xlink:to="loc_pnr_InterestRateContractAssetsFairValueDisclosure_385b2c5c-4501-45b2-a935-1a324e6e5268" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesIncomeLossBeforeIncomeTaxesandNoncontrollingInterestDetail" xlink:type="simple" xlink:href="pnr-20231231.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_338676ff-66e5-42c9-897f-12d20fca1cf9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_187b0648-abbc-454c-af9d-2bbfff720145" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_338676ff-66e5-42c9-897f-12d20fca1cf9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_187b0648-abbc-454c-af9d-2bbfff720145" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_ef4aabdb-a528-4762-a09e-a3ad0a193087" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_338676ff-66e5-42c9-897f-12d20fca1cf9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_ef4aabdb-a528-4762-a09e-a3ad0a193087" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesProvisionforIncomeTaxesDetail" xlink:type="simple" xlink:href="pnr-20231231.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_45ae2953-e218-49d8-be43-eeed79724e66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_ec99523f-1b61-4856-b658-717727ddc633" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_45ae2953-e218-49d8-be43-eeed79724e66" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_ec99523f-1b61-4856-b658-717727ddc633" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_bd40af4a-e09c-4354-aee9-dfc51d3eb4e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_4a30aa7c-36ed-4ed6-8133-16d373f6cb72" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bd40af4a-e09c-4354-aee9-dfc51d3eb4e1" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_4a30aa7c-36ed-4ed6-8133-16d373f6cb72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_302ca031-acc0-426f-b04d-40eef4a1d27b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bd40af4a-e09c-4354-aee9-dfc51d3eb4e1" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_302ca031-acc0-426f-b04d-40eef4a1d27b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_0b30d1ce-acc2-4d4a-bd5a-f9ed303cd962" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_994b5cdf-71b9-4132-9faa-570bac1862ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_0b30d1ce-acc2-4d4a-bd5a-f9ed303cd962" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_994b5cdf-71b9-4132-9faa-570bac1862ae" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveTaxRateDetail" xlink:type="simple" xlink:href="pnr-20231231.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_2ae18db1-fef2-4678-8878-c315774aed07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_f48a3339-2bea-42ac-b1fc-df63d7162116" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2ae18db1-fef2-4678-8878-c315774aed07" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_f48a3339-2bea-42ac-b1fc-df63d7162116" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_8d9a66c4-f072-4a11-9311-e966640f2353" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2ae18db1-fef2-4678-8878-c315774aed07" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_8d9a66c4-f072-4a11-9311-e966640f2353" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_68e85149-90b8-4686-98a0-f4eb02df54e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2ae18db1-fef2-4678-8878-c315774aed07" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_68e85149-90b8-4686-98a0-f4eb02df54e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage_02491e0e-7c16-4193-bee5-21bcb323460b" xlink:href="pnr-20231231.xsd#pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2ae18db1-fef2-4678-8878-c315774aed07" xlink:to="loc_pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage_02491e0e-7c16-4193-bee5-21bcb323460b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_ca9124ba-2fd9-456d-92cd-7acc236ec4ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2ae18db1-fef2-4678-8878-c315774aed07" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_ca9124ba-2fd9-456d-92cd-7acc236ec4ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_EffectiveIncomeTaxRateReconciliationWorthlessStockDeductionPercentage_d135f458-aa0e-4b23-8ad4-5d806dddea96" xlink:href="pnr-20231231.xsd#pnr_EffectiveIncomeTaxRateReconciliationWorthlessStockDeductionPercentage"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2ae18db1-fef2-4678-8878-c315774aed07" xlink:to="loc_pnr_EffectiveIncomeTaxRateReconciliationWorthlessStockDeductionPercentage_d135f458-aa0e-4b23-8ad4-5d806dddea96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_EffectiveIncomeTaxRateReconciliationChangeInTaxBasisInForeignAssets_9dd32a81-5a8d-4b88-8d56-fb2644c02e1f" xlink:href="pnr-20231231.xsd#pnr_EffectiveIncomeTaxRateReconciliationChangeInTaxBasisInForeignAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2ae18db1-fef2-4678-8878-c315774aed07" xlink:to="loc_pnr_EffectiveIncomeTaxRateReconciliationChangeInTaxBasisInForeignAssets_9dd32a81-5a8d-4b88-8d56-fb2644c02e1f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesDeferredTaxesDetail" xlink:type="simple" xlink:href="pnr-20231231.xsd#IncomeTaxesDeferredTaxesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesDeferredTaxesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_dd9b34b1-6c56-4f83-91ed-2d1a34a3237b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredIncomeTaxAssetsGross_09729d13-11ee-4b4c-9800-bceb8711677b" xlink:href="pnr-20231231.xsd#pnr_DeferredIncomeTaxAssetsGross"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_dd9b34b1-6c56-4f83-91ed-2d1a34a3237b" xlink:to="loc_pnr_DeferredIncomeTaxAssetsGross_09729d13-11ee-4b4c-9800-bceb8711677b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredIncomeTaxLiabilitiesGross_1f449b4c-35b1-4bf0-9164-eed6738de548" xlink:href="pnr-20231231.xsd#pnr_DeferredIncomeTaxLiabilitiesGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_dd9b34b1-6c56-4f83-91ed-2d1a34a3237b" xlink:to="loc_pnr_DeferredIncomeTaxLiabilitiesGross_1f449b4c-35b1-4bf0-9164-eed6738de548" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_ebd74270-28dc-47c4-95d2-77a8a796cde6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredIncomeTaxLiabilitiesGross_c63227d2-8dbe-4b2b-aaee-930a3a3ec71a" xlink:href="pnr-20231231.xsd#pnr_DeferredIncomeTaxLiabilitiesGross"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_ebd74270-28dc-47c4-95d2-77a8a796cde6" xlink:to="loc_pnr_DeferredIncomeTaxLiabilitiesGross_c63227d2-8dbe-4b2b-aaee-930a3a3ec71a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredIncomeTaxAssetsGross_e91d00e0-d685-46ca-8126-7f273d0b6520" xlink:href="pnr-20231231.xsd#pnr_DeferredIncomeTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_ebd74270-28dc-47c4-95d2-77a8a796cde6" xlink:to="loc_pnr_DeferredIncomeTaxAssetsGross_e91d00e0-d685-46ca-8126-7f273d0b6520" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetail" xlink:type="simple" xlink:href="pnr-20231231.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_DeferredTaxAssetsLiabilitiesNet_30bdc79f-3a81-441b-85fd-9f9e9aa584f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_f84c2243-eb4e-4e75-8cf4-bfddc0a59f22" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_30bdc79f-3a81-441b-85fd-9f9e9aa584f6" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_f84c2243-eb4e-4e75-8cf4-bfddc0a59f22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_62e25b8c-b432-496e-bade-a2689c19204d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_30bdc79f-3a81-441b-85fd-9f9e9aa584f6" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_62e25b8c-b432-496e-bade-a2689c19204d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_87c38c29-da32-4462-9256-7fc67ce2e4a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_5d38f0f3-521d-41b9-9da8-b46eef5e916c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_87c38c29-da32-4462-9256-7fc67ce2e4a5" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_5d38f0f3-521d-41b9-9da8-b46eef5e916c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_7b05221a-cbbb-4d25-9467-147ab65d6257" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_87c38c29-da32-4462-9256-7fc67ce2e4a5" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_7b05221a-cbbb-4d25-9467-147ab65d6257" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_72c9894e-7d4d-49b9-8706-2e75bb4284cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_7d84beb2-0265-40b9-b933-15c3120bee56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_72c9894e-7d4d-49b9-8706-2e75bb4284cd" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_7d84beb2-0265-40b9-b933-15c3120bee56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_768b4c81-392b-409c-9905-3324da51e729" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_72c9894e-7d4d-49b9-8706-2e75bb4284cd" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_768b4c81-392b-409c-9905-3324da51e729" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_d28bb74b-c7d8-41cb-92ee-54519081f504" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_ce485928-3e43-4e73-836f-70e2e8ecce9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d28bb74b-c7d8-41cb-92ee-54519081f504" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_ce485928-3e43-4e73-836f-70e2e8ecce9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_685f875e-6ee4-4906-b384-b577289985c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d28bb74b-c7d8-41cb-92ee-54519081f504" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_685f875e-6ee4-4906-b384-b577289985c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_f0ad6b82-4c2b-4b74-8ad9-21149064f8b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d28bb74b-c7d8-41cb-92ee-54519081f504" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_f0ad6b82-4c2b-4b74-8ad9-21149064f8b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_f17fdaf0-5dc0-467c-8f14-cc8ec735bb30" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_bfbc0c7b-5c3e-46c5-89ff-502be254b0d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f17fdaf0-5dc0-467c-8f14-cc8ec735bb30" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_bfbc0c7b-5c3e-46c5-89ff-502be254b0d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_66569158-36e9-47c2-ad39-f6f6b9460315" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f17fdaf0-5dc0-467c-8f14-cc8ec735bb30" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_66569158-36e9-47c2-ad39-f6f6b9460315" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_8b9efd03-44e8-4d48-988f-e5c064392813" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_f17fdaf0-5dc0-467c-8f14-cc8ec735bb30" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_8b9efd03-44e8-4d48-988f-e5c064392813" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards_caecac32-7509-4318-985b-fb903fa80dbd" xlink:href="pnr-20231231.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_f17fdaf0-5dc0-467c-8f14-cc8ec735bb30" xlink:to="loc_pnr_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards_caecac32-7509-4318-985b-fb903fa80dbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_12be6bc6-b8ab-4899-b964-e3b3a2a64f5a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f17fdaf0-5dc0-467c-8f14-cc8ec735bb30" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_12be6bc6-b8ab-4899-b964-e3b3a2a64f5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredTaxAssetTaxDeferredExpenseResearchAndDevelopmentCosts_6932abdd-0ae2-4c1b-9d14-05ef99a6c933" xlink:href="pnr-20231231.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_f17fdaf0-5dc0-467c-8f14-cc8ec735bb30" xlink:to="loc_pnr_DeferredTaxAssetTaxDeferredExpenseResearchAndDevelopmentCosts_6932abdd-0ae2-4c1b-9d14-05ef99a6c933" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansObligationsandFundedStatusDetail" xlink:type="simple" xlink:href="pnr-20231231.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_b828232f-529d-4f24-a0fa-7234876ec6ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_635c23ad-6754-45b5-92c6-681fa7f10c33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_b828232f-529d-4f24-a0fa-7234876ec6ad" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_635c23ad-6754-45b5-92c6-681fa7f10c33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3d2058e2-e883-43ba-850e-cbdb02f3f239" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_b828232f-529d-4f24-a0fa-7234876ec6ad" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3d2058e2-e883-43ba-850e-cbdb02f3f239" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansAmountsRecordedinConsolidatedBalanceSheetsDetail" xlink:type="simple" xlink:href="pnr-20231231.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_ace410dc-0546-4e58-a15f-79490aa8354f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_860235d6-5d0c-45b8-b948-ad8e9d865a98" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ace410dc-0546-4e58-a15f-79490aa8354f" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_860235d6-5d0c-45b8-b948-ad8e9d865a98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_066f1a0f-853f-466b-a097-5ccfc0def96a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ace410dc-0546-4e58-a15f-79490aa8354f" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_066f1a0f-853f-466b-a097-5ccfc0def96a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansComponentsofNetPeriodicBenefitCostDetail" xlink:type="simple" xlink:href="pnr-20231231.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_fd8f13b6-564f-4895-b26f-4d4918dc1e0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_7a980907-7b95-4ad0-a4c6-f8be280b9e91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fd8f13b6-564f-4895-b26f-4d4918dc1e0a" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_7a980907-7b95-4ad0-a4c6-f8be280b9e91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_30824014-eb25-4e2e-9383-fe3f0f43043a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fd8f13b6-564f-4895-b26f-4d4918dc1e0a" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_30824014-eb25-4e2e-9383-fe3f0f43043a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_67f50367-a32a-484f-bdde-9382bc53b5cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fd8f13b6-564f-4895-b26f-4d4918dc1e0a" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_67f50367-a32a-484f-bdde-9382bc53b5cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_71528068-b054-47d3-8a26-905c5be19a4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fd8f13b6-564f-4895-b26f-4d4918dc1e0a" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_71528068-b054-47d3-8a26-905c5be19a4e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SegmentInformationReconciliationofIncomefromContinuingOperationsfromSegmentstoConsolidatedDetails" xlink:type="simple" xlink:href="pnr-20231231.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_LegalSettlementAndAccrualAdjustments_bff35682-35c1-4d3c-9b7d-92df02fbb7a0" xlink:href="pnr-20231231.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_pnr_LegalSettlementAndAccrualAdjustments_bff35682-35c1-4d3c-9b7d-92df02fbb7a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TransformationCosts_a60961d0-29d3-408d-9000-121d59b4ea23" xlink:href="pnr-20231231.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_pnr_TransformationCosts_a60961d0-29d3-408d-9000-121d59b4ea23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRevenueExpenseNet_f1244554-71a4-4379-b65d-ab14d77648de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_us-gaap_InterestRevenueExpenseNet_f1244554-71a4-4379-b65d-ab14d77648de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_InventoryStepUpRelatedToMerger_8e7fe4b8-3ea1-4af6-892c-6f01c6d801bf" xlink:href="pnr-20231231.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_pnr_InventoryStepUpRelatedToMerger_8e7fe4b8-3ea1-4af6-892c-6f01c6d801bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_Dealrelatedcostsandexpenses_2336848e-1747-4aa7-8ee8-3b4ab5e68c36" xlink:href="pnr-20231231.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_pnr_Dealrelatedcostsandexpenses_2336848e-1747-4aa7-8ee8-3b4ab5e68c36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_ef9177c5-f9c3-418f-bbef-bd7b30b88dc0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_us-gaap_OtherExpenses_ef9177c5-f9c3-418f-bbef-bd7b30b88dc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_fd15cfcc-e60c-4658-baad-25ebfe31a3f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_fd15cfcc-e60c-4658-baad-25ebfe31a3f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_SegmentIncomeLoss_31b6812f-8902-4a4c-a8ef-6657cbce846a" xlink:href="pnr-20231231.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_pnr_SegmentIncomeLoss_31b6812f-8902-4a4c-a8ef-6657cbce846a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_86a385ab-ff28-45be-a53f-c3be7d92f7e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_86a385ab-ff28-45be-a53f-c3be7d92f7e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_fd601b9b-c1cd-452a-966a-0e72a5a75e3f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_us-gaap_RestructuringCharges_fd601b9b-c1cd-452a-966a-0e72a5a75e3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_bfef8f08-3eec-4170-ab0a-d19ebc9e201e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_bfef8f08-3eec-4170-ab0a-d19ebc9e201e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_4f59da75-70f7-4c73-9b30-41ce302a9567" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_us-gaap_AssetImpairmentCharges_4f59da75-70f7-4c73-9b30-41ce302a9567" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessExitCosts1_1a1ecd8a-8211-407f-a06f-c6e1d96c9134" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessExitCosts1"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a4d9234f-41f6-4da6-bca4-de0165ede059" xlink:to="loc_us-gaap_BusinessExitCosts1_1a1ecd8a-8211-407f-a06f-c6e1d96c9134" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesComponentsofLeaseCostSupplementalCashFlowandOtherInformationRelatedtoLeasesDetail" xlink:type="simple" xlink:href="pnr-20231231.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_aec92b61-98d2-4dac-b6dc-d84576de93ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_8201a328-ffbc-4668-a2b8-2686091a2cc6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_aec92b61-98d2-4dac-b6dc-d84576de93ad" xlink:to="loc_us-gaap_OperatingLeaseCost_8201a328-ffbc-4668-a2b8-2686091a2cc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_97424d19-fa52-442f-8656-3a870a24e3eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_aec92b61-98d2-4dac-b6dc-d84576de93ad" xlink:to="loc_us-gaap_SubleaseIncome_97424d19-fa52-442f-8656-3a870a24e3eb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail" xlink:type="simple" xlink:href="pnr-20231231.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_afa04667-f953-4374-a26f-fa98e379ab8f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6e131dbb-8477-4468-adac-811cecbc3564" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_afa04667-f953-4374-a26f-fa98e379ab8f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6e131dbb-8477-4468-adac-811cecbc3564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_b5383cb8-400f-4c75-83e6-0addb530ccc8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_afa04667-f953-4374-a26f-fa98e379ab8f" xlink:to="loc_us-gaap_OperatingLeaseLiability_b5383cb8-400f-4c75-83e6-0addb530ccc8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail_1" xlink:type="simple" xlink:href="pnr-20231231.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_59598ad4-0187-4719-bb0d-fdf24336f488" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_0c0cad0e-154a-40e8-9e40-9d4569fd551d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_59598ad4-0187-4719-bb0d-fdf24336f488" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_0c0cad0e-154a-40e8-9e40-9d4569fd551d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_97acccea-862c-4c65-9cb9-204121e5afdd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_59598ad4-0187-4719-bb0d-fdf24336f488" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_97acccea-862c-4c65-9cb9-204121e5afdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_253c4f12-b2ae-46c2-abf3-23a040e28d31" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_59598ad4-0187-4719-bb0d-fdf24336f488" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_253c4f12-b2ae-46c2-abf3-23a040e28d31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_420d137e-1fe8-47fd-bef4-9755e730f2db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_59598ad4-0187-4719-bb0d-fdf24336f488" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_420d137e-1fe8-47fd-bef4-9755e730f2db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_dfb3f337-2cb4-4bd6-902c-a675385af1bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_59598ad4-0187-4719-bb0d-fdf24336f488" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_dfb3f337-2cb4-4bd6-902c-a675385af1bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_2b022d67-e0cd-4d0b-b3f0-d6fc5ed46deb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_59598ad4-0187-4719-bb0d-fdf24336f488" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_2b022d67-e0cd-4d0b-b3f0-d6fc5ed46deb" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
