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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:d204e1a1-e359-45ff-b314-57503e448e1e,g:775cc2ad-b98e-4b5d-ba18-558bb2525c84-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.pentair.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="simple" xlink:href="pnr-20241231.xsd#ConsolidatedStatementsofOperationsandComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_704250b6-4a7c-4a40-9164-36c182af00f8" 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_f212132a-7b0c-420d-baf6-c1c8397a3de5" 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_704250b6-4a7c-4a40-9164-36c182af00f8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_f212132a-7b0c-420d-baf6-c1c8397a3de5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_79a52a36-112d-4675-892c-0d2e89eacfb4" 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_704250b6-4a7c-4a40-9164-36c182af00f8" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_79a52a36-112d-4675-892c-0d2e89eacfb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_f24f4eaa-53e1-4a0e-9212-aaf8737c57cf" 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_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_c02dbe16-fe21-46eb-bb0e-8a0eb001436c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f24f4eaa-53e1-4a0e-9212-aaf8737c57cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_c02dbe16-fe21-46eb-bb0e-8a0eb001436c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_896e7e2b-5998-4c07-9669-35fc8d64c805" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f24f4eaa-53e1-4a0e-9212-aaf8737c57cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_896e7e2b-5998-4c07-9669-35fc8d64c805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_45be30e4-5b6e-4d85-84a8-e057a1e1a4a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f24f4eaa-53e1-4a0e-9212-aaf8737c57cf" xlink:to="loc_us-gaap_ProfitLoss_45be30e4-5b6e-4d85-84a8-e057a1e1a4a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_d05b47a6-5381-4450-8662-f2399b00778f" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_49cb125c-e9b6-46a5-bddb-78e182c0cf65" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_d05b47a6-5381-4450-8662-f2399b00778f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_49cb125c-e9b6-46a5-bddb-78e182c0cf65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d72dbc00-b6c8-4c3a-85ec-03a7e623d4f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_d05b47a6-5381-4450-8662-f2399b00778f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_d72dbc00-b6c8-4c3a-85ec-03a7e623d4f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_8510c240-b0bc-49f3-8c03-6f93778fc5e1" 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_5bb83a03-2bd2-4ce0-86fe-e0b7a14ddff9" 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_8510c240-b0bc-49f3-8c03-6f93778fc5e1" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_5bb83a03-2bd2-4ce0-86fe-e0b7a14ddff9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_aad55913-01aa-441d-b9d2-09979323e350" 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_8510c240-b0bc-49f3-8c03-6f93778fc5e1" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicShare_aad55913-01aa-441d-b9d2-09979323e350" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6f9bcc59-42a7-4e8d-934f-a0833bea7551" 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_InterestIncomeExpenseNet_c941516d-66d9-43d6-addb-4adf8ab6dc60" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6f9bcc59-42a7-4e8d-934f-a0833bea7551" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_c941516d-66d9-43d6-addb-4adf8ab6dc60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_b545ef7f-6eba-4b0e-9ef8-3c799570c372" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6f9bcc59-42a7-4e8d-934f-a0833bea7551" xlink:to="loc_us-gaap_OperatingIncomeLoss_b545ef7f-6eba-4b0e-9ef8-3c799570c372" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_571382dc-8458-4b92-b53a-e7948a05cfb1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_6f9bcc59-42a7-4e8d-934f-a0833bea7551" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_571382dc-8458-4b92-b53a-e7948a05cfb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_b79a0a2f-385e-408c-9138-d88d4fceb55d" 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_RevenueFromContractWithCustomerExcludingAssessedTax_a8b6d9fd-9bf2-4657-84d1-ddbd1cd367cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_b79a0a2f-385e-408c-9138-d88d4fceb55d" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_a8b6d9fd-9bf2-4657-84d1-ddbd1cd367cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_7f1987f1-fbae-4539-a378-f9425a6d15d9" 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_b79a0a2f-385e-408c-9138-d88d4fceb55d" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_7f1987f1-fbae-4539-a378-f9425a6d15d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_db8c2ae9-51f4-4d79-af02-ef6b8b32905a" 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_ea6c1f54-fbee-4ca7-8ad0-555d0e7ede9f" 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_db8c2ae9-51f4-4d79-af02-ef6b8b32905a" xlink:to="loc_us-gaap_GrossProfit_ea6c1f54-fbee-4ca7-8ad0-555d0e7ede9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_839c00b6-bfeb-492b-bda6-5a76f4fa36e3" 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_db8c2ae9-51f4-4d79-af02-ef6b8b32905a" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_839c00b6-bfeb-492b-bda6-5a76f4fa36e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_0c52575f-593f-41c0-8ffc-67879a55d9fb" 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_db8c2ae9-51f4-4d79-af02-ef6b8b32905a" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_0c52575f-593f-41c0-8ffc-67879a55d9fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c9ab43af-9c68-4304-b058-30b397b7c0e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_8d362ad3-fb41-4510-bc76-7e51ab42db55" 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_NetIncomeLoss_c9ab43af-9c68-4304-b058-30b397b7c0e7" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_8d362ad3-fb41-4510-bc76-7e51ab42db55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_5f6435e4-4a32-4543-bb09-1b8b39907e25" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_c9ab43af-9c68-4304-b058-30b397b7c0e7" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_5f6435e4-4a32-4543-bb09-1b8b39907e25" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="pnr-20241231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_c35c508f-f7e2-4564-b663-07f353c4caf3" 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_OtherAssetsCurrent_1fbc7950-25ab-48b5-a5f3-66564d0e9c44" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c35c508f-f7e2-4564-b663-07f353c4caf3" xlink:to="loc_us-gaap_OtherAssetsCurrent_1fbc7950-25ab-48b5-a5f3-66564d0e9c44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_5b32f4a0-45fd-4f4a-b675-d0aaf63863d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c35c508f-f7e2-4564-b663-07f353c4caf3" xlink:to="loc_us-gaap_InventoryNet_5b32f4a0-45fd-4f4a-b675-d0aaf63863d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsAndNotesReceivableNet_b0ac40d7-3edf-4884-9f14-3cee52aef13a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsAndNotesReceivableNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c35c508f-f7e2-4564-b663-07f353c4caf3" xlink:to="loc_us-gaap_AccountsAndNotesReceivableNet_b0ac40d7-3edf-4884-9f14-3cee52aef13a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_6a12c07b-4cdd-4046-9ad8-ef37cf5a5331" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_c35c508f-f7e2-4564-b663-07f353c4caf3" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_6a12c07b-4cdd-4046-9ad8-ef37cf5a5331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_46539183-0bf8-4072-9cbe-203ef1dcf2fd" 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_8e57ed7d-de33-4ecc-8d6b-372a65a0570f" 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_46539183-0bf8-4072-9cbe-203ef1dcf2fd" xlink:to="loc_us-gaap_AssetsCurrent_8e57ed7d-de33-4ecc-8d6b-372a65a0570f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_3f2c6583-9fc7-4992-9b62-85abaafced72" 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_46539183-0bf8-4072-9cbe-203ef1dcf2fd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_3f2c6583-9fc7-4992-9b62-85abaafced72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_95fdfce5-9062-4a57-aa72-a546e6895e8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_46539183-0bf8-4072-9cbe-203ef1dcf2fd" xlink:to="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_95fdfce5-9062-4a57-aa72-a546e6895e8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_20f84bdd-28b8-49dd-b3e7-86431f6f4210" 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_4f2c2058-45e4-462d-bf08-e6a0de86fcf9" 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_20f84bdd-28b8-49dd-b3e7-86431f6f4210" xlink:to="loc_us-gaap_CommonStockValueOutstanding_4f2c2058-45e4-462d-bf08-e6a0de86fcf9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_768ecf76-cdc6-4c7d-ab46-fae5d02b4303" 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_20f84bdd-28b8-49dd-b3e7-86431f6f4210" xlink:to="loc_us-gaap_AdditionalPaidInCapital_768ecf76-cdc6-4c7d-ab46-fae5d02b4303" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b1743190-4869-4584-8273-d4ee30d8b070" 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_20f84bdd-28b8-49dd-b3e7-86431f6f4210" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b1743190-4869-4584-8273-d4ee30d8b070" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9b73754c-6e8f-4d30-a6b8-e5f816beb3c4" 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_20f84bdd-28b8-49dd-b3e7-86431f6f4210" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9b73754c-6e8f-4d30-a6b8-e5f816beb3c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_ae5ad61b-72a8-4b93-b85f-98360e6efdc5" 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_a0f71692-14cf-4ee1-ab46-2b207845df1c" 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_ae5ad61b-72a8-4b93-b85f-98360e6efdc5" xlink:to="loc_us-gaap_AccountsPayableCurrent_a0f71692-14cf-4ee1-ab46-2b207845df1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_201225fb-3c34-4d65-aff2-784510fd3353" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_ae5ad61b-72a8-4b93-b85f-98360e6efdc5" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_201225fb-3c34-4d65-aff2-784510fd3353" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_653963a6-4f20-492c-b2a5-d4f45c1b6164" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_ae5ad61b-72a8-4b93-b85f-98360e6efdc5" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_653963a6-4f20-492c-b2a5-d4f45c1b6164" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_bdea047a-beaa-4fd6-aab6-6d8203f632e3" 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_ae5ad61b-72a8-4b93-b85f-98360e6efdc5" xlink:to="loc_us-gaap_OtherShortTermBorrowings_bdea047a-beaa-4fd6-aab6-6d8203f632e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_85252ab1-e9a5-415c-8092-2eeb165fc207" 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_b0f1a6a0-13af-4d4e-a8f2-ba799f9e3409" 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_85252ab1-e9a5-415c-8092-2eeb165fc207" xlink:to="loc_us-gaap_Liabilities_b0f1a6a0-13af-4d4e-a8f2-ba799f9e3409" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8986179a-9e99-4902-ba26-2edd6656a6a5" 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_85252ab1-e9a5-415c-8092-2eeb165fc207" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8986179a-9e99-4902-ba26-2edd6656a6a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_ea3361ab-d2c6-4a08-94cd-85ff19b133b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_4a96a526-db9a-49a5-a0b6-09436a67fe3a" 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_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_ea3361ab-d2c6-4a08-94cd-85ff19b133b0" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_4a96a526-db9a-49a5-a0b6-09436a67fe3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_f58009c7-5398-42e8-b70c-c062591cc954" 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_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_ea3361ab-d2c6-4a08-94cd-85ff19b133b0" xlink:to="loc_us-gaap_Goodwill_f58009c7-5398-42e8-b70c-c062591cc954" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_b46d8325-94a6-4c58-961c-a8f6a71b0be5" 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_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment_ea3361ab-d2c6-4a08-94cd-85ff19b133b0" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_b46d8325-94a6-4c58-961c-a8f6a71b0be5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_63cce3aa-aaec-43b1-adec-846e25e036ac" 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_9ba94e66-44f7-455c-9759-af19a1acc070" 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_63cce3aa-aaec-43b1-adec-846e25e036ac" xlink:to="loc_us-gaap_LiabilitiesCurrent_9ba94e66-44f7-455c-9759-af19a1acc070" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_456b49ec-f217-474e-95c1-06484d889344" 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_63cce3aa-aaec-43b1-adec-846e25e036ac" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_456b49ec-f217-474e-95c1-06484d889344" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_2bce77c8-22b9-4655-988d-529ce8a07fb8" 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_63cce3aa-aaec-43b1-adec-846e25e036ac" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_2bce77c8-22b9-4655-988d-529ce8a07fb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_c325a190-583f-4b4a-a350-63c97aae714e" 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_63cce3aa-aaec-43b1-adec-846e25e036ac" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_c325a190-583f-4b4a-a350-63c97aae714e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_9e261a49-dd87-4d6e-90fe-e49a39920883" 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_63cce3aa-aaec-43b1-adec-846e25e036ac" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_9e261a49-dd87-4d6e-90fe-e49a39920883" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="pnr-20241231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96360e57-b684-4f91-9929-0b0776de2290" 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_PaymentsForRepurchaseOfCommonStock_00925799-224b-461f-85bd-a872ea7e00a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_00925799-224b-461f-85bd-a872ea7e00a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_7933470e-45f5-4a7b-ab81-ccb87c6371e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromHedgeFinancingActivities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_7933470e-45f5-4a7b-ab81-ccb87c6371e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_4ea06b1e-636f-4730-8400-1e49cb220647" 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_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_4ea06b1e-636f-4730-8400-1e49cb220647" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_f31b9198-459c-452e-bc86-2e9040489a53" 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_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_f31b9198-459c-452e-bc86-2e9040489a53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_1e06f74e-a195-4956-903a-5d1d15439dbb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_1e06f74e-a195-4956-903a-5d1d15439dbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_5c428c6c-098b-4f53-9251-2159921b501c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_5c428c6c-098b-4f53-9251-2159921b501c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_1c9216d0-34ea-4324-88b3-d0b8eadabebd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_1c9216d0-34ea-4324-88b3-d0b8eadabebd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld_37d8eeda-1da4-4cdf-86e2-47ad7a6ceea3" xlink:href="pnr-20241231.xsd#pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_pnr_ProceedsIssuanceOfSharesShareBasedPaymentArrangementIncludingOptionExercisedNetOfSharesWithheld_37d8eeda-1da4-4cdf-86e2-47ad7a6ceea3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_507845e5-72a9-4e39-94c9-7eef2cdd922f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromShortTermDebt"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_96360e57-b684-4f91-9929-0b0776de2290" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_507845e5-72a9-4e39-94c9-7eef2cdd922f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2fb18573-6af3-4609-82d9-2f07934dbf45" 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_PaymentsToAcquireBusinessesNetOfCashAcquired_0dd212cf-e78a-4f0a-b5c6-371bddfb2c60" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2fb18573-6af3-4609-82d9-2f07934dbf45" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_0dd212cf-e78a-4f0a-b5c6-371bddfb2c60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_33d408fd-b2de-418a-bb40-02d08783c197" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2fb18573-6af3-4609-82d9-2f07934dbf45" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_33d408fd-b2de-418a-bb40-02d08783c197" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_543ac8fb-f7c0-43b1-af2d-42589d865df7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2fb18573-6af3-4609-82d9-2f07934dbf45" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_543ac8fb-f7c0-43b1-af2d-42589d865df7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_aa0cad51-bd15-40cd-99f2-9c8e622fa56e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2fb18573-6af3-4609-82d9-2f07934dbf45" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_aa0cad51-bd15-40cd-99f2-9c8e622fa56e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeInvestingActivities_82b128b5-51e0-474d-b8d3-85b74f5472ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromHedgeInvestingActivities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2fb18573-6af3-4609-82d9-2f07934dbf45" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeInvestingActivities_82b128b5-51e0-474d-b8d3-85b74f5472ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5414edda-64da-4a25-bb37-fb92d06731ed" 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_d53471ab-0058-48e0-9949-0cab09fe801c" 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_5414edda-64da-4a25-bb37-fb92d06731ed" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_d53471ab-0058-48e0-9949-0cab09fe801c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_c6a1ccd7-b54b-4c23-92e1-f7741e7b8ea8" 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_5414edda-64da-4a25-bb37-fb92d06731ed" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_c6a1ccd7-b54b-4c23-92e1-f7741e7b8ea8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_718377a0-7e84-42ae-82c0-85aa47542ac0" 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_NetCashProvidedByUsedInFinancingActivities_cd1a3c3f-4949-40c3-9a57-571586aff19c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_718377a0-7e84-42ae-82c0-85aa47542ac0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cd1a3c3f-4949-40c3-9a57-571586aff19c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f1b961b5-3b51-468c-8a7a-13b3e9087d04" 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_718377a0-7e84-42ae-82c0-85aa47542ac0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f1b961b5-3b51-468c-8a7a-13b3e9087d04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_63c36ad5-7a4c-4cea-a209-603bd04ef0d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_718377a0-7e84-42ae-82c0-85aa47542ac0" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_63c36ad5-7a4c-4cea-a209-603bd04ef0d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_42401cb8-24bb-4fa9-be7d-a8c56d48ee31" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_718377a0-7e84-42ae-82c0-85aa47542ac0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_42401cb8-24bb-4fa9-be7d-a8c56d48ee31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" 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_ProfitLoss_9c8ca296-7a0d-4bac-ac19-7a555c7dc22b" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_ProfitLoss_9c8ca296-7a0d-4bac-ac19-7a555c7dc22b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_cdfd84fd-eac2-4dce-8a2c-795c6146924f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_cdfd84fd-eac2-4dce-8a2c-795c6146924f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_e48bac34-02bf-42d8-bcf7-8a492286c686" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_e48bac34-02bf-42d8-bcf7-8a492286c686" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_b5ac0e63-070d-466b-a7c8-0eda18caf9b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_Depreciation_b5ac0e63-070d-466b-a7c8-0eda18caf9b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_83024d01-5719-41ad-bc06-45b34666f3b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_83024d01-5719-41ad-bc06-45b34666f3b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_6602d764-d91c-47d3-aca2-0188447887cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_6602d764-d91c-47d3-aca2-0188447887cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_52bbb959-87d1-4057-a9fa-eb7b950bc263" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_ShareBasedCompensation_52bbb959-87d1-4057-a9fa-eb7b950bc263" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_1d42a50e-0ac1-4279-bb33-ad04ee683584" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_AssetImpairmentCharges_1d42a50e-0ac1-4279-bb33-ad04ee683584" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_7c682da5-5e56-40e0-a27a-fcee2b39abfb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_7c682da5-5e56-40e0-a27a-fcee2b39abfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_49f0cdbb-e458-4187-8e2f-d026b4bc90e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementBenefitContributions"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_49f0cdbb-e458-4187-8e2f-d026b4bc90e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4552d5a0-3cd3-4565-81f2-b173c900d2c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4552d5a0-3cd3-4565-81f2-b173c900d2c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_d09bb05d-da29-4592-b31f-e56e3be7eca2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_d09bb05d-da29-4592-b31f-e56e3be7eca2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_cfbac17a-2d4f-4263-88ec-93865b1babcb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_cfbac17a-2d4f-4263-88ec-93865b1babcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_22ff0b18-6e9e-403a-827f-31d705e4dd81" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_22ff0b18-6e9e-403a-827f-31d705e4dd81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_bca59d3d-9945-427f-980b-b0d967651973" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherEmployeeRelatedLiabilities_bca59d3d-9945-427f-980b-b0d967651973" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_5f526e7c-ed72-40b8-ad81-a4b3db45e2a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherCurrentLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_5f526e7c-ed72-40b8-ad81-a4b3db45e2a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_29315320-54cf-4f1b-a287-b23d40d6783f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_29315320-54cf-4f1b-a287-b23d40d6783f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_3c026747-7641-40a7-bdcb-38fc7f260d57" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_3c026747-7641-40a7-bdcb-38fc7f260d57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherAssets_1ad00a5c-8067-463c-9ee3-68eae98b34bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfOtherAssets"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ba2b3da3-c27f-40dd-9455-4fa4f5b03b59" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherAssets_1ad00a5c-8067-463c-9ee3-68eae98b34bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContractAssetsandLiabilitiesDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContractAssetsandLiabilitiesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContractAssetsandLiabilitiesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ContractWithCustomerAssetLiabilityNet_71f912d5-22e2-4bd9-a6ae-2e883aa66178" xlink:href="pnr-20241231.xsd#pnr_ContractWithCustomerAssetLiabilityNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_7cc433fe-659a-440d-a252-288010eca9d7" 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_71f912d5-22e2-4bd9-a6ae-2e883aa66178" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_7cc433fe-659a-440d-a252-288010eca9d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_68bdf475-ea3e-45c8-99d9-af17e954a5bf" 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_71f912d5-22e2-4bd9-a6ae-2e883aa66178" xlink:to="loc_us-gaap_ContractWithCustomerLiability_68bdf475-ea3e-45c8-99d9-af17e954a5bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="pnr-20241231.xsd#AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_442c399f-5d33-4646-b0f5-ce88082f7603" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_442c399f-5d33-4646-b0f5-ce88082f7603" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_f38b207f-1242-46f2-9134-63591be88a82" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_f38b207f-1242-46f2-9134-63591be88a82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_c9b3b9ee-4269-4215-a572-0fc2d34e0a3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_c9b3b9ee-4269-4215-a572-0fc2d34e0a3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_f3372f70-3cf7-453b-88ae-cd38b717e29c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_f3372f70-3cf7-453b-88ae-cd38b717e29c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_36f58cd2-46f8-4408-8283-1a49e00c5696" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_Goodwill_36f58cd2-46f8-4408-8283-1a49e00c5696" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_7b7aa223-ee93-4879-bdde-3cb93e952068" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_7b7aa223-ee93-4879-bdde-3cb93e952068" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_a4b19732-8ae9-4a5c-9281-abf7e88ba70e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_a4b19732-8ae9-4a5c-9281-abf7e88ba70e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_d2c30d1b-0a9f-47ac-9dad-9243d40d14c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_d2c30d1b-0a9f-47ac-9dad-9243d40d14c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_3a7913e5-34d1-4207-bf60-2531d18b9217" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_3a7913e5-34d1-4207-bf60-2531d18b9217" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_ba624101-e18c-4ab2-ad17-8610110c7da7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d7158efa-393a-4be9-a6e4-27e1d32b4bb6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_ba624101-e18c-4ab2-ad17-8610110c7da7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/EarningsPerShareDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#EarningsPerShareDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/EarningsPerShareDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_81acd4a1-bccf-4fd6-9cf2-5a7a72f74fb2" 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_426f59cd-15ea-4e77-833e-63a5a28f41d0" 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_81acd4a1-bccf-4fd6-9cf2-5a7a72f74fb2" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_426f59cd-15ea-4e77-833e-63a5a28f41d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_1da7b3df-75c0-4c0a-bb51-a10b1d3088f0" 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_81acd4a1-bccf-4fd6-9cf2-5a7a72f74fb2" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_1da7b3df-75c0-4c0a-bb51-a10b1d3088f0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/RestructuringandTransformationProgramCostsIncludedinSellingGeneralAdministrativeexpensesonConsolidatedStatementsofIncomeDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#RestructuringandTransformationProgramCostsIncludedinSellingGeneralAdministrativeexpensesonConsolidatedStatementsofIncomeDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/RestructuringandTransformationProgramCostsIncludedinSellingGeneralAdministrativeexpensesonConsolidatedStatementsofIncomeDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TotalRestructuringAndTransformationCosts_56ad97ca-f9a3-40a2-b25d-419715f0397a" xlink:href="pnr-20241231.xsd#pnr_TotalRestructuringAndTransformationCosts"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TransformationCosts_4be7d0ca-bf93-4dc2-aa62-b71cecf664a6" xlink:href="pnr-20241231.xsd#pnr_TransformationCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_TotalRestructuringAndTransformationCosts_56ad97ca-f9a3-40a2-b25d-419715f0397a" xlink:to="loc_pnr_TransformationCosts_4be7d0ca-bf93-4dc2-aa62-b71cecf664a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_0fb49cf6-d1cc-45ab-b277-bf2459591333" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_TotalRestructuringAndTransformationCosts_56ad97ca-f9a3-40a2-b25d-419715f0397a" xlink:to="loc_us-gaap_RestructuringCharges_0fb49cf6-d1cc-45ab-b277-bf2459591333" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/GoodwillandOtherIdentifiableIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#GoodwillandOtherIdentifiableIntangibleAssetsIdentifiableIntangibleAssetsDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/GoodwillandOtherIdentifiableIntangibleAssetsIdentifiableIntangibleAssetsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b4e3e749-79ef-45e2-842b-ed9a290c9ee6" 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_FiniteLivedIntangibleAssetsNet_e7d36ae4-6804-445b-a6e0-8a20ff2bba0c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b4e3e749-79ef-45e2-842b-ed9a290c9ee6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e7d36ae4-6804-445b-a6e0-8a20ff2bba0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_7be92439-b205-47e0-aa9b-3181f323caca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b4e3e749-79ef-45e2-842b-ed9a290c9ee6" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_7be92439-b205-47e0-aa9b-3181f323caca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_21edb74a-01f4-4661-9f3d-9ec1e415c878" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_09300c53-0772-476e-bf3a-bfc6eff67b55" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_21edb74a-01f4-4661-9f3d-9ec1e415c878" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_09300c53-0772-476e-bf3a-bfc6eff67b55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_cb2f5041-f27e-44b9-a87d-6e44b8263b80" 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_FiniteLivedIntangibleAssetsNet_21edb74a-01f4-4661-9f3d-9ec1e415c878" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_cb2f5041-f27e-44b9-a87d-6e44b8263b80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_ce7c8512-15fc-4f2e-8bdd-ee4cf9ef33f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_45bd4c04-9738-4f32-92f3-086db0912ca9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_ce7c8512-15fc-4f2e-8bdd-ee4cf9ef33f0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_45bd4c04-9738-4f32-92f3-086db0912ca9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_740b107d-b27c-4888-837c-17a51c62a0a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_ce7c8512-15fc-4f2e-8bdd-ee4cf9ef33f0" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_740b107d-b27c-4888-837c-17a51c62a0a7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SupplementalBalanceSheetInformationDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#SupplementalBalanceSheetInformationDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/SupplementalBalanceSheetInformationDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_64c9e88c-0bdd-4df6-a6ef-c2b4508644ac" 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_24e2ff03-45a2-44d6-af35-d6c93d877de7" 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_64c9e88c-0bdd-4df6-a6ef-c2b4508644ac" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_24e2ff03-45a2-44d6-af35-d6c93d877de7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0bd43e76-7053-416a-8b13-48f277cb78d3" 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_64c9e88c-0bdd-4df6-a6ef-c2b4508644ac" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0bd43e76-7053-416a-8b13-48f277cb78d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_37479d5a-fd8d-4913-9032-224d172a3fda" 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_17c1331a-1bc8-4095-9f03-a2649319fd97" 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_37479d5a-fd8d-4913-9032-224d172a3fda" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_17c1331a-1bc8-4095-9f03-a2649319fd97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_30aef3af-36db-4e60-849d-79f44c12e82a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_37479d5a-fd8d-4913-9032-224d172a3fda" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_30aef3af-36db-4e60-849d-79f44c12e82a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermLiabilities_80602417-b73e-42e1-a00e-32466653382e" xlink:href="pnr-20241231.xsd#pnr_OtherLongTermLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_37479d5a-fd8d-4913-9032-224d172a3fda" xlink:to="loc_pnr_OtherLongTermLiabilities_80602417-b73e-42e1-a00e-32466653382e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_d0651aeb-cf38-4dd2-b68e-ab9db67ec6bc" 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_37479d5a-fd8d-4913-9032-224d172a3fda" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_d0651aeb-cf38-4dd2-b68e-ab9db67ec6bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_24e4923b-b114-48b8-b20f-2772e6693229" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_37479d5a-fd8d-4913-9032-224d172a3fda" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_24e4923b-b114-48b8-b20f-2772e6693229" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveNoncurrent_0ad4e0cb-40ad-45a1-b8c5-42b6fc8df922" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SelfInsuranceReserveNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_37479d5a-fd8d-4913-9032-224d172a3fda" xlink:to="loc_us-gaap_SelfInsuranceReserveNoncurrent_0ad4e0cb-40ad-45a1-b8c5-42b6fc8df922" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9b701ebf-08de-4f55-ae35-23e53d3c8d18" 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_pnr_Prepaidtaxeslongterm_6e3b3058-d6cc-4080-99bd-c87f99138905" xlink:href="pnr-20241231.xsd#pnr_Prepaidtaxeslongterm"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9b701ebf-08de-4f55-ae35-23e53d3c8d18" xlink:to="loc_pnr_Prepaidtaxeslongterm_6e3b3058-d6cc-4080-99bd-c87f99138905" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_d2d0a718-0009-498a-9275-e9a87572be4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredCompensationPlanAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9b701ebf-08de-4f55-ae35-23e53d3c8d18" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_d2d0a718-0009-498a-9275-e9a87572be4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_OtherLongTermAssets_c888a821-3b55-4745-a3fb-0ac4e2989c28" xlink:href="pnr-20241231.xsd#pnr_OtherLongTermAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9b701ebf-08de-4f55-ae35-23e53d3c8d18" xlink:to="loc_pnr_OtherLongTermAssets_c888a821-3b55-4745-a3fb-0ac4e2989c28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_75c7c9d1-9db4-4ef0-9d94-4005de06ac73" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_9b701ebf-08de-4f55-ae35-23e53d3c8d18" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_75c7c9d1-9db4-4ef0-9d94-4005de06ac73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_1f5cda9d-a494-427c-9b5f-d5f0a4db52db" 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_MachineryAndEquipmentGross_c8399e3e-fd9c-4b7e-a031-9797f8c7a094" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_1f5cda9d-a494-427c-9b5f-d5f0a4db52db" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_c8399e3e-fd9c-4b7e-a031-9797f8c7a094" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareGross_813826a7-5f48-4e97-8822-8d684b097416" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CapitalizedComputerSoftwareGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_1f5cda9d-a494-427c-9b5f-d5f0a4db52db" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareGross_813826a7-5f48-4e97-8822-8d684b097416" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_8a06ea19-54f0-46b8-9334-086dfbff187e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_1f5cda9d-a494-427c-9b5f-d5f0a4db52db" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_8a06ea19-54f0-46b8-9334-086dfbff187e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandAndLandImprovements_741d7b5d-5d1f-4137-973b-e2391b8dc291" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LandAndLandImprovements"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_1f5cda9d-a494-427c-9b5f-d5f0a4db52db" xlink:to="loc_us-gaap_LandAndLandImprovements_741d7b5d-5d1f-4137-973b-e2391b8dc291" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_85b60f18-c9b9-4636-b3ea-5875fa70021e" 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_1f5cda9d-a494-427c-9b5f-d5f0a4db52db" xlink:to="loc_us-gaap_ConstructionInProgressGross_85b60f18-c9b9-4636-b3ea-5875fa70021e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_f13a2ad3-1071-4522-b46f-8b7ac4fd0c92" 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_83a5fa96-fd03-43d6-9a64-9241ec67dc50" 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_f13a2ad3-1071-4522-b46f-8b7ac4fd0c92" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSupplies_83a5fa96-fd03-43d6-9a64-9241ec67dc50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_520743f6-4c92-440c-b9c1-afd7bc4c5ece" 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_f13a2ad3-1071-4522-b46f-8b7ac4fd0c92" xlink:to="loc_us-gaap_InventoryWorkInProcess_520743f6-4c92-440c-b9c1-afd7bc4c5ece" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_967873f7-f594-4647-83f5-917c82b56a48" 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_f13a2ad3-1071-4522-b46f-8b7ac4fd0c92" xlink:to="loc_us-gaap_InventoryFinishedGoods_967873f7-f594-4647-83f5-917c82b56a48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_12e8e29b-9369-4647-9a37-f3353aaba253" 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_pnr_OtherCurrentAssets_ac216c4d-38dd-4e08-83c6-07aea926ce51" xlink:href="pnr-20241231.xsd#pnr_OtherCurrentAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_12e8e29b-9369-4647-9a37-f3353aaba253" xlink:to="loc_pnr_OtherCurrentAssets_ac216c4d-38dd-4e08-83c6-07aea926ce51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_6c037dfc-b0bc-4ce0-94ef-0559d6f21e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_12e8e29b-9369-4647-9a37-f3353aaba253" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_6c037dfc-b0bc-4ce0-94ef-0559d6f21e5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_c7de07dd-1a5e-4461-8310-09c4e7c4c2b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPrepaidExpenseCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_12e8e29b-9369-4647-9a37-f3353aaba253" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_c7de07dd-1a5e-4461-8310-09c4e7c4c2b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" 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_DividendsPayableCurrent_2c43edb4-b0ce-4b9f-8e72-b0f052a00ce7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_DividendsPayableCurrent_2c43edb4-b0ce-4b9f-8e72-b0f052a00ce7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_AccruedFreight_3279b563-40b6-48b2-b65f-bce98f192e2c" xlink:href="pnr-20241231.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_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_pnr_AccruedFreight_3279b563-40b6-48b2-b65f-bce98f192e2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_2109c02c-1d9d-4db8-bfc4-a632a66d2487" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TaxesPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_TaxesPayableCurrentAndNoncurrent_2109c02c-1d9d-4db8-bfc4-a632a66d2487" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_72f78309-3d3f-42bd-9fb4-63cccdcc530a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_72f78309-3d3f-42bd-9fb4-63cccdcc530a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_1853fb44-13ee-4320-acf9-2da8592ecef9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_1853fb44-13ee-4320-acf9-2da8592ecef9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_9d5c9894-1469-44f0-8263-f8e4788a3d5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_AccruedExchangeFeeRebateCurrentAndNoncurrent_9d5c9894-1469-44f0-8263-f8e4788a3d5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_05d5ce22-ea4c-4aac-ad12-f3510ffa949c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_05d5ce22-ea4c-4aac-ad12-f3510ffa949c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_c320a26d-80a6-46ba-9a60-e65bbcf51d56" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_c320a26d-80a6-46ba-9a60-e65bbcf51d56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_c74207cc-2631-4a31-b42a-1bc2db74e903" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_c74207cc-2631-4a31-b42a-1bc2db74e903" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_097cddb5-fe31-444d-956e-ff6b8ff8808e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringReserve"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_10a2a813-80a1-4f7d-a960-99383f8d2cc8" xlink:to="loc_us-gaap_RestructuringReserve_097cddb5-fe31-444d-956e-ff6b8ff8808e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/AccumulatedOtherComprehensiveLossDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#AccumulatedOtherComprehensiveLossDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/AccumulatedOtherComprehensiveLossDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_fab0cd2b-709d-4188-9ccd-43f2346ea1e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_dc86c361-8b11-49bb-b293-c7a3ee2ee61a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_fab0cd2b-709d-4188-9ccd-43f2346ea1e0" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_dc86c361-8b11-49bb-b293-c7a3ee2ee61a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax_e509ba5c-ed63-4c1f-9cb2-47e597c84e4f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_fab0cd2b-709d-4188-9ccd-43f2346ea1e0" xlink:to="loc_us-gaap_AociLossCashFlowHedgeCumulativeGainLossAfterTax_e509ba5c-ed63-4c1f-9cb2-47e597c84e4f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtOutstandingandAverageInterestRatesDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#DebtDebtOutstandingandAverageInterestRatesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DebtDebtOutstandingandAverageInterestRatesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_93046b20-2f43-4f15-bf6a-fb1d29f73357" 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_OtherShortTermBorrowings_f6c083c3-13d4-4e61-8c02-c477839e347b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_93046b20-2f43-4f15-bf6a-fb1d29f73357" xlink:to="loc_us-gaap_OtherShortTermBorrowings_f6c083c3-13d4-4e61-8c02-c477839e347b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_31a71ff5-9029-4da7-aba8-d5badeae9f66" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_93046b20-2f43-4f15-bf6a-fb1d29f73357" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_31a71ff5-9029-4da7-aba8-d5badeae9f66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_b2818118-fe65-4dc9-849d-f8b4414bcd24" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_93046b20-2f43-4f15-bf6a-fb1d29f73357" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_b2818118-fe65-4dc9-849d-f8b4414bcd24" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtOutstandingandAverageInterestRatesDetail_1" xlink:type="simple" xlink:href="pnr-20241231.xsd#DebtDebtOutstandingandAverageInterestRatesDetail_1"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DebtDebtOutstandingandAverageInterestRatesDetail_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_9134ab48-1656-4d48-82d3-6255afa45a68" 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_dcf2c0d5-3475-4d0c-8412-27994786a626" 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_9134ab48-1656-4d48-82d3-6255afa45a68" xlink:to="loc_us-gaap_LongTermDebt_dcf2c0d5-3475-4d0c-8412-27994786a626" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_29e1b08f-a241-4243-8dfb-bf5eae3b6925" 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_9134ab48-1656-4d48-82d3-6255afa45a68" xlink:to="loc_us-gaap_OtherShortTermBorrowings_29e1b08f-a241-4243-8dfb-bf5eae3b6925" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DebtDebtOutstandingMaturesonCalendarYearBasisDetail" xlink:type="simple" xlink:href="pnr-20241231.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_ba239da0-f3a4-452b-95fe-ebf989660ddb" xlink:href="pnr-20241231.xsd#pnr_DebtLongTermAndShortTermCombinedAmountGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_9509df8b-19ab-4963-8c94-59f758734b10" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_ba239da0-f3a4-452b-95fe-ebf989660ddb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_9509df8b-19ab-4963-8c94-59f758734b10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_48286724-d62c-4c8a-8442-96b27e9b1910" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_ba239da0-f3a4-452b-95fe-ebf989660ddb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_48286724-d62c-4c8a-8442-96b27e9b1910" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_dece77cd-d6c0-4557-8125-098c564375cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_ba239da0-f3a4-452b-95fe-ebf989660ddb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_dece77cd-d6c0-4557-8125-098c564375cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_bfb87c2c-751b-4e2b-baaf-d19329e09c60" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_ba239da0-f3a4-452b-95fe-ebf989660ddb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_bfb87c2c-751b-4e2b-baaf-d19329e09c60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_aeda8a16-838a-4258-b175-e157bb966441" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_ba239da0-f3a4-452b-95fe-ebf989660ddb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_aeda8a16-838a-4258-b175-e157bb966441" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_cc30c3f0-0ea9-45da-94fa-6eeef48df478" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pnr_DebtLongTermAndShortTermCombinedAmountGross_ba239da0-f3a4-452b-95fe-ebf989660ddb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_cc30c3f0-0ea9-45da-94fa-6eeef48df478" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesofLongtermDebtandDerivativeFinancialInstrumentsDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesofLongtermDebtandDerivativeFinancialInstrumentsDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/DerivativesandFinancialInstrumentsRecordedAmountsandEstimatedFairValuesofLongtermDebtandDerivativeFinancialInstrumentsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_8df8f97f-66f4-45db-a34e-54f0d16524d3" 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_9681cd74-5b2a-4a05-b6cd-66d36aaea9ab" 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_8df8f97f-66f4-45db-a34e-54f0d16524d3" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_9681cd74-5b2a-4a05-b6cd-66d36aaea9ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_2da2e073-8d52-44bb-b946-d03040b0fc9d" 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_8df8f97f-66f4-45db-a34e-54f0d16524d3" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingFixedInterestAmount_2da2e073-8d52-44bb-b946-d03040b0fc9d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/DerivativesandFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueDetail" xlink:type="simple" xlink:href="pnr-20241231.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_FairValueNetAssetLiability_e486939c-c0f5-4f13-a051-1d028c5f8b2e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueNetAssetLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_acd4423b-dd8f-459b-8026-a94a5e6ca448" 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_FairValueNetAssetLiability_e486939c-c0f5-4f13-a051-1d028c5f8b2e" xlink:to="loc_us-gaap_DerivativeAssets_acd4423b-dd8f-459b-8026-a94a5e6ca448" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_7a26eb39-1b19-4845-845d-9e8a718837fb" xlink:href="pnr-20241231.xsd#pnr_DeferredCompensationPlanAssetsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FairValueNetAssetLiability_e486939c-c0f5-4f13-a051-1d028c5f8b2e" xlink:to="loc_pnr_DeferredCompensationPlanAssetsFairValueDisclosure_7a26eb39-1b19-4845-845d-9e8a718837fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_80cefc8c-0cff-45ad-95a8-55bbadaca848" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FairValueNetAssetLiability_e486939c-c0f5-4f13-a051-1d028c5f8b2e" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_80cefc8c-0cff-45ad-95a8-55bbadaca848" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_ContingentEarnOutLiabilitiesFairValueDisclosure_48310b9c-0224-4428-9528-67037689ced7" xlink:href="pnr-20241231.xsd#pnr_ContingentEarnOutLiabilitiesFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FairValueNetAssetLiability_e486939c-c0f5-4f13-a051-1d028c5f8b2e" xlink:to="loc_pnr_ContingentEarnOutLiabilitiesFairValueDisclosure_48310b9c-0224-4428-9528-67037689ced7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_6387d782-38cb-4796-95b2-24ab671eb3fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FairValueNetAssetLiability_e486939c-c0f5-4f13-a051-1d028c5f8b2e" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_6387d782-38cb-4796-95b2-24ab671eb3fa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesIncomeLossBeforeIncomeTaxesandNoncontrollingInterestDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#IncomeTaxesIncomeLossBeforeIncomeTaxesandNoncontrollingInterestDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesIncomeLossBeforeIncomeTaxesandNoncontrollingInterestDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_da5834a6-2626-4401-84e9-fc7bda365297" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_9bfbb6ea-d8b5-4a39-a6b1-1399bd7b54e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_da5834a6-2626-4401-84e9-fc7bda365297" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_9bfbb6ea-d8b5-4a39-a6b1-1399bd7b54e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_1e9fae04-dfa1-4027-9aa2-b8ad940c3bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_da5834a6-2626-4401-84e9-fc7bda365297" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_1e9fae04-dfa1-4027-9aa2-b8ad940c3bd8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesProvisionforIncomeTaxesDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#IncomeTaxesProvisionforIncomeTaxesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesProvisionforIncomeTaxesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_ecc0d383-9b82-45a6-ae62-2f764977786a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_c6ef48ff-d971-4615-8a4e-3af2f548ef27" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_ecc0d383-9b82-45a6-ae62-2f764977786a" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_c6ef48ff-d971-4615-8a4e-3af2f548ef27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_2731137a-0f39-4092-bdaa-680179042d46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_012966b3-b4cc-4404-86bb-1df0e7880e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_2731137a-0f39-4092-bdaa-680179042d46" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_012966b3-b4cc-4404-86bb-1df0e7880e5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_0f1527bc-e643-4e30-bc7c-9575e7bee918" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_2731137a-0f39-4092-bdaa-680179042d46" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_0f1527bc-e643-4e30-bc7c-9575e7bee918" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_c734f351-10a4-4813-8ca6-d7a44bb31db0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_5c08ae79-42e9-4537-a280-7d981b780f15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_c734f351-10a4-4813-8ca6-d7a44bb31db0" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_5c08ae79-42e9-4537-a280-7d981b780f15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_e134f832-b302-4771-bbfa-751ab1e5f20c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_c734f351-10a4-4813-8ca6-d7a44bb31db0" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_e134f832-b302-4771-bbfa-751ab1e5f20c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveTaxRateDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveTaxRateDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesReconciliationofFederalStatutoryIncomeTaxRatetoEffectiveTaxRateDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_35aa645b-7b32-46b5-88f6-7652f856d6e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_35aa645b-7b32-46b5-88f6-7652f856d6e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_9620abf3-229f-4139-9654-05e549bec6c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_9620abf3-229f-4139-9654-05e549bec6c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_da9a04ba-c7a5-4864-a073-9003ab7ac9b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_da9a04ba-c7a5-4864-a073-9003ab7ac9b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage_5b81d70e-0c5d-4794-a2f4-85eaa4456e39" xlink:href="pnr-20241231.xsd#pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:to="loc_pnr_EffectiveIncomeTaxRateReconciliationUnrecognizedTaxBenefitsPercentage_5b81d70e-0c5d-4794-a2f4-85eaa4456e39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_703ff962-3f45-4ac2-b1f1-05f00cfeb5ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_703ff962-3f45-4ac2-b1f1-05f00cfeb5ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_EffectiveIncomeTaxRateReconciliationWorthlessStockDeductionPercentage_0dbbfff9-12cc-4d54-8c29-a1dad5de2686" xlink:href="pnr-20241231.xsd#pnr_EffectiveIncomeTaxRateReconciliationWorthlessStockDeductionPercentage"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:to="loc_pnr_EffectiveIncomeTaxRateReconciliationWorthlessStockDeductionPercentage_0dbbfff9-12cc-4d54-8c29-a1dad5de2686" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_EffectiveIncomeTaxRateReconciliationChangeInTaxBasisInForeignAssets_f87d0915-32d3-4e1a-a0d1-1060a34b9201" xlink:href="pnr-20241231.xsd#pnr_EffectiveIncomeTaxRateReconciliationChangeInTaxBasisInForeignAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:to="loc_pnr_EffectiveIncomeTaxRateReconciliationChangeInTaxBasisInForeignAssets_f87d0915-32d3-4e1a-a0d1-1060a34b9201" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_EffectiveIncomeTaxRateReconciliationWithholdingTaxesPercentage_aa095453-1d4c-47f3-9112-970708b0ce85" xlink:href="pnr-20241231.xsd#pnr_EffectiveIncomeTaxRateReconciliationWithholdingTaxesPercentage"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_8d2b76b0-8a0e-47c6-a15e-0703ebe934db" xlink:to="loc_pnr_EffectiveIncomeTaxRateReconciliationWithholdingTaxesPercentage_aa095453-1d4c-47f3-9112-970708b0ce85" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesDeferredTaxesDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#IncomeTaxesDeferredTaxesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesDeferredTaxesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b45c2ae9-9e9e-46e8-a91a-0fb11b15a7f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredIncomeTaxLiabilitiesGross_908a2eea-97fb-4f66-98c0-11caff4b41b1" xlink:href="pnr-20241231.xsd#pnr_DeferredIncomeTaxLiabilitiesGross"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b45c2ae9-9e9e-46e8-a91a-0fb11b15a7f2" xlink:to="loc_pnr_DeferredIncomeTaxLiabilitiesGross_908a2eea-97fb-4f66-98c0-11caff4b41b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredIncomeTaxAssetsGross_46d9a68e-06c5-4d31-b3da-8a6d1ed5264e" xlink:href="pnr-20241231.xsd#pnr_DeferredIncomeTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b45c2ae9-9e9e-46e8-a91a-0fb11b15a7f2" xlink:to="loc_pnr_DeferredIncomeTaxAssetsGross_46d9a68e-06c5-4d31-b3da-8a6d1ed5264e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#IncomeTaxesDeferredTaxAssetsandLiabilitiesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_10ac9a39-ccf8-4a18-a6f4-07ba3a881fa2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_128120cf-73e5-460d-8556-1f8e2f0c6bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_10ac9a39-ccf8-4a18-a6f4-07ba3a881fa2" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_128120cf-73e5-460d-8556-1f8e2f0c6bdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_2f6cc42d-81f4-4d69-84a1-7b87dfda4090" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_10ac9a39-ccf8-4a18-a6f4-07ba3a881fa2" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_2f6cc42d-81f4-4d69-84a1-7b87dfda4090" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_abe70381-eb8a-4d3e-a3a3-6a05a86872b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_c2e996d3-98a9-48ea-90ce-9719d36176de" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_abe70381-eb8a-4d3e-a3a3-6a05a86872b9" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_c2e996d3-98a9-48ea-90ce-9719d36176de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_40654d82-e40c-4e78-96ff-eedfea8c57cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_abe70381-eb8a-4d3e-a3a3-6a05a86872b9" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPostretirementBenefits_40654d82-e40c-4e78-96ff-eedfea8c57cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_fdc2d106-d78f-495a-a86e-ede7c55e3d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_abe70381-eb8a-4d3e-a3a3-6a05a86872b9" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_fdc2d106-d78f-495a-a86e-ede7c55e3d3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards_22408cad-a19f-4c2a-90dc-e9384e1f67f6" xlink:href="pnr-20241231.xsd#pnr_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_abe70381-eb8a-4d3e-a3a3-6a05a86872b9" xlink:to="loc_pnr_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards_22408cad-a19f-4c2a-90dc-e9384e1f67f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_a1b6abd2-2b89-421e-a7d8-08bd6122ce12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_abe70381-eb8a-4d3e-a3a3-6a05a86872b9" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_a1b6abd2-2b89-421e-a7d8-08bd6122ce12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_DeferredTaxAssetTaxDeferredExpenseResearchAndDevelopmentCosts_5f62f061-1478-499d-b243-7af60d53d349" xlink:href="pnr-20241231.xsd#pnr_DeferredTaxAssetTaxDeferredExpenseResearchAndDevelopmentCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_abe70381-eb8a-4d3e-a3a3-6a05a86872b9" xlink:to="loc_pnr_DeferredTaxAssetTaxDeferredExpenseResearchAndDevelopmentCosts_5f62f061-1478-499d-b243-7af60d53d349" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_2348beab-2a60-44d9-9327-ebbfdda95200" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_3cb80688-8c13-4b44-8b0e-93c343e451b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_2348beab-2a60-44d9-9327-ebbfdda95200" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_3cb80688-8c13-4b44-8b0e-93c343e451b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_31296eab-676c-4550-a99c-c1200474d094" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_2348beab-2a60-44d9-9327-ebbfdda95200" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_31296eab-676c-4550-a99c-c1200474d094" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_a1fe7b26-68bd-486c-b127-e67f67bbd2e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_d7eb9745-787a-491d-b570-f18da276340a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_a1fe7b26-68bd-486c-b127-e67f67bbd2e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_d7eb9745-787a-491d-b570-f18da276340a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_d20cedb6-11d6-4d4f-9b3d-320f880c0c7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_a1fe7b26-68bd-486c-b127-e67f67bbd2e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_d20cedb6-11d6-4d4f-9b3d-320f880c0c7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_b2e418e3-7598-4389-a738-026801ff61b8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_a1fe7b26-68bd-486c-b127-e67f67bbd2e3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_b2e418e3-7598-4389-a738-026801ff61b8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansObligationsandFundedStatusDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#BenefitPlansObligationsandFundedStatusDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/BenefitPlansObligationsandFundedStatusDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_a502d4ae-d0cf-44a9-bbae-731eb0f85df9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_39ae7e2d-174a-44aa-955c-6bb5849e1e48" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_a502d4ae-d0cf-44a9-bbae-731eb0f85df9" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_39ae7e2d-174a-44aa-955c-6bb5849e1e48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_82f2c7a6-f911-4294-b4a4-85b2065c0b73" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_a502d4ae-d0cf-44a9-bbae-731eb0f85df9" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_82f2c7a6-f911-4294-b4a4-85b2065c0b73" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansAmountsRecordedinConsolidatedBalanceSheetsDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#BenefitPlansAmountsRecordedinConsolidatedBalanceSheetsDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/BenefitPlansAmountsRecordedinConsolidatedBalanceSheetsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_75b85cf6-47a1-4883-bf5a-d7f85b3e53d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_7f4341df-a380-43c3-8b2c-91574615bedf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_75b85cf6-47a1-4883-bf5a-d7f85b3e53d1" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_7f4341df-a380-43c3-8b2c-91574615bedf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_60dd016a-bc9a-4229-a5bd-b2bcf9e7ac2d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_75b85cf6-47a1-4883-bf5a-d7f85b3e53d1" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_60dd016a-bc9a-4229-a5bd-b2bcf9e7ac2d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/BenefitPlansComponentsofNetPeriodicBenefitCostDetail" xlink:type="simple" xlink:href="pnr-20241231.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_b17007ef-0677-44f8-912f-09d28fc62152" 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_DefinedBenefitPlanActuarialGainLoss_245e0a9a-8421-4afc-b3ad-8cb83a82fd92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b17007ef-0677-44f8-912f-09d28fc62152" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_245e0a9a-8421-4afc-b3ad-8cb83a82fd92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_455c562b-b01b-4684-a3c4-5f92771e14cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b17007ef-0677-44f8-912f-09d28fc62152" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_455c562b-b01b-4684-a3c4-5f92771e14cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_b1ea088b-e633-4593-90c5-c6b55e889787" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b17007ef-0677-44f8-912f-09d28fc62152" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_b1ea088b-e633-4593-90c5-c6b55e889787" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_3c314838-73ea-4fb2-b72b-15d69508397d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b17007ef-0677-44f8-912f-09d28fc62152" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_3c314838-73ea-4fb2-b72b-15d69508397d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments_9b3fd225-0fb4-4cf7-9904-4826fa266b06" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b17007ef-0677-44f8-912f-09d28fc62152" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToCurtailments_9b3fd225-0fb4-4cf7-9904-4826fa266b06" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/SegmentInformationReconciliationofIncomefromContinuingOperationsfromSegmentstoConsolidatedDetails" xlink:type="simple" xlink:href="pnr-20241231.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_2735c343-35e8-4776-a350-327b36336ada" 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_62ca1ef8-97e0-4d29-a801-cc4720bab43b" xlink:href="pnr-20241231.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_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_pnr_LegalSettlementAndAccrualAdjustments_62ca1ef8-97e0-4d29-a801-cc4720bab43b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_TransformationCosts_2713a678-afbf-4e51-8c15-658e44bedf2a" xlink:href="pnr-20241231.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_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_pnr_TransformationCosts_2713a678-afbf-4e51-8c15-658e44bedf2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRevenueExpenseNet_9940c77c-fdf5-4b99-a25d-0e15a448d8c6" 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_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_us-gaap_InterestRevenueExpenseNet_9940c77c-fdf5-4b99-a25d-0e15a448d8c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_InventoryStepUpRelatedToMerger_8d0ae89e-c927-4bb0-9800-e30cf2c4d314" xlink:href="pnr-20241231.xsd#pnr_InventoryStepUpRelatedToMerger"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_pnr_InventoryStepUpRelatedToMerger_8d0ae89e-c927-4bb0-9800-e30cf2c4d314" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pnr_Dealrelatedcostsandexpenses_2a145d0b-0490-4cde-855c-1e73560e1414" xlink:href="pnr-20241231.xsd#pnr_Dealrelatedcostsandexpenses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_pnr_Dealrelatedcostsandexpenses_2a145d0b-0490-4cde-855c-1e73560e1414" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_956fe7d3-7bf5-4963-b30c-27ee53676cac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_us-gaap_OtherExpenses_956fe7d3-7bf5-4963-b30c-27ee53676cac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_3e7654c8-5116-4f55-acd5-ee40a0bd8c53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_us-gaap_OperatingIncomeLoss_3e7654c8-5116-4f55-acd5-ee40a0bd8c53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_baaf7d3e-242c-4a65-88ca-c7bfee6e14da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_baaf7d3e-242c-4a65-88ca-c7bfee6e14da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_e3fbd952-c4ba-44e5-98a7-a60ec868ac14" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_us-gaap_RestructuringCharges_e3fbd952-c4ba-44e5-98a7-a60ec868ac14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_6c2859cd-00d0-4c83-8e38-4ea6ee7a028b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionAndPostretirementObligations_6c2859cd-00d0-4c83-8e38-4ea6ee7a028b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_03d944a2-25b8-49fa-8662-9662f40a12d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_us-gaap_AssetImpairmentCharges_03d944a2-25b8-49fa-8662-9662f40a12d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessExitCosts1_34186318-549b-4638-8818-9d7216026d85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessExitCosts1"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2735c343-35e8-4776-a350-327b36336ada" xlink:to="loc_us-gaap_BusinessExitCosts1_34186318-549b-4638-8818-9d7216026d85" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesComponentsofLeaseCostSupplementalCashFlowandOtherInformationRelatedtoLeasesDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#CommitmentsandContingenciesComponentsofLeaseCostSupplementalCashFlowandOtherInformationRelatedtoLeasesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CommitmentsandContingenciesComponentsofLeaseCostSupplementalCashFlowandOtherInformationRelatedtoLeasesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_f079cd2a-665f-4805-80f9-d5b8ba234679" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_250c992b-4237-4a23-9e7d-780e5918ec86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_f079cd2a-665f-4805-80f9-d5b8ba234679" xlink:to="loc_us-gaap_OperatingLeaseCost_250c992b-4237-4a23-9e7d-780e5918ec86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_f471dba7-b2a4-4206-932b-0da0804dc0e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_f079cd2a-665f-4805-80f9-d5b8ba234679" xlink:to="loc_us-gaap_SubleaseIncome_f471dba7-b2a4-4206-932b-0da0804dc0e5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail" xlink:type="simple" xlink:href="pnr-20241231.xsd#CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_774aaa57-148e-4849-acc3-ec60212674ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_14955890-2691-4329-bde6-a2bf2cb1ccef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_774aaa57-148e-4849-acc3-ec60212674ec" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_14955890-2691-4329-bde6-a2bf2cb1ccef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_9880a64a-afdd-4f6d-a28e-80a3cb631116" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_774aaa57-148e-4849-acc3-ec60212674ec" xlink:to="loc_us-gaap_OperatingLeaseLiability_9880a64a-afdd-4f6d-a28e-80a3cb631116" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail_1" xlink:type="simple" xlink:href="pnr-20241231.xsd#CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail_1"/>
  <link:calculationLink xlink:role="http://www.pentair.com/role/CommitmentsandContingenciesFutureMinimumLeaseCommitmentsUnderNoncancelableOperatingLeasesDetail_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_5e662315-6db2-4f98-9892-151cd79bd2b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_d4fcb364-70be-43ef-8c03-e32a07d776e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_5e662315-6db2-4f98-9892-151cd79bd2b2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_d4fcb364-70be-43ef-8c03-e32a07d776e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_92294c6d-9a9e-4770-9f95-2be747d1b4a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_5e662315-6db2-4f98-9892-151cd79bd2b2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_92294c6d-9a9e-4770-9f95-2be747d1b4a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_9fe08145-9d37-4789-a3cf-8b4e4ff5d1f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_5e662315-6db2-4f98-9892-151cd79bd2b2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_9fe08145-9d37-4789-a3cf-8b4e4ff5d1f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_f39ee99b-b855-419e-9def-30473792cb9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_5e662315-6db2-4f98-9892-151cd79bd2b2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_f39ee99b-b855-419e-9def-30473792cb9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_bb70c7f0-8c02-445e-aa9e-c13553e8e137" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_5e662315-6db2-4f98-9892-151cd79bd2b2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_bb70c7f0-8c02-445e-aa9e-c13553e8e137" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_bec341a1-4023-4bca-90d9-2858fd5fa0d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_5e662315-6db2-4f98-9892-151cd79bd2b2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_bec341a1-4023-4bca-90d9-2858fd5fa0d5" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
