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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:cc2288ba-ebec-4893-a90f-aa7548d413ae,g:e3b98551-4297-49a4-9ce7-064a61cf1373-->
<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-20250331.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_OperatingIncomeLoss_cd85d784-b041-4979-9fc7-4e0b3de0db11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_d8ba035f-fa96-4fd1-86d6-c08f62a60471" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_cd85d784-b041-4979-9fc7-4e0b3de0db11" xlink:to="loc_us-gaap_GrossProfit_d8ba035f-fa96-4fd1-86d6-c08f62a60471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_eaf608ae-070a-4643-ac56-a13ef59f154c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_cd85d784-b041-4979-9fc7-4e0b3de0db11" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_eaf608ae-070a-4643-ac56-a13ef59f154c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_bbd93af5-2f8e-4738-8280-55381075144a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_cd85d784-b041-4979-9fc7-4e0b3de0db11" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_bbd93af5-2f8e-4738-8280-55381075144a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_587bb4ce-a732-4278-b038-7dffe3a9f9a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_ea94e960-d57a-4ed6-b0ed-70c7ee650d00" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_587bb4ce-a732-4278-b038-7dffe3a9f9a4" xlink:to="loc_us-gaap_ProfitLoss_ea94e960-d57a-4ed6-b0ed-70c7ee650d00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_579c02c8-cb6e-4073-9a70-55a72f307252" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_587bb4ce-a732-4278-b038-7dffe3a9f9a4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_579c02c8-cb6e-4073-9a70-55a72f307252" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_d0bb1caa-0f89-4da4-af99-cb8834fce45f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_587bb4ce-a732-4278-b038-7dffe3a9f9a4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_d0bb1caa-0f89-4da4-af99-cb8834fce45f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_945d06c4-eead-4665-90bf-b65284088dad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_5d9739e7-c4b7-41db-b504-b672f09a131e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_945d06c4-eead-4665-90bf-b65284088dad" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_5d9739e7-c4b7-41db-b504-b672f09a131e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_1e3bf46e-2a6c-4839-b16d-b6d64218135a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_945d06c4-eead-4665-90bf-b65284088dad" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_1e3bf46e-2a6c-4839-b16d-b6d64218135a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_eacd9e65-748f-48c1-8377-cb3a79538781" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_945d06c4-eead-4665-90bf-b65284088dad" xlink:to="loc_us-gaap_OperatingIncomeLoss_eacd9e65-748f-48c1-8377-cb3a79538781" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_406f99c8-b96a-4b58-b1d4-fef1b29bd7c4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_d7e859a2-7466-4f42-9512-12a9bd7bc798" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_406f99c8-b96a-4b58-b1d4-fef1b29bd7c4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_d7e859a2-7466-4f42-9512-12a9bd7bc798" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_a1bb3e0a-b3af-479f-b0dc-df0d119db6a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_406f99c8-b96a-4b58-b1d4-fef1b29bd7c4" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_a1bb3e0a-b3af-479f-b0dc-df0d119db6a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_32b1aeca-c853-4f5a-8929-b3d15579526a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_4a6386fd-5bf4-4034-b2c0-252ee260f67b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_32b1aeca-c853-4f5a-8929-b3d15579526a" xlink:to="loc_us-gaap_Revenues_4a6386fd-5bf4-4034-b2c0-252ee260f67b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_64009415-dc90-4d19-a5c4-329598529972" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_32b1aeca-c853-4f5a-8929-b3d15579526a" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_64009415-dc90-4d19-a5c4-329598529972" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_c9597511-73c6-4a84-802e-573534664dc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_4e48ff59-8d44-4733-9ed7-b3ec95af5238" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c9597511-73c6-4a84-802e-573534664dc2" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_4e48ff59-8d44-4733-9ed7-b3ec95af5238" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_8602a544-1d1c-498b-bc85-5a2a09eb01c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c9597511-73c6-4a84-802e-573534664dc2" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax_8602a544-1d1c-498b-bc85-5a2a09eb01c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_45569395-da46-4363-8c32-1cba9a88ddd9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_390e119f-8f4a-4c0b-a3fb-38539a591618" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_45569395-da46-4363-8c32-1cba9a88ddd9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_390e119f-8f4a-4c0b-a3fb-38539a591618" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_ca5d3dd9-7353-4d54-b522-c9090158a027" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_45569395-da46-4363-8c32-1cba9a88ddd9" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_ca5d3dd9-7353-4d54-b522-c9090158a027" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_8514191a-4165-4d91-aa3f-76cceec7cd6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_ae316fb5-2086-4f71-b84e-3974fed48ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_8514191a-4165-4d91-aa3f-76cceec7cd6e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_ae316fb5-2086-4f71-b84e-3974fed48ae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9e09a6ff-a9a7-42cf-928b-acf47d0ce8fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_8514191a-4165-4d91-aa3f-76cceec7cd6e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9e09a6ff-a9a7-42cf-928b-acf47d0ce8fb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="pnr-20250331.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_Assets_e48e7717-9bb8-48fb-87b6-6d85a48c9953" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_c8bcae87-bda0-4251-9273-2e0d7b095bdc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e48e7717-9bb8-48fb-87b6-6d85a48c9953" xlink:to="loc_us-gaap_AssetsCurrent_c8bcae87-bda0-4251-9273-2e0d7b095bdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_e8a4d35e-6c22-48ee-9f38-b4368192dd96" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e48e7717-9bb8-48fb-87b6-6d85a48c9953" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_e8a4d35e-6c22-48ee-9f38-b4368192dd96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_340dbc65-a159-401a-ad72-693664d49150" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e48e7717-9bb8-48fb-87b6-6d85a48c9953" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_340dbc65-a159-401a-ad72-693664d49150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_c01e23d6-9912-4ca5-bfe1-2c176c802e59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_0f57e7bf-6b93-48ac-97f4-187d28a1c197" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c01e23d6-9912-4ca5-bfe1-2c176c802e59" xlink:to="loc_us-gaap_Liabilities_0f57e7bf-6b93-48ac-97f4-187d28a1c197" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_cc0abc5d-3e5a-4089-bb2d-2f28ca2b37ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c01e23d6-9912-4ca5-bfe1-2c176c802e59" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_cc0abc5d-3e5a-4089-bb2d-2f28ca2b37ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_db4ac265-147c-49ac-87ac-8d7ff46a63c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_73b296f5-9233-420d-8d8b-b3cbf0b0491d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_db4ac265-147c-49ac-87ac-8d7ff46a63c3" xlink:to="loc_us-gaap_CommonStockValueOutstanding_73b296f5-9233-420d-8d8b-b3cbf0b0491d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_5a4e5786-5f44-4162-bfd5-5ff9f18d5885" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_db4ac265-147c-49ac-87ac-8d7ff46a63c3" xlink:to="loc_us-gaap_AdditionalPaidInCapital_5a4e5786-5f44-4162-bfd5-5ff9f18d5885" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e0dfebcf-5552-45fb-868c-a15b0b9e041e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_db4ac265-147c-49ac-87ac-8d7ff46a63c3" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e0dfebcf-5552-45fb-868c-a15b0b9e041e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_279f1631-5a04-4fd2-b367-255b565f604c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_db4ac265-147c-49ac-87ac-8d7ff46a63c3" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_279f1631-5a04-4fd2-b367-255b565f604c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_24ac1d5b-7183-452e-9665-bd25c10ebda0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_e560c9d8-4f12-452e-b91c-5da88b21bbb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_24ac1d5b-7183-452e-9665-bd25c10ebda0" xlink:to="loc_us-gaap_AccountsPayableCurrent_e560c9d8-4f12-452e-b91c-5da88b21bbb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_5b5dbb69-571c-4126-a271-f640a836a59a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_24ac1d5b-7183-452e-9665-bd25c10ebda0" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_5b5dbb69-571c-4126-a271-f640a836a59a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_ed0bc98a-8bb2-42e9-afe7-846b9ccf1c95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_24ac1d5b-7183-452e-9665-bd25c10ebda0" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_ed0bc98a-8bb2-42e9-afe7-846b9ccf1c95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_a5f131bd-105e-4aad-a6c2-e915e09949bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherShortTermBorrowings"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_24ac1d5b-7183-452e-9665-bd25c10ebda0" xlink:to="loc_us-gaap_OtherShortTermBorrowings_a5f131bd-105e-4aad-a6c2-e915e09949bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_a09f7ca6-b533-47d9-bf39-06648e02bbb5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_7d006a46-1043-4c35-afef-1cc5cfdca5e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a09f7ca6-b533-47d9-bf39-06648e02bbb5" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_7d006a46-1043-4c35-afef-1cc5cfdca5e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsAndNotesReceivableNet_bb9243d5-a2c9-4f7d-9f04-af3ceacb5a5a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a09f7ca6-b533-47d9-bf39-06648e02bbb5" xlink:to="loc_us-gaap_AccountsAndNotesReceivableNet_bb9243d5-a2c9-4f7d-9f04-af3ceacb5a5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_35c21384-09f8-46d7-adcf-464c6bd2e49c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a09f7ca6-b533-47d9-bf39-06648e02bbb5" xlink:to="loc_us-gaap_InventoryNet_35c21384-09f8-46d7-adcf-464c6bd2e49c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_636d82dd-b458-47e2-acca-94b37a8e94c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a09f7ca6-b533-47d9-bf39-06648e02bbb5" xlink:to="loc_us-gaap_OtherAssetsCurrent_636d82dd-b458-47e2-acca-94b37a8e94c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_79dde95f-5357-4035-811e-be9555c65de8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_afc0c5ee-7128-4af3-a260-3283f93d5b52" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_79dde95f-5357-4035-811e-be9555c65de8" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_afc0c5ee-7128-4af3-a260-3283f93d5b52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_858e4844-b124-4069-990c-1ab4ea44705c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_79dde95f-5357-4035-811e-be9555c65de8" xlink:to="loc_us-gaap_Goodwill_858e4844-b124-4069-990c-1ab4ea44705c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_3fdcd216-f246-4d4f-b9f7-8f0561d6ef1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_79dde95f-5357-4035-811e-be9555c65de8" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_3fdcd216-f246-4d4f-b9f7-8f0561d6ef1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_ad4fed69-77c4-4433-8e84-787a96d75fe4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_f0b1df88-dba4-4850-8339-082d0e9a53ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ad4fed69-77c4-4433-8e84-787a96d75fe4" xlink:to="loc_us-gaap_LiabilitiesCurrent_f0b1df88-dba4-4850-8339-082d0e9a53ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_812b7d0f-46b2-4d38-a146-2efceaf122a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ad4fed69-77c4-4433-8e84-787a96d75fe4" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_812b7d0f-46b2-4d38-a146-2efceaf122a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_a048542d-7158-48f2-a919-ea5e7a9d21ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ad4fed69-77c4-4433-8e84-787a96d75fe4" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_a048542d-7158-48f2-a919-ea5e7a9d21ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0b369c1a-7a6a-44a1-b935-2f4818109c3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ad4fed69-77c4-4433-8e84-787a96d75fe4" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0b369c1a-7a6a-44a1-b935-2f4818109c3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_71858e7d-6090-44c1-ac52-4b76e6f7a258" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ad4fed69-77c4-4433-8e84-787a96d75fe4" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_71858e7d-6090-44c1-ac52-4b76e6f7a258" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="pnr-20250331.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_34e9628f-5fe9-4eae-a375-c16861ad1509" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c5c248f6-8e6c-4c74-81a0-98fdfc4037fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_34e9628f-5fe9-4eae-a375-c16861ad1509" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c5c248f6-8e6c-4c74-81a0-98fdfc4037fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_71394b23-31e6-4152-b8a8-e64394488b8e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_34e9628f-5fe9-4eae-a375-c16861ad1509" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_71394b23-31e6-4152-b8a8-e64394488b8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9c05e486-47c1-429a-85fd-3a4b5157b57c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_65eff233-64bb-4dca-8377-a0b0802d8ffe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9c05e486-47c1-429a-85fd-3a4b5157b57c" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_65eff233-64bb-4dca-8377-a0b0802d8ffe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fed243d0-e15b-4290-bacb-c7f14b67423b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_ddbb7110-81f8-4144-a68d-020410707e74" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fed243d0-e15b-4290-bacb-c7f14b67423b" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_ddbb7110-81f8-4144-a68d-020410707e74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld_a1ebd268-d96d-47f7-bb80-4582a1d3e8c6" xlink:href="pnr-20250331.xsd#pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fed243d0-e15b-4290-bacb-c7f14b67423b" xlink:to="loc_pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld_a1ebd268-d96d-47f7-bb80-4582a1d3e8c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_d9e6c08b-9cd6-4ccb-8d11-1047ffe4ad5a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fed243d0-e15b-4290-bacb-c7f14b67423b" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_d9e6c08b-9cd6-4ccb-8d11-1047ffe4ad5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_6d7e88e7-0c01-4bbc-b5bb-94eb7ac29145" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromRepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fed243d0-e15b-4290-bacb-c7f14b67423b" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_6d7e88e7-0c01-4bbc-b5bb-94eb7ac29145" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfEquity_7f33585a-fcf6-4d03-bd20-b5ecf2c0b8bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfEquity"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fed243d0-e15b-4290-bacb-c7f14b67423b" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfEquity_7f33585a-fcf6-4d03-bd20-b5ecf2c0b8bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_cd61a2af-7e66-4b2f-8f79-b0a4e7970346" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfShortTermDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fed243d0-e15b-4290-bacb-c7f14b67423b" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_cd61a2af-7e66-4b2f-8f79-b0a4e7970346" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_034c0a86-570c-4596-a34f-9d5436ea9f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ae789a8c-af33-4ada-bb75-2edfe68632eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_034c0a86-570c-4596-a34f-9d5436ea9f5e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ae789a8c-af33-4ada-bb75-2edfe68632eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_135c3fb6-d85a-49e9-95ad-eee494b85110" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_034c0a86-570c-4596-a34f-9d5436ea9f5e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_135c3fb6-d85a-49e9-95ad-eee494b85110" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6f9aeb93-189b-4ba3-8973-03df5e30f8aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_034c0a86-570c-4596-a34f-9d5436ea9f5e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6f9aeb93-189b-4ba3-8973-03df5e30f8aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b55d6abc-5e3e-4d45-9ac7-544fbce9d958" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_034c0a86-570c-4596-a34f-9d5436ea9f5e" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b55d6abc-5e3e-4d45-9ac7-544fbce9d958" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_1d863a9d-f718-43fe-abe3-2c1727d45169" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_1d863a9d-f718-43fe-abe3-2c1727d45169" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_4596abea-bcd4-41f3-bae0-18378da8b547" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_ProfitLoss_4596abea-bcd4-41f3-bae0-18378da8b547" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_14315c2f-0f35-4d5e-9f66-949508b086ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherCurrentLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_14315c2f-0f35-4d5e-9f66-949508b086ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_1f1c2c44-4f5e-4308-8e5e-2aa05f0bd481" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_ShareBasedCompensation_1f1c2c44-4f5e-4308-8e5e-2aa05f0bd481" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_9151605d-92d0-4c29-b27e-002c57ea74a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_9151605d-92d0-4c29-b27e-002c57ea74a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_78ae98fe-71cc-4258-91f4-c0ec24dc3e34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_78ae98fe-71cc-4258-91f4-c0ec24dc3e34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_43c0771a-74f9-43aa-aa96-599e911ebff4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_Depreciation_43c0771a-74f9-43aa-aa96-599e911ebff4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_efab5fe6-e79a-411e-b9dc-4bed862c2862" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_efab5fe6-e79a-411e-b9dc-4bed862c2862" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_bc137139-bf6e-4df8-a07e-bfaafdb056da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_bc137139-bf6e-4df8-a07e-bfaafdb056da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_f5081b38-f278-4a90-8ca6-c0a298f6fadf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_f5081b38-f278-4a90-8ca6-c0a298f6fadf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_01ee1825-f410-4845-b4a9-152c165bc715" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_01ee1825-f410-4845-b4a9-152c165bc715" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_b2ca19d9-65dd-4ac8-9e71-d942810ab4e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_b2ca19d9-65dd-4ac8-9e71-d942810ab4e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_8ece15f0-9051-40cd-93ea-84bc08097ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_AssetImpairmentCharges_8ece15f0-9051-40cd-93ea-84bc08097ad9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_676cb5b0-62d4-4a3d-91ae-51202f6645e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_676cb5b0-62d4-4a3d-91ae-51202f6645e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_8b36a5a5-2da5-4112-a7da-4ec23d14ad34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_c7427bc5-e353-49e9-bd66-c0a9e711d074" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_8b36a5a5-2da5-4112-a7da-4ec23d14ad34" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/RevenueScheduleofContractAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="pnr-20250331.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_09da806f-6a01-4956-b072-edcfebef4221" xlink:href="pnr-20250331.xsd#pnr_ContractWithCustomerAssetLiabilityNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_cca96a40-e38d-46d8-b6f5-c40cc9d9bec4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_09da806f-6a01-4956-b072-edcfebef4221" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_cca96a40-e38d-46d8-b6f5-c40cc9d9bec4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_83633648-271e-4be4-8fb7-be0e50bdca85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_09da806f-6a01-4956-b072-edcfebef4221" xlink:to="loc_us-gaap_ContractWithCustomerLiability_83633648-271e-4be4-8fb7-be0e50bdca85" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/RestructuringandTransformationProgramCostsIncludedinSellingGeneralAdministrativeExpensesDetail" xlink:type="simple" xlink:href="pnr-20250331.xsd#RestructuringandTransformationProgramCostsIncludedinSellingGeneralAdministrativeExpensesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/RestructuringandTransformationProgramCostsIncludedinSellingGeneralAdministrativeExpensesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TotalRestructuringAndTransformationCosts_4ae6bb7a-b61d-4779-82cc-f9d2929790f3" xlink:href="pnr-20250331.xsd#pnr_TotalRestructuringAndTransformationCosts"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_87f8bf45-62ea-4310-ac35-9c10318081f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_TotalRestructuringAndTransformationCosts_4ae6bb7a-b61d-4779-82cc-f9d2929790f3" xlink:to="loc_us-gaap_RestructuringCharges_87f8bf45-62ea-4310-ac35-9c10318081f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TransformationCosts_5daf570b-80db-4333-9f9d-b2f0150e353a" xlink:href="pnr-20250331.xsd#pnr_TransformationCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_TotalRestructuringAndTransformationCosts_4ae6bb7a-b61d-4779-82cc-f9d2929790f3" xlink:to="loc_pnr_TransformationCosts_5daf570b-80db-4333-9f9d-b2f0150e353a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/EarningsPerShareBasicandDilutedEarningsPerShareDetail" xlink:type="simple" xlink:href="pnr-20250331.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_57fe2aba-7739-4feb-b3f8-82fd4528d48d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_944183bb-5260-4d46-97c8-e356c9e5fd1e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_57fe2aba-7739-4feb-b3f8-82fd4528d48d" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_944183bb-5260-4d46-97c8-e356c9e5fd1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e9c33ae0-46d5-4c0c-9e65-6e75b7936f39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_57fe2aba-7739-4feb-b3f8-82fd4528d48d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e9c33ae0-46d5-4c0c-9e65-6e75b7936f39" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SupplementalBalanceSheetInformationDetail" xlink:type="simple" xlink:href="pnr-20250331.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_PropertyPlantAndEquipmentGross_20ac3783-9fd7-4c19-9f22-17ab9d0b98a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandAndLandImprovements_6a2e9a27-6ae2-4767-8bec-f94d153034a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_20ac3783-9fd7-4c19-9f22-17ab9d0b98a4" xlink:to="loc_us-gaap_LandAndLandImprovements_6a2e9a27-6ae2-4767-8bec-f94d153034a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_0da6b933-4442-4d6e-ae13-fba639bb0557" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_20ac3783-9fd7-4c19-9f22-17ab9d0b98a4" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_0da6b933-4442-4d6e-ae13-fba639bb0557" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_f5bed82e-776c-4b2f-88a3-6a3906a1c947" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_20ac3783-9fd7-4c19-9f22-17ab9d0b98a4" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_f5bed82e-776c-4b2f-88a3-6a3906a1c947" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareGross_10bfc25c-73c0-4247-9a5f-21b4fa4eeb7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_20ac3783-9fd7-4c19-9f22-17ab9d0b98a4" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareGross_10bfc25c-73c0-4247-9a5f-21b4fa4eeb7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_fdbea1da-0e94-46b9-944b-98295c57aa17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_20ac3783-9fd7-4c19-9f22-17ab9d0b98a4" xlink:to="loc_us-gaap_ConstructionInProgressGross_fdbea1da-0e94-46b9-944b-98295c57aa17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_e0e26099-f942-477c-99ce-a85182e25067" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_e0e26099-f942-477c-99ce-a85182e25067" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_AccruedFreight_fcae5267-a2e2-49b3-a932-2c8558fea4df" xlink:href="pnr-20250331.xsd#pnr_AccruedFreight"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_pnr_AccruedFreight_fcae5267-a2e2-49b3-a932-2c8558fea4df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_f20445e4-f52a-4ffb-aa23-c1226baa70cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringReserve"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_RestructuringReserve_f20445e4-f52a-4ffb-aa23-c1226baa70cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_b68ee105-d4b6-410a-ac5a-b1821f4dbfec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_DividendsPayableCurrent_b68ee105-d4b6-410a-ac5a-b1821f4dbfec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_8e283e6f-b2ce-4c82-83fe-0899fc6e774b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_8e283e6f-b2ce-4c82-83fe-0899fc6e774b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_c5197472-ae17-47f6-8003-e05022175a5a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_c5197472-ae17-47f6-8003-e05022175a5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_99abb194-1e3a-42b3-9e78-a5da63c5d927" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_99abb194-1e3a-42b3-9e78-a5da63c5d927" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_8a5b3be8-06a2-4860-8a68-c0faa6b10434" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_8a5b3be8-06a2-4860-8a68-c0faa6b10434" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_5158396a-20f5-4f70-8173-7d417d4dc5a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_5158396a-20f5-4f70-8173-7d417d4dc5a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_237b6ac4-ec9b-4960-9d89-6555c475556a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6e2c1f21-9321-4d46-9a1b-899f9461dced" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_237b6ac4-ec9b-4960-9d89-6555c475556a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_08bc0a6d-0cd9-4124-9f93-12831d6d0b61" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_30c72edf-9a07-4247-a923-9231f84ab107" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_08bc0a6d-0cd9-4124-9f93-12831d6d0b61" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_30c72edf-9a07-4247-a923-9231f84ab107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_5ea89b06-4e2e-4c3f-bd3e-5f1eea9c5294" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_08bc0a6d-0cd9-4124-9f93-12831d6d0b61" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_5ea89b06-4e2e-4c3f-bd3e-5f1eea9c5294" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveNoncurrent_13f838ac-3050-4916-b518-a3240393eaca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_08bc0a6d-0cd9-4124-9f93-12831d6d0b61" xlink:to="loc_us-gaap_SelfInsuranceReserveNoncurrent_13f838ac-3050-4916-b518-a3240393eaca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_6b306744-f158-4129-89a6-0013e319c602" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_08bc0a6d-0cd9-4124-9f93-12831d6d0b61" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_6b306744-f158-4129-89a6-0013e319c602" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermLiabilities_4bddb8ed-2b84-4852-966e-3cec6ed2f237" xlink:href="pnr-20250331.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_08bc0a6d-0cd9-4124-9f93-12831d6d0b61" xlink:to="loc_pnr_OtherLongTermLiabilities_4bddb8ed-2b84-4852-966e-3cec6ed2f237" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_68837fe0-eb5d-4785-89dc-682a0a80f1be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_08bc0a6d-0cd9-4124-9f93-12831d6d0b61" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_68837fe0-eb5d-4785-89dc-682a0a80f1be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_58a59577-2dd5-4bb2-8acb-b7a62b3add48" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_0a2807ed-1513-47ad-8bf2-92a26a3d9ffb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_58a59577-2dd5-4bb2-8acb-b7a62b3add48" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_0a2807ed-1513-47ad-8bf2-92a26a3d9ffb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0040c3f6-8b52-4bcc-8ca2-d65aff144828" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_58a59577-2dd5-4bb2-8acb-b7a62b3add48" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0040c3f6-8b52-4bcc-8ca2-d65aff144828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_2d9ece74-538a-4101-bda2-b6d035699259" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSupplies_2c773791-cc5a-4740-a3eb-754f3228610c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2d9ece74-538a-4101-bda2-b6d035699259" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSupplies_2c773791-cc5a-4740-a3eb-754f3228610c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_a7242d53-a849-4627-b217-7bab80850783" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2d9ece74-538a-4101-bda2-b6d035699259" xlink:to="loc_us-gaap_InventoryWorkInProcess_a7242d53-a849-4627-b217-7bab80850783" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_8666e108-bdee-4cae-b757-5e8c18fe58ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2d9ece74-538a-4101-bda2-b6d035699259" xlink:to="loc_us-gaap_InventoryFinishedGoods_8666e108-bdee-4cae-b757-5e8c18fe58ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9589d4cd-d236-446f-8877-3ece56b4e661" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_bdc31501-a0a7-482b-ac35-e002a70c4575" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9589d4cd-d236-446f-8877-3ece56b4e661" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_bdc31501-a0a7-482b-ac35-e002a70c4575" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermAssets_f6c63e79-5243-44b9-bdb7-75a5e2553b9c" xlink:href="pnr-20250331.xsd#pnr_OtherLongTermAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9589d4cd-d236-446f-8877-3ece56b4e661" xlink:to="loc_pnr_OtherLongTermAssets_f6c63e79-5243-44b9-bdb7-75a5e2553b9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_5d7dce5c-0886-42fa-859e-a5f790595acb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9589d4cd-d236-446f-8877-3ece56b4e661" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_5d7dce5c-0886-42fa-859e-a5f790595acb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_6f3158bc-d0b8-46fd-929c-4497c56eb576" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredCompensationPlanAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9589d4cd-d236-446f-8877-3ece56b4e661" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_6f3158bc-d0b8-46fd-929c-4497c56eb576" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_8286078c-1e1d-49ec-9491-4fecf00851e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_ae537075-5b47-4eae-a341-12893747023e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_8286078c-1e1d-49ec-9491-4fecf00851e7" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_ae537075-5b47-4eae-a341-12893747023e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherCurrentAssets_010da823-313f-4db3-8b71-9b5d75fc3423" xlink:href="pnr-20250331.xsd#pnr_OtherCurrentAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_8286078c-1e1d-49ec-9491-4fecf00851e7" xlink:to="loc_pnr_OtherCurrentAssets_010da823-313f-4db3-8b71-9b5d75fc3423" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_b4417397-e75f-4441-a9dc-7ea3a1e8ccbc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_8286078c-1e1d-49ec-9491-4fecf00851e7" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_b4417397-e75f-4441-a9dc-7ea3a1e8ccbc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetailofIdentifiableIntangibleAssetsDetail" xlink:type="simple" xlink:href="pnr-20250331.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_f9b2f4a4-5fe5-43ed-9ada-587e54a4fab4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_9082368e-1c1f-443e-a63f-3aac30bb46cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f9b2f4a4-5fe5-43ed-9ada-587e54a4fab4" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_9082368e-1c1f-443e-a63f-3aac30bb46cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_75f0edde-7fa3-439b-9502-4b62b24d71fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f9b2f4a4-5fe5-43ed-9ada-587e54a4fab4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_75f0edde-7fa3-439b-9502-4b62b24d71fb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtandAverageInterestRatesonDebtOutstandingDetail" xlink:type="simple" xlink:href="pnr-20250331.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_DebtLongtermAndShorttermCombinedAmount_d4d91541-5180-4fda-8f7b-d3d89093ea9c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_5f6ee65a-ec71-424a-8125-6682537418ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_d4d91541-5180-4fda-8f7b-d3d89093ea9c" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_5f6ee65a-ec71-424a-8125-6682537418ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnamortizedDebtIssuanceExpense_48d96717-4690-4cc4-8ab8-96c220296b10" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnamortizedDebtIssuanceExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_d4d91541-5180-4fda-8f7b-d3d89093ea9c" xlink:to="loc_us-gaap_UnamortizedDebtIssuanceExpense_48d96717-4690-4cc4-8ab8-96c220296b10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_463e3a10-6b69-414b-863e-925bd966abbf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherShortTermBorrowings"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_d4d91541-5180-4fda-8f7b-d3d89093ea9c" xlink:to="loc_us-gaap_OtherShortTermBorrowings_463e3a10-6b69-414b-863e-925bd966abbf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtandAverageInterestRatesonDebtOutstandingDetail_1" xlink:type="simple" xlink:href="pnr-20250331.xsd#DebtDebtandAverageInterestRatesonDebtOutstandingDetail_1"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DebtDebtandAverageInterestRatesonDebtOutstandingDetail_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_305abbf0-fbf0-4125-8ef0-8369e57e05ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_1a81493a-5613-4151-bb39-be4ec21e64e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_305abbf0-fbf0-4125-8ef0-8369e57e05ba" xlink:to="loc_us-gaap_LongTermDebt_1a81493a-5613-4151-bb39-be4ec21e64e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_92828107-9177-40c6-a3df-373efef6ba11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherShortTermBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_305abbf0-fbf0-4125-8ef0-8369e57e05ba" xlink:to="loc_us-gaap_OtherShortTermBorrowings_92828107-9177-40c6-a3df-373efef6ba11" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtOutstandingMaturesonCalendarYearBasisDetail" xlink:type="simple" xlink:href="pnr-20250331.xsd#DebtDebtOutstandingMaturesonCalendarYearBasisDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DebtDebtOutstandingMaturesonCalendarYearBasisDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_1d7e9a84-1259-41b4-aba4-f6427c1030f8" xlink:href="pnr-20250331.xsd#pnr_DebtLongTermAndShortTermCombinedAmountGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_cef1c16c-5cd3-4058-a8cc-d3157a5b8892" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_1d7e9a84-1259-41b4-aba4-f6427c1030f8" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_cef1c16c-5cd3-4058-a8cc-d3157a5b8892" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_2ee99947-3cc9-4c4a-ba79-31c66774872a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_1d7e9a84-1259-41b4-aba4-f6427c1030f8" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_2ee99947-3cc9-4c4a-ba79-31c66774872a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_d9f0cc6e-b16c-4e88-8dda-ea1a963f2634" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_1d7e9a84-1259-41b4-aba4-f6427c1030f8" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_d9f0cc6e-b16c-4e88-8dda-ea1a963f2634" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_d8da51aa-7921-45c8-be3a-d1db9f58259d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_1d7e9a84-1259-41b4-aba4-f6427c1030f8" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_d8da51aa-7921-45c8-be3a-d1db9f58259d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_5e85025d-b5e6-4ce2-8688-8117ff368892" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_1d7e9a84-1259-41b4-aba4-f6427c1030f8" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_5e85025d-b5e6-4ce2-8688-8117ff368892" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_7b3dbd30-f5a1-4b04-842e-a0203852094c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_1d7e9a84-1259-41b4-aba4-f6427c1030f8" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_7b3dbd30-f5a1-4b04-842e-a0203852094c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_82238b3f-c1a2-473d-bf4b-069a67a7c3e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_1d7e9a84-1259-41b4-aba4-f6427c1030f8" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_82238b3f-c1a2-473d-bf4b-069a67a7c3e3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesDetail" xlink:type="simple" xlink:href="pnr-20250331.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_f17c4f38-fe94-4bb8-8965-9515cb5c3036" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_85235113-e32d-4c92-afc2-2055d6ceff99" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f17c4f38-fe94-4bb8-8965-9515cb5c3036" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_85235113-e32d-4c92-afc2-2055d6ceff99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_147a31fe-e682-43f6-874e-aae9b2cf2456" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_f17c4f38-fe94-4bb8-8965-9515cb5c3036" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_147a31fe-e682-43f6-874e-aae9b2cf2456" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueDetail" xlink:type="simple" xlink:href="pnr-20250331.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_2fd295a1-8bb6-4daf-9f35-fc1702f87025" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_aa040929-5788-4427-a318-4cea6b132e05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_2fd295a1-8bb6-4daf-9f35-fc1702f87025" xlink:to="loc_us-gaap_DerivativeAssets_aa040929-5788-4427-a318-4cea6b132e05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ContingentEarnOutLiabilitiesFairValueDisclosure_2768d675-dadf-45b6-8972-5dca7e2df1de" xlink:href="pnr-20250331.xsd#pnr_ContingentEarnOutLiabilitiesFairValueDisclosure"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_2fd295a1-8bb6-4daf-9f35-fc1702f87025" xlink:to="loc_pnr_ContingentEarnOutLiabilitiesFairValueDisclosure_2768d675-dadf-45b6-8972-5dca7e2df1de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_57f228ca-9f14-43eb-9cc3-23fc278c6860" xlink:href="pnr-20250331.xsd#pnr_DeferredCompensationPlanAssetsFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_2fd295a1-8bb6-4daf-9f35-fc1702f87025" xlink:to="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_57f228ca-9f14-43eb-9cc3-23fc278c6860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_5845ef81-2a62-42aa-8161-f8f96b4659bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_2fd295a1-8bb6-4daf-9f35-fc1702f87025" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_5845ef81-2a62-42aa-8161-f8f96b4659bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansComponentsofNetPeriodicBenefitCostDetail" xlink:type="simple" xlink:href="pnr-20250331.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_76cf32ed-dd3a-4022-b2d9-16dc93055f9b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_580de6cc-3e90-438c-a928-ca2ab69b0c5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_76cf32ed-dd3a-4022-b2d9-16dc93055f9b" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_580de6cc-3e90-438c-a928-ca2ab69b0c5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_0b1f8a59-3fdd-4879-b9c4-1e352c4c0811" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_76cf32ed-dd3a-4022-b2d9-16dc93055f9b" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_0b1f8a59-3fdd-4879-b9c4-1e352c4c0811" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c92c668c-a0dd-4206-abfb-9bff427f85b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_76cf32ed-dd3a-4022-b2d9-16dc93055f9b" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c92c668c-a0dd-4206-abfb-9bff427f85b4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SegmentInformationReconciliationofIncomefromContinuingOperationsfromSegmentstoConsolidatedDetails" xlink:type="simple" xlink:href="pnr-20250331.xsd#SegmentInformationReconciliationofIncomefromContinuingOperationsfromSegmentstoConsolidatedDetails"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/SegmentInformationReconciliationofIncomefromContinuingOperationsfromSegmentstoConsolidatedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_LegalSettlementAndAccrualAdjustments_4c885bf8-e984-4429-96ff-a8aecdcb4a40" xlink:href="pnr-20250331.xsd#pnr_LegalSettlementAndAccrualAdjustments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:to="loc_pnr_LegalSettlementAndAccrualAdjustments_4c885bf8-e984-4429-96ff-a8aecdcb4a40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TransformationCosts_1d3a0e0e-a59c-48d1-a5a7-048fd015c105" xlink:href="pnr-20250331.xsd#pnr_TransformationCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:to="loc_pnr_TransformationCosts_1d3a0e0e-a59c-48d1-a5a7-048fd015c105" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRevenueExpenseNet_71cb6d46-7794-49f4-a0be-f2822f87d1f6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRevenueExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:to="loc_us-gaap_InterestRevenueExpenseNet_71cb6d46-7794-49f4-a0be-f2822f87d1f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_469b3fca-ae7d-49db-ae90-dbfbf56c33b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:to="loc_us-gaap_OtherExpenses_469b3fca-ae7d-49db-ae90-dbfbf56c33b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_f3977b17-d13d-49cb-9c08-9d4e9a36cee7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:to="loc_us-gaap_OperatingIncomeLoss_f3977b17-d13d-49cb-9c08-9d4e9a36cee7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_854c7fee-a8a9-465b-bf12-e621fd53404b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_854c7fee-a8a9-465b-bf12-e621fd53404b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_929e6240-2924-4e64-97fe-f6651c681a37" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:to="loc_us-gaap_RestructuringCharges_929e6240-2924-4e64-97fe-f6651c681a37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_decd8501-553c-43df-a9fb-97ef51c8a285" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09645f4e-e395-4fec-aba7-c522fefbcbeb" xlink:to="loc_us-gaap_AssetImpairmentCharges_decd8501-553c-43df-a9fb-97ef51c8a285" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
