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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:a3a9a5bd-4848-4f63-8f86-db4638531531,g:544c74c7-c996-40a7-ba27-4296477d8ff3-->
<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/CondensedConsolidatedIncomeStatementsUnaudited" xlink:type="simple" xlink:href="xyl-20240930.xsd#CondensedConsolidatedIncomeStatementsUnaudited"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CondensedConsolidatedIncomeStatementsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_32bff4b2-6340-4e4b-8f78-0861d8148759" 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_8cd6aa42-8260-40e3-af84-ec9e011d92bd" 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_32bff4b2-6340-4e4b-8f78-0861d8148759" xlink:to="loc_us-gaap_GrossProfit_8cd6aa42-8260-40e3-af84-ec9e011d92bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_d4334403-4a48-4191-9925-ee971e3a313e" 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_32bff4b2-6340-4e4b-8f78-0861d8148759" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_d4334403-4a48-4191-9925-ee971e3a313e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_2bba540f-8ed9-4dfd-bc77-789ef0455bd2" 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_32bff4b2-6340-4e4b-8f78-0861d8148759" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_2bba540f-8ed9-4dfd-bc77-789ef0455bd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_RestructuringAndAssetImpairmentLosses_2afe8fa5-1679-4eed-96d9-1e276289d9c5" xlink:href="xyl-20240930.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_32bff4b2-6340-4e4b-8f78-0861d8148759" xlink:to="loc_xyl_RestructuringAndAssetImpairmentLosses_2afe8fa5-1679-4eed-96d9-1e276289d9c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d05bd968-36b6-4a15-acef-9bf9c8f6bdad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_8db503d1-b5a5-4b38-b6e2-d087439888fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d05bd968-36b6-4a15-acef-9bf9c8f6bdad" xlink:to="loc_us-gaap_OperatingIncomeLoss_8db503d1-b5a5-4b38-b6e2-d087439888fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_03cca17d-95e0-46d5-bc21-cbba877c1f47" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d05bd968-36b6-4a15-acef-9bf9c8f6bdad" xlink:to="loc_us-gaap_InterestExpenseNonoperating_03cca17d-95e0-46d5-bc21-cbba877c1f47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_151d7864-3d65-4980-9c63-12f00fd95a49" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d05bd968-36b6-4a15-acef-9bf9c8f6bdad" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_151d7864-3d65-4980-9c63-12f00fd95a49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_03037950-880d-4f3e-8c3f-b180a094518e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d05bd968-36b6-4a15-acef-9bf9c8f6bdad" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_03037950-880d-4f3e-8c3f-b180a094518e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_dc93a783-af4b-402f-81f7-9e4a88e0ef84" 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_197f4611-6b22-489b-8a05-813955561f97" 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_dc93a783-af4b-402f-81f7-9e4a88e0ef84" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_197f4611-6b22-489b-8a05-813955561f97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_15dcb0d3-2afc-4c67-8ca1-318d3dde7995" 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_dc93a783-af4b-402f-81f7-9e4a88e0ef84" xlink:to="loc_us-gaap_CostOfRevenue_15dcb0d3-2afc-4c67-8ca1-318d3dde7995" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_571faef7-b2a2-475a-9449-911971cf5442" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_16b5c2d1-ca31-4446-8543-5b12942b53ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_571faef7-b2a2-475a-9449-911971cf5442" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_16b5c2d1-ca31-4446-8543-5b12942b53ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1e822dfb-34f9-4cdd-98ba-78cf651b58f9" 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_571faef7-b2a2-475a-9449-911971cf5442" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1e822dfb-34f9-4cdd-98ba-78cf651b58f9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofComprehensiveLossIncomeUnaudited" xlink:type="simple" xlink:href="xyl-20240930.xsd#CondensedConsolidatedStatementsofComprehensiveLossIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofComprehensiveLossIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_a74d6497-320b-48c3-9d8a-2cfc994ce025" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_dde13758-0516-4afa-9073-848314489131" 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_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_a74d6497-320b-48c3-9d8a-2cfc994ce025" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_dde13758-0516-4afa-9073-848314489131" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_f91e0338-607b-4dda-937e-0cbc9ba9830d" 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_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_a74d6497-320b-48c3-9d8a-2cfc994ce025" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_f91e0338-607b-4dda-937e-0cbc9ba9830d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_bac95185-7fb4-4c41-a039-f64f61d7435f" 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_e719a3ef-d57f-4dc0-b9d1-d7ad98718750" 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_bac95185-7fb4-4c41-a039-f64f61d7435f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_e719a3ef-d57f-4dc0-b9d1-d7ad98718750" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_d8cfe05a-b9f4-485a-804b-c27e53cf4673" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_bac95185-7fb4-4c41-a039-f64f61d7435f" xlink:to="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_d8cfe05a-b9f4-485a-804b-c27e53cf4673" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_0692298e-0c59-48a0-9bc4-79b7de7bc18b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_bac95185-7fb4-4c41-a039-f64f61d7435f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_0692298e-0c59-48a0-9bc4-79b7de7bc18b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_a3a77c98-d67f-419b-92b5-8d78a813ee31" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_bac95185-7fb4-4c41-a039-f64f61d7435f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_a3a77c98-d67f-419b-92b5-8d78a813ee31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_55cb92dc-2396-47f1-9fcc-196be69d519b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_bac95185-7fb4-4c41-a039-f64f61d7435f" xlink:to="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_55cb92dc-2396-47f1-9fcc-196be69d519b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherComprehensiveIncomeLossDefinedBenefitPlanForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_6bb9a000-857e-42af-8df5-4855b8ed4c7e" xlink:href="xyl-20240930.xsd#xyl_OtherComprehensiveIncomeLossDefinedBenefitPlanForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_bac95185-7fb4-4c41-a039-f64f61d7435f" xlink:to="loc_xyl_OtherComprehensiveIncomeLossDefinedBenefitPlanForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_6bb9a000-857e-42af-8df5-4855b8ed4c7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_e594b15a-571d-41c8-a267-0d34d2452618" 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_ProfitLoss_6444590e-5bff-416a-84eb-48fc183d646d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_e594b15a-571d-41c8-a267-0d34d2452618" xlink:to="loc_us-gaap_ProfitLoss_6444590e-5bff-416a-84eb-48fc183d646d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_66970f3d-e945-48f9-8288-4f641725f66a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_e594b15a-571d-41c8-a267-0d34d2452618" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_66970f3d-e945-48f9-8288-4f641725f66a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="xyl-20240930.xsd#CondensedConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_33958849-3735-4cd3-a242-f1a4151b1e38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a52b6f37-7c4f-45be-ad1b-cb525f69e453" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_33958849-3735-4cd3-a242-f1a4151b1e38" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a52b6f37-7c4f-45be-ad1b-cb525f69e453" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_be28504c-4a6b-43c1-b897-1451ac245e4f" 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_33958849-3735-4cd3-a242-f1a4151b1e38" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_be28504c-4a6b-43c1-b897-1451ac245e4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_40624840-7519-4277-895f-977ce988ec43" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_33958849-3735-4cd3-a242-f1a4151b1e38" xlink:to="loc_us-gaap_InventoryNet_40624840-7519-4277-895f-977ce988ec43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_536c01cb-579c-48ec-8767-c3111d37acaf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_33958849-3735-4cd3-a242-f1a4151b1e38" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_536c01cb-579c-48ec-8767-c3111d37acaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_20553b23-2b13-41ce-9efb-9af6008978d8" 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_d3a66fd2-0eba-479c-8295-82d56969d95a" 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_20553b23-2b13-41ce-9efb-9af6008978d8" xlink:to="loc_us-gaap_StockholdersEquity_d3a66fd2-0eba-479c-8295-82d56969d95a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_9ef49f06-ee80-4900-9b20-bbe72f991102" 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_20553b23-2b13-41ce-9efb-9af6008978d8" xlink:to="loc_us-gaap_MinorityInterest_9ef49f06-ee80-4900-9b20-bbe72f991102" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_fdb2544b-94af-4c10-a115-c28f52845bb7" 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_c94853fc-1661-4e6f-bb9b-29260246e9b4" 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_fdb2544b-94af-4c10-a115-c28f52845bb7" xlink:to="loc_us-gaap_LiabilitiesCurrent_c94853fc-1661-4e6f-bb9b-29260246e9b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_2ae8f577-bba7-4f06-a12c-8ff20126d4ec" 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_fdb2544b-94af-4c10-a115-c28f52845bb7" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_2ae8f577-bba7-4f06-a12c-8ff20126d4ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_a5b7685f-b1fb-49d7-853d-8800389d9595" 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_fdb2544b-94af-4c10-a115-c28f52845bb7" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_a5b7685f-b1fb-49d7-853d-8800389d9595" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_c2f46874-ec05-40a8-b5e6-76725eda7cb5" 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_fdb2544b-94af-4c10-a115-c28f52845bb7" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_c2f46874-ec05-40a8-b5e6-76725eda7cb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_35903d34-9d1e-4bf2-ba97-d09af68576b1" 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_fdb2544b-94af-4c10-a115-c28f52845bb7" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_35903d34-9d1e-4bf2-ba97-d09af68576b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_f6afabff-25ed-4bac-817c-48d2bd62f476" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_a722fb41-c330-4b25-8169-21eb6b50adf8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f6afabff-25ed-4bac-817c-48d2bd62f476" xlink:to="loc_us-gaap_Liabilities_a722fb41-c330-4b25-8169-21eb6b50adf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_41b5d824-d662-44f2-b479-f630b4077989" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f6afabff-25ed-4bac-817c-48d2bd62f476" xlink:to="loc_us-gaap_CommitmentsAndContingencies_41b5d824-d662-44f2-b479-f630b4077989" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_938e7032-e9b1-41ac-a54a-38fd18b79485" 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_f6afabff-25ed-4bac-817c-48d2bd62f476" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_938e7032-e9b1-41ac-a54a-38fd18b79485" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_e73ad05a-2576-408b-99b0-5052ed0953c0" 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_37c9f91d-86d4-43a4-bb86-0461006cc49e" 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_e73ad05a-2576-408b-99b0-5052ed0953c0" xlink:to="loc_us-gaap_AssetsCurrent_37c9f91d-86d4-43a4-bb86-0461006cc49e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f1066c11-08f6-4311-b2b9-8e82731f6300" 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_e73ad05a-2576-408b-99b0-5052ed0953c0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f1066c11-08f6-4311-b2b9-8e82731f6300" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_e93f2d65-adea-4ceb-a906-bce23365eca9" 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_e73ad05a-2576-408b-99b0-5052ed0953c0" xlink:to="loc_us-gaap_Goodwill_e93f2d65-adea-4ceb-a906-bce23365eca9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ac807ec2-5d35-46a7-9a2a-2a616edd72f5" 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_e73ad05a-2576-408b-99b0-5052ed0953c0" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ac807ec2-5d35-46a7-9a2a-2a616edd72f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_92265ddb-15f3-4d04-a327-33548138b029" 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_e73ad05a-2576-408b-99b0-5052ed0953c0" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_92265ddb-15f3-4d04-a327-33548138b029" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_19aa3904-9585-4e74-b20c-bd84ddf25228" 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_65a55584-dbe9-4eba-a578-8b76086aff60" 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_19aa3904-9585-4e74-b20c-bd84ddf25228" xlink:to="loc_us-gaap_CommonStockValue_65a55584-dbe9-4eba-a578-8b76086aff60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_a8cdb544-5308-49a9-8f4f-430e12732a4a" 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_19aa3904-9585-4e74-b20c-bd84ddf25228" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_a8cdb544-5308-49a9-8f4f-430e12732a4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e2477d13-373e-4a1f-8745-a00b2a6a7b8b" 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_19aa3904-9585-4e74-b20c-bd84ddf25228" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e2477d13-373e-4a1f-8745-a00b2a6a7b8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_d25736fd-1464-42dc-a313-cc41dd805bce" 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_19aa3904-9585-4e74-b20c-bd84ddf25228" xlink:to="loc_us-gaap_TreasuryStockValue_d25736fd-1464-42dc-a313-cc41dd805bce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_d49014c3-ece6-4b70-976e-268df91f930b" 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_19aa3904-9585-4e74-b20c-bd84ddf25228" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_d49014c3-ece6-4b70-976e-268df91f930b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_66144433-bf64-47ac-9d03-6b24a35c9e7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_4c5ed9f3-9902-43f8-a2c0-d99d99da7532" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_66144433-bf64-47ac-9d03-6b24a35c9e7d" xlink:to="loc_us-gaap_AccountsPayableCurrent_4c5ed9f3-9902-43f8-a2c0-d99d99da7532" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_9b3efd2f-ac78-47be-84a1-23cf60d40175" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_66144433-bf64-47ac-9d03-6b24a35c9e7d" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_9b3efd2f-ac78-47be-84a1-23cf60d40175" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_d5748aae-531a-43cd-9c2b-2812b86f4fc9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_66144433-bf64-47ac-9d03-6b24a35c9e7d" xlink:to="loc_us-gaap_DebtCurrent_d5748aae-531a-43cd-9c2b-2812b86f4fc9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="xyl-20240930.xsd#CondensedConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" 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_ProfitLoss_ea1a988f-885e-448e-82ca-ca254687c51d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_ProfitLoss_ea1a988f-885e-448e-82ca-ca254687c51d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_f62ebff9-d12d-432d-94b5-c401cd4917bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_Depreciation_f62ebff9-d12d-432d-94b5-c401cd4917bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_6931da15-7ee2-4d82-8938-c731694becd2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentForAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_AdjustmentForAmortization_6931da15-7ee2-4d82-8938-c731694becd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_c1330b03-c66e-4dd2-805f-fb92708a8b9e" 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_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_ShareBasedCompensation_c1330b03-c66e-4dd2-805f-fb92708a8b9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_021f7754-bd9f-4e8c-82d6-bbde3a8aefa1" 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_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_021f7754-bd9f-4e8c-82d6-bbde3a8aefa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_3406d06a-df35-49e7-8b78-450952e79935" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_3406d06a-df35-49e7-8b78-450952e79935" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_46d76da2-4c8b-4610-90af-97a94fae12a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_46d76da2-4c8b-4610-90af-97a94fae12a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_18af61d8-f2fd-4db0-8fd3-dd1e17d66bcc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_PaymentsForRestructuring_18af61d8-f2fd-4db0-8fd3-dd1e17d66bcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_4afca92b-df90-4eb0-bc53-4afe7abfc207" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_4afca92b-df90-4eb0-bc53-4afe7abfc207" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_7e001c40-d2b1-4c2c-acee-611ffa557c63" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_7e001c40-d2b1-4c2c-acee-611ffa557c63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_b88330f6-b1b1-425f-a797-26071ebb3e7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_b88330f6-b1b1-425f-a797-26071ebb3e7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedTaxesPayable_619aa907-deba-401a-923f-960c0ad451cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedTaxesPayable"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedTaxesPayable_619aa907-deba-401a-923f-960c0ad451cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_73355ebe-32ad-41ae-a38d-e84dde34f016" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b5fbef98-a840-40ba-8c91-0ce456c0494e" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_73355ebe-32ad-41ae-a38d-e84dde34f016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_204eda5a-c9c7-49d5-b9a7-a589649f54e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_467b440f-ce1f-4f9e-94f3-952b7b1475c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_204eda5a-c9c7-49d5-b9a7-a589649f54e1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_467b440f-ce1f-4f9e-94f3-952b7b1475c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8ad9ea8-cf84-461c-ae65-c8a0deacc712" 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_204eda5a-c9c7-49d5-b9a7-a589649f54e1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8ad9ea8-cf84-461c-ae65-c8a0deacc712" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2e6da892-8d7b-41f2-a8a1-af649b4ca119" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_204eda5a-c9c7-49d5-b9a7-a589649f54e1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2e6da892-8d7b-41f2-a8a1-af649b4ca119" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_cbdbc66d-bf6e-4617-bdcd-6f397e714d91" 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_204eda5a-c9c7-49d5-b9a7-a589649f54e1" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_cbdbc66d-bf6e-4617-bdcd-6f397e714d91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9331be45-f0f0-4d46-862f-041cd5f7f623" 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_4dbe11d7-cc45-4985-99d4-8f1c007cff0f" 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_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_4dbe11d7-cc45-4985-99d4-8f1c007cff0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_1496dfcc-b312-4449-a5ba-598ddbae05ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_1496dfcc-b312-4449-a5ba-598ddbae05ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_bde77187-8a2b-44e8-ae10-7ed79d50fdf0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_bde77187-8a2b-44e8-ae10-7ed79d50fdf0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_ac0039cd-0455-49de-8075-9a117be9b4c7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_ac0039cd-0455-49de-8075-9a117be9b4c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_1b747b5e-345b-4370-b26b-c1d4acbedb53" 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_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_1b747b5e-345b-4370-b26b-c1d4acbedb53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_c07fa9be-3500-47f3-a14f-b0d132c19b70" 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_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_c07fa9be-3500-47f3-a14f-b0d132c19b70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_2d21bd67-9468-4993-89ba-39c2ce0d3bb7" 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_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_2d21bd67-9468-4993-89ba-39c2ce0d3bb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_ProceedsFromInterestReceivedInvestingActivities_8356c88d-7204-460a-8138-b245b87e07f9" xlink:href="xyl-20240930.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_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_xyl_ProceedsFromInterestReceivedInvestingActivities_8356c88d-7204-460a-8138-b245b87e07f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities_2466fc34-1f8a-445a-9dc5-942fe9d46cb4" 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_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities_2466fc34-1f8a-445a-9dc5-942fe9d46cb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_e02cd558-8e1f-4849-8d12-4b14c8365531" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_9331be45-f0f0-4d46-862f-041cd5f7f623" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_e02cd558-8e1f-4849-8d12-4b14c8365531" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" 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_ProceedsFromShortTermDebt_86dce858-f185-4f75-bcda-6770db3bae6d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromShortTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_86dce858-f185-4f75-bcda-6770db3bae6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_88437049-feb2-44da-80a9-b20826af0f67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfShortTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_88437049-feb2-44da-80a9-b20826af0f67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e1704a44-b422-4f0d-926d-aee6a6b84799" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e1704a44-b422-4f0d-926d-aee6a6b84799" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_01132cde-5b0a-4081-8944-0ffceaf0e56e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_01132cde-5b0a-4081-8944-0ffceaf0e56e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_6358d1bf-8b0a-4d9d-ab26-78449770a1ae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_6358d1bf-8b0a-4d9d-ab26-78449770a1ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_c3a4c212-a7f0-412c-92cc-088f2de9c5e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_c3a4c212-a7f0-412c-92cc-088f2de9c5e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_b8e913e3-4673-4bb9-a31a-672d6ab907e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_b8e913e3-4673-4bb9-a31a-672d6ab907e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_8d18ef5b-b57b-4c13-ac53-60fdcf7be220" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_29a8ee2b-de63-472d-92fb-5f277e5eaaec" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_8d18ef5b-b57b-4c13-ac53-60fdcf7be220" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AcquisitionsandDivestituresPurchasePriceAllocationDetails" xlink:type="simple" xlink:href="xyl-20240930.xsd#AcquisitionsandDivestituresPurchasePriceAllocationDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AcquisitionsandDivestituresPurchasePriceAllocationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_3fcb8987-83da-46fc-9759-44f01f480f7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_3fcb8987-83da-46fc-9759-44f01f480f7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_323ec9d6-d04f-4b0c-93ea-9f1e3ca86401" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_323ec9d6-d04f-4b0c-93ea-9f1e3ca86401" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_62944f63-ed7b-4b88-9962-e2667650c697" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_62944f63-ed7b-4b88-9962-e2667650c697" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_57db4bfe-8276-4785-acbd-d026207e9aee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_57db4bfe-8276-4785-acbd-d026207e9aee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale_10eaea84-f523-42d9-8e3e-0da5ca419f42" xlink:href="xyl-20240930.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale_10eaea84-f523-42d9-8e3e-0da5ca419f42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_37278682-4615-4610-9d2a-652978f9419d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_37278682-4615-4610-9d2a-652978f9419d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_e24cc38d-a6fb-431d-96cd-f55fdd4a8164" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_Goodwill_e24cc38d-a6fb-431d-96cd-f55fdd4a8164" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_21db2e97-73f3-4847-921a-abd4a1123259" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_21db2e97-73f3-4847-921a-abd4a1123259" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_3a5dcfe8-4635-4bbe-a314-7196160a4f56" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_3a5dcfe8-4635-4bbe-a314-7196160a4f56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssetsHeldForSale_3b9a399f-b152-47a1-a792-2aa05f135389" xlink:href="xyl-20240930.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssetsHeldForSale"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssetsHeldForSale_3b9a399f-b152-47a1-a792-2aa05f135389" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_ba0e704e-66fe-4f0d-860b-34d914014aa1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_ba0e704e-66fe-4f0d-860b-34d914014aa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_3959fd6b-f58d-4a05-830d-b1fe540c1b8c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_3959fd6b-f58d-4a05-830d-b1fe540c1b8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities_00cd2423-a7ff-40f3-b2d7-3c41b589be02" xlink:href="xyl-20240930.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities_00cd2423-a7ff-40f3-b2d7-3c41b589be02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesHeldForSale_1f257afa-a204-4308-87aa-0bbfee29edfb" xlink:href="xyl-20240930.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesHeldForSale"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesHeldForSale_1f257afa-a204-4308-87aa-0bbfee29edfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_532e0fd1-b548-4187-ab7b-cc99d7ffa13a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_532e0fd1-b548-4187-ab7b-cc99d7ffa13a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_4e27afa6-4717-4771-82b9-bd6a57789a5f" 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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_4e27afa6-4717-4771-82b9-bd6a57789a5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_f299bd58-6c11-4f03-8258-06a5d094412e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_f299bd58-6c11-4f03-8258-06a5d094412e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesHeldForSale_92ca7742-4164-4450-890c-a10381e5407b" xlink:href="xyl-20240930.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesHeldForSale"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_248c373c-7839-4013-aa75-e53b1481e3ff" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesHeldForSale_92ca7742-4164-4450-890c-a10381e5407b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AcquisitionsandDivestituresDetails" xlink:type="simple" xlink:href="xyl-20240930.xsd#AcquisitionsandDivestituresDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AcquisitionsandDivestituresDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_8f56bdfb-e915-4345-ac9d-5423c4b5fe21" 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_74f1891a-7d7c-4591-a90f-884cf437106e" xlink:href="xyl-20240930.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_8f56bdfb-e915-4345-ac9d-5423c4b5fe21" xlink:to="loc_xyl_BusinessCombinationConsiderationTransferredLiabilitiesPaid_74f1891a-7d7c-4591-a90f-884cf437106e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationConsiderationTransferredEquityInterestIssuedAndIssuableReplacementEquityAwards_ecd5f71e-d725-4c00-a3b7-ece82337c8ae" xlink:href="xyl-20240930.xsd#xyl_BusinessCombinationConsiderationTransferredEquityInterestIssuedAndIssuableReplacementEquityAwards"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_8f56bdfb-e915-4345-ac9d-5423c4b5fe21" xlink:to="loc_xyl_BusinessCombinationConsiderationTransferredEquityInterestIssuedAndIssuableReplacementEquityAwards_ecd5f71e-d725-4c00-a3b7-ece82337c8ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_83348025-63f2-45b3-adce-a53a8e979e3c" 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_8f56bdfb-e915-4345-ac9d-5423c4b5fe21" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_83348025-63f2-45b3-adce-a53a8e979e3c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="xyl-20240930.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_84b7070c-038d-4550-aebb-04a77ae0b58d" 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_14ab457f-2227-4c32-8504-f44186a81ab9" 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_84b7070c-038d-4550-aebb-04a77ae0b58d" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_14ab457f-2227-4c32-8504-f44186a81ab9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherRevenues_efbbcd94-6362-4369-ae3c-a1b80f209bda" xlink:href="xyl-20240930.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_84b7070c-038d-4550-aebb-04a77ae0b58d" xlink:to="loc_xyl_OtherRevenues_efbbcd94-6362-4369-ae3c-a1b80f209bda" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringChargesRestructuringChargesDetails" xlink:type="simple" xlink:href="xyl-20240930.xsd#RestructuringChargesRestructuringChargesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringChargesRestructuringChargesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_93238566-3289-43f3-804a-4818fd2a9224" 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_60c1dbbb-6271-4c83-92b2-1d3af406957c" 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_93238566-3289-43f3-804a-4818fd2a9224" xlink:to="loc_us-gaap_RestructuringReserveAccrualAdjustment1_60c1dbbb-6271-4c83-92b2-1d3af406957c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_RestructuringReserveAssetImpairmentCosts_6096f530-2973-472d-af8a-fc1975da3205" xlink:href="xyl-20240930.xsd#xyl_RestructuringReserveAssetImpairmentCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RestructuringCharges_93238566-3289-43f3-804a-4818fd2a9224" xlink:to="loc_xyl_RestructuringReserveAssetImpairmentCosts_6096f530-2973-472d-af8a-fc1975da3205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_0aba493b-aefe-4203-b7c9-14610fcd56b9" 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_93238566-3289-43f3-804a-4818fd2a9224" xlink:to="loc_us-gaap_SeveranceCosts1_0aba493b-aefe-4203-b7c9-14610fcd56b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_AssetImpairmentandRestructuringCharges_b9ebbc71-3417-4fa4-b8ae-ada51398c8d0" xlink:href="xyl-20240930.xsd#xyl_AssetImpairmentandRestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_edc60a8b-0ec4-413a-9091-fc5c5b058c7f" 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_b9ebbc71-3417-4fa4-b8ae-ada51398c8d0" xlink:to="loc_us-gaap_RestructuringCharges_edc60a8b-0ec4-413a-9091-fc5c5b058c7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_255e9267-1e00-4015-9e44-a2730517248c" 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_b9ebbc71-3417-4fa4-b8ae-ada51398c8d0" xlink:to="loc_us-gaap_AssetImpairmentCharges_255e9267-1e00-4015-9e44-a2730517248c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EarningsPerShareCalculationsforEPSDetails" xlink:type="simple" xlink:href="xyl-20240930.xsd#EarningsPerShareCalculationsforEPSDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/EarningsPerShareCalculationsforEPSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_d497d88c-9652-4ad3-b598-739a9b309e49" 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_06ba313d-9309-4f05-8391-f89a452e4241" 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_d497d88c-9652-4ad3-b598-739a9b309e49" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_06ba313d-9309-4f05-8391-f89a452e4241" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights_a37f5df2-b08b-407b-aaa6-b32acba0a1a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_d497d88c-9652-4ad3-b598-739a9b309e49" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights_a37f5df2-b08b-407b-aaa6-b32acba0a1a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/InventoriesDetails" xlink:type="simple" xlink:href="xyl-20240930.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_13b502f3-92a2-4bb2-9385-9a273035a307" 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_ba85605a-b534-4ffa-a30b-3bede2b4a196" 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_13b502f3-92a2-4bb2-9385-9a273035a307" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_ba85605a-b534-4ffa-a30b-3bede2b4a196" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_a2fdf4fc-688a-46dc-8237-5f575d27886d" 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_13b502f3-92a2-4bb2-9385-9a273035a307" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_a2fdf4fc-688a-46dc-8237-5f575d27886d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_7e5de8eb-0548-4ff8-bb9d-6a4bb881243e" 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_13b502f3-92a2-4bb2-9385-9a273035a307" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_7e5de8eb-0548-4ff8-bb9d-6a4bb881243e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsSummaryofIntangibleAssetsDetails" xlink:type="simple" xlink:href="xyl-20240930.xsd#GoodwillandOtherIntangibleAssetsSummaryofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsSummaryofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_b0df19b0-4b86-4d9d-8b5a-c1fcb65abea9" 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_4d257958-076e-4696-a499-e18f4e62b1c8" 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_b0df19b0-4b86-4d9d-8b5a-c1fcb65abea9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_4d257958-076e-4696-a499-e18f4e62b1c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_9480c59f-cc61-4533-9361-c03450ef99e4" 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_b0df19b0-4b86-4d9d-8b5a-c1fcb65abea9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_9480c59f-cc61-4533-9361-c03450ef99e4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="xyl-20240930.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_fd78fb45-e425-4740-a9a5-2719065c142e" 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_c2ce6b69-ed48-4254-8ce1-93544e5f517c" 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_fd78fb45-e425-4740-a9a5-2719065c142e" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_c2ce6b69-ed48-4254-8ce1-93544e5f517c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_CustomerRelatedLiabilitiesCurrent_533216b1-51c7-4aec-af6f-2ab6a55715c8" xlink:href="xyl-20240930.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_fd78fb45-e425-4740-a9a5-2719065c142e" xlink:to="loc_xyl_CustomerRelatedLiabilitiesCurrent_533216b1-51c7-4aec-af6f-2ab6a55715c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_16e58049-7e91-4dcc-91d4-4dd1600fc5c7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_fd78fb45-e425-4740-a9a5-2719065c142e" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_16e58049-7e91-4dcc-91d4-4dd1600fc5c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_2afd9fc7-b29c-4986-be8b-63c8cc8dfa72" 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_fd78fb45-e425-4740-a9a5-2719065c142e" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_2afd9fc7-b29c-4986-be8b-63c8cc8dfa72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_88b8bf75-9adb-4ca6-ac22-82c023dbcccc" 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_fd78fb45-e425-4740-a9a5-2719065c142e" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_88b8bf75-9adb-4ca6-ac22-82c023dbcccc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_bfcc1ac6-8d31-4894-88db-03cd4726bb58" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_fd78fb45-e425-4740-a9a5-2719065c142e" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_bfcc1ac6-8d31-4894-88db-03cd4726bb58" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebtSummaryofDebtOutstandingDetails" xlink:type="simple" xlink:href="xyl-20240930.xsd#CreditFacilitiesandDebtSummaryofDebtOutstandingDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CreditFacilitiesandDebtSummaryofDebtOutstandingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_42f01dac-1001-4035-90fc-3f05030210cc" 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_LongTermDebtNoncurrent_156d5fff-2eba-4de8-899c-50213907a754" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_42f01dac-1001-4035-90fc-3f05030210cc" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_156d5fff-2eba-4de8-899c-50213907a754" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_bea45a9f-b4b4-49cf-9d0c-ba7049911f9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_42f01dac-1001-4035-90fc-3f05030210cc" xlink:to="loc_us-gaap_DebtCurrent_bea45a9f-b4b4-49cf-9d0c-ba7049911f9a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebtDetails" xlink:type="simple" xlink:href="xyl-20240930.xsd#CreditFacilitiesandDebtDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CreditFacilitiesandDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_436b32cb-e6a6-4cc1-8a58-5bbc9e71f2fe" 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_OtherAssetsNoncurrent_ab01be63-128c-48af-82a5-81dcd0686165" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_436b32cb-e6a6-4cc1-8a58-5bbc9e71f2fe" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_ab01be63-128c-48af-82a5-81dcd0686165" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_e8cb5fec-6170-4aec-af17-6e0d0107382e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_436b32cb-e6a6-4cc1-8a58-5bbc9e71f2fe" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_e8cb5fec-6170-4aec-af17-6e0d0107382e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_207412d5-f886-44d9-beba-f95eb89c7f11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_436b32cb-e6a6-4cc1-8a58-5bbc9e71f2fe" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_207412d5-f886-44d9-beba-f95eb89c7f11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_e661c02a-3dfb-48b3-85f8-0ecb0587ebc5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_436b32cb-e6a6-4cc1-8a58-5bbc9e71f2fe" xlink:to="loc_us-gaap_AccountsReceivableNet_e661c02a-3dfb-48b3-85f8-0ecb0587ebc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_AssetsBeforeDepreciation_842f9496-0bbd-4974-b32d-30002db071e6" xlink:href="xyl-20240930.xsd#xyl_AssetsBeforeDepreciation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_537a9375-3d22-4e60-8183-13c893f7a468" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xyl_AssetsBeforeDepreciation_842f9496-0bbd-4974-b32d-30002db071e6" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_537a9375-3d22-4e60-8183-13c893f7a468" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGross_b4c52776-c14b-4afb-bac4-5a5efa60a5b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xyl_AssetsBeforeDepreciation_842f9496-0bbd-4974-b32d-30002db071e6" xlink:to="loc_us-gaap_AccountsReceivableGross_b4c52776-c14b-4afb-bac4-5a5efa60a5b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_ca46834f-506c-4ab5-b5f8-8dd6467955a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xyl_AssetsBeforeDepreciation_842f9496-0bbd-4974-b32d-30002db071e6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_ca46834f-506c-4ab5-b5f8-8dd6467955a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherNoncurrentAssetsBeforeDepreciation_656a8f1f-1cf8-4e06-a7cb-8b12d882be0c" xlink:href="xyl-20240930.xsd#xyl_OtherNoncurrentAssetsBeforeDepreciation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_xyl_AssetsBeforeDepreciation_842f9496-0bbd-4974-b32d-30002db071e6" xlink:to="loc_xyl_OtherNoncurrentAssetsBeforeDepreciation_656a8f1f-1cf8-4e06-a7cb-8b12d882be0c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansSummaryofNetPeriodicBenefitCostDetails" xlink:type="simple" xlink:href="xyl-20240930.xsd#PostretirementBenefitPlansSummaryofNetPeriodicBenefitCostDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/PostretirementBenefitPlansSummaryofNetPeriodicBenefitCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ba2eaf62-981c-420d-a077-671ea2ddda73" 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_DefinedBenefitPlanAmortizationOfGainsLosses_fd7a6554-a796-4e56-becd-915221becf00" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ba2eaf62-981c-420d-a077-671ea2ddda73" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_fd7a6554-a796-4e56-becd-915221becf00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_8fa0793b-6a7b-4d88-9e18-47369128c5af" 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_ba2eaf62-981c-420d-a077-671ea2ddda73" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_8fa0793b-6a7b-4d88-9e18-47369128c5af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_e2900687-e12b-4925-9116-ae1ae7528b2f" 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_ba2eaf62-981c-420d-a077-671ea2ddda73" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_e2900687-e12b-4925-9116-ae1ae7528b2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_5ac930d6-011e-4b70-b478-817a8d93499d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ba2eaf62-981c-420d-a077-671ea2ddda73" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_5ac930d6-011e-4b70-b478-817a8d93499d" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
