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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:192869c0-49fa-4911-9dc7-ec268de3738d,g:0110a9b7-9704-4eb3-892b-9c83cc2a8e5b-->
<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/CondensedConsolidatedStatementsofOperationsandComprehensiveIncomeLoss" xlink:type="simple" xlink:href="pnr-20210930.xsd#CondensedConsolidatedStatementsofOperationsandComprehensiveIncomeLoss"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6e5fc283-2503-4e33-b9a7-22c566d608f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_8a5375d2-eac1-4d24-b816-e8212cff7100" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6e5fc283-2503-4e33-b9a7-22c566d608f8" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_8a5375d2-eac1-4d24-b816-e8212cff7100" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_2fe3a8d9-c0f6-4197-b8cc-492bd8b28be5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6e5fc283-2503-4e33-b9a7-22c566d608f8" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_2fe3a8d9-c0f6-4197-b8cc-492bd8b28be5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_5ac5fc2e-e18e-40b4-bcd2-5a95e8fe0a27" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6e5fc283-2503-4e33-b9a7-22c566d608f8" xlink:to="loc_us-gaap_OperatingIncomeLoss_5ac5fc2e-e18e-40b4-bcd2-5a95e8fe0a27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_24890b60-8893-445c-a86f-773683e883ed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_6e5fc283-2503-4e33-b9a7-22c566d608f8" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_24890b60-8893-445c-a86f-773683e883ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_b55e8263-b8f1-4b6a-958c-8a6b6324e3aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_ccc5f64d-4f58-44e1-9a30-9f1b9a316501" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_b55e8263-b8f1-4b6a-958c-8a6b6324e3aa" xlink:to="loc_us-gaap_Revenues_ccc5f64d-4f58-44e1-9a30-9f1b9a316501" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_8f449f2b-9538-4209-8bf2-4a508841337a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_b55e8263-b8f1-4b6a-958c-8a6b6324e3aa" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_8f449f2b-9538-4209-8bf2-4a508841337a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_46c198d6-5068-48cf-ab89-b03cfd6e98ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_70d6af95-788a-451e-9cf8-9e6c95c99145" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_ProfitLoss_46c198d6-5068-48cf-ab89-b03cfd6e98ba" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_70d6af95-788a-451e-9cf8-9e6c95c99145" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_82dc0196-d290-4e98-ae59-627e0a211927" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_46c198d6-5068-48cf-ab89-b03cfd6e98ba" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_82dc0196-d290-4e98-ae59-627e0a211927" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_8c07e74f-2e41-4f28-ab2c-dbb0e80bdf27" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_bd1b2573-8e70-4c31-86b3-d09ab7f8f360" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8c07e74f-2e41-4f28-ab2c-dbb0e80bdf27" xlink:to="loc_us-gaap_GrossProfit_bd1b2573-8e70-4c31-86b3-d09ab7f8f360" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_0f5a0858-e6af-4cd4-ad3e-71355a874189" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8c07e74f-2e41-4f28-ab2c-dbb0e80bdf27" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_0f5a0858-e6af-4cd4-ad3e-71355a874189" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_8036ea77-c137-4adc-a83e-15af4aa9ccb1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8c07e74f-2e41-4f28-ab2c-dbb0e80bdf27" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_8036ea77-c137-4adc-a83e-15af4aa9ccb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_bdcbc375-6b85-4dd2-9e4b-1ace5723dec5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_ef18ebb6-2a7d-4a01-a892-504532edd239" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_bdcbc375-6b85-4dd2-9e4b-1ace5723dec5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_ef18ebb6-2a7d-4a01-a892-504532edd239" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_e529b9a6-d01e-4501-90d5-7024c55911d5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_bdcbc375-6b85-4dd2-9e4b-1ace5723dec5" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_e529b9a6-d01e-4501-90d5-7024c55911d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_cb9a0969-872b-431e-b079-174e3ff24298" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_4aa35439-b47c-42cc-abdf-aa6590ffa9c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_ComprehensiveIncomeNetOfTax_cb9a0969-872b-431e-b079-174e3ff24298" xlink:to="loc_us-gaap_ProfitLoss_4aa35439-b47c-42cc-abdf-aa6590ffa9c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_cc6ff14a-081a-4dbb-b558-3c2052fe5fcb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_cb9a0969-872b-431e-b079-174e3ff24298" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_cc6ff14a-081a-4dbb-b558-3c2052fe5fcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_8de269cd-8ca5-4964-ab37-520522937f36" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_cb9a0969-872b-431e-b079-174e3ff24298" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_8de269cd-8ca5-4964-ab37-520522937f36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_f8da257b-a8ae-47e4-bafb-65f722e3fc31" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_ab50357f-479a-4f5e-a39b-e7bf29c507d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_f8da257b-a8ae-47e4-bafb-65f722e3fc31" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_ab50357f-479a-4f5e-a39b-e7bf29c507d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_91905db5-ac08-4fcd-bce1-00fb43c486c4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_f8da257b-a8ae-47e4-bafb-65f722e3fc31" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_91905db5-ac08-4fcd-bce1-00fb43c486c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_5d9b9f9c-3511-4a06-ac5f-89565476f64d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_08cf29ea-0584-4f08-842c-08ce9689c7d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d9b9f9c-3511-4a06-ac5f-89565476f64d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_08cf29ea-0584-4f08-842c-08ce9689c7d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_29b9ed75-7c3b-4a52-8e1e-7e02d741432f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d9b9f9c-3511-4a06-ac5f-89565476f64d" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_29b9ed75-7c3b-4a52-8e1e-7e02d741432f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="pnr-20210930.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_a8e22f81-eeb5-4e90-bfbd-8964dc02035f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6beae1f5-8d3a-4ec5-83a3-9d3566ac9fe7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a8e22f81-eeb5-4e90-bfbd-8964dc02035f" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6beae1f5-8d3a-4ec5-83a3-9d3566ac9fe7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsAndNotesReceivableNet_e2b7086b-013b-4585-9b34-906a4df8b079" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsAndNotesReceivableNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a8e22f81-eeb5-4e90-bfbd-8964dc02035f" xlink:to="loc_us-gaap_AccountsAndNotesReceivableNet_e2b7086b-013b-4585-9b34-906a4df8b079" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_c55553fc-572c-45d3-9ae4-e7c00300dae0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a8e22f81-eeb5-4e90-bfbd-8964dc02035f" xlink:to="loc_us-gaap_InventoryNet_c55553fc-572c-45d3-9ae4-e7c00300dae0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_aa3fff5c-3c71-4500-a5b1-ee18ceebb313" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a8e22f81-eeb5-4e90-bfbd-8964dc02035f" xlink:to="loc_us-gaap_OtherAssetsCurrent_aa3fff5c-3c71-4500-a5b1-ee18ceebb313" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_a756a928-7631-4d16-a5e1-b6d2dcb4739c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_7b4b8f21-1183-4eef-bd58-c8eb9d363326" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a756a928-7631-4d16-a5e1-b6d2dcb4739c" xlink:to="loc_us-gaap_AccountsPayableCurrent_7b4b8f21-1183-4eef-bd58-c8eb9d363326" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_47baf617-bbdb-4cc3-812a-f74fb2c3505f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a756a928-7631-4d16-a5e1-b6d2dcb4739c" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_47baf617-bbdb-4cc3-812a-f74fb2c3505f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_c2e99188-3ccb-4f32-be88-070029d46f59" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a756a928-7631-4d16-a5e1-b6d2dcb4739c" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_c2e99188-3ccb-4f32-be88-070029d46f59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_1ebdf20c-480f-440a-958a-0f7e0c3ba726" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_17f0df52-a962-48c9-8fa9-f8d9da74804a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1ebdf20c-480f-440a-958a-0f7e0c3ba726" xlink:to="loc_us-gaap_LiabilitiesCurrent_17f0df52-a962-48c9-8fa9-f8d9da74804a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_54f44e1b-4efa-479c-accb-3922f8c183bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1ebdf20c-480f-440a-958a-0f7e0c3ba726" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_54f44e1b-4efa-479c-accb-3922f8c183bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_5bd74d24-cb08-4949-9382-cd5af62c5e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1ebdf20c-480f-440a-958a-0f7e0c3ba726" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_5bd74d24-cb08-4949-9382-cd5af62c5e9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_f4885936-8a0d-488c-9121-1276a7c080e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1ebdf20c-480f-440a-958a-0f7e0c3ba726" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_f4885936-8a0d-488c-9121-1276a7c080e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_723c2166-34c9-4b3d-925e-f8482b875d02" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1ebdf20c-480f-440a-958a-0f7e0c3ba726" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_723c2166-34c9-4b3d-925e-f8482b875d02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_198c6a9e-b300-479f-8d09-4f8bff53c54e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_3a146bfd-f685-4e26-9f31-a29823172fe8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_OtherAssetsNoncurrent_198c6a9e-b300-479f-8d09-4f8bff53c54e" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_3a146bfd-f685-4e26-9f31-a29823172fe8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_38805304-bc17-4569-9434-00fc9f3dac86" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_OtherAssetsNoncurrent_198c6a9e-b300-479f-8d09-4f8bff53c54e" xlink:to="loc_us-gaap_Goodwill_38805304-bc17-4569-9434-00fc9f3dac86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_69eec560-5f18-40d1-9617-acd4f0b13678" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_OtherAssetsNoncurrent_198c6a9e-b300-479f-8d09-4f8bff53c54e" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_69eec560-5f18-40d1-9617-acd4f0b13678" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d0475eff-a4fd-4540-af0f-d6ab821801c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_2bee3af9-68e2-4a3f-bce5-478f92c742db" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_d0475eff-a4fd-4540-af0f-d6ab821801c7" xlink:to="loc_us-gaap_AssetsCurrent_2bee3af9-68e2-4a3f-bce5-478f92c742db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_c362ef6e-98fc-4107-98d7-ddd607cafe2a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_d0475eff-a4fd-4540-af0f-d6ab821801c7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_c362ef6e-98fc-4107-98d7-ddd607cafe2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_81bcfd3b-4f03-40bf-9cea-f441a0e9f044" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d0475eff-a4fd-4540-af0f-d6ab821801c7" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_81bcfd3b-4f03-40bf-9cea-f441a0e9f044" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_9830094b-dfcb-461f-b11a-142a3e1e63a1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_50526428-24cf-41b6-bc08-b12441d1248f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9830094b-dfcb-461f-b11a-142a3e1e63a1" xlink:to="loc_us-gaap_Liabilities_50526428-24cf-41b6-bc08-b12441d1248f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_5ae9149d-9077-4e11-9b29-48f4d7798b19" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9830094b-dfcb-461f-b11a-142a3e1e63a1" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_5ae9149d-9077-4e11-9b29-48f4d7798b19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_3f4418e7-5cb5-44e5-a684-e4ac2743f038" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_56de93f3-00a3-40aa-96f7-ee8fce1e7a60" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3f4418e7-5cb5-44e5-a684-e4ac2743f038" xlink:to="loc_us-gaap_CommonStockValueOutstanding_56de93f3-00a3-40aa-96f7-ee8fce1e7a60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_76a84e11-c68b-4510-bd27-2befff296b75" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3f4418e7-5cb5-44e5-a684-e4ac2743f038" xlink:to="loc_us-gaap_AdditionalPaidInCapital_76a84e11-c68b-4510-bd27-2befff296b75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7bea9040-dc05-4a16-8778-06c4e70ff6e3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3f4418e7-5cb5-44e5-a684-e4ac2743f038" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7bea9040-dc05-4a16-8778-06c4e70ff6e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9584c104-59bf-44a0-bdd0-a17aabe137a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3f4418e7-5cb5-44e5-a684-e4ac2743f038" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9584c104-59bf-44a0-bdd0-a17aabe137a5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="pnr-20210930.xsd#CondensedConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5fb3a863-a17d-479d-8a70-5ce1cd7531d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_70a5b90e-e3e8-4e90-b734-d2873ae1d3a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5fb3a863-a17d-479d-8a70-5ce1cd7531d6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_70a5b90e-e3e8-4e90-b734-d2873ae1d3a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_49ca9adb-0fdf-4435-8d1d-abe9d6780a26" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5fb3a863-a17d-479d-8a70-5ce1cd7531d6" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_49ca9adb-0fdf-4435-8d1d-abe9d6780a26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4d97f1f6-d189-403b-85da-c09210a4aec0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c3f0a17-fda8-413b-b014-84b7ac9867d5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4d97f1f6-d189-403b-85da-c09210a4aec0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2c3f0a17-fda8-413b-b014-84b7ac9867d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a08b7263-1eee-4fbc-83e3-64f55502926b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_4d97f1f6-d189-403b-85da-c09210a4aec0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a08b7263-1eee-4fbc-83e3-64f55502926b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_504d55f2-16d7-444f-af80-9eb57f70ea49" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4d97f1f6-d189-403b-85da-c09210a4aec0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_504d55f2-16d7-444f-af80-9eb57f70ea49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b48dd8e4-8f5e-4c0d-8ab3-7a0b559c16b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4d97f1f6-d189-403b-85da-c09210a4aec0" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b48dd8e4-8f5e-4c0d-8ab3-7a0b559c16b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_91b102da-0810-46cc-8164-c129d0567a22" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForHedgeFinancingActivities_a2ddf9c1-b57e-406d-b68c-81f67757968b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForHedgeFinancingActivities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_91b102da-0810-46cc-8164-c129d0567a22" xlink:to="loc_us-gaap_PaymentsForHedgeFinancingActivities_a2ddf9c1-b57e-406d-b68c-81f67757968b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_7c3aaa72-eb45-472a-906d-bd17157314e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_91b102da-0810-46cc-8164-c129d0567a22" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_7c3aaa72-eb45-472a-906d-bd17157314e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_136b8ded-9aa1-4954-a0c7-71f885cb060f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_91b102da-0810-46cc-8164-c129d0567a22" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_136b8ded-9aa1-4954-a0c7-71f885cb060f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_cdbdc6f0-feab-4080-9970-f539ba53ba9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_91b102da-0810-46cc-8164-c129d0567a22" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_cdbdc6f0-feab-4080-9970-f539ba53ba9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_61a0b16c-dde0-4eac-8b7b-896beda0d55f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_91b102da-0810-46cc-8164-c129d0567a22" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_61a0b16c-dde0-4eac-8b7b-896beda0d55f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_fba04e7e-3cca-463b-9c25-5d28ae544222" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_91b102da-0810-46cc-8164-c129d0567a22" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_fba04e7e-3cca-463b-9c25-5d28ae544222" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4281767e-8f0b-444b-98ce-efa92b64c1f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_cda879cf-202f-49ac-877f-56fa022c158c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4281767e-8f0b-444b-98ce-efa92b64c1f4" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_cda879cf-202f-49ac-877f-56fa022c158c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_4ad1955b-ff5b-4bd9-ac64-3530256a2289" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4281767e-8f0b-444b-98ce-efa92b64c1f4" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_4ad1955b-ff5b-4bd9-ac64-3530256a2289" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_1ffc29ce-bb7d-4cb0-835b-03be9e2a87fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4281767e-8f0b-444b-98ce-efa92b64c1f4" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_1ffc29ce-bb7d-4cb0-835b-03be9e2a87fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_50287c71-6d1e-4573-a5a2-f69cc98fba5d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4281767e-8f0b-444b-98ce-efa92b64c1f4" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_50287c71-6d1e-4573-a5a2-f69cc98fba5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_9d252431-30c1-4154-b7cf-028be4e6d20d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4281767e-8f0b-444b-98ce-efa92b64c1f4" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_9d252431-30c1-4154-b7cf-028be4e6d20d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_9374828f-dd50-40cd-bc70-1f14f8cebc97" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_ProfitLoss_9374828f-dd50-40cd-bc70-1f14f8cebc97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_22095977-8fd6-4f78-9831-01fabc62823f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_22095977-8fd6-4f78-9831-01fabc62823f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_66186494-f9b7-4d69-9932-03bdc2f15a15" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_66186494-f9b7-4d69-9932-03bdc2f15a15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_fd58c98a-616e-4b2b-9030-de8a0ba32999" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_Depreciation_fd58c98a-616e-4b2b-9030-de8a0ba32999" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_56d7b111-5f22-4a25-be81-45af8591c0bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdjustmentForAmortization"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_AdjustmentForAmortization_56d7b111-5f22-4a25-be81-45af8591c0bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_e06be4ac-8a2f-4c0f-866c-c02819f1a4ee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_e06be4ac-8a2f-4c0f-866c-c02819f1a4ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_d94ae7d4-fa8a-461d-817f-62d170cd2a2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_ShareBasedCompensation_d94ae7d4-fa8a-461d-817f-62d170cd2a2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_e7176857-9d3f-4362-93c0-5d58771dfa69" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_e7176857-9d3f-4362-93c0-5d58771dfa69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_e05f937b-b2b6-4a1b-bc0c-31360face2df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_e05f937b-b2b6-4a1b-bc0c-31360face2df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_a3176f12-97e8-4913-93c3-a7f8beeab840" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_a3176f12-97e8-4913-93c3-a7f8beeab840" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_dd1165e1-a322-4485-8e5d-7dc19028df03" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_dd1165e1-a322-4485-8e5d-7dc19028df03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_160f4b73-6a1d-4258-8416-164dbadfa705" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_160f4b73-6a1d-4258-8416-164dbadfa705" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_46e0f100-950c-42a8-8d7a-4e5136248cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_46e0f100-950c-42a8-8d7a-4e5136248cb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_d281c954-0070-4df6-b9d0-6443f5f264fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_d281c954-0070-4df6-b9d0-6443f5f264fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_6dfc2ceb-c0f1-4cb0-b190-70c65d787bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_79a23502-b7df-4a17-84df-4bf8dd19a369" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_6dfc2ceb-c0f1-4cb0-b190-70c65d787bfd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/RevenueScheduleofContractAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="pnr-20210930.xsd#RevenueScheduleofContractAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/RevenueScheduleofContractAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ContractWithCustomerAssetLiabilityNet_c0dc1c51-c663-49bf-adc7-f96082357ba8" xlink:href="pnr-20210930.xsd#pnr_ContractWithCustomerAssetLiabilityNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_dd94cb3a-9986-46f0-9f60-23c86143abaa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c0dc1c51-c663-49bf-adc7-f96082357ba8" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_dd94cb3a-9986-46f0-9f60-23c86143abaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_24880d7a-b848-46b1-8d37-a73232889dfb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c0dc1c51-c663-49bf-adc7-f96082357ba8" xlink:to="loc_us-gaap_ContractWithCustomerLiability_24880d7a-b848-46b1-8d37-a73232889dfb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/EarningsPerShareBasicandDilutedEarningsPerShareDetail" xlink:type="simple" xlink:href="pnr-20210930.xsd#EarningsPerShareBasicandDilutedEarningsPerShareDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/EarningsPerShareBasicandDilutedEarningsPerShareDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_63c18d15-048f-481d-95ef-ed28ae1b707b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_745f9af6-6c39-451b-9ce0-cc2aad90da97" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_63c18d15-048f-481d-95ef-ed28ae1b707b" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_745f9af6-6c39-451b-9ce0-cc2aad90da97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_d9a22164-b6d9-4d9c-8804-3212df9a3ffd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_63c18d15-048f-481d-95ef-ed28ae1b707b" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_d9a22164-b6d9-4d9c-8804-3212df9a3ffd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SupplementalBalanceSheetInformationDetail" xlink:type="simple" xlink:href="pnr-20210930.xsd#SupplementalBalanceSheetInformationDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/SupplementalBalanceSheetInformationDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4cb7521d-a8ad-4716-9ce9-289ef7fc1a06" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_e1c30fd3-620d-4855-b7e1-ef1892080ec4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_4cb7521d-a8ad-4716-9ce9-289ef7fc1a06" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_e1c30fd3-620d-4855-b7e1-ef1892080ec4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_a353d48c-8aa3-4e74-a6ee-46df8d9b4750" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_4cb7521d-a8ad-4716-9ce9-289ef7fc1a06" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_a353d48c-8aa3-4e74-a6ee-46df8d9b4750" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_b90eaf9b-08cf-4746-a7fe-a93091215a95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_b90eaf9b-08cf-4746-a7fe-a93091215a95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_9c6ba5a3-52f2-4fc8-903b-ee8a317bf5dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_9c6ba5a3-52f2-4fc8-903b-ee8a317bf5dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_d229ecaa-e8dc-45bf-9c31-ec332efdf952" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:to="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_d229ecaa-e8dc-45bf-9c31-ec332efdf952" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_b70a9976-cc10-4644-a453-98befaf9cd5c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:to="loc_us-gaap_DividendsPayableCurrent_b70a9976-cc10-4644-a453-98befaf9cd5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_12f74fc4-1172-4fba-9888-7e79afa1b0be" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_12f74fc4-1172-4fba-9888-7e79afa1b0be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_9364d671-788e-4f0e-a6a9-b3f093ee17a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestructuringReserve"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:to="loc_us-gaap_RestructuringReserve_9364d671-788e-4f0e-a6a9-b3f093ee17a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_34321740-2167-4bd3-9868-4a36adf29e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxesPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:to="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_34321740-2167-4bd3-9868-4a36adf29e5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_33c7fca0-ed42-4541-b5b2-fd12f960463e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ea148099-b79a-4c76-ab95-420c37a24120" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_33c7fca0-ed42-4541-b5b2-fd12f960463e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_cc8c8a1a-1b11-43d9-8625-9a433b6e2080" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_53d47b2d-53ff-4072-8bc6-8d0361062933" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_cc8c8a1a-1b11-43d9-8625-9a433b6e2080" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_53d47b2d-53ff-4072-8bc6-8d0361062933" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_befe657d-1580-49ec-a7e4-e001484c2abf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_cc8c8a1a-1b11-43d9-8625-9a433b6e2080" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_befe657d-1580-49ec-a7e4-e001484c2abf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveNoncurrent_710cfb74-fba1-4e8f-ad93-722d0d0d5967" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SelfInsuranceReserveNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_cc8c8a1a-1b11-43d9-8625-9a433b6e2080" xlink:to="loc_us-gaap_SelfInsuranceReserveNoncurrent_710cfb74-fba1-4e8f-ad93-722d0d0d5967" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_1867587e-94f2-4e27-b134-18432a6b1bea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_cc8c8a1a-1b11-43d9-8625-9a433b6e2080" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_1867587e-94f2-4e27-b134-18432a6b1bea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermLiabilities_676abe10-dd85-4ac1-8584-4f190acc47be" xlink:href="pnr-20210930.xsd#pnr_OtherLongTermLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_cc8c8a1a-1b11-43d9-8625-9a433b6e2080" xlink:to="loc_pnr_OtherLongTermLiabilities_676abe10-dd85-4ac1-8584-4f190acc47be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_23a30538-b645-48d8-aa69-217864968246" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_cc8c8a1a-1b11-43d9-8625-9a433b6e2080" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_23a30538-b645-48d8-aa69-217864968246" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_fed53af1-b28c-4320-b4a1-273b7efbe910" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_71b58151-fa13-457c-a098-828d1e7f529d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_fed53af1-b28c-4320-b4a1-273b7efbe910" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_71b58151-fa13-457c-a098-828d1e7f529d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_6ed9e36b-a9e3-488c-8b9f-d4eefa78ffca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_fed53af1-b28c-4320-b4a1-273b7efbe910" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_6ed9e36b-a9e3-488c-8b9f-d4eefa78ffca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_a1e38746-9098-43f0-b227-3727d41e5b35" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredCompensationPlanAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_fed53af1-b28c-4320-b4a1-273b7efbe910" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_a1e38746-9098-43f0-b227-3727d41e5b35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermAssets_149eae13-9159-4dc7-ada5-19ceddca5fe6" xlink:href="pnr-20210930.xsd#pnr_OtherLongTermAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_fed53af1-b28c-4320-b4a1-273b7efbe910" xlink:to="loc_pnr_OtherLongTermAssets_149eae13-9159-4dc7-ada5-19ceddca5fe6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_2028db22-31c1-4966-831d-b4df5e51fbe5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandAndLandImprovements_606ce983-1281-483c-ac14-86e3ea722240" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_2028db22-31c1-4966-831d-b4df5e51fbe5" xlink:to="loc_us-gaap_LandAndLandImprovements_606ce983-1281-483c-ac14-86e3ea722240" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_75223b7c-2b66-422b-a7d7-a1fa62f6b69a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_2028db22-31c1-4966-831d-b4df5e51fbe5" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_75223b7c-2b66-422b-a7d7-a1fa62f6b69a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_2cd57342-9f1a-4432-bb85-6d060c56bb14" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_2028db22-31c1-4966-831d-b4df5e51fbe5" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_2cd57342-9f1a-4432-bb85-6d060c56bb14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareGross_3f6a0b2d-4939-449e-9f36-29a4289a8a62" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedComputerSoftwareGross"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_2028db22-31c1-4966-831d-b4df5e51fbe5" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareGross_3f6a0b2d-4939-449e-9f36-29a4289a8a62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_54e3ffbb-0ab9-4d4b-aaa1-4e6d60b0f9fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_2028db22-31c1-4966-831d-b4df5e51fbe5" xlink:to="loc_us-gaap_ConstructionInProgressGross_54e3ffbb-0ab9-4d4b-aaa1-4e6d60b0f9fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_98476a96-b18b-4075-a8c5-0a0a50d91349" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSupplies_f2190674-8796-4ebc-96f1-c10b625ee1c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_98476a96-b18b-4075-a8c5-0a0a50d91349" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSupplies_f2190674-8796-4ebc-96f1-c10b625ee1c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_d464e763-c28e-44e9-9409-0679fd45c882" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_98476a96-b18b-4075-a8c5-0a0a50d91349" xlink:to="loc_us-gaap_InventoryWorkInProcess_d464e763-c28e-44e9-9409-0679fd45c882" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_5145f87a-c869-43ac-bdb7-d04b2e34ca23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_98476a96-b18b-4075-a8c5-0a0a50d91349" xlink:to="loc_us-gaap_InventoryFinishedGoods_5145f87a-c869-43ac-bdb7-d04b2e34ca23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_d8661627-6801-4944-bed9-355e5342dd8b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_04a5c25f-f9ee-42ae-b8cd-4a2122ab0d09" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherPrepaidExpenseCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_d8661627-6801-4944-bed9-355e5342dd8b" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_04a5c25f-f9ee-42ae-b8cd-4a2122ab0d09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidTaxes_7928620c-3c24-4f1e-b476-2387e2b7b488" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_d8661627-6801-4944-bed9-355e5342dd8b" xlink:to="loc_us-gaap_PrepaidTaxes_7928620c-3c24-4f1e-b476-2387e2b7b488" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherCurrentAssets_353dc693-ebb9-4a5e-a79c-e612a19661da" xlink:href="pnr-20210930.xsd#pnr_OtherCurrentAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_d8661627-6801-4944-bed9-355e5342dd8b" xlink:to="loc_pnr_OtherCurrentAssets_353dc693-ebb9-4a5e-a79c-e612a19661da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_87dc8eb7-5b0e-4bee-a383-af4eca38951e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_d8661627-6801-4944-bed9-355e5342dd8b" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_87dc8eb7-5b0e-4bee-a383-af4eca38951e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetailofIdentifiableIntangibleAssetsDetail" xlink:type="simple" xlink:href="pnr-20210930.xsd#GoodwillandOtherIdentifiableIntangibleAssetsDetailofIdentifiableIntangibleAssetsDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetailofIdentifiableIntangibleAssetsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_df107e15-cf3a-4e60-a8cc-83c285870c14" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_3c682d88-1660-45e7-a6d2-c8d8499c11a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_df107e15-cf3a-4e60-a8cc-83c285870c14" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_3c682d88-1660-45e7-a6d2-c8d8499c11a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a1166703-9276-497a-8f04-d1006e18d26e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_df107e15-cf3a-4e60-a8cc-83c285870c14" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a1166703-9276-497a-8f04-d1006e18d26e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtandAverageInterestRatesonDebtOutstandingDetail" xlink:type="simple" xlink:href="pnr-20210930.xsd#DebtDebtandAverageInterestRatesonDebtOutstandingDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DebtDebtandAverageInterestRatesonDebtOutstandingDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_c5f4ecb4-b966-4038-9619-ce2df85282c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnamortizedDebtIssuanceExpense_c8dcb634-0072-41e6-84e8-f4641f2c9ae7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnamortizedDebtIssuanceExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_c5f4ecb4-b966-4038-9619-ce2df85282c2" xlink:to="loc_us-gaap_UnamortizedDebtIssuanceExpense_c8dcb634-0072-41e6-84e8-f4641f2c9ae7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_30a79905-e6c1-4624-92c0-0acb3ddfb18e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_c5f4ecb4-b966-4038-9619-ce2df85282c2" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_30a79905-e6c1-4624-92c0-0acb3ddfb18e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtOutstandingMaturesonCalendarYearBasisDetail" xlink:type="simple" xlink:href="pnr-20210930.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_49db0038-7a7b-482e-9256-9a4750b4237e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_d18f2b1b-32cc-44e1-985d-27b165da2a47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_49db0038-7a7b-482e-9256-9a4750b4237e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_d18f2b1b-32cc-44e1-985d-27b165da2a47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_cce22b84-6508-481e-b3ec-974f094b6bcd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_49db0038-7a7b-482e-9256-9a4750b4237e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_cce22b84-6508-481e-b3ec-974f094b6bcd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_d83e182d-d290-479f-aef7-cdbcb934c58e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_49db0038-7a7b-482e-9256-9a4750b4237e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_d83e182d-d290-479f-aef7-cdbcb934c58e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_f822a197-78cd-47ec-8cf7-7a8ec965ddd7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_49db0038-7a7b-482e-9256-9a4750b4237e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_f822a197-78cd-47ec-8cf7-7a8ec965ddd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_0c8f76ac-5ccc-4c40-b2f1-7bea71e2c435" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_49db0038-7a7b-482e-9256-9a4750b4237e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_0c8f76ac-5ccc-4c40-b2f1-7bea71e2c435" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_0a86a453-ba80-4e0b-9fc9-10979181891c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_49db0038-7a7b-482e-9256-9a4750b4237e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_0a86a453-ba80-4e0b-9fc9-10979181891c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_873950ba-db45-44a7-9f56-9782219d58c6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_49db0038-7a7b-482e-9256-9a4750b4237e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_873950ba-db45-44a7-9f56-9782219d58c6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesDetail" xlink:type="simple" xlink:href="pnr-20210930.xsd#DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_f1279f5b-c22c-4c95-a221-55381999cd47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_67a38d63-5c01-4ac4-8212-e6722c1678d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f1279f5b-c22c-4c95-a221-55381999cd47" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_67a38d63-5c01-4ac4-8212-e6722c1678d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_8410a044-f7fc-4b15-8e6a-8098d31a03e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f1279f5b-c22c-4c95-a221-55381999cd47" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_8410a044-f7fc-4b15-8e6a-8098d31a03e8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueDetail" xlink:type="simple" xlink:href="pnr-20210930.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_6cf62456-9b40-4b60-8719-85c5faf7ebbc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_6d8884e5-e09e-4541-a071-257d9a38a35f" xlink:href="pnr-20210930.xsd#pnr_DeferredCompensationPlanAssetsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_6cf62456-9b40-4b60-8719-85c5faf7ebbc" xlink:to="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_6d8884e5-e09e-4541-a071-257d9a38a35f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_0257c020-160c-4b95-93b5-b9d5509ae7ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_DerivativeAssetsLiabilitiesAtFairValueNet_6cf62456-9b40-4b60-8719-85c5faf7ebbc" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_0257c020-160c-4b95-93b5-b9d5509ae7ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_ac3baf27-ffc0-43c7-8ac7-a60fc2397882" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_6cf62456-9b40-4b60-8719-85c5faf7ebbc" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_ac3baf27-ffc0-43c7-8ac7-a60fc2397882" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansComponentsofNetPeriodicBenefitCostDetail" xlink:type="simple" xlink:href="pnr-20210930.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_7e52d908-9c04-4098-8008-53ca6668e6e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_a651f59e-aa66-470b-9ea0-ac6d749026b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_7e52d908-9c04-4098-8008-53ca6668e6e2" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_a651f59e-aa66-470b-9ea0-ac6d749026b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_e4d0148b-f6a0-41f7-a0d9-ec96814e15e4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_7e52d908-9c04-4098-8008-53ca6668e6e2" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_e4d0148b-f6a0-41f7-a0d9-ec96814e15e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c4fff383-8c8a-4f15-9985-e891cd4265a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_7e52d908-9c04-4098-8008-53ca6668e6e2" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c4fff383-8c8a-4f15-9985-e891cd4265a3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SegmentInformationReconciliationofOperatingProfitLossfromSegmentstoConsolidatedDetails" xlink:type="simple" xlink:href="pnr-20210930.xsd#SegmentInformationReconciliationofOperatingProfitLossfromSegmentstoConsolidatedDetails"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/SegmentInformationReconciliationofOperatingProfitLossfromSegmentstoConsolidatedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_COVID19RelatedCostsAndExpenses_9472dbd0-7c80-4b9d-a610-13985be9f545" xlink:href="pnr-20210930.xsd#pnr_COVID19RelatedCostsAndExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_pnr_COVID19RelatedCostsAndExpenses_9472dbd0-7c80-4b9d-a610-13985be9f545" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_249ca6fa-041f-40f9-a207-40f4642c8ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_249ca6fa-041f-40f9-a207-40f4642c8ff2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_RestructuringandOtherCosts_a4a90929-28c0-44b2-bc8c-c8fd794f2a0d" xlink:href="pnr-20210930.xsd#pnr_RestructuringandOtherCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_pnr_RestructuringandOtherCosts_a4a90929-28c0-44b2-bc8c-c8fd794f2a0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_LegalAccrualAdjustments_a23a8632-c548-42b5-8ab2-e3bf271aea6b" xlink:href="pnr-20210930.xsd#pnr_LegalAccrualAdjustments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_pnr_LegalAccrualAdjustments_a23a8632-c548-42b5-8ab2-e3bf271aea6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_f8803298-7da4-468b-b01f-3be25cded25e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_f8803298-7da4-468b-b01f-3be25cded25e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_Dealrelatedcostsandexpenses_90884543-e325-4b6c-a8df-5ed013178ae8" xlink:href="pnr-20210930.xsd#pnr_Dealrelatedcostsandexpenses"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_pnr_Dealrelatedcostsandexpenses_90884543-e325-4b6c-a8df-5ed013178ae8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_fb63f178-37fa-4d27-a932-2b2bf79b7182" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_us-gaap_OperatingIncomeLoss_fb63f178-37fa-4d27-a932-2b2bf79b7182" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_c6651e45-653c-48e5-ae0c-1a6e5156e0a1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_c6651e45-653c-48e5-ae0c-1a6e5156e0a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_74f64475-5671-48b2-acfa-7a27fd3003e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe1f2121-b077-4a37-b714-89f7153b3489" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_74f64475-5671-48b2-acfa-7a27fd3003e5" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
