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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:c5f80d3e-1429-44a0-90e0-f191ba34c236,g:47d3e7a9-b833-4ec6-9e9e-f495af05d157-->
<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-20250331.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_GrossProfit_8564e194-19dd-4648-957d-ee7faff1c8d3" 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_7ba8159a-bada-465d-b7d1-ac8adeda4059" 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_8564e194-19dd-4648-957d-ee7faff1c8d3" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7ba8159a-bada-465d-b7d1-ac8adeda4059" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_985f91d5-7004-4195-8b04-2b5a5a75df22" 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_8564e194-19dd-4648-957d-ee7faff1c8d3" xlink:to="loc_us-gaap_CostOfRevenue_985f91d5-7004-4195-8b04-2b5a5a75df22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f3b25814-cbe0-4345-ba07-359ba810a882" 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_c10c4384-13fe-4a55-8af7-58e449ec3c6f" 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_f3b25814-cbe0-4345-ba07-359ba810a882" xlink:to="loc_us-gaap_OperatingIncomeLoss_c10c4384-13fe-4a55-8af7-58e449ec3c6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_bf1125c5-c5f4-45f9-a8b5-ed4f1a49e87f" 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_f3b25814-cbe0-4345-ba07-359ba810a882" xlink:to="loc_us-gaap_InterestExpenseNonoperating_bf1125c5-c5f4-45f9-a8b5-ed4f1a49e87f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_9af7849f-4247-427b-88c5-85eea21cf705" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f3b25814-cbe0-4345-ba07-359ba810a882" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_9af7849f-4247-427b-88c5-85eea21cf705" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_7729d744-2eaa-4646-8af8-ab86b025d847" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f3b25814-cbe0-4345-ba07-359ba810a882" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_7729d744-2eaa-4646-8af8-ab86b025d847" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_193d8d83-69f6-43cb-a14e-22518656303c" 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_xyl_RestructuringAndAssetImpairmentLosses_1e66b88b-012f-4559-894c-44fd0b37b67b" xlink:href="xyl-20250331.xsd#xyl_RestructuringAndAssetImpairmentLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_193d8d83-69f6-43cb-a14e-22518656303c" xlink:to="loc_xyl_RestructuringAndAssetImpairmentLosses_1e66b88b-012f-4559-894c-44fd0b37b67b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_fa255dc7-0a99-40ec-a227-580ac33d29f9" 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_193d8d83-69f6-43cb-a14e-22518656303c" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_fa255dc7-0a99-40ec-a227-580ac33d29f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_f4a90b14-26c1-45ae-8e73-f3aa82bb3423" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_193d8d83-69f6-43cb-a14e-22518656303c" xlink:to="loc_us-gaap_GrossProfit_f4a90b14-26c1-45ae-8e73-f3aa82bb3423" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_8645d885-958b-44ac-973a-bfc96d7681ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_193d8d83-69f6-43cb-a14e-22518656303c" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_8645d885-958b-44ac-973a-bfc96d7681ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_1b307104-dfeb-4af1-a2bf-a87b6f0ec5ea" 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_17d7edea-db6d-4ac0-9426-939a01a3eafe" 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_1b307104-dfeb-4af1-a2bf-a87b6f0ec5ea" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_17d7edea-db6d-4ac0-9426-939a01a3eafe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_8a97e9ad-c271-4deb-a1f8-2345d44bcbbc" 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_1b307104-dfeb-4af1-a2bf-a87b6f0ec5ea" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_8a97e9ad-c271-4deb-a1f8-2345d44bcbbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_12ca0304-6b6d-459d-96e0-ae019c78f88c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_550c8999-f407-414f-afe0-51354ac4049b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_12ca0304-6b6d-459d-96e0-ae019c78f88c" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_550c8999-f407-414f-afe0-51354ac4049b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_6e83f8ce-befa-4459-a97f-81864fa8f1a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_12ca0304-6b6d-459d-96e0-ae019c78f88c" xlink:to="loc_us-gaap_ProfitLoss_6e83f8ce-befa-4459-a97f-81864fa8f1a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofComprehensiveLossIncomeUnaudited" xlink:type="simple" xlink:href="xyl-20250331.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_e5d9a4d4-57c2-42f3-8b37-ff899b22c649" 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_9009dfa0-678d-4596-987e-b5c5b8c197ce" 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_e5d9a4d4-57c2-42f3-8b37-ff899b22c649" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_9009dfa0-678d-4596-987e-b5c5b8c197ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_bdd7819b-f9a4-457d-84e9-d43214b164e8" 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_e5d9a4d4-57c2-42f3-8b37-ff899b22c649" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_bdd7819b-f9a4-457d-84e9-d43214b164e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_fac17fca-19f9-49e2-bad8-52feadb5ad22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_2745afcc-e1f7-4d4d-beb7-b9da661a7b61" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_fac17fca-19f9-49e2-bad8-52feadb5ad22" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_2745afcc-e1f7-4d4d-beb7-b9da661a7b61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_75fe4a1c-c0e0-4719-a355-255aa074b157" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_fac17fca-19f9-49e2-bad8-52feadb5ad22" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_75fe4a1c-c0e0-4719-a355-255aa074b157" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_10e80a60-3421-474a-8b4e-1ae1ea5a1a94" 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_c02866cf-55b2-430f-a4aa-d1b4e3f9d2c5" 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_10e80a60-3421-474a-8b4e-1ae1ea5a1a94" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_c02866cf-55b2-430f-a4aa-d1b4e3f9d2c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_87174b85-9703-498a-b440-941219d4bd19" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_10e80a60-3421-474a-8b4e-1ae1ea5a1a94" xlink:to="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_87174b85-9703-498a-b440-941219d4bd19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationBeforeTax_ca7076f6-a540-40e0-ba98-c8acba31582c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_10e80a60-3421-474a-8b4e-1ae1ea5a1a94" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationBeforeTax_ca7076f6-a540-40e0-ba98-c8acba31582c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_90e9dd44-451e-4c45-9869-8653b8d9ed12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_10e80a60-3421-474a-8b4e-1ae1ea5a1a94" xlink:to="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_90e9dd44-451e-4c45-9869-8653b8d9ed12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_83ed0583-6b50-4f95-af70-c180b360910a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_10e80a60-3421-474a-8b4e-1ae1ea5a1a94" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_83ed0583-6b50-4f95-af70-c180b360910a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherComprehensiveIncomeLossDefinedBenefitPlanForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_15060678-0c05-4063-bb5c-c2cc7aaa64b6" xlink:href="xyl-20250331.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_10e80a60-3421-474a-8b4e-1ae1ea5a1a94" xlink:to="loc_xyl_OtherComprehensiveIncomeLossDefinedBenefitPlanForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_15060678-0c05-4063-bb5c-c2cc7aaa64b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_e2f5c5f8-5702-46dc-a786-1a1610f28175" 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_a071cf03-6514-45a5-bbb2-ab2040f67f36" 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_e2f5c5f8-5702-46dc-a786-1a1610f28175" xlink:to="loc_us-gaap_ProfitLoss_a071cf03-6514-45a5-bbb2-ab2040f67f36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_f7945a65-431c-41b2-9b08-53784393e27e" 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_e2f5c5f8-5702-46dc-a786-1a1610f28175" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_f7945a65-431c-41b2-9b08-53784393e27e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="xyl-20250331.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_LiabilitiesCurrent_6c737685-6ec5-43aa-8eb9-5b51718a3709" 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_DebtCurrent_ad26a3d7-348e-476f-90f4-3f42706a3530" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6c737685-6ec5-43aa-8eb9-5b51718a3709" xlink:to="loc_us-gaap_DebtCurrent_ad26a3d7-348e-476f-90f4-3f42706a3530" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_2a3fbf5d-25fb-476f-8599-61a91b847046" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6c737685-6ec5-43aa-8eb9-5b51718a3709" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_2a3fbf5d-25fb-476f-8599-61a91b847046" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_4c1ae9f4-68e0-40a2-a099-75f854754b87" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6c737685-6ec5-43aa-8eb9-5b51718a3709" xlink:to="loc_us-gaap_AccountsPayableCurrent_4c1ae9f4-68e0-40a2-a099-75f854754b87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_0b6fb017-a7cb-4452-8dd4-c0377e94b339" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6c737685-6ec5-43aa-8eb9-5b51718a3709" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_0b6fb017-a7cb-4452-8dd4-c0377e94b339" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_19577024-9403-49f8-b7ad-bc5b999eaf9a" 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_52b394f3-cd83-4a62-83ad-e69a3c04866a" 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_19577024-9403-49f8-b7ad-bc5b999eaf9a" xlink:to="loc_us-gaap_AssetsCurrent_52b394f3-cd83-4a62-83ad-e69a3c04866a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_b0eb6ffa-721a-49ce-a3e3-ea91d052ba1e" 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_19577024-9403-49f8-b7ad-bc5b999eaf9a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_b0eb6ffa-721a-49ce-a3e3-ea91d052ba1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_63b4d5af-07de-45e1-a044-5292d0c40bd0" 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_19577024-9403-49f8-b7ad-bc5b999eaf9a" xlink:to="loc_us-gaap_Goodwill_63b4d5af-07de-45e1-a044-5292d0c40bd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_813d4c37-a54e-4439-98f2-a2fd4218b63e" 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_19577024-9403-49f8-b7ad-bc5b999eaf9a" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_813d4c37-a54e-4439-98f2-a2fd4218b63e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_8ffd06f8-bc84-44d9-8c6d-fc22e9300848" 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_19577024-9403-49f8-b7ad-bc5b999eaf9a" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_8ffd06f8-bc84-44d9-8c6d-fc22e9300848" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_0d0d25bb-04f1-4644-84b4-ed2ca8baa2c2" 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_PrepaidExpenseAndOtherAssetsCurrent_617dad54-2b8d-41bb-8191-9745c09874a8" 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_us-gaap_AssetsCurrent_0d0d25bb-04f1-4644-84b4-ed2ca8baa2c2" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_617dad54-2b8d-41bb-8191-9745c09874a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_9410a44f-4c27-46ce-8526-cb91158c7a7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d0d25bb-04f1-4644-84b4-ed2ca8baa2c2" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_9410a44f-4c27-46ce-8526-cb91158c7a7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_ddf0d444-aa98-4713-ba0e-cac97625d8a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d0d25bb-04f1-4644-84b4-ed2ca8baa2c2" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_ddf0d444-aa98-4713-ba0e-cac97625d8a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_33c82668-a11a-4454-ae8d-79c82e6f7666" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d0d25bb-04f1-4644-84b4-ed2ca8baa2c2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_33c82668-a11a-4454-ae8d-79c82e6f7666" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_c1baa1e2-91d4-4813-a368-6b1f7dea6eea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d0d25bb-04f1-4644-84b4-ed2ca8baa2c2" xlink:to="loc_us-gaap_InventoryNet_c1baa1e2-91d4-4813-a368-6b1f7dea6eea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_c62c70b7-8014-4317-854b-fa2e45d4b556" 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_bb53b7fd-ee61-4dd0-b4a5-87af1dbf17be" 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_c62c70b7-8014-4317-854b-fa2e45d4b556" xlink:to="loc_us-gaap_LiabilitiesCurrent_bb53b7fd-ee61-4dd0-b4a5-87af1dbf17be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_0165d5e5-4fa4-4883-9945-ec3e7195d3bd" 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_c62c70b7-8014-4317-854b-fa2e45d4b556" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_0165d5e5-4fa4-4883-9945-ec3e7195d3bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_7076323f-281a-4f18-82a0-f4b2f09aa237" 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_c62c70b7-8014-4317-854b-fa2e45d4b556" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_7076323f-281a-4f18-82a0-f4b2f09aa237" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_c82353d3-27a8-45f7-8b88-e99e87f002c8" 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_c62c70b7-8014-4317-854b-fa2e45d4b556" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_c82353d3-27a8-45f7-8b88-e99e87f002c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_4a1e9a58-ba36-433f-8662-d8d4c4c75a05" 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_c62c70b7-8014-4317-854b-fa2e45d4b556" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_4a1e9a58-ba36-433f-8662-d8d4c4c75a05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_19ad47ec-7bb7-4a92-8d03-cebcaf2707fb" 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_TreasuryStockValue_578a4fea-90db-4907-af78-f79a3d27d142" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_19ad47ec-7bb7-4a92-8d03-cebcaf2707fb" xlink:to="loc_us-gaap_TreasuryStockValue_578a4fea-90db-4907-af78-f79a3d27d142" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_37485a5d-43c2-4180-a272-3c8f1765f389" 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_19ad47ec-7bb7-4a92-8d03-cebcaf2707fb" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_37485a5d-43c2-4180-a272-3c8f1765f389" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6940dd4e-30e1-4299-8eda-7529d453926a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_19ad47ec-7bb7-4a92-8d03-cebcaf2707fb" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6940dd4e-30e1-4299-8eda-7529d453926a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_236882f6-555d-4f4f-99e2-153d3074d728" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_19ad47ec-7bb7-4a92-8d03-cebcaf2707fb" xlink:to="loc_us-gaap_CommonStockValue_236882f6-555d-4f4f-99e2-153d3074d728" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_dbfdde6d-f769-44f8-a32f-1000112a990f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_19ad47ec-7bb7-4a92-8d03-cebcaf2707fb" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_dbfdde6d-f769-44f8-a32f-1000112a990f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_2624a8de-022d-4302-8003-699f6689e882" 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_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_14efb8cf-6abc-4bcc-b98a-e4692e18f52c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2624a8de-022d-4302-8003-699f6689e882" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_14efb8cf-6abc-4bcc-b98a-e4692e18f52c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_a4d0f241-d073-4d39-b87d-50fc80e552dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2624a8de-022d-4302-8003-699f6689e882" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_a4d0f241-d073-4d39-b87d-50fc80e552dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_f6838c8e-8381-48e6-9c08-bd721024df3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2624a8de-022d-4302-8003-699f6689e882" xlink:to="loc_us-gaap_CommitmentsAndContingencies_f6838c8e-8381-48e6-9c08-bd721024df3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_3b162300-ca8d-476f-8eff-6e595bb672b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2624a8de-022d-4302-8003-699f6689e882" xlink:to="loc_us-gaap_Liabilities_3b162300-ca8d-476f-8eff-6e595bb672b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6e7b4f46-fbd4-42f6-8ecf-ff2c8c4cbc47" 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_b622364b-4de8-45f2-bdc0-556e4685de16" 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_6e7b4f46-fbd4-42f6-8ecf-ff2c8c4cbc47" xlink:to="loc_us-gaap_StockholdersEquity_b622364b-4de8-45f2-bdc0-556e4685de16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_e41cac09-65b5-4b90-b377-7357513a2777" 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_6e7b4f46-fbd4-42f6-8ecf-ff2c8c4cbc47" xlink:to="loc_us-gaap_MinorityInterest_e41cac09-65b5-4b90-b377-7357513a2777" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="xyl-20250331.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_NetCashProvidedByUsedInInvestingActivities_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" 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_f9d72bad-86c4-403a-867e-b367a746cf8b" 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_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_f9d72bad-86c4-403a-867e-b367a746cf8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_5018c988-725b-4981-b1bc-483da83c8d0d" 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_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_5018c988-725b-4981-b1bc-483da83c8d0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_5a2f696d-33cf-4bf6-b742-debc48bdb581" 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_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested_5a2f696d-33cf-4bf6-b742-debc48bdb581" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_b643ac98-fe1f-4a3d-b68a-096fa0137569" 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_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_b643ac98-fe1f-4a3d-b68a-096fa0137569" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_89b5289c-4d92-4d07-942a-28060957bba2" 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_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_89b5289c-4d92-4d07-942a-28060957bba2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_083a44b9-edd7-4c95-8df1-3f82b8242479" 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_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_083a44b9-edd7-4c95-8df1-3f82b8242479" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_9cb29acc-14de-4bf4-837a-bab73f0e449f" 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_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_9cb29acc-14de-4bf4-837a-bab73f0e449f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities_db239326-a13c-4e54-b374-94f40d318e83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities_db239326-a13c-4e54-b374-94f40d318e83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_dcb16f1a-8d09-40f1-90b2-3fcc436b8ccd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_651b042a-23eb-45a2-87ed-a9bbd6d94e9f" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_dcb16f1a-8d09-40f1-90b2-3fcc436b8ccd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8bc0c53-3835-4125-9e1d-60e2f20a20cf" 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_8c98dcf6-71a7-4e1f-bb6a-5e69952c4393" 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_f8bc0c53-3835-4125-9e1d-60e2f20a20cf" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_8c98dcf6-71a7-4e1f-bb6a-5e69952c4393" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_a3b42638-c02d-492b-a59b-b9a8138398be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8bc0c53-3835-4125-9e1d-60e2f20a20cf" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_a3b42638-c02d-492b-a59b-b9a8138398be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5868774b-a1ff-4ce0-96fc-c346727d34cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8bc0c53-3835-4125-9e1d-60e2f20a20cf" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5868774b-a1ff-4ce0-96fc-c346727d34cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_6990ad46-4a30-41f3-8629-2745a60e5e1a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8bc0c53-3835-4125-9e1d-60e2f20a20cf" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_6990ad46-4a30-41f3-8629-2745a60e5e1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_b1afe944-6ac1-49e3-8bcf-eebcb21943c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8bc0c53-3835-4125-9e1d-60e2f20a20cf" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_b1afe944-6ac1-49e3-8bcf-eebcb21943c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_c0df3ebe-1b2e-4d3d-8370-e35d8152a701" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8bc0c53-3835-4125-9e1d-60e2f20a20cf" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_c0df3ebe-1b2e-4d3d-8370-e35d8152a701" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_5ffa88cb-23a0-4b4b-8419-4b85e6bff9cf" 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_1e2eb491-4736-4016-9ee1-91bce3477038" 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_5ffa88cb-23a0-4b4b-8419-4b85e6bff9cf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e2eb491-4736-4016-9ee1-91bce3477038" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_7305b00f-1384-4c47-b107-b1251c89733b" 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_5ffa88cb-23a0-4b4b-8419-4b85e6bff9cf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_7305b00f-1384-4c47-b107-b1251c89733b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c16720bd-4b7e-49ae-b98e-a82ab2724c62" 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_5ffa88cb-23a0-4b4b-8419-4b85e6bff9cf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c16720bd-4b7e-49ae-b98e-a82ab2724c62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_cdc7a66b-74cf-4a44-818e-dfd901674d2d" 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_5ffa88cb-23a0-4b4b-8419-4b85e6bff9cf" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_cdc7a66b-74cf-4a44-818e-dfd901674d2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_CashClassifiedWithinAssetsHeldForSale_1a6e5fa6-0db4-4f61-8b18-fc333934d7ef" xlink:href="xyl-20250331.xsd#xyl_CashClassifiedWithinAssetsHeldForSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_5ffa88cb-23a0-4b4b-8419-4b85e6bff9cf" xlink:to="loc_xyl_CashClassifiedWithinAssetsHeldForSale_1a6e5fa6-0db4-4f61-8b18-fc333934d7ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" 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_RestructuringCostsAndAssetImpairmentCharges_5ffe969c-6a6c-468d-95e8-e2d9974c9588" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestructuringCostsAndAssetImpairmentCharges"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_5ffe969c-6a6c-468d-95e8-e2d9974c9588" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_b745cf9f-d91b-495c-b920-3bdc608790ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentForAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_AdjustmentForAmortization_b745cf9f-d91b-495c-b920-3bdc608790ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_1e45cab7-6569-4cd1-9635-a3d6002af0da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_1e45cab7-6569-4cd1-9635-a3d6002af0da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_99949443-c0fc-499a-a407-d7d1aff4688d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_99949443-c0fc-499a-a407-d7d1aff4688d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c8202414-f946-45de-9b43-0798af7be515" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_NetIncomeLoss_c8202414-f946-45de-9b43-0798af7be515" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_b625ac92-bdec-437e-b6f1-3a143fadaeef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_ShareBasedCompensation_b625ac92-bdec-437e-b6f1-3a143fadaeef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_61325b20-dc40-4fac-862b-1c9f1eddc088" 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_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_61325b20-dc40-4fac-862b-1c9f1eddc088" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_35e5a944-e86b-43f1-a81c-27f9ee6da1a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_35e5a944-e86b-43f1-a81c-27f9ee6da1a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_dd72182b-74c4-4bc1-95de-8eee30cb8220" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_dd72182b-74c4-4bc1-95de-8eee30cb8220" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_69ba8c5b-719b-4b3d-9e19-8d7b1a86f86d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_Depreciation_69ba8c5b-719b-4b3d-9e19-8d7b1a86f86d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_5837e356-1c03-4ad2-95d3-3b58a2a45ae2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_PaymentsForRestructuring_5837e356-1c03-4ad2-95d3-3b58a2a45ae2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_871fe2d7-ec28-4ba9-9d85-bd3400d479b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9c9e11a6-526e-4a59-a76e-b5d5487bdf65" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_871fe2d7-ec28-4ba9-9d85-bd3400d479b2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AcquisitionsandDivestituresSummaryofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="xyl-20250331.xsd#AcquisitionsandDivestituresSummaryofAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AcquisitionsandDivestituresSummaryofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_3423756d-344a-40f1-867e-ce8f94e62393" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_3423756d-344a-40f1-867e-ce8f94e62393" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_4b9efd83-1e56-49d0-96fd-3c26126c1479" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_4b9efd83-1e56-49d0-96fd-3c26126c1479" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities_f9f117af-a86c-4828-b6a5-c7041e1c8cd5" xlink:href="xyl-20250331.xsd#xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_xyl_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities_f9f117af-a86c-4828-b6a5-c7041e1c8cd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_da6c6dd0-a18f-4a61-a52f-de97b22ce896" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_da6c6dd0-a18f-4a61-a52f-de97b22ce896" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_d509b00c-7876-476f-9afe-214865bf264f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_d509b00c-7876-476f-9afe-214865bf264f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_91c5d981-f1a1-44d6-b300-8d41b46c8e91" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_91c5d981-f1a1-44d6-b300-8d41b46c8e91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_5485be88-ed8e-43a1-addd-7a5183492696" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_5485be88-ed8e-43a1-addd-7a5183492696" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_5412ce32-e3ae-42c9-bb16-d8d066c3cd2f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_5412ce32-e3ae-42c9-bb16-d8d066c3cd2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_fb77edf4-5c75-40dc-97b5-21dc60250657" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_fb77edf4-5c75-40dc-97b5-21dc60250657" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_74944546-254d-4395-af6d-840e00898fd1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_74944546-254d-4395-af6d-840e00898fd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_7877297f-ed49-4d0c-a24a-0ed5c90a7881" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_Goodwill_7877297f-ed49-4d0c-a24a-0ed5c90a7881" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_c3a06ec2-9789-4b4f-9839-5cd829e5e33a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_31128818-80ca-4abd-89c5-439dc02d881b" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_c3a06ec2-9789-4b4f-9839-5cd829e5e33a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="xyl-20250331.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_0b791a77-0808-4ca9-a264-9a7d848acdb0" 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_fdb3db05-54cb-46be-ba8f-c8928c14ac99" 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_0b791a77-0808-4ca9-a264-9a7d848acdb0" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_fdb3db05-54cb-46be-ba8f-c8928c14ac99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherRevenues_c08ff0c3-d8c3-42a4-94a4-a6dd2723d328" xlink:href="xyl-20250331.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_0b791a77-0808-4ca9-a264-9a7d848acdb0" xlink:to="loc_xyl_OtherRevenues_c08ff0c3-d8c3-42a4-94a4-a6dd2723d328" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringChargesRestructuringChargesDetails" xlink:type="simple" xlink:href="xyl-20250331.xsd#RestructuringChargesRestructuringChargesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringChargesRestructuringChargesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_xyl_AssetImpairmentandRestructuringCharges_78f41560-57cc-478b-babb-128fe3ff0d1a" xlink:href="xyl-20250331.xsd#xyl_AssetImpairmentandRestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_a1cb847f-d6a2-46d8-9d9f-dba5cf1a8a9a" 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_78f41560-57cc-478b-babb-128fe3ff0d1a" xlink:to="loc_us-gaap_RestructuringCharges_a1cb847f-d6a2-46d8-9d9f-dba5cf1a8a9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_a260a17a-c82b-41a3-9bcd-0d3bd0092a32" 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_78f41560-57cc-478b-babb-128fe3ff0d1a" xlink:to="loc_us-gaap_AssetImpairmentCharges_a260a17a-c82b-41a3-9bcd-0d3bd0092a32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_186dfe7c-341a-49e3-9000-8e4b7eb67058" 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_0402d59a-085c-4a1f-b687-d117ab86ce51" 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_186dfe7c-341a-49e3-9000-8e4b7eb67058" xlink:to="loc_us-gaap_RestructuringReserveAccrualAdjustment1_0402d59a-085c-4a1f-b687-d117ab86ce51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_RestructuringReserveAssetImpairmentCosts_aa9f14f9-6b5d-4994-857c-2de1336953a8" xlink:href="xyl-20250331.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_186dfe7c-341a-49e3-9000-8e4b7eb67058" xlink:to="loc_xyl_RestructuringReserveAssetImpairmentCosts_aa9f14f9-6b5d-4994-857c-2de1336953a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_a18c1aa1-eed4-4f14-a413-b7e6064f0e60" 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_186dfe7c-341a-49e3-9000-8e4b7eb67058" xlink:to="loc_us-gaap_SeveranceCosts1_a18c1aa1-eed4-4f14-a413-b7e6064f0e60" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EarningsPerShareCalculationsforEPSDetails" xlink:type="simple" xlink:href="xyl-20250331.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_99b288fc-7440-49ab-b8f8-9db2a9d3ed1f" 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_4cb42cd1-ca79-497c-810e-9d61bf394ca4" 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_99b288fc-7440-49ab-b8f8-9db2a9d3ed1f" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_4cb42cd1-ca79-497c-810e-9d61bf394ca4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights_9c062e26-cd6a-4039-8104-e0fee2c9e9b0" 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_99b288fc-7440-49ab-b8f8-9db2a9d3ed1f" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights_9c062e26-cd6a-4039-8104-e0fee2c9e9b0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/InventoriesDetails" xlink:type="simple" xlink:href="xyl-20250331.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_961b638c-d930-4ecc-b089-7ed29d5cec62" 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_1d17878d-af47-499b-8729-06a7f1d97b97" 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_961b638c-d930-4ecc-b089-7ed29d5cec62" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_1d17878d-af47-499b-8729-06a7f1d97b97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_9eba5d3c-cb06-4d9a-9b7c-ff2a8e646265" 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_961b638c-d930-4ecc-b089-7ed29d5cec62" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_9eba5d3c-cb06-4d9a-9b7c-ff2a8e646265" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_6a51aaa9-7397-4f35-9445-44c059125028" 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_961b638c-d930-4ecc-b089-7ed29d5cec62" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_6a51aaa9-7397-4f35-9445-44c059125028" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsSummaryofIntangibleAssetsDetails" xlink:type="simple" xlink:href="xyl-20250331.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_eb7d522e-a74c-4742-abef-4c6871b019f3" 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_c24bd99c-653d-4619-bc02-4f0e6235331f" 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_eb7d522e-a74c-4742-abef-4c6871b019f3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_c24bd99c-653d-4619-bc02-4f0e6235331f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_01dddb2b-abbf-48f7-bced-cf786a66bf0c" 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_eb7d522e-a74c-4742-abef-4c6871b019f3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_01dddb2b-abbf-48f7-bced-cf786a66bf0c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="xyl-20250331.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_afe9da6a-45c6-4f39-97aa-097c62209880" 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_0e3e22cc-7713-4d49-86f1-841910e0dd40" 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_afe9da6a-45c6-4f39-97aa-097c62209880" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_0e3e22cc-7713-4d49-86f1-841910e0dd40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_CustomerRelatedLiabilitiesCurrent_48ccc4b5-102a-4389-bfb1-1ef272465403" xlink:href="xyl-20250331.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_afe9da6a-45c6-4f39-97aa-097c62209880" xlink:to="loc_xyl_CustomerRelatedLiabilitiesCurrent_48ccc4b5-102a-4389-bfb1-1ef272465403" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_33ac596d-02c3-47d7-a726-b1d5001e09e4" 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_afe9da6a-45c6-4f39-97aa-097c62209880" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_33ac596d-02c3-47d7-a726-b1d5001e09e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_3596433f-0a91-49b8-908d-939380aa3efc" 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_afe9da6a-45c6-4f39-97aa-097c62209880" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_3596433f-0a91-49b8-908d-939380aa3efc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_109312a5-bf44-4d1f-9485-daece9252399" 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_afe9da6a-45c6-4f39-97aa-097c62209880" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_109312a5-bf44-4d1f-9485-daece9252399" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_8a464060-2ef2-4a3c-a673-cd4460df773c" 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_afe9da6a-45c6-4f39-97aa-097c62209880" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_8a464060-2ef2-4a3c-a673-cd4460df773c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebtSummaryofDebtOutstandingDetails" xlink:type="simple" xlink:href="xyl-20250331.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_c5879b41-26af-4492-bcb9-c7cd4e59f6f7" 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_590d47f2-6df0-40ac-b15c-c0735b0a395b" 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_c5879b41-26af-4492-bcb9-c7cd4e59f6f7" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_590d47f2-6df0-40ac-b15c-c0735b0a395b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_12a1cb7d-3221-4f16-8a5b-8778fe3b88c5" 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_c5879b41-26af-4492-bcb9-c7cd4e59f6f7" xlink:to="loc_us-gaap_DebtCurrent_12a1cb7d-3221-4f16-8a5b-8778fe3b88c5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebtDetails" xlink:type="simple" xlink:href="xyl-20250331.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_e301e19e-d5fd-4e29-ad94-a8c3c3866c6c" 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_398201be-814f-43ba-91f9-ac7600594517" 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_e301e19e-d5fd-4e29-ad94-a8c3c3866c6c" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_398201be-814f-43ba-91f9-ac7600594517" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_555d3229-dbfd-4b58-922a-4c28b5d6f41f" 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_e301e19e-d5fd-4e29-ad94-a8c3c3866c6c" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_555d3229-dbfd-4b58-922a-4c28b5d6f41f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_b0ddbdbb-95be-4c23-92a2-2cbeb502ae55" 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_e301e19e-d5fd-4e29-ad94-a8c3c3866c6c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_b0ddbdbb-95be-4c23-92a2-2cbeb502ae55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_1eb6181d-11d2-4d15-83be-e63a5b6dcff1" 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_e301e19e-d5fd-4e29-ad94-a8c3c3866c6c" xlink:to="loc_us-gaap_AccountsReceivableNet_1eb6181d-11d2-4d15-83be-e63a5b6dcff1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_AssetsBeforeDepreciation_1f6b4b2b-a4ec-4685-b888-c1ba4bd8a239" xlink:href="xyl-20250331.xsd#xyl_AssetsBeforeDepreciation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_96a1529b-13c6-4153-afe1-4569b30b504e" 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_1f6b4b2b-a4ec-4685-b888-c1ba4bd8a239" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_96a1529b-13c6-4153-afe1-4569b30b504e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGross_d5f6e144-a9c9-42ef-90b6-f1da5028caa1" 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_1f6b4b2b-a4ec-4685-b888-c1ba4bd8a239" xlink:to="loc_us-gaap_AccountsReceivableGross_d5f6e144-a9c9-42ef-90b6-f1da5028caa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_44a52129-ab00-4d09-a219-354013c054ff" 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_1f6b4b2b-a4ec-4685-b888-c1ba4bd8a239" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_44a52129-ab00-4d09-a219-354013c054ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherNoncurrentAssetsBeforeDepreciation_5440c45a-4251-4a02-94ec-9643df4b6263" xlink:href="xyl-20250331.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_1f6b4b2b-a4ec-4685-b888-c1ba4bd8a239" xlink:to="loc_xyl_OtherNoncurrentAssetsBeforeDepreciation_5440c45a-4251-4a02-94ec-9643df4b6263" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandLongTermDebtMaturitiesofDebtDetails" xlink:type="simple" xlink:href="xyl-20250331.xsd#CreditFacilitiesandLongTermDebtMaturitiesofDebtDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CreditFacilitiesandLongTermDebtMaturitiesofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_4add5410-16a5-40e6-ad4b-4956975baecb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_a0625436-5355-4792-be71-212ebdd24aed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_4add5410-16a5-40e6-ad4b-4956975baecb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_a0625436-5355-4792-be71-212ebdd24aed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_eb5bf0b4-54ed-4255-98ef-34ca165f6471" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_4add5410-16a5-40e6-ad4b-4956975baecb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_eb5bf0b4-54ed-4255-98ef-34ca165f6471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_dc338a23-0c78-4d0d-9996-fb7faf40d3fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_4add5410-16a5-40e6-ad4b-4956975baecb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_dc338a23-0c78-4d0d-9996-fb7faf40d3fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_6eaa5c54-79c4-49f6-9670-f0e03b36647b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_4add5410-16a5-40e6-ad4b-4956975baecb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_6eaa5c54-79c4-49f6-9670-f0e03b36647b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_9a920302-968b-4a6f-a358-c43b477a4037" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_4add5410-16a5-40e6-ad4b-4956975baecb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_9a920302-968b-4a6f-a358-c43b477a4037" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_b8cb0f6e-9b2f-4837-85d3-e7fcf0ee702e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_4add5410-16a5-40e6-ad4b-4956975baecb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_b8cb0f6e-9b2f-4837-85d3-e7fcf0ee702e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_24b622cf-e624-4ab8-ab70-7f9a70787655" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6bb79f1e-8404-4b08-88c5-1fa207a870f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_24b622cf-e624-4ab8-ab70-7f9a70787655" xlink:to="loc_us-gaap_LongTermDebt_6bb79f1e-8404-4b08-88c5-1fa207a870f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_7fbe8213-34bb-4dd1-8e51-d22494040578" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_24b622cf-e624-4ab8-ab70-7f9a70787655" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_7fbe8213-34bb-4dd1-8e51-d22494040578" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansSummaryofNetPeriodicBenefitCostDetails" xlink:type="simple" xlink:href="xyl-20250331.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_0de57b0e-c650-4de8-b09b-b2b9ed2cd1c3" 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_81f7e826-f109-432e-86bf-33c5ada2dfd3" 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_0de57b0e-c650-4de8-b09b-b2b9ed2cd1c3" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_81f7e826-f109-432e-86bf-33c5ada2dfd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_ff2e22b0-3081-4baf-bded-43abb6829c48" 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_0de57b0e-c650-4de8-b09b-b2b9ed2cd1c3" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_ff2e22b0-3081-4baf-bded-43abb6829c48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_067e307a-8c9d-4019-b48e-333f83ed9995" 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_0de57b0e-c650-4de8-b09b-b2b9ed2cd1c3" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_067e307a-8c9d-4019-b48e-333f83ed9995" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_35a4eb9d-8b15-4e4a-b6a2-3f350c51d86c" 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_0de57b0e-c650-4de8-b09b-b2b9ed2cd1c3" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_35a4eb9d-8b15-4e4a-b6a2-3f350c51d86c" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
