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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:28b3a3eb-e2d2-4a53-85a6-0354bdaf9e8e,g:5f64bd8e-8aee-43e1-801a-fb3d1cd7dce9-->
<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.xyleminc.com/role/ConsolidatedIncomeStatements" xlink:type="simple" xlink:href="xyl-20241231.xsd#ConsolidatedIncomeStatements"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ConsolidatedIncomeStatements" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1be945f0-bdcb-44d9-96c6-ae4c7b04473b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_82f3fa21-268d-47f1-872c-12cbcfc673f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1be945f0-bdcb-44d9-96c6-ae4c7b04473b" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_82f3fa21-268d-47f1-872c-12cbcfc673f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_87c763cc-7309-49f7-88c1-5ec230eb242d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1be945f0-bdcb-44d9-96c6-ae4c7b04473b" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_87c763cc-7309-49f7-88c1-5ec230eb242d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_96f384ee-49b9-4aa5-9603-3cc5004e3f27" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1be945f0-bdcb-44d9-96c6-ae4c7b04473b" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_96f384ee-49b9-4aa5-9603-3cc5004e3f27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_2e17f7dc-46bb-47ae-b636-46462c1c1278" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1be945f0-bdcb-44d9-96c6-ae4c7b04473b" xlink:to="loc_us-gaap_InterestExpenseNonoperating_2e17f7dc-46bb-47ae-b636-46462c1c1278" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_182260a3-fa09-4f4e-a4af-b9783f176abb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1be945f0-bdcb-44d9-96c6-ae4c7b04473b" xlink:to="loc_us-gaap_OperatingIncomeLoss_182260a3-fa09-4f4e-a4af-b9783f176abb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_0092880f-0559-4429-80d7-75606de50366" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1be945f0-bdcb-44d9-96c6-ae4c7b04473b" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_0092880f-0559-4429-80d7-75606de50366" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_cdac7b6b-e76c-4f3a-a960-d7339474155a" 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_1910bb8b-c2ff-47ef-8ff6-d5437692f678" 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_cdac7b6b-e76c-4f3a-a960-d7339474155a" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1910bb8b-c2ff-47ef-8ff6-d5437692f678" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_7e8210ba-5fb3-4749-b41a-089fe975c848" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_cdac7b6b-e76c-4f3a-a960-d7339474155a" xlink:to="loc_us-gaap_CostOfRevenue_7e8210ba-5fb3-4749-b41a-089fe975c848" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_93f4cdee-9eaa-4ccf-8e3e-c7c87dbbe6d8" 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_087e4d34-a27e-4371-97f5-0411c0ea4f8e" 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_93f4cdee-9eaa-4ccf-8e3e-c7c87dbbe6d8" xlink:to="loc_us-gaap_GrossProfit_087e4d34-a27e-4371-97f5-0411c0ea4f8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_68ad5f00-7e18-494f-91b6-58235d677fd2" 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_93f4cdee-9eaa-4ccf-8e3e-c7c87dbbe6d8" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_68ad5f00-7e18-494f-91b6-58235d677fd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_a06cb4d1-06c6-4cc5-9fa4-ff4f9c98b2b9" 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_93f4cdee-9eaa-4ccf-8e3e-c7c87dbbe6d8" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_a06cb4d1-06c6-4cc5-9fa4-ff4f9c98b2b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_RestructuringAndAssetImpairmentLosses_b3405cf2-f759-4162-91e4-8126301d603d" xlink:href="xyl-20241231.xsd#xyl_RestructuringAndAssetImpairmentLosses"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_93f4cdee-9eaa-4ccf-8e3e-c7c87dbbe6d8" xlink:to="loc_xyl_RestructuringAndAssetImpairmentLosses_b3405cf2-f759-4162-91e4-8126301d603d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_f34840b5-8170-421b-a857-682f8924c6ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2e311595-fbf5-4912-aea0-7d693a63556f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_f34840b5-8170-421b-a857-682f8924c6ad" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2e311595-fbf5-4912-aea0-7d693a63556f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f3837bb3-cc0b-44b4-ae7a-f0e88d8c06e9" 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_ProfitLoss_f34840b5-8170-421b-a857-682f8924c6ad" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f3837bb3-cc0b-44b4-ae7a-f0e88d8c06e9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="xyl-20241231.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_0b667bb3-a65b-4e49-bcf7-687edc18dfc3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_cc6d41e0-c9be-4b72-a9ef-055e1a5ddaa9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_0b667bb3-a65b-4e49-bcf7-687edc18dfc3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_cc6d41e0-c9be-4b72-a9ef-055e1a5ddaa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_c64f080a-ceb8-46d9-b834-5b20340561dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_0b667bb3-a65b-4e49-bcf7-687edc18dfc3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_c64f080a-ceb8-46d9-b834-5b20340561dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_2c239751-521e-447d-9f50-46002e814ad3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_2c239751-521e-447d-9f50-46002e814ad3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_e586391a-a22c-4538-82a7-f1c61259d2ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_e586391a-a22c-4538-82a7-f1c61259d2ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_7dc26bfe-cee0-4bb6-b2c7-571af7f1f79c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_7dc26bfe-cee0-4bb6-b2c7-571af7f1f79c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_c9c5fbcf-e654-4b26-8db0-a78ed616877f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_c9c5fbcf-e654-4b26-8db0-a78ed616877f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_9e7a2fbf-4981-4785-8398-d22533ece295" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:to="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_9e7a2fbf-4981-4785-8398-d22533ece295" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherComprehensiveIncomeLossForeignExchangeForPensionAndNonPensionPostretirementBenefitPlansBeforeTax_d879aeb7-0968-4db6-a638-fffb2240abc7" xlink:href="xyl-20241231.xsd#xyl_OtherComprehensiveIncomeLossForeignExchangeForPensionAndNonPensionPostretirementBenefitPlansBeforeTax"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:to="loc_xyl_OtherComprehensiveIncomeLossForeignExchangeForPensionAndNonPensionPostretirementBenefitPlansBeforeTax_d879aeb7-0968-4db6-a638-fffb2240abc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_3200f8ad-a1cd-46a2-86bf-281704be648c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_3200f8ad-a1cd-46a2-86bf-281704be648c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_e859f682-c463-48e3-b1ae-922c23706e9d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1cb97a09-9da1-4db6-9017-c2503dfd0a3b" xlink:to="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_e859f682-c463-48e3-b1ae-922c23706e9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_34465eff-d49a-492e-b81a-54d73da29e97" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_94d12ae9-d95d-4932-8062-36ba777c4f59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_34465eff-d49a-492e-b81a-54d73da29e97" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_94d12ae9-d95d-4932-8062-36ba777c4f59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_341add41-f9c7-4b37-a42c-e9e36c99da79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_34465eff-d49a-492e-b81a-54d73da29e97" xlink:to="loc_us-gaap_ProfitLoss_341add41-f9c7-4b37-a42c-e9e36c99da79" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="xyl-20241231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_80b8d655-5901-421c-8405-4095d15189a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_43dc7eaa-8bd8-419f-a42d-53f56b6b4c81" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_80b8d655-5901-421c-8405-4095d15189a0" xlink:to="loc_us-gaap_CommonStockValue_43dc7eaa-8bd8-419f-a42d-53f56b6b4c81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_da2db8de-de2c-43c0-8ef5-7122721516b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_80b8d655-5901-421c-8405-4095d15189a0" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_da2db8de-de2c-43c0-8ef5-7122721516b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b50a2187-4f75-49c7-952d-6e297369323e" 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_StockholdersEquity_80b8d655-5901-421c-8405-4095d15189a0" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b50a2187-4f75-49c7-952d-6e297369323e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_278714b3-3e5a-48d5-b711-0e03944360cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_80b8d655-5901-421c-8405-4095d15189a0" xlink:to="loc_us-gaap_TreasuryStockValue_278714b3-3e5a-48d5-b711-0e03944360cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_0c430117-3a51-4649-ac00-2cd83825454c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_80b8d655-5901-421c-8405-4095d15189a0" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_0c430117-3a51-4649-ac00-2cd83825454c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_f0d4009f-53bf-4c9c-b518-24a0d42e56fd" 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_CommitmentsAndContingencies_b0434abc-0883-4600-918f-28f299ad9016" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f0d4009f-53bf-4c9c-b518-24a0d42e56fd" xlink:to="loc_us-gaap_CommitmentsAndContingencies_b0434abc-0883-4600-918f-28f299ad9016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_cf747542-4944-4cf5-9c13-3e020351e7ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f0d4009f-53bf-4c9c-b518-24a0d42e56fd" xlink:to="loc_us-gaap_Liabilities_cf747542-4944-4cf5-9c13-3e020351e7ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_d3fdb6b2-ce20-49bd-a7b7-593c2a537f33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f0d4009f-53bf-4c9c-b518-24a0d42e56fd" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_d3fdb6b2-ce20-49bd-a7b7-593c2a537f33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_2414c23e-dd7c-47df-a499-c36a707524d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f0d4009f-53bf-4c9c-b518-24a0d42e56fd" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_2414c23e-dd7c-47df-a499-c36a707524d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6231d73e-2460-47e6-a4a5-f38cb5baa11c" 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_StockholdersEquity_66702d27-774d-419f-9d54-613edcf28e70" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6231d73e-2460-47e6-a4a5-f38cb5baa11c" xlink:to="loc_us-gaap_StockholdersEquity_66702d27-774d-419f-9d54-613edcf28e70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_43ede8ca-6a27-47c6-8472-4c69e9e534a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6231d73e-2460-47e6-a4a5-f38cb5baa11c" xlink:to="loc_us-gaap_MinorityInterest_43ede8ca-6a27-47c6-8472-4c69e9e534a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_f1fc805e-13ff-47c0-b2a5-19465f974a5a" 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_2448320a-b200-4561-b878-1d6bbbc81398" 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_f1fc805e-13ff-47c0-b2a5-19465f974a5a" xlink:to="loc_us-gaap_AssetsCurrent_2448320a-b200-4561-b878-1d6bbbc81398" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_cda0a927-c031-444d-bbb2-d3910591fbde" 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_f1fc805e-13ff-47c0-b2a5-19465f974a5a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_cda0a927-c031-444d-bbb2-d3910591fbde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_8f17a98c-0b61-4246-8366-f2a13c6777e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f1fc805e-13ff-47c0-b2a5-19465f974a5a" xlink:to="loc_us-gaap_Goodwill_8f17a98c-0b61-4246-8366-f2a13c6777e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_749c0b1d-55e3-4a3e-af40-8a39f8fd321d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f1fc805e-13ff-47c0-b2a5-19465f974a5a" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_749c0b1d-55e3-4a3e-af40-8a39f8fd321d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_2aee9ef8-5b6e-489b-a8a9-4e9fe67299cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_f1fc805e-13ff-47c0-b2a5-19465f974a5a" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_2aee9ef8-5b6e-489b-a8a9-4e9fe67299cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b09f6a51-e805-4524-84ec-6f61e382d56d" 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_79f7035a-d284-4839-92c0-ccc49ae446e8" 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_b09f6a51-e805-4524-84ec-6f61e382d56d" xlink:to="loc_us-gaap_LiabilitiesCurrent_79f7035a-d284-4839-92c0-ccc49ae446e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_b5b99aeb-e25d-4946-b547-2b2f23e2834d" 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_b09f6a51-e805-4524-84ec-6f61e382d56d" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_b5b99aeb-e25d-4946-b547-2b2f23e2834d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_98e0b5f4-91f9-464d-8d67-ed5800ffe96b" 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_b09f6a51-e805-4524-84ec-6f61e382d56d" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_98e0b5f4-91f9-464d-8d67-ed5800ffe96b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_c9ec522e-6799-4a63-8269-d0773c482e48" 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_b09f6a51-e805-4524-84ec-6f61e382d56d" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_c9ec522e-6799-4a63-8269-d0773c482e48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_2c1d417c-f601-4c7d-b167-c1cdaaab83a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAccruedLiabilitiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b09f6a51-e805-4524-84ec-6f61e382d56d" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_2c1d417c-f601-4c7d-b167-c1cdaaab83a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_fbc3e4e3-76fe-4fea-8f63-ba23b711da5a" 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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_6d4e7e53-121d-443c-bdf4-814e7aeed51d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_fbc3e4e3-76fe-4fea-8f63-ba23b711da5a" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_6d4e7e53-121d-443c-bdf4-814e7aeed51d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_ShortTermDebtAndLongTermDebtCurrentMaturities_006b7899-0d3d-44fb-951a-4c4a3fa4abe9" xlink:href="xyl-20241231.xsd#xyl_ShortTermDebtAndLongTermDebtCurrentMaturities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_fbc3e4e3-76fe-4fea-8f63-ba23b711da5a" xlink:to="loc_xyl_ShortTermDebtAndLongTermDebtCurrentMaturities_006b7899-0d3d-44fb-951a-4c4a3fa4abe9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_bdef8ba7-9eaa-4749-99f8-e4a8eff5345d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_fbc3e4e3-76fe-4fea-8f63-ba23b711da5a" xlink:to="loc_us-gaap_AccountsPayableCurrent_bdef8ba7-9eaa-4749-99f8-e4a8eff5345d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_a04640de-e76f-425c-946f-f5845269b40f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_fbc3e4e3-76fe-4fea-8f63-ba23b711da5a" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_a04640de-e76f-425c-946f-f5845269b40f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_a106139c-db75-4a0d-b1ce-c20f43ff25ae" 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_InventoryNet_f807c844-9936-40e8-8900-c8c61e2955b8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a106139c-db75-4a0d-b1ce-c20f43ff25ae" xlink:to="loc_us-gaap_InventoryNet_f807c844-9936-40e8-8900-c8c61e2955b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_debeee8f-0a66-4ef9-baae-f477056e3613" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a106139c-db75-4a0d-b1ce-c20f43ff25ae" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_debeee8f-0a66-4ef9-baae-f477056e3613" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8417b279-4523-44d6-ad37-e33c34b29be4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a106139c-db75-4a0d-b1ce-c20f43ff25ae" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8417b279-4523-44d6-ad37-e33c34b29be4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a2705a67-f3c7-4cd1-a08d-261afd22c915" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a106139c-db75-4a0d-b1ce-c20f43ff25ae" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a2705a67-f3c7-4cd1-a08d-261afd22c915" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_81951c67-8f00-4c20-8275-1f81b18e49c4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a106139c-db75-4a0d-b1ce-c20f43ff25ae" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_81951c67-8f00-4c20-8275-1f81b18e49c4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="xyl-20241231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" 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_PaymentsToAcquireProductiveAssets_1c23296f-575d-4194-914d-7c9a97107a9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_1c23296f-575d-4194-914d-7c9a97107a9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_9d36ba69-a216-4bb7-aee5-c6865df51417" 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_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_9d36ba69-a216-4bb7-aee5-c6865df51417" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_e15348fa-8474-4932-8075-03a36c01386a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_e15348fa-8474-4932-8075-03a36c01386a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_9bb02ffc-6a55-410f-8214-9eb9f965fcfc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromDivestitureOfBusinesses"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_9bb02ffc-6a55-410f-8214-9eb9f965fcfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_3ab3fdec-826f-44e3-883f-cadfefc2a3cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_3ab3fdec-826f-44e3-883f-cadfefc2a3cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_55cc4a24-7d51-4399-8b0a-11d3b6b66e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_55cc4a24-7d51-4399-8b0a-11d3b6b66e5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_61cf1828-1bbe-4e6e-81fd-7ad57128ba83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_61cf1828-1bbe-4e6e-81fd-7ad57128ba83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_ProceedsFromInterestReceivedInvestingActivities_c1e593b6-bcf9-4817-a40d-ad94b470235f" xlink:href="xyl-20241231.xsd#xyl_ProceedsFromInterestReceivedInvestingActivities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_xyl_ProceedsFromInterestReceivedInvestingActivities_c1e593b6-bcf9-4817-a40d-ad94b470235f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities_0d1310b0-e2a3-4c09-abcc-4748c9b1528f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities_0d1310b0-e2a3-4c09-abcc-4748c9b1528f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForDerivativeInstrumentInvestingActivities_1eb77d34-91a7-4c1a-a64c-41fb327433da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForDerivativeInstrumentInvestingActivities"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_PaymentsForDerivativeInstrumentInvestingActivities_1eb77d34-91a7-4c1a-a64c-41fb327433da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_3e9efc52-8f5f-4153-b990-f6da7a187b00" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9f53b21-145c-462c-95f1-7b831d688de9" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_3e9efc52-8f5f-4153-b990-f6da7a187b00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_64843c67-57f5-47d9-b91f-3a299ef5a680" 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_d158eaf6-449b-4ad1-b1ff-147d96fcaf12" 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_64843c67-57f5-47d9-b91f-3a299ef5a680" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d158eaf6-449b-4ad1-b1ff-147d96fcaf12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c00c30a1-1176-4a4e-952d-039e6094f571" 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_64843c67-57f5-47d9-b91f-3a299ef5a680" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c00c30a1-1176-4a4e-952d-039e6094f571" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_032853e8-6e9c-4fb7-89ab-1965828cd0fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_64843c67-57f5-47d9-b91f-3a299ef5a680" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_032853e8-6e9c-4fb7-89ab-1965828cd0fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_1ddcfe90-4aaf-4456-b39c-03bb6329f6fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_64843c67-57f5-47d9-b91f-3a299ef5a680" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_1ddcfe90-4aaf-4456-b39c-03bb6329f6fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_CashClassifiedWithinAssetsHeldForSale_eeb32a60-4a34-4ea8-9e3e-865964a8c1a6" xlink:href="xyl-20241231.xsd#xyl_CashClassifiedWithinAssetsHeldForSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_64843c67-57f5-47d9-b91f-3a299ef5a680" xlink:to="loc_xyl_CashClassifiedWithinAssetsHeldForSale_eeb32a60-4a34-4ea8-9e3e-865964a8c1a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29695f46-3042-4cd1-b611-0d1c64ae1c46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_97bc2ad0-7a7b-4cf6-b7b4-010007ce3127" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29695f46-3042-4cd1-b611-0d1c64ae1c46" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_97bc2ad0-7a7b-4cf6-b7b4-010007ce3127" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_10c1c3ee-bc2d-4fca-8d93-498107c1d6dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29695f46-3042-4cd1-b611-0d1c64ae1c46" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_10c1c3ee-bc2d-4fca-8d93-498107c1d6dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_3020b838-2928-4bd2-bf6b-6b56e8a90757" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29695f46-3042-4cd1-b611-0d1c64ae1c46" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_3020b838-2928-4bd2-bf6b-6b56e8a90757" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_26452d28-752b-48a2-bfb7-e4100047f382" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29695f46-3042-4cd1-b611-0d1c64ae1c46" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_26452d28-752b-48a2-bfb7-e4100047f382" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_69e2a22e-60ce-421f-b7e1-741dbe3ff759" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29695f46-3042-4cd1-b611-0d1c64ae1c46" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_69e2a22e-60ce-421f-b7e1-741dbe3ff759" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_eaeb7ce5-af45-4521-a998-a41137a5eeaa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29695f46-3042-4cd1-b611-0d1c64ae1c46" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_eaeb7ce5-af45-4521-a998-a41137a5eeaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_dc789ed6-fa12-4c10-8a60-f5a535e13fe6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfShortTermDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29695f46-3042-4cd1-b611-0d1c64ae1c46" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_dc789ed6-fa12-4c10-8a60-f5a535e13fe6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" 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_Depreciation_621b2239-b165-4d92-88a9-fa0d5c8b1d67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_Depreciation_621b2239-b165-4d92-88a9-fa0d5c8b1d67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_5f7082dd-0d25-412e-a1e2-3fc6d9ac86e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentForAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_AdjustmentForAmortization_5f7082dd-0d25-412e-a1e2-3fc6d9ac86e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_18a08d70-476a-4894-920b-14128cabe4c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_18a08d70-476a-4894-920b-14128cabe4c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_bdd4af1b-f65c-48e6-a3fa-ece4b878fd08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_ShareBasedCompensation_bdd4af1b-f65c-48e6-a3fa-ece4b878fd08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_9718756f-3bb1-445f-bcc7-3f030c0ab1e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringCostsAndAssetImpairmentCharges"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_9718756f-3bb1-445f-bcc7-3f030c0ab1e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_2d5be033-e263-4ed9-877f-a080e44307c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_2d5be033-e263-4ed9-877f-a080e44307c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_7f8b916f-370f-4c6d-af0b-e8d5c1829662" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_7f8b916f-370f-4c6d-af0b-e8d5c1829662" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_7f27f55c-50a6-4f7d-8e89-8b70f1cdbb8e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_7f27f55c-50a6-4f7d-8e89-8b70f1cdbb8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_4cac1ac6-c79f-4165-854e-e6edbc3bfaa8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_PaymentsForRestructuring_4cac1ac6-c79f-4165-854e-e6edbc3bfaa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_164ca27f-30c9-48fd-bb8b-6468f4d65f17" 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_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_164ca27f-30c9-48fd-bb8b-6468f4d65f17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_a28442b3-744a-4abf-afec-00bff5673553" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_a28442b3-744a-4abf-afec-00bff5673553" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_4a746115-1788-408a-8f74-eaa2af9ea6db" 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_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_4a746115-1788-408a-8f74-eaa2af9ea6db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_103ca19d-8bc2-4fec-b5a8-4bb996849b30" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_103ca19d-8bc2-4fec-b5a8-4bb996849b30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_035d7eb4-7f96-44e7-a405-56a1a19b9821" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_035d7eb4-7f96-44e7-a405-56a1a19b9821" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedTaxesPayable_4f81dd3e-e662-4a5e-b908-f9cf1140e264" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedTaxesPayable"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedTaxesPayable_4f81dd3e-e662-4a5e-b908-f9cf1140e264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_c3f43f76-537b-4d21-bf91-ee94bc8c686f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_c3f43f76-537b-4d21-bf91-ee94bc8c686f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_8df04fec-3ab8-4030-ac25-4c4100eebeb7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_ProfitLoss_8df04fec-3ab8-4030-ac25-4c4100eebeb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_f756dc62-5921-456a-8ec6-ebd10f141aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_67ca0dcb-7ca2-485b-a1f4-bd199c75c4a9" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_f756dc62-5921-456a-8ec6-ebd10f141aa0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AcquisitionsandDivestituresPreliminaryallocationofConsiderationPaidDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#AcquisitionsandDivestituresPreliminaryallocationofConsiderationPaidDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AcquisitionsandDivestituresPreliminaryallocationofConsiderationPaidDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_338baa6a-a3b4-4e99-9c50-0690d92149e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationConsiderationTransferredLiabilitiesPaid_afdfde6f-652d-4deb-8ef2-419132cc61d0" xlink:href="xyl-20241231.xsd#xyl_BusinessCombinationConsiderationTransferredLiabilitiesPaid"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_338baa6a-a3b4-4e99-9c50-0690d92149e2" xlink:to="loc_xyl_BusinessCombinationConsiderationTransferredLiabilitiesPaid_afdfde6f-652d-4deb-8ef2-419132cc61d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_f9c4e5d5-2309-4232-9fc7-9b58cbb92cff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_338baa6a-a3b4-4e99-9c50-0690d92149e2" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_f9c4e5d5-2309-4232-9fc7-9b58cbb92cff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_c25839c3-6608-40e7-8f32-7cb0a687a710" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_338baa6a-a3b4-4e99-9c50-0690d92149e2" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_c25839c3-6608-40e7-8f32-7cb0a687a710" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationConsiderationTransferredEquityInterestIssuedAndIssuableReplacementEquityAwards_ddf295d5-0422-4ef9-ad4d-abb907752b92" xlink:href="xyl-20241231.xsd#xyl_BusinessCombinationConsiderationTransferredEquityInterestIssuedAndIssuableReplacementEquityAwards"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_338baa6a-a3b4-4e99-9c50-0690d92149e2" xlink:to="loc_xyl_BusinessCombinationConsiderationTransferredEquityInterestIssuedAndIssuableReplacementEquityAwards_ddf295d5-0422-4ef9-ad4d-abb907752b92" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AcquisitionsandDivestituresSummaryofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#AcquisitionsandDivestituresSummaryofAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AcquisitionsandDivestituresSummaryofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" 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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_c397a4d7-9298-47a7-9d4a-1396236da8cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_c397a4d7-9298-47a7-9d4a-1396236da8cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_c0bd2174-ef90-4e29-911a-b6742bb6f5ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_c0bd2174-ef90-4e29-911a-b6742bb6f5ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_3cd8233b-a5f7-41d9-a4b6-87a2f10c3f4c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_3cd8233b-a5f7-41d9-a4b6-87a2f10c3f4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssetsHeldForSale_f15735b3-2325-4ee6-acd8-3f0e044e01f4" xlink:href="xyl-20241231.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssetsHeldForSale"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssetsHeldForSale_f15735b3-2325-4ee6-acd8-3f0e044e01f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_579476d8-5956-417d-8515-802114994bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_579476d8-5956-417d-8515-802114994bf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_877ee229-f670-4a03-b700-350b99fe2aaa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_877ee229-f670-4a03-b700-350b99fe2aaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_5a839239-a0ec-4db7-b910-569987ba9a04" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_5a839239-a0ec-4db7-b910-569987ba9a04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities_6dba6f9e-2c8f-4fb8-ae93-805d9af9caf0" xlink:href="xyl-20241231.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities_6dba6f9e-2c8f-4fb8-ae93-805d9af9caf0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_27822a47-56b0-4179-8af9-40b9d73cb614" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_27822a47-56b0-4179-8af9-40b9d73cb614" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesHeldForSale_0b161c99-ea13-4779-89e4-c977dacbc18a" xlink:href="xyl-20241231.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesHeldForSale"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesHeldForSale_0b161c99-ea13-4779-89e4-c977dacbc18a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesHeldForSale_7f909424-ce37-4c59-bda2-967b28aee397" xlink:href="xyl-20241231.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesHeldForSale"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesHeldForSale_7f909424-ce37-4c59-bda2-967b28aee397" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_f1569eeb-1293-4be3-8b16-63dc7d01826f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_Goodwill_f1569eeb-1293-4be3-8b16-63dc7d01826f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_3fac6eca-8dc6-477d-acab-87a88c5e4864" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_3fac6eca-8dc6-477d-acab-87a88c5e4864" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_846811dd-ec52-4784-96b6-28295171ef03" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_846811dd-ec52-4784-96b6-28295171ef03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_d6814fd4-3757-4867-a01a-3b6f15fb1563" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_d6814fd4-3757-4867-a01a-3b6f15fb1563" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_9000d61e-b2f2-4d98-a3a3-1163882c23d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_9000d61e-b2f2-4d98-a3a3-1163882c23d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale_5121a5c6-de27-4464-8c24-39955eff6042" xlink:href="xyl-20241231.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale_5121a5c6-de27-4464-8c24-39955eff6042" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_8c8da4ac-98c1-4b55-8718-ec9bbe7f5429" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_d15123b4-aba1-468f-a97b-7d1f1e8f96bf" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_8c8da4ac-98c1-4b55-8718-ec9bbe7f5429" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringandAssetImpairmentChargesComponentsofRestructuringChargesandSegmentAllocationDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#RestructuringandAssetImpairmentChargesComponentsofRestructuringChargesandSegmentAllocationDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringandAssetImpairmentChargesComponentsofRestructuringChargesandSegmentAllocationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_2e8413e4-2930-4676-8e4c-c0174ee1904d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserveAccrualAdjustment1_30be199e-50b7-4f4b-98d4-dee369b08a68" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringReserveAccrualAdjustment1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RestructuringCharges_2e8413e4-2930-4676-8e4c-c0174ee1904d" xlink:to="loc_us-gaap_RestructuringReserveAccrualAdjustment1_30be199e-50b7-4f4b-98d4-dee369b08a68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_RestructuringReserveAssetImpairment_1edbff76-6d74-4062-b031-206f0a82e7ff" xlink:href="xyl-20241231.xsd#xyl_RestructuringReserveAssetImpairment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RestructuringCharges_2e8413e4-2930-4676-8e4c-c0174ee1904d" xlink:to="loc_xyl_RestructuringReserveAssetImpairment_1edbff76-6d74-4062-b031-206f0a82e7ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_b10a7d90-c34b-4054-a9a5-3020e45f64b8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeveranceCosts1"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RestructuringCharges_2e8413e4-2930-4676-8e4c-c0174ee1904d" xlink:to="loc_us-gaap_SeveranceCosts1_b10a7d90-c34b-4054-a9a5-3020e45f64b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_AssetImpairmentandRestructuringCharges_da652900-f2b0-442a-b145-3a74c456699a" xlink:href="xyl-20241231.xsd#xyl_AssetImpairmentandRestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_565b64d9-5b77-4bd4-96c0-274556d945d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xyl_AssetImpairmentandRestructuringCharges_da652900-f2b0-442a-b145-3a74c456699a" xlink:to="loc_us-gaap_RestructuringCharges_565b64d9-5b77-4bd4-96c0-274556d945d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_5aabf5f5-f77c-44ff-b519-654f4e99e1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xyl_AssetImpairmentandRestructuringCharges_da652900-f2b0-442a-b145-3a74c456699a" xlink:to="loc_us-gaap_AssetImpairmentCharges_5aabf5f5-f77c-44ff-b519-654f4e99e1d8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#RevenueDisaggregationofRevenueDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_0b63b2c1-45ce-4045-9bf2-111f6292db68" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_a2fa7dd1-b637-4fd6-8ec0-4bb6d432bda5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_0b63b2c1-45ce-4045-9bf2-111f6292db68" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_a2fa7dd1-b637-4fd6-8ec0-4bb6d432bda5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherRevenues_d5aa9568-3e5d-428b-80ad-f39849da8af2" xlink:href="xyl-20241231.xsd#xyl_OtherRevenues"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_0b63b2c1-45ce-4045-9bf2-111f6292db68" xlink:to="loc_xyl_OtherRevenues_d5aa9568-3e5d-428b-80ad-f39849da8af2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/OtherNonOperatingIncomeNetDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#OtherNonOperatingIncomeNetDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/OtherNonOperatingIncomeNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_8b154bab-5c97-4b8d-94b6-3bd3dbbebb3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterestAndDividend_767c9535-6573-40d3-946a-3521362753f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterestAndDividend"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_8b154bab-5c97-4b8d-94b6-3bd3dbbebb3c" xlink:to="loc_us-gaap_InvestmentIncomeInterestAndDividend_767c9535-6573-40d3-946a-3521362753f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_6b41423e-9170-4dbe-a9b2-23d4b687a650" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_8b154bab-5c97-4b8d-94b6-3bd3dbbebb3c" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_6b41423e-9170-4dbe-a9b2-23d4b687a650" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherIncomeExpenseNet_fb101174-80c2-4e8b-a7bc-6c2d4dc196a5" xlink:href="xyl-20241231.xsd#xyl_OtherIncomeExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_8b154bab-5c97-4b8d-94b6-3bd3dbbebb3c" xlink:to="loc_xyl_OtherIncomeExpenseNet_fb101174-80c2-4e8b-a7bc-6c2d4dc196a5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#IncomeTaxesComponentsofIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_3f2f56c4-d62e-420f-a5e3-beed4c1aa6d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_c9e80ac6-c57b-431d-8337-29b9a122fe07" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_3f2f56c4-d62e-420f-a5e3-beed4c1aa6d8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_c9e80ac6-c57b-431d-8337-29b9a122fe07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_de6452eb-39f0-4ca5-a74d-9ae2eeec8b6d" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_3f2f56c4-d62e-420f-a5e3-beed4c1aa6d8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_de6452eb-39f0-4ca5-a74d-9ae2eeec8b6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_2fe8e511-b25a-43d3-89b3-50560a28e09f" 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_DeferredFederalIncomeTaxExpenseBenefit_60ded7f3-7350-4d85-a559-25684f336d77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_2fe8e511-b25a-43d3-89b3-50560a28e09f" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_60ded7f3-7350-4d85-a559-25684f336d77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_a28c67b0-f1a9-4d45-a369-ccbbbca45d43" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_2fe8e511-b25a-43d3-89b3-50560a28e09f" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_a28c67b0-f1a9-4d45-a369-ccbbbca45d43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_f67bf55c-ae2f-4dad-ba2e-e0b4796b3fd6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_2fe8e511-b25a-43d3-89b3-50560a28e09f" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_f67bf55c-ae2f-4dad-ba2e-e0b4796b3fd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_ce812060-b114-4c2d-baea-4134cc56afc7" 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_df88db62-4fda-4f8b-81f3-40f8b2f345e3" 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_ce812060-b114-4c2d-baea-4134cc56afc7" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_df88db62-4fda-4f8b-81f3-40f8b2f345e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_bc34cd05-0b42-416e-bb9b-bad89babacee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_ce812060-b114-4c2d-baea-4134cc56afc7" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_bc34cd05-0b42-416e-bb9b-bad89babacee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_7233b0ec-c2f0-4656-9d51-bae96080ca3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_ce812060-b114-4c2d-baea-4134cc56afc7" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_7233b0ec-c2f0-4656-9d51-bae96080ca3e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/IncomeTaxesIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#IncomeTaxesIncomeTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/IncomeTaxesIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" 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_xyl_EffectiveIncomeTaxRateReconciliationRemeasurementOfEquityInterest_3b0b0cc2-27e1-4623-aa1c-c3ea10a82476" xlink:href="xyl-20241231.xsd#xyl_EffectiveIncomeTaxRateReconciliationRemeasurementOfEquityInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_xyl_EffectiveIncomeTaxRateReconciliationRemeasurementOfEquityInterest_3b0b0cc2-27e1-4623-aa1c-c3ea10a82476" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_398f4eff-6880-4e45-aa91-69a9f90fc20e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_398f4eff-6880-4e45-aa91-69a9f90fc20e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_9efbee5b-46ce-4549-80ca-ee10abb28e1c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_9efbee5b-46ce-4549-80ca-ee10abb28e1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_8a476871-f59d-4106-962c-9893ccbd0d90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_8a476871-f59d-4106-962c-9893ccbd0d90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_22433fa9-839f-43cb-8f6e-0efa43033c77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_22433fa9-839f-43cb-8f6e-0efa43033c77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_EffectiveIncomeTaxRateReconciliationTaxOnDistributionOfForeignEarnings_1d3cae84-95bb-402d-8585-48a913fd777c" xlink:href="xyl-20241231.xsd#xyl_EffectiveIncomeTaxRateReconciliationTaxOnDistributionOfForeignEarnings"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_xyl_EffectiveIncomeTaxRateReconciliationTaxOnDistributionOfForeignEarnings_1d3cae84-95bb-402d-8585-48a913fd777c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_8976e375-601c-4aa3-a526-fa541230662b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_8976e375-601c-4aa3-a526-fa541230662b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_15b9b851-0bd1-4737-88dd-9f14cd3b746f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_15b9b851-0bd1-4737-88dd-9f14cd3b746f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_247a70e3-9250-473f-a2d2-9da4a4ffb507" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_247a70e3-9250-473f-a2d2-9da4a4ffb507" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_107e179f-13f6-4395-9712-4d04f835ee93" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_107e179f-13f6-4395-9712-4d04f835ee93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_70ac5189-9ef4-467c-ab94-16c6715d01c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_70ac5189-9ef4-467c-ab94-16c6715d01c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_08538cc8-1145-44ec-bfa7-50604bc996a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_08538cc8-1145-44ec-bfa7-50604bc996a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_e3a56a2f-98b8-4929-8ea7-6e6a708d9f20" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_e3a56a2f-98b8-4929-8ea7-6e6a708d9f20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_EffectiveIncomeTaxRateReconciliationReversalofRepatriationofForeignEarningsPercent_0d7f0116-c3ec-46a0-94ea-602ff71b85ec" xlink:href="xyl-20241231.xsd#xyl_EffectiveIncomeTaxRateReconciliationReversalofRepatriationofForeignEarningsPercent"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_xyl_EffectiveIncomeTaxRateReconciliationReversalofRepatriationofForeignEarningsPercent_0d7f0116-c3ec-46a0-94ea-602ff71b85ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_1953e34c-b5fc-4e17-9fb1-3d41907cc683" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_1953e34c-b5fc-4e17-9fb1-3d41907cc683" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_2e9422f6-7ec9-4cc7-9fb3-a55b8ce0e598" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_29321a51-3bc2-4a60-9060-3826b0ee2043" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_2e9422f6-7ec9-4cc7-9fb3-a55b8ce0e598" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_408b651b-b231-498f-ac4b-2a4f588cb194" 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_f739519f-1f38-4749-8363-44424b47e83a" 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_408b651b-b231-498f-ac4b-2a4f588cb194" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_f739519f-1f38-4749-8363-44424b47e83a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_89d128b5-5040-4fc1-9c42-45435036d91a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_408b651b-b231-498f-ac4b-2a4f588cb194" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_89d128b5-5040-4fc1-9c42-45435036d91a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_1a9e6846-0090-491e-8fe4-f7ce32d70c94" 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_408b651b-b231-498f-ac4b-2a4f588cb194" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_1a9e6846-0090-491e-8fe4-f7ce32d70c94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDerivatives_722ca01c-bb94-48bf-a717-84a7e9616e59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesDerivatives"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_408b651b-b231-498f-ac4b-2a4f588cb194" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDerivatives_722ca01c-bb94-48bf-a717-84a7e9616e59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_e67b2a23-df89-490c-8055-ab4f9ce2c5ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_408b651b-b231-498f-ac4b-2a4f588cb194" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_e67b2a23-df89-490c-8055-ab4f9ce2c5ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_DeferredTaxLiabilityOperatingLeaseRightofUseAsset_073b0bcb-dc82-4675-8ec1-878ebcdcbdda" xlink:href="xyl-20241231.xsd#xyl_DeferredTaxLiabilityOperatingLeaseRightofUseAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_408b651b-b231-498f-ac4b-2a4f588cb194" xlink:to="loc_xyl_DeferredTaxLiabilityOperatingLeaseRightofUseAsset_073b0bcb-dc82-4675-8ec1-878ebcdcbdda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_92c311a7-6455-4da0-97e3-aaf51d8130d8" 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_f10a3060-f91f-4410-add4-a289d075db0d" 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_92c311a7-6455-4da0-97e3-aaf51d8130d8" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_f10a3060-f91f-4410-add4-a289d075db0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_377353f2-9de1-4c82-b9df-ac000229473f" 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_92c311a7-6455-4da0-97e3-aaf51d8130d8" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_377353f2-9de1-4c82-b9df-ac000229473f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" 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_DeferredTaxAssetsDerivativeInstruments_3a18601e-fa6e-4ef6-9c8f-f96725011742" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsDerivativeInstruments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" xlink:to="loc_us-gaap_DeferredTaxAssetsDerivativeInstruments_3a18601e-fa6e-4ef6-9c8f-f96725011742" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_DeferredTaxAssetOperatingLeaseLiability_a13963d2-b917-45c2-822c-d53b4d0bcd26" xlink:href="xyl-20241231.xsd#xyl_DeferredTaxAssetOperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" xlink:to="loc_xyl_DeferredTaxAssetOperatingLeaseLiability_a13963d2-b917-45c2-822c-d53b4d0bcd26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_a388023c-c75b-4c4c-b1fd-6437acfdcb3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_a388023c-c75b-4c4c-b1fd-6437acfdcb3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_1f983bf6-55ae-4ef2-bebc-d625d17481b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_1f983bf6-55ae-4ef2-bebc-d625d17481b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_10e46dce-358f-436c-a7a7-5ea33dcaecd7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_10e46dce-358f-436c-a7a7-5ea33dcaecd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_a3388c12-b2ae-4e3c-a5ce-6704b837580d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_a3388c12-b2ae-4e3c-a5ce-6704b837580d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_bbed1184-4df4-4888-8056-4e360f2170e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_bbed1184-4df4-4888-8056-4e360f2170e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInventory_e1e8e324-2164-4003-8c03-61c2eddd6a86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsInventory"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8aa3ac50-f343-43d6-b314-2f5d7aa26690" xlink:to="loc_us-gaap_DeferredTaxAssetsInventory_e1e8e324-2164-4003-8c03-61c2eddd6a86" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/IncomeTaxesClassificationofUnrecognizedTaxBenefitsDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#IncomeTaxesClassificationofUnrecognizedTaxBenefitsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/IncomeTaxesClassificationofUnrecognizedTaxBenefitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_5c4c41c4-4a4e-426a-98cf-0e5bbf2a1e14" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_ddf1df30-200f-4ba7-8015-0911b0c477fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_5c4c41c4-4a4e-426a-98cf-0e5bbf2a1e14" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_ddf1df30-200f-4ba7-8015-0911b0c477fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_dbe16470-d824-4c64-8f8a-4861c9054376" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_5c4c41c4-4a4e-426a-98cf-0e5bbf2a1e14" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_dbe16470-d824-4c64-8f8a-4861c9054376" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EarningsPerShareCalculationofEPSDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#EarningsPerShareCalculationofEPSDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/EarningsPerShareCalculationofEPSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e9512eff-d2b6-432c-87cb-8531ed74835a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_0174bafe-733b-41e0-9eda-b3adb9aba84c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e9512eff-d2b6-432c-87cb-8531ed74835a" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_0174bafe-733b-41e0-9eda-b3adb9aba84c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_WeightedAverageNumberOfSharesParticipatingSecurities_3079e21b-3398-4c78-9fd8-0662e2c830bd" xlink:href="xyl-20241231.xsd#xyl_WeightedAverageNumberOfSharesParticipatingSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e9512eff-d2b6-432c-87cb-8531ed74835a" xlink:to="loc_xyl_WeightedAverageNumberOfSharesParticipatingSecurities_3079e21b-3398-4c78-9fd8-0662e2c830bd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/InventoriesDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#InventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/InventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_fb930ef9-6bfe-47f3-83c0-702fd72f3341" 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_InventoryFinishedGoodsNetOfReserves_8c65732d-e0a2-4814-9c1c-8d518718c9e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_fb930ef9-6bfe-47f3-83c0-702fd72f3341" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_8c65732d-e0a2-4814-9c1c-8d518718c9e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_3bcfe3a3-7c41-4778-94b8-6db46b08c576" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_fb930ef9-6bfe-47f3-83c0-702fd72f3341" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_3bcfe3a3-7c41-4778-94b8-6db46b08c576" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_fe19968d-76a5-4438-819e-d3a5a738ec4e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_fb930ef9-6bfe-47f3-83c0-702fd72f3341" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_fe19968d-76a5-4438-819e-d3a5a738ec4e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PropertyPlantandEquipmentComponentsofPropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#PropertyPlantandEquipmentComponentsofPropertyPlantandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/PropertyPlantandEquipmentComponentsofPropertyPlantandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4005cb4d-1f09-4ce4-a05e-1398db3cb5f6" 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_1d5c73cf-4c43-486d-a12e-424350cc3104" 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_4005cb4d-1f09-4ce4-a05e-1398db3cb5f6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_1d5c73cf-4c43-486d-a12e-424350cc3104" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_020b203c-153f-4f79-b8a8-fe09961bd2aa" 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_4005cb4d-1f09-4ce4-a05e-1398db3cb5f6" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_020b203c-153f-4f79-b8a8-fe09961bd2aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/LeasesLeaseCostsDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#LeasesLeaseCostsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/LeasesLeaseCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_97de2363-bba9-4419-8fa0-25cd9c335f78" 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_FinanceLeaseRightOfUseAssetAmortization_e4cfebd5-b148-4597-aaf9-67a4a7d0f46c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_97de2363-bba9-4419-8fa0-25cd9c335f78" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_e4cfebd5-b148-4597-aaf9-67a4a7d0f46c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_426f2998-fba4-4ab8-9f62-bd29ad795dac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_97de2363-bba9-4419-8fa0-25cd9c335f78" xlink:to="loc_us-gaap_VariableLeaseCost_426f2998-fba4-4ab8-9f62-bd29ad795dac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_e4b763e2-0af9-411f-a77e-e866ba9c2211" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_97de2363-bba9-4419-8fa0-25cd9c335f78" xlink:to="loc_us-gaap_ShortTermLeaseCost_e4b763e2-0af9-411f-a77e-e866ba9c2211" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_a9a63445-6a0c-4e4b-8f23-7a9fa8cd5298" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_97de2363-bba9-4419-8fa0-25cd9c335f78" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_a9a63445-6a0c-4e4b-8f23-7a9fa8cd5298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_a57f637b-3660-4416-a6ed-da39588a7b95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_97de2363-bba9-4419-8fa0-25cd9c335f78" xlink:to="loc_us-gaap_OperatingLeaseCost_a57f637b-3660-4416-a6ed-da39588a7b95" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/LeasesMaturitiesDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#LeasesMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/LeasesMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9ded7339-96a6-4424-ae76-0ae4b97a3414" 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_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_80ae2c18-320e-4c8a-975b-4a16bc3072fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9ded7339-96a6-4424-ae76-0ae4b97a3414" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_80ae2c18-320e-4c8a-975b-4a16bc3072fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_87bdd7eb-64ae-464c-8c32-62a071e1c4ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9ded7339-96a6-4424-ae76-0ae4b97a3414" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_87bdd7eb-64ae-464c-8c32-62a071e1c4ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_fbebcc79-706b-4665-bfd7-717bebbfd946" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9ded7339-96a6-4424-ae76-0ae4b97a3414" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_fbebcc79-706b-4665-bfd7-717bebbfd946" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_f8cb048b-8120-434a-8f98-9a8ca164d154" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9ded7339-96a6-4424-ae76-0ae4b97a3414" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_f8cb048b-8120-434a-8f98-9a8ca164d154" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_86fad02a-c587-4985-bfef-38f0b295e81e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9ded7339-96a6-4424-ae76-0ae4b97a3414" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_86fad02a-c587-4985-bfef-38f0b295e81e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_873f5175-7e8f-447e-96a8-7fa0e158fec4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9ded7339-96a6-4424-ae76-0ae4b97a3414" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_873f5175-7e8f-447e-96a8-7fa0e158fec4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/LeasesMaturitiesDetails_1" xlink:type="simple" xlink:href="xyl-20241231.xsd#LeasesMaturitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/LeasesMaturitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_88b7ebeb-bbc6-48bc-9721-2d9dcebc40f7" 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_2e6bf0e3-5033-4107-902d-e3dc5d7c5db8" 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_88b7ebeb-bbc6-48bc-9721-2d9dcebc40f7" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_2e6bf0e3-5033-4107-902d-e3dc5d7c5db8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_23cf0dbb-eb7c-4f22-a4bf-5708e9baa572" 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_88b7ebeb-bbc6-48bc-9721-2d9dcebc40f7" xlink:to="loc_us-gaap_OperatingLeaseLiability_23cf0dbb-eb7c-4f22-a4bf-5708e9baa572" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/LeasesFinanceLeasePaymentsDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#LeasesFinanceLeasePaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/LeasesFinanceLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_308932ac-ff14-4228-bf37-7e3549ec787f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_9f2c8190-31e5-4e87-bbcd-076ff261d3e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_308932ac-ff14-4228-bf37-7e3549ec787f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_9f2c8190-31e5-4e87-bbcd-076ff261d3e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_db471902-c27b-4d5d-aa08-27b2704c60e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_308932ac-ff14-4228-bf37-7e3549ec787f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_db471902-c27b-4d5d-aa08-27b2704c60e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_aa7c4475-a8a1-4b41-84d8-8b67b775b4f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_308932ac-ff14-4228-bf37-7e3549ec787f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_aa7c4475-a8a1-4b41-84d8-8b67b775b4f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_5420b7d8-5c9e-42d0-9fa7-3fc9ec65d291" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_308932ac-ff14-4228-bf37-7e3549ec787f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_5420b7d8-5c9e-42d0-9fa7-3fc9ec65d291" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_3f7b3da2-5d97-4346-9d7b-15c8e56e9efd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_308932ac-ff14-4228-bf37-7e3549ec787f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_3f7b3da2-5d97-4346-9d7b-15c8e56e9efd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_0cf9f12f-6fa9-42e9-8241-85c82b7418d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_308932ac-ff14-4228-bf37-7e3549ec787f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_0cf9f12f-6fa9-42e9-8241-85c82b7418d3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/LeasesFinanceLeasePaymentsDetails_1" xlink:type="simple" xlink:href="xyl-20241231.xsd#LeasesFinanceLeasePaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/LeasesFinanceLeasePaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dd227a23-2f52-4725-bec2-4fc2cf73a0c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_a153d66a-a441-42ba-b417-99d3ee10402f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dd227a23-2f52-4725-bec2-4fc2cf73a0c8" xlink:to="loc_us-gaap_FinanceLeaseLiability_a153d66a-a441-42ba-b417-99d3ee10402f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_f22d2944-174b-4db5-81a2-dca889565c91" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dd227a23-2f52-4725-bec2-4fc2cf73a0c8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_f22d2944-174b-4db5-81a2-dca889565c91" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsSummaryofOtherIntangibleAssetsDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#GoodwillandOtherIntangibleAssetsSummaryofOtherIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsSummaryofOtherIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4ca9788a-04db-4ca4-b21e-4d324779616e" 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_a2f01fb8-cb09-41fd-9237-bdf4d567ed58" 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_4ca9788a-04db-4ca4-b21e-4d324779616e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_a2f01fb8-cb09-41fd-9237-bdf4d567ed58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_0e3f6983-ee9a-44a3-9177-de9f80d17113" 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_4ca9788a-04db-4ca4-b21e-4d324779616e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_0e3f6983-ee9a-44a3-9177-de9f80d17113" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_90331d3c-05df-4ac1-8c02-5fe5bedf88f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_00967438-5ba3-452f-9ada-576e6bab38c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_90331d3c-05df-4ac1-8c02-5fe5bedf88f9" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_00967438-5ba3-452f-9ada-576e6bab38c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3aa921c9-2d5e-4503-8c0f-653efac4735e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_90331d3c-05df-4ac1-8c02-5fe5bedf88f9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3aa921c9-2d5e-4503-8c0f-653efac4735e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#AccruedandOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_31b7d02a-6c7f-4031-b0cf-ef5814010336" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_d7c69ee4-3e10-476f-8fc7-a6c2c206ce9e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_31b7d02a-6c7f-4031-b0cf-ef5814010336" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_d7c69ee4-3e10-476f-8fc7-a6c2c206ce9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_CustomerRelatedLiabilitiesCurrent_f0df4882-f5ec-4a39-852f-4142001895e8" xlink:href="xyl-20241231.xsd#xyl_CustomerRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_31b7d02a-6c7f-4031-b0cf-ef5814010336" xlink:to="loc_xyl_CustomerRelatedLiabilitiesCurrent_f0df4882-f5ec-4a39-852f-4142001895e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualCurrent_9d69d6f7-6491-428d-ae40-594b34e24af2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StandardProductWarrantyAccrualCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_31b7d02a-6c7f-4031-b0cf-ef5814010336" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualCurrent_9d69d6f7-6491-428d-ae40-594b34e24af2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_da6e1d2f-7aad-4735-ac21-05d2b8d7fab7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_31b7d02a-6c7f-4031-b0cf-ef5814010336" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_da6e1d2f-7aad-4735-ac21-05d2b8d7fab7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_499f5c88-a663-47a2-805d-46c91ffd2a7d" 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_AccruedLiabilitiesCurrent_31b7d02a-6c7f-4031-b0cf-ef5814010336" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_499f5c88-a663-47a2-805d-46c91ffd2a7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OperatingAndFinanceLeaseLiabilityCurrent_697b2479-f90c-447d-8098-e794ea34daf7" xlink:href="xyl-20241231.xsd#xyl_OperatingAndFinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_31b7d02a-6c7f-4031-b0cf-ef5814010336" xlink:to="loc_xyl_OperatingAndFinanceLeaseLiabilityCurrent_697b2479-f90c-447d-8098-e794ea34daf7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandLongTermDebtSummaryofDebtOutstandingDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#CreditFacilitiesandLongTermDebtSummaryofDebtOutstandingDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CreditFacilitiesandLongTermDebtSummaryofDebtOutstandingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_50e36280-2573-42dc-ae7b-de48d473bb2c" 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_ShortTermBorrowings_7273ed80-e71e-4457-b609-826557215a96" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_50e36280-2573-42dc-ae7b-de48d473bb2c" xlink:to="loc_us-gaap_ShortTermBorrowings_7273ed80-e71e-4457-b609-826557215a96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_03c562c6-bb98-40d6-b738-2b6468d9404f" 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_DebtLongtermAndShorttermCombinedAmount_50e36280-2573-42dc-ae7b-de48d473bb2c" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_03c562c6-bb98-40d6-b738-2b6468d9404f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_de513a62-43fe-4db8-9e74-53f819a96161" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_50e36280-2573-42dc-ae7b-de48d473bb2c" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_de513a62-43fe-4db8-9e74-53f819a96161" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandLongTermDebtMaturitiesofDebtDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#CreditFacilitiesandLongTermDebtMaturitiesofDebtDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CreditFacilitiesandLongTermDebtMaturitiesofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_f5f02333-7efd-4f03-a0e7-7c5eb5581526" 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_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_ba9d6028-22aa-45a4-8302-f2f0ae654f38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_f5f02333-7efd-4f03-a0e7-7c5eb5581526" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_ba9d6028-22aa-45a4-8302-f2f0ae654f38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_ae909ac3-0150-452d-8944-431b3a06085e" 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_us-gaap_LongTermDebt_f5f02333-7efd-4f03-a0e7-7c5eb5581526" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_ae909ac3-0150-452d-8944-431b3a06085e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_c649c54b-0285-410f-bb2d-66647b54abb3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_f5f02333-7efd-4f03-a0e7-7c5eb5581526" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_c649c54b-0285-410f-bb2d-66647b54abb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_d21c344b-e83b-4e50-99d4-d3de575bac9f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_f5f02333-7efd-4f03-a0e7-7c5eb5581526" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_d21c344b-e83b-4e50-99d4-d3de575bac9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_b6558761-c5f3-45d7-8373-47317a14d07a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_f5f02333-7efd-4f03-a0e7-7c5eb5581526" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_b6558761-c5f3-45d7-8373-47317a14d07a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_814e979b-74b7-41de-981d-e3a70a186cb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_f5f02333-7efd-4f03-a0e7-7c5eb5581526" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_814e979b-74b7-41de-981d-e3a70a186cb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_49445480-a7ac-4fad-9e98-18cfd8997028" 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_62ada4d6-5fea-4b4e-a7a0-c4051d1c9ded" 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_49445480-a7ac-4fad-9e98-18cfd8997028" xlink:to="loc_us-gaap_LongTermDebt_62ada4d6-5fea-4b4e-a7a0-c4051d1c9ded" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_05476d72-b248-49b4-8f41-4a22c537ea7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_49445480-a7ac-4fad-9e98-18cfd8997028" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_05476d72-b248-49b4-8f41-4a22c537ea7d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansSummaryofPlanAssetsBenefitObligationandFundedStatusDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#PostretirementBenefitPlansSummaryofPlanAssetsBenefitObligationandFundedStatusDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/PostretirementBenefitPlansSummaryofPlanAssetsBenefitObligationandFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_fb3b2fe5-2207-41d9-84aa-ec482a58e736" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_2d37198e-bc49-4da6-8552-581dcd3194b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_fb3b2fe5-2207-41d9-84aa-ec482a58e736" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_2d37198e-bc49-4da6-8552-581dcd3194b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_cdc0d334-7a54-4bf9-90c1-ba349185066f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_fb3b2fe5-2207-41d9-84aa-ec482a58e736" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_cdc0d334-7a54-4bf9-90c1-ba349185066f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_7b9895bb-f59a-4f27-a1fd-2b94636ea033" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_fe5432f1-da64-4d60-a61e-1aed3a930f4f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_7b9895bb-f59a-4f27-a1fd-2b94636ea033" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_fe5432f1-da64-4d60-a61e-1aed3a930f4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_61923e6b-c9de-4ce2-be3a-62177f0db883" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_7b9895bb-f59a-4f27-a1fd-2b94636ea033" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_61923e6b-c9de-4ce2-be3a-62177f0db883" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitsPayableCurrentAndNoncurrent_fbd0ab15-aaee-4b54-8f0d-d1a7a4c3b338" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPostretirementBenefitsPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_7b9895bb-f59a-4f27-a1fd-2b94636ea033" xlink:to="loc_us-gaap_OtherPostretirementBenefitsPayableCurrentAndNoncurrent_fbd0ab15-aaee-4b54-8f0d-d1a7a4c3b338" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_a52bb912-32ce-481a-854f-e89e9d3fee09" 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_8fef16e9-0554-4f56-a7b0-90f05714aefc" 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_a52bb912-32ce-481a-854f-e89e9d3fee09" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_8fef16e9-0554-4f56-a7b0-90f05714aefc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3c241fd8-14f2-4f79-9b7e-fbf11ec7c04a" 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_a52bb912-32ce-481a-854f-e89e9d3fee09" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3c241fd8-14f2-4f79-9b7e-fbf11ec7c04a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansComponentsofPensionPlansDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#PostretirementBenefitPlansComponentsofPensionPlansDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/PostretirementBenefitPlansComponentsofPensionPlansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_aeac45c2-9fe4-438b-8f76-c95475c40678" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_5b10ddef-7207-403d-abc9-7818c379da7e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_aeac45c2-9fe4-438b-8f76-c95475c40678" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_5b10ddef-7207-403d-abc9-7818c379da7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_aa1d3fca-c50b-448e-a26d-720837ceb905" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_aeac45c2-9fe4-438b-8f76-c95475c40678" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_aa1d3fca-c50b-448e-a26d-720837ceb905" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetTransitionAssetObligationBeforeTax_34993eba-cdc8-42b7-8ece-06e1fffb0557" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetTransitionAssetObligationBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_aeac45c2-9fe4-438b-8f76-c95475c40678" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetTransitionAssetObligationBeforeTax_34993eba-cdc8-42b7-8ece-06e1fffb0557" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_7dc41050-a46a-4504-9e85-53f2ee758ca2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_aeac45c2-9fe4-438b-8f76-c95475c40678" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_7dc41050-a46a-4504-9e85-53f2ee758ca2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1ce2993b-88c7-4d65-8bd4-949683002dd7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_84ab6fe1-0863-4513-bf78-4ee2da4cace0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1ce2993b-88c7-4d65-8bd4-949683002dd7" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_84ab6fe1-0863-4513-bf78-4ee2da4cace0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_41a93b7f-b2c9-4cad-b26e-dc3355f13725" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1ce2993b-88c7-4d65-8bd4-949683002dd7" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_41a93b7f-b2c9-4cad-b26e-dc3355f13725" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_be4917a0-22e4-4281-92b4-6d492e0439bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1ce2993b-88c7-4d65-8bd4-949683002dd7" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_be4917a0-22e4-4281-92b4-6d492e0439bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_eb08d6a1-c304-4bb0-a161-beec0a79d421" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1ce2993b-88c7-4d65-8bd4-949683002dd7" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_eb08d6a1-c304-4bb0-a161-beec0a79d421" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_458aa005-0642-4a16-b600-eeff60076694" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1ce2993b-88c7-4d65-8bd4-949683002dd7" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_458aa005-0642-4a16-b600-eeff60076694" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanSettlementsBenefitObligation_982a8c15-6054-49df-be05-92cade2cf2d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanSettlementsBenefitObligation"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1ce2993b-88c7-4d65-8bd4-949683002dd7" xlink:to="loc_us-gaap_DefinedBenefitPlanSettlementsBenefitObligation_982a8c15-6054-49df-be05-92cade2cf2d8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansComponentsofNetPeriodicBenefitCostDetails" xlink:type="simple" xlink:href="xyl-20241231.xsd#PostretirementBenefitPlansComponentsofNetPeriodicBenefitCostDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/PostretirementBenefitPlansComponentsofNetPeriodicBenefitCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_0e899a20-e7fe-40f8-bd1e-5caa902605f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_64bf9ba6-5e4e-41f6-ad7f-377bcb0b45bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_0e899a20-e7fe-40f8-bd1e-5caa902605f7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_64bf9ba6-5e4e-41f6-ad7f-377bcb0b45bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_c4bb9958-02a6-4495-980b-8ca6d8cd3344" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_0e899a20-e7fe-40f8-bd1e-5caa902605f7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_c4bb9958-02a6-4495-980b-8ca6d8cd3344" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_ca2c7f43-7025-4a8a-8ca8-ef93b384ef65" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_0e899a20-e7fe-40f8-bd1e-5caa902605f7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_ca2c7f43-7025-4a8a-8ca8-ef93b384ef65" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
