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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2020 Workiva-->
<!--r:ecd1f41b-f8a1-43f1-a15a-f50660a014c3,g:ddab5745-4b28-42e5-8ae0-ea0546b31ab8-->
<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/CoverPage" xlink:type="simple" xlink:href="xyl-20200331.xsd#CoverPage"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CoverPage" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedIncomeStatementsUnaudited" xlink:type="simple" xlink:href="xyl-20200331.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_8e74a5ca-3ef9-4245-a054-42a03c10fe17" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_69a29455-e9a9-4d10-8bbc-d4d25ee6236f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_8e74a5ca-3ef9-4245-a054-42a03c10fe17" xlink:to="loc_us-gaap_Revenues_69a29455-e9a9-4d10-8bbc-d4d25ee6236f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_6a425a74-8005-4475-8257-6ad4fc6a6a51" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_8e74a5ca-3ef9-4245-a054-42a03c10fe17" xlink:to="loc_us-gaap_CostOfRevenue_6a425a74-8005-4475-8257-6ad4fc6a6a51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1deeaa31-3efc-42e1-a5a7-985a7e19bc23" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_a36bf6d6-2ec0-4507-a741-3f9142da571a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1deeaa31-3efc-42e1-a5a7-985a7e19bc23" xlink:to="loc_us-gaap_OperatingIncomeLoss_a36bf6d6-2ec0-4507-a741-3f9142da571a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_a4c35ce0-a40a-4f9f-aaf1-2291eafcd60b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1deeaa31-3efc-42e1-a5a7-985a7e19bc23" xlink:to="loc_us-gaap_InterestExpense_a4c35ce0-a40a-4f9f-aaf1-2291eafcd60b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_7a48f82f-5fd9-427d-b952-cc6b2ad1f11a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1deeaa31-3efc-42e1-a5a7-985a7e19bc23" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_7a48f82f-5fd9-427d-b952-cc6b2ad1f11a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_3e6714b9-3a8a-4453-b5b3-fb281d9ece72" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1deeaa31-3efc-42e1-a5a7-985a7e19bc23" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_3e6714b9-3a8a-4453-b5b3-fb281d9ece72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_2691951c-540b-4af0-b44a-8f710afa893d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_de74547b-e005-449f-bae5-2477d4960502" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2691951c-540b-4af0-b44a-8f710afa893d" xlink:to="loc_us-gaap_GrossProfit_de74547b-e005-449f-bae5-2477d4960502" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_aadf90a8-4983-44d5-9b3a-fca52ba2d2a8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_2691951c-540b-4af0-b44a-8f710afa893d" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_aadf90a8-4983-44d5-9b3a-fca52ba2d2a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_e0987737-a424-408c-b301-9a593fe03ac3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2691951c-540b-4af0-b44a-8f710afa893d" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_e0987737-a424-408c-b301-9a593fe03ac3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_62fc914e-e783-476f-84c0-4b2ce4160bfc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringSettlementAndImpairmentProvisions"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_2691951c-540b-4af0-b44a-8f710afa893d" xlink:to="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_62fc914e-e783-476f-84c0-4b2ce4160bfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_4d98d42b-1647-4e27-a3a1-40cf4bb0ecba" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_341fb0f7-cf04-4d62-9706-ebf8405182b0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_4d98d42b-1647-4e27-a3a1-40cf4bb0ecba" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_341fb0f7-cf04-4d62-9706-ebf8405182b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_ec21f263-0fa7-4c29-a29f-3b79e91b2a0b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_4d98d42b-1647-4e27-a3a1-40cf4bb0ecba" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_ec21f263-0fa7-4c29-a29f-3b79e91b2a0b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofComprehensiveLossIncomeUnaudited" xlink:type="simple" xlink:href="xyl-20200331.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_85bfdf91-22e3-4cb1-97d8-0345f5bc7b3f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_3738ceec-6330-4087-b803-b07bf00ee585" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_85bfdf91-22e3-4cb1-97d8-0345f5bc7b3f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_3738ceec-6330-4087-b803-b07bf00ee585" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_7c603350-b6a4-4bc8-ba99-7f602a91d1ef" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_85bfdf91-22e3-4cb1-97d8-0345f5bc7b3f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_7c603350-b6a4-4bc8-ba99-7f602a91d1ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_19522f9a-cf73-43a6-b235-20bbf6effe9f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_9372a6b6-93c1-4c5c-9af4-18fc1e1f4fad" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_19522f9a-cf73-43a6-b235-20bbf6effe9f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_9372a6b6-93c1-4c5c-9af4-18fc1e1f4fad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_6ffe62b4-fe41-4506-949e-2de39d38293d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_19522f9a-cf73-43a6-b235-20bbf6effe9f" xlink:to="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_6ffe62b4-fe41-4506-949e-2de39d38293d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_d648452a-a026-4017-b108-81a4f76b64bd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_19522f9a-cf73-43a6-b235-20bbf6effe9f" xlink:to="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_d648452a-a026-4017-b108-81a4f76b64bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_8bdee97e-3278-4571-9568-005e3ebbe8f3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_19522f9a-cf73-43a6-b235-20bbf6effe9f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_8bdee97e-3278-4571-9568-005e3ebbe8f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_a9ca1431-774b-4854-919e-ed85efdbe896" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_19522f9a-cf73-43a6-b235-20bbf6effe9f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_a9ca1431-774b-4854-919e-ed85efdbe896" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_d823b7b3-3349-4a8b-b7b4-59d9ed02ab76" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2146d1d5-d65b-4594-9314-76fec93378fa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_d823b7b3-3349-4a8b-b7b4-59d9ed02ab76" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2146d1d5-d65b-4594-9314-76fec93378fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_0ce5affc-33d7-4c7d-8944-40276f865a00" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_d823b7b3-3349-4a8b-b7b4-59d9ed02ab76" xlink:to="loc_us-gaap_ProfitLoss_0ce5affc-33d7-4c7d-8944-40276f865a00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_0318ac3d-803f-4a04-b651-c7a625b59a3f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_6cf6a626-c470-4684-95bf-3c14da594e48" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_0318ac3d-803f-4a04-b651-c7a625b59a3f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_6cf6a626-c470-4684-95bf-3c14da594e48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_eb9b0e47-8999-47e9-a925-62340cfad4b6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_0318ac3d-803f-4a04-b651-c7a625b59a3f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_eb9b0e47-8999-47e9-a925-62340cfad4b6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="xyl-20200331.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_Assets_10243ba5-810b-40df-bf1a-99df6899c5fd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_10307d60-ee17-4381-8411-20704ba71649" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_10243ba5-810b-40df-bf1a-99df6899c5fd" xlink:to="loc_us-gaap_AssetsCurrent_10307d60-ee17-4381-8411-20704ba71649" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_db213f33-ce44-473a-8195-f711bbea4514" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_10243ba5-810b-40df-bf1a-99df6899c5fd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_db213f33-ce44-473a-8195-f711bbea4514" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_26184b89-f3b2-4f32-ac28-7338238edd2c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_10243ba5-810b-40df-bf1a-99df6899c5fd" xlink:to="loc_us-gaap_Goodwill_26184b89-f3b2-4f32-ac28-7338238edd2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_8a137742-28ca-48b6-aaa6-b655d659bba9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_10243ba5-810b-40df-bf1a-99df6899c5fd" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_8a137742-28ca-48b6-aaa6-b655d659bba9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_4f1a43d6-6541-4a31-8011-f16a2af36e13" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_10243ba5-810b-40df-bf1a-99df6899c5fd" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_4f1a43d6-6541-4a31-8011-f16a2af36e13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_f17443f7-826e-41dc-9b93-a8382585c59e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_294eea3d-d389-457b-822f-b7f41cfb247b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f17443f7-826e-41dc-9b93-a8382585c59e" xlink:to="loc_us-gaap_Liabilities_294eea3d-d389-457b-822f-b7f41cfb247b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_fdd5e714-454f-4275-9b4b-ae6bff595201" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f17443f7-826e-41dc-9b93-a8382585c59e" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_fdd5e714-454f-4275-9b4b-ae6bff595201" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_598efdd2-578a-4b67-93ff-367b0f7f80ec" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_f17443f7-826e-41dc-9b93-a8382585c59e" xlink:to="loc_us-gaap_CommitmentsAndContingencies_598efdd2-578a-4b67-93ff-367b0f7f80ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_2b0aa2db-f744-4239-ad8f-fc8d33bf348b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c643f74e-4b8c-4d63-bd8a-2618f306f5fb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2b0aa2db-f744-4239-ad8f-fc8d33bf348b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c643f74e-4b8c-4d63-bd8a-2618f306f5fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_3e755326-0905-40fe-9c53-ce0a14001a23" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2b0aa2db-f744-4239-ad8f-fc8d33bf348b" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_3e755326-0905-40fe-9c53-ce0a14001a23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_0479cc49-fd04-4c53-932d-ed1a6312c200" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2b0aa2db-f744-4239-ad8f-fc8d33bf348b" xlink:to="loc_us-gaap_InventoryNet_0479cc49-fd04-4c53-932d-ed1a6312c200" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_94daba85-8146-42cb-9e96-ca82da049b89" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2b0aa2db-f744-4239-ad8f-fc8d33bf348b" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_94daba85-8146-42cb-9e96-ca82da049b89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_99163746-cec4-428f-9bcc-2a65cfed26a8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_ed14f6f9-941a-4333-a301-6a8df82d2527" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_99163746-cec4-428f-9bcc-2a65cfed26a8" xlink:to="loc_us-gaap_CommonStockValue_ed14f6f9-941a-4333-a301-6a8df82d2527" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_f42294b8-aac3-4423-b7c2-0fa2b45f3ce0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_99163746-cec4-428f-9bcc-2a65cfed26a8" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_f42294b8-aac3-4423-b7c2-0fa2b45f3ce0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_970e7675-6da1-4e3e-84d9-ae5b989dbff3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_99163746-cec4-428f-9bcc-2a65cfed26a8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_970e7675-6da1-4e3e-84d9-ae5b989dbff3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_51613085-2413-4ade-a8c7-e71761d1991f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_99163746-cec4-428f-9bcc-2a65cfed26a8" xlink:to="loc_us-gaap_TreasuryStockValue_51613085-2413-4ade-a8c7-e71761d1991f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_cce9dc84-dee7-4580-96ee-313fe309c06e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_99163746-cec4-428f-9bcc-2a65cfed26a8" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_cce9dc84-dee7-4580-96ee-313fe309c06e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_10b92617-5824-43b2-8cd1-6939cb111c1b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_893f23d1-5f90-4c45-8495-ea80d4917999" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_10b92617-5824-43b2-8cd1-6939cb111c1b" xlink:to="loc_us-gaap_AccountsPayableCurrent_893f23d1-5f90-4c45-8495-ea80d4917999" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_f818dace-fe14-4520-b531-871c29e186ad" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_10b92617-5824-43b2-8cd1-6939cb111c1b" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_f818dace-fe14-4520-b531-871c29e186ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_44db95a3-5dac-4644-9356-f4ac66309fe9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_10b92617-5824-43b2-8cd1-6939cb111c1b" xlink:to="loc_us-gaap_DebtCurrent_44db95a3-5dac-4644-9356-f4ac66309fe9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_827009b1-df88-48c3-863e-44386f971c83" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_ecaf7524-119e-4347-ada6-29607c5e6f64" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_827009b1-df88-48c3-863e-44386f971c83" xlink:to="loc_us-gaap_LiabilitiesCurrent_ecaf7524-119e-4347-ada6-29607c5e6f64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_7fe72050-2b28-4890-a9cd-707970a4407f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_827009b1-df88-48c3-863e-44386f971c83" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_7fe72050-2b28-4890-a9cd-707970a4407f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_9b1b27ec-beb1-4849-8094-2a1e70f91b9b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_827009b1-df88-48c3-863e-44386f971c83" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_9b1b27ec-beb1-4849-8094-2a1e70f91b9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_9753a3af-5102-4053-92aa-6bef7a68f425" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAccruedLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_827009b1-df88-48c3-863e-44386f971c83" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_9753a3af-5102-4053-92aa-6bef7a68f425" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_6e21ae77-050a-4835-b063-28f47cf1f29e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_827009b1-df88-48c3-863e-44386f971c83" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_6e21ae77-050a-4835-b063-28f47cf1f29e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6bde6ca0-d472-4d8b-890f-8e7035d4b1a9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_0481d100-2413-4c82-9f49-24856a3917ad" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_6bde6ca0-d472-4d8b-890f-8e7035d4b1a9" xlink:to="loc_us-gaap_StockholdersEquity_0481d100-2413-4c82-9f49-24856a3917ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_adf1cc10-e98f-461d-acbc-761583f88a05" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_6bde6ca0-d472-4d8b-890f-8e7035d4b1a9" xlink:to="loc_us-gaap_MinorityInterest_adf1cc10-e98f-461d-acbc-761583f88a05" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" xlink:href="xyl-20200331.xsd#CondensedConsolidatedBalanceSheetsUnauditedParenthetical"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="xyl-20200331.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_57fa8837-3660-4e65-97b0-b4b65b5e6472" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_2e020b18-fb63-4b04-9919-1c9a16656b8b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_57fa8837-3660-4e65-97b0-b4b65b5e6472" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_2e020b18-fb63-4b04-9919-1c9a16656b8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e070e579-1dbc-4f13-8692-3a9341feff63" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_57fa8837-3660-4e65-97b0-b4b65b5e6472" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e070e579-1dbc-4f13-8692-3a9341feff63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c1e14660-08eb-446c-abc8-456a6cd1a2b8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_57fa8837-3660-4e65-97b0-b4b65b5e6472" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c1e14660-08eb-446c-abc8-456a6cd1a2b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d79b6a87-5307-47bf-99fb-10c53f4435b9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_57fa8837-3660-4e65-97b0-b4b65b5e6472" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d79b6a87-5307-47bf-99fb-10c53f4435b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_551e34b1-fde2-423d-bcec-7dd381a144ac" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_ProfitLoss_551e34b1-fde2-423d-bcec-7dd381a144ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_2ea8dc91-9f39-4256-a7a6-f53e4e6fc04b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_Depreciation_2ea8dc91-9f39-4256-a7a6-f53e4e6fc04b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_44dccf78-2701-4263-ac38-10ad5956476b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentForAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_AdjustmentForAmortization_44dccf78-2701-4263-ac38-10ad5956476b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_5b07a2ee-52ca-426e-bfb8-3abb84a8a0a3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_ShareBasedCompensation_5b07a2ee-52ca-426e-bfb8-3abb84a8a0a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_8d4f1935-84dc-4c9c-8d29-5c76ad7367f3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostsAndAssetImpairmentCharges"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_8d4f1935-84dc-4c9c-8d29-5c76ad7367f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_7aa68c28-77c3-4fb9-9a56-a47ec4f4a144" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_7aa68c28-77c3-4fb9-9a56-a47ec4f4a144" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_f4c84dbf-6e2c-4b74-989f-f1fbe199a81f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_f4c84dbf-6e2c-4b74-989f-f1fbe199a81f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_204249df-3690-4bb2-a32e-b95954bf64b0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_PaymentsForRestructuring_204249df-3690-4bb2-a32e-b95954bf64b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_f976dd25-41dd-4a59-80b2-6be3b2473526" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_f976dd25-41dd-4a59-80b2-6be3b2473526" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_fb166185-fcb0-492c-9dfc-a0f154b0c39c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_fb166185-fcb0-492c-9dfc-a0f154b0c39c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_f2dd1499-8e15-48a4-96b2-51629d9eab8e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_f2dd1499-8e15-48a4-96b2-51629d9eab8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_0d4cdf21-724c-40c5-8b68-bab4b9bd8297" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_06c3b58d-468b-455b-bb15-44bb1dc0ea7c" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_0d4cdf21-724c-40c5-8b68-bab4b9bd8297" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_17e1852c-ed81-429b-924b-5d6a63ea52ce" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_8dd3ef6d-db9d-418c-8d3f-bcc3805c822c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_17e1852c-ed81-429b-924b-5d6a63ea52ce" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_8dd3ef6d-db9d-418c-8d3f-bcc3805c822c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_b47a0493-fb1e-4fcb-a918-6bb54306a9b7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_17e1852c-ed81-429b-924b-5d6a63ea52ce" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_b47a0493-fb1e-4fcb-a918-6bb54306a9b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_dd9ebad1-ce2a-4a3b-88f4-52b9f3d89695" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_17e1852c-ed81-429b-924b-5d6a63ea52ce" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_dd9ebad1-ce2a-4a3b-88f4-52b9f3d89695" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c6c06355-322a-482a-b573-cb1e4c06f0e2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_a3efd3e6-f97a-4e23-9843-f924a58b70e0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_c6c06355-322a-482a-b573-cb1e4c06f0e2" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_a3efd3e6-f97a-4e23-9843-f924a58b70e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_a7ca7c41-dcbb-49ec-bd5c-e6d519c64f6a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfShortTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c6c06355-322a-482a-b573-cb1e4c06f0e2" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_a7ca7c41-dcbb-49ec-bd5c-e6d519c64f6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_90ed340b-1022-4fe4-ad6e-de9f4c1c46e4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_c6c06355-322a-482a-b573-cb1e4c06f0e2" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_90ed340b-1022-4fe4-ad6e-de9f4c1c46e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_4d975d23-5552-4e32-84a8-ee21ac513b2b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_c6c06355-322a-482a-b573-cb1e4c06f0e2" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_4d975d23-5552-4e32-84a8-ee21ac513b2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_344389f4-30e4-443c-ba12-79156551ac30" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_c6c06355-322a-482a-b573-cb1e4c06f0e2" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_344389f4-30e4-443c-ba12-79156551ac30" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/BackgroundandBasisofPresentation" xlink:type="simple" xlink:href="xyl-20200331.xsd#BackgroundandBasisofPresentation"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/BackgroundandBasisofPresentation" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/BackgroundandBasisofPresentationPolicies" xlink:type="simple" xlink:href="xyl-20200331.xsd#BackgroundandBasisofPresentationPolicies"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/BackgroundandBasisofPresentationPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/BackgroundandBasisofPresentationDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#BackgroundandBasisofPresentationDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/BackgroundandBasisofPresentationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RecentlyIssuedAccountingPronouncements" xlink:type="simple" xlink:href="xyl-20200331.xsd#RecentlyIssuedAccountingPronouncements"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RecentlyIssuedAccountingPronouncements" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AcquisitionsandDivestitures" xlink:type="simple" xlink:href="xyl-20200331.xsd#AcquisitionsandDivestitures"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AcquisitionsandDivestitures" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AcquisitionsandDivestituresTextualsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#AcquisitionsandDivestituresTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AcquisitionsandDivestituresTextualsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringCharges" xlink:type="simple" xlink:href="xyl-20200331.xsd#RestructuringCharges"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringCharges" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringChargesTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#RestructuringChargesTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringChargesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringChargesTextualsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#RestructuringChargesTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringChargesTextualsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringChargesRestructuringChargesDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#RestructuringChargesRestructuringChargesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringChargesRestructuringChargesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_547e6b8c-cfac-4365-8b4c-3106fad3978e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_93b82a52-fa66-4b46-8c4f-b5b32f7cec60" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeveranceCosts1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RestructuringCharges_547e6b8c-cfac-4365-8b4c-3106fad3978e" xlink:to="loc_us-gaap_SeveranceCosts1_93b82a52-fa66-4b46-8c4f-b5b32f7cec60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessExitCosts1_f68d3302-cc5b-438f-aca2-7b9edf964c0c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessExitCosts1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RestructuringCharges_547e6b8c-cfac-4365-8b4c-3106fad3978e" xlink:to="loc_us-gaap_BusinessExitCosts1_f68d3302-cc5b-438f-aca2-7b9edf964c0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_AssetImpairmentandRestructuringCharges_4bb6333c-025e-4fba-8d6b-2ffce6687b59" xlink:href="xyl-20200331.xsd#xyl_AssetImpairmentandRestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_1a6ff0aa-a424-4a1a-975e-6af68555b0d8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_4bb6333c-025e-4fba-8d6b-2ffce6687b59" xlink:to="loc_us-gaap_RestructuringCharges_1a6ff0aa-a424-4a1a-975e-6af68555b0d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_594a0543-046e-427f-a12a-409a601d5861" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_4bb6333c-025e-4fba-8d6b-2ffce6687b59" xlink:to="loc_us-gaap_AssetImpairmentCharges_594a0543-046e-427f-a12a-409a601d5861" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringChargesAccrualRollfowardDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#RestructuringChargesAccrualRollfowardDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringChargesAccrualRollfowardDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringChargesEstimatedRestructuringCostsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#RestructuringChargesEstimatedRestructuringCostsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringChargesEstimatedRestructuringCostsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/Revenue" xlink:type="simple" xlink:href="xyl-20200331.xsd#Revenue"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/Revenue" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#RevenueTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RevenueTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="xyl-20200331.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_d76cf698-456b-4400-be3c-4919879b4697" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_5e5c4637-1c3f-4421-81b6-b3f19a36b38e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_d76cf698-456b-4400-be3c-4919879b4697" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_5e5c4637-1c3f-4421-81b6-b3f19a36b38e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherRevenues_4133fe61-7185-4724-bacb-12102aa0edd9" xlink:href="xyl-20200331.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_d76cf698-456b-4400-be3c-4919879b4697" xlink:to="loc_xyl_OtherRevenues_4133fe61-7185-4724-bacb-12102aa0edd9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#RevenueDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RevenueDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueNarrativeDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#RevenueNarrativeDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RevenueNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueNarrativeDetails_1" xlink:type="simple" xlink:href="xyl-20200331.xsd#RevenueNarrativeDetails_1"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RevenueNarrativeDetails_1" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/IncomeTaxes" xlink:type="simple" xlink:href="xyl-20200331.xsd#IncomeTaxes"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/IncomeTaxes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/IncomeTaxesTextualsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#IncomeTaxesTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/IncomeTaxesTextualsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EarningsPerShare" xlink:type="simple" xlink:href="xyl-20200331.xsd#EarningsPerShare"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/EarningsPerShare" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EarningsPerShareTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#EarningsPerShareTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/EarningsPerShareTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EarningsPerShareCalculationsforEPSDetails" xlink:type="simple" xlink:href="xyl-20200331.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_597a2fc5-c215-4902-80e9-41b870334786" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_ad12b9b4-cdd9-47d7-93e6-f7789de52d68" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_597a2fc5-c215-4902-80e9-41b870334786" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_ad12b9b4-cdd9-47d7-93e6-f7789de52d68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights_af67c1cb-e962-4e4e-9b8f-84baf939c962" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_597a2fc5-c215-4902-80e9-41b870334786" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights_af67c1cb-e962-4e4e-9b8f-84baf939c962" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EarningsPerShareSummaryofAntidilutiveSecuritiesDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#EarningsPerShareSummaryofAntidilutiveSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/EarningsPerShareSummaryofAntidilutiveSecuritiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/Inventories" xlink:type="simple" xlink:href="xyl-20200331.xsd#Inventories"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/Inventories" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/InventoriesTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#InventoriesTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/InventoriesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/InventoriesDetails" xlink:type="simple" xlink:href="xyl-20200331.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_0fdea719-d059-4d57-9639-f7615e7451b0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_a0b14874-b5eb-4ca5-84ff-49ef1059a474" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_0fdea719-d059-4d57-9639-f7615e7451b0" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_a0b14874-b5eb-4ca5-84ff-49ef1059a474" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_ba9fce14-3b7a-46e4-b08b-1cd9e861e6c2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_0fdea719-d059-4d57-9639-f7615e7451b0" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_ba9fce14-3b7a-46e4-b08b-1cd9e861e6c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_12664bac-653d-402a-8e8b-ebcd85f74a5c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_0fdea719-d059-4d57-9639-f7615e7451b0" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_12664bac-653d-402a-8e8b-ebcd85f74a5c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssets" xlink:type="simple" xlink:href="xyl-20200331.xsd#GoodwillandOtherIntangibleAssets"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssets" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#GoodwillandOtherIntangibleAssetsTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsGoodwillRollforwardDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#GoodwillandOtherIntangibleAssetsGoodwillRollforwardDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsGoodwillRollforwardDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsSummaryofIntangibleAssetsDetails" xlink:type="simple" xlink:href="xyl-20200331.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_b6444c29-5053-497f-86df-ff1ff8c5b2d8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_69f815b8-ece5-4079-82f4-f85696b2c606" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_b6444c29-5053-497f-86df-ff1ff8c5b2d8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_69f815b8-ece5-4079-82f4-f85696b2c606" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c41ffd87-d852-48c6-ac45-4887b841daf2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_b6444c29-5053-497f-86df-ff1ff8c5b2d8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c41ffd87-d852-48c6-ac45-4887b841daf2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsDetailsTextual" xlink:type="simple" xlink:href="xyl-20200331.xsd#GoodwillandOtherIntangibleAssetsDetailsTextual"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsDetailsTextual" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/DerivativeFinancialInstruments" xlink:type="simple" xlink:href="xyl-20200331.xsd#DerivativeFinancialInstruments"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/DerivativeFinancialInstruments" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/DerivativeFinancialInstrumentsTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#DerivativeFinancialInstrumentsTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/DerivativeFinancialInstrumentsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/DerivativeFinancialInstrumentsEffectofDeriativeInstrumentsonIncomeStatementandStatementofComprehensiveIncomeDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#DerivativeFinancialInstrumentsEffectofDeriativeInstrumentsonIncomeStatementandStatementofComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/DerivativeFinancialInstrumentsEffectofDeriativeInstrumentsonIncomeStatementandStatementofComprehensiveIncomeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/DerivativeFinancialInstrumentsBalanceSheetLocationofDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#DerivativeFinancialInstrumentsBalanceSheetLocationofDerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/DerivativeFinancialInstrumentsBalanceSheetLocationofDerivativeInstrumentsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/DerivativeFinancialInstrumentsDetailsTextual" xlink:type="simple" xlink:href="xyl-20200331.xsd#DerivativeFinancialInstrumentsDetailsTextual"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/DerivativeFinancialInstrumentsDetailsTextual" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilities" xlink:type="simple" xlink:href="xyl-20200331.xsd#AccruedandOtherCurrentLiabilities"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilities" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilitiesTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#AccruedandOtherCurrentLiabilitiesTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilitiesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccruedandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="xyl-20200331.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_fd307d89-d85a-45a1-a88b-11d38974ed62" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_865f7873-540f-4c31-abab-fcc27ba48d69" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_fd307d89-d85a-45a1-a88b-11d38974ed62" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_865f7873-540f-4c31-abab-fcc27ba48d69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_CustomerRelatedLiabilitiesCurrent_54fc405f-711b-4558-b2dd-c33abd34230b" xlink:href="xyl-20200331.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_fd307d89-d85a-45a1-a88b-11d38974ed62" xlink:to="loc_xyl_CustomerRelatedLiabilitiesCurrent_54fc405f-711b-4558-b2dd-c33abd34230b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_e8e95160-df2b-4413-82ac-ea7681051eb5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_fd307d89-d85a-45a1-a88b-11d38974ed62" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_e8e95160-df2b-4413-82ac-ea7681051eb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_9b1d1a2b-fd46-4b65-85ad-d1cd16ff9cd1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_fd307d89-d85a-45a1-a88b-11d38974ed62" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_9b1d1a2b-fd46-4b65-85ad-d1cd16ff9cd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_14cd8243-ef2b-4f16-bd6f-b69fe4890418" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_fd307d89-d85a-45a1-a88b-11d38974ed62" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_14cd8243-ef2b-4f16-bd6f-b69fe4890418" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_41ebdce5-fb26-46cd-8c5c-48012ed11635" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_fd307d89-d85a-45a1-a88b-11d38974ed62" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_41ebdce5-fb26-46cd-8c5c-48012ed11635" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebt" xlink:type="simple" xlink:href="xyl-20200331.xsd#CreditFacilitiesandDebt"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CreditFacilitiesandDebt" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebtTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#CreditFacilitiesandDebtTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CreditFacilitiesandDebtTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebtSummaryofDebtOutstandingDetails" xlink:type="simple" xlink:href="xyl-20200331.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_e671bb07-f29c-41b5-a0c7-3344aeda2c2a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_ef07d6da-cb4a-458f-a3e3-fc2681717304" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_e671bb07-f29c-41b5-a0c7-3344aeda2c2a" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_ef07d6da-cb4a-458f-a3e3-fc2681717304" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_a2612cbb-8def-4aca-93d1-b5cb3763701b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.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_e671bb07-f29c-41b5-a0c7-3344aeda2c2a" xlink:to="loc_us-gaap_DebtCurrent_a2612cbb-8def-4aca-93d1-b5cb3763701b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebtTextualsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#CreditFacilitiesandDebtTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CreditFacilitiesandDebtTextualsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlans" xlink:type="simple" xlink:href="xyl-20200331.xsd#PostretirementBenefitPlans"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/PostretirementBenefitPlans" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#PostretirementBenefitPlansTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/PostretirementBenefitPlansTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansSummaryofNetPeriodicBenefitCostDetails" xlink:type="simple" xlink:href="xyl-20200331.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_5cc94a1f-8b5c-4131-be6e-bbeb0a95c0de" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_e9350de8-5b71-4ed2-8fed-99f4bb4926d9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_5cc94a1f-8b5c-4131-be6e-bbeb0a95c0de" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_e9350de8-5b71-4ed2-8fed-99f4bb4926d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_3535c6cc-a58a-4288-ac63-f026ae8e9c16" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_5cc94a1f-8b5c-4131-be6e-bbeb0a95c0de" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_3535c6cc-a58a-4288-ac63-f026ae8e9c16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_5e219bbc-6089-4488-b750-ff8747cab5b3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_5cc94a1f-8b5c-4131-be6e-bbeb0a95c0de" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_5e219bbc-6089-4488-b750-ff8747cab5b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_c157dd75-d0f6-4a62-99ef-2030e91e1c69" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_5cc94a1f-8b5c-4131-be6e-bbeb0a95c0de" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_c157dd75-d0f6-4a62-99ef-2030e91e1c69" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansTextualsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#PostretirementBenefitPlansTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/PostretirementBenefitPlansTextualsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/Equity" xlink:type="simple" xlink:href="xyl-20200331.xsd#Equity"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/Equity" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EquityTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#EquityTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/EquityTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EquitySummaryofShareholdersEquityDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#EquitySummaryofShareholdersEquityDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/EquitySummaryofShareholdersEquityDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlans" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlans"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlans" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlansTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlansTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlansTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlansTextualsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlansTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlansTextualsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlansSummaryofStockOptionsGrantDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlansSummaryofStockOptionsGrantDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlansSummaryofStockOptionsGrantDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlansStockOptionFairValueAssumptionsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlansStockOptionFairValueAssumptionsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlansStockOptionFairValueAssumptionsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlansSummaryofRestrictedStockUnitGrantsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlansSummaryofRestrictedStockUnitGrantsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlansSummaryofRestrictedStockUnitGrantsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlansShareBasedCompensationPlansSummaryofROICPerformanceShareUnitGrantsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlansShareBasedCompensationPlansSummaryofROICPerformanceShareUnitGrantsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlansShareBasedCompensationPlansSummaryofROICPerformanceShareUnitGrantsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlansSummaryofPerformanceBasedShareGrantsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlansSummaryofPerformanceBasedShareGrantsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlansSummaryofPerformanceBasedShareGrantsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/ShareBasedCompensationPlansTSRPerformanceBasedSharesFairValueAssumptionsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#ShareBasedCompensationPlansTSRPerformanceBasedSharesFairValueAssumptionsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/ShareBasedCompensationPlansTSRPerformanceBasedSharesFairValueAssumptionsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CapitalStock" xlink:type="simple" xlink:href="xyl-20200331.xsd#CapitalStock"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CapitalStock" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CapitalStockTextualsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#CapitalStockTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CapitalStockTextualsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccumulatedOtherComprehensiveIncomeLoss" xlink:type="simple" xlink:href="xyl-20200331.xsd#AccumulatedOtherComprehensiveIncomeLoss"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AccumulatedOtherComprehensiveIncomeLoss" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccumulatedOtherComprehensiveIncomeLossTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#AccumulatedOtherComprehensiveIncomeLossTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AccumulatedOtherComprehensiveIncomeLossTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#AccumulatedOtherComprehensiveIncomeLossDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="xyl-20200331.xsd#CommitmentsandContingencies"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CommitmentsandContingencies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CommitmentsandContingenciesTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#CommitmentsandContingenciesTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CommitmentsandContingenciesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CommitmentsandContingenciesSummaryofWarrantiesDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#CommitmentsandContingenciesSummaryofWarrantiesDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CommitmentsandContingenciesSummaryofWarrantiesDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CommitmentsandContingenciesDetailsTextual" xlink:type="simple" xlink:href="xyl-20200331.xsd#CommitmentsandContingenciesDetailsTextual"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CommitmentsandContingenciesDetailsTextual" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/SegmentInformation" xlink:type="simple" xlink:href="xyl-20200331.xsd#SegmentInformation"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/SegmentInformation" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/SegmentInformationTables" xlink:type="simple" xlink:href="xyl-20200331.xsd#SegmentInformationTables"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/SegmentInformationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/SegmentInformationSummaryofOperationsbySegmentDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#SegmentInformationSummaryofOperationsbySegmentDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/SegmentInformationSummaryofOperationsbySegmentDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/SegmentInformationTextualsDetails" xlink:type="simple" xlink:href="xyl-20200331.xsd#SegmentInformationTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/SegmentInformationTextualsDetails" xlink:type="extended"/>
</link:linkbase>
