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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:e3d0b363-62a1-469e-9bd9-609799679538,g:2df2e2e3-58ca-4784-a194-1088f821bcfb-->
<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-20210331.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-20210331.xsd#CondensedConsolidatedIncomeStatementsUnaudited"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/CondensedConsolidatedIncomeStatementsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_ae007e09-a699-4e7b-b5fe-5dceb1797898" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_03b29565-1121-463a-8724-f7efb45fc2bf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ae007e09-a699-4e7b-b5fe-5dceb1797898" xlink:to="loc_us-gaap_GrossProfit_03b29565-1121-463a-8724-f7efb45fc2bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_a7c2a3d6-7a03-4c99-9a9a-d2e71e891b42" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ae007e09-a699-4e7b-b5fe-5dceb1797898" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_a7c2a3d6-7a03-4c99-9a9a-d2e71e891b42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_408b44b4-8d15-427a-b1a9-36d0cec2343e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ae007e09-a699-4e7b-b5fe-5dceb1797898" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_408b44b4-8d15-427a-b1a9-36d0cec2343e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_RestructuringAndAssetImpairmentLosses_0ca5b253-f0af-4180-83a3-4da6e66ac06b" xlink:href="xyl-20210331.xsd#xyl_RestructuringAndAssetImpairmentLosses"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_ae007e09-a699-4e7b-b5fe-5dceb1797898" xlink:to="loc_xyl_RestructuringAndAssetImpairmentLosses_0ca5b253-f0af-4180-83a3-4da6e66ac06b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_584f448b-1ced-4e61-8c48-e33acc2e10da" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_a2943914-89db-42e0-9297-2816643a0785" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_584f448b-1ced-4e61-8c48-e33acc2e10da" xlink:to="loc_us-gaap_Revenues_a2943914-89db-42e0-9297-2816643a0785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_f78dd69f-53ae-4c24-9bfa-9f83db0cc4b5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_584f448b-1ced-4e61-8c48-e33acc2e10da" xlink:to="loc_us-gaap_CostOfRevenue_f78dd69f-53ae-4c24-9bfa-9f83db0cc4b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2627c411-9adc-40dc-bf4b-8a4f29cc1e32" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_ae216e30-60e1-45e5-a317-87e032ca6d85" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_2627c411-9adc-40dc-bf4b-8a4f29cc1e32" xlink:to="loc_us-gaap_OperatingIncomeLoss_ae216e30-60e1-45e5-a317-87e032ca6d85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_9f35e2c0-3968-4d8d-9223-7bae6d6254bd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_2627c411-9adc-40dc-bf4b-8a4f29cc1e32" xlink:to="loc_us-gaap_InterestExpense_9f35e2c0-3968-4d8d-9223-7bae6d6254bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_bd163151-9d0d-41f2-92f0-86afec794473" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_2627c411-9adc-40dc-bf4b-8a4f29cc1e32" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_bd163151-9d0d-41f2-92f0-86afec794473" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_677cdce0-2b42-4587-9741-e1c30067b64e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_63a1653c-c2ff-49c8-8850-e9fd2fafcdda" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_677cdce0-2b42-4587-9741-e1c30067b64e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_63a1653c-c2ff-49c8-8850-e9fd2fafcdda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_ba984be8-8d77-42aa-a4d1-bcfb46de6c12" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_677cdce0-2b42-4587-9741-e1c30067b64e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_ba984be8-8d77-42aa-a4d1-bcfb46de6c12" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedStatementsofComprehensiveLossIncomeUnaudited" xlink:type="simple" xlink:href="xyl-20210331.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_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_f537188e-6a5d-42eb-9660-b285b57a67b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0090bbee-2ae5-4e82-b037-82247b4c48e0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f537188e-6a5d-42eb-9660-b285b57a67b2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0090bbee-2ae5-4e82-b037-82247b4c48e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_b894a12b-253a-4641-8c5c-657fe3c81572" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f537188e-6a5d-42eb-9660-b285b57a67b2" xlink:to="loc_us-gaap_ProfitLoss_b894a12b-253a-4641-8c5c-657fe3c81572" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_ac565d58-79be-4424-914c-8215a0d9f037" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dd6c916f-3b82-4dbe-8f14-7c22210a9d2b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ac565d58-79be-4424-914c-8215a0d9f037" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dd6c916f-3b82-4dbe-8f14-7c22210a9d2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_8693f926-c095-431a-a522-44479b85a082" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ac565d58-79be-4424-914c-8215a0d9f037" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_8693f926-c095-431a-a522-44479b85a082" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_36010f95-bdd7-47a3-bc89-e8050dfc4ecb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_8e4c517b-8e75-44f6-966a-f92ec92b4e5a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_36010f95-bdd7-47a3-bc89-e8050dfc4ecb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_8e4c517b-8e75-44f6-966a-f92ec92b4e5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_db7e1c31-6403-4773-8de5-d12b308e07c4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_36010f95-bdd7-47a3-bc89-e8050dfc4ecb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_db7e1c31-6403-4773-8de5-d12b308e07c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_7678567d-1c97-4f48-90a7-968a073290b9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_b3a4dab3-811e-4e43-ba4a-b35746b5977d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_7678567d-1c97-4f48-90a7-968a073290b9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_b3a4dab3-811e-4e43-ba4a-b35746b5977d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_bcad0ba6-ba9b-4bfc-bee6-3bc5aaa81e4e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_7678567d-1c97-4f48-90a7-968a073290b9" xlink:to="loc_us-gaap_UnrealizedGainLossOnForeignCurrencyDerivativesNetBeforeTax_bcad0ba6-ba9b-4bfc-bee6-3bc5aaa81e4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_c89ca47f-778d-42b2-a504-f00384d89a4f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_7678567d-1c97-4f48-90a7-968a073290b9" xlink:to="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet_c89ca47f-778d-42b2-a504-f00384d89a4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_9dde6e40-12b5-403b-b61b-f564349f0357" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_7678567d-1c97-4f48-90a7-968a073290b9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_9dde6e40-12b5-403b-b61b-f564349f0357" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_f3602de9-66f1-4d66-812b-0bce0822050a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_7678567d-1c97-4f48-90a7-968a073290b9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_f3602de9-66f1-4d66-812b-0bce0822050a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="xyl-20210331.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_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_f03dd841-dbe7-44cf-9d08-906cffd7f79e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e61dfb8f-3b97-49dd-a921-7ef98096edd6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f03dd841-dbe7-44cf-9d08-906cffd7f79e" xlink:to="loc_us-gaap_StockholdersEquity_e61dfb8f-3b97-49dd-a921-7ef98096edd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_89b6cee3-d731-470b-a326-9cd38458e39e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f03dd841-dbe7-44cf-9d08-906cffd7f79e" xlink:to="loc_us-gaap_MinorityInterest_89b6cee3-d731-470b-a326-9cd38458e39e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_f992a09c-89c6-4f47-b749-ac3e702ffbf6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e34b64b2-ce63-4ebd-bd07-39f6f9100a46" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f992a09c-89c6-4f47-b749-ac3e702ffbf6" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e34b64b2-ce63-4ebd-bd07-39f6f9100a46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_267f56f0-5141-46f7-b4e3-0dd70b3983f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f992a09c-89c6-4f47-b749-ac3e702ffbf6" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_267f56f0-5141-46f7-b4e3-0dd70b3983f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_651a6749-f355-4625-ba33-68b7de80f7d5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f992a09c-89c6-4f47-b749-ac3e702ffbf6" xlink:to="loc_us-gaap_InventoryNet_651a6749-f355-4625-ba33-68b7de80f7d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_11395ba5-4122-475b-85ff-1120bc415995" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f992a09c-89c6-4f47-b749-ac3e702ffbf6" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_11395ba5-4122-475b-85ff-1120bc415995" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_70183ca3-90c3-4997-9019-a71573711c9c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_d2161441-1d5a-491e-aec0-8e0cbcde10b5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_70183ca3-90c3-4997-9019-a71573711c9c" xlink:to="loc_us-gaap_CommonStockValue_d2161441-1d5a-491e-aec0-8e0cbcde10b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b83ccc31-c215-4d52-a0fc-45aa8a652293" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_70183ca3-90c3-4997-9019-a71573711c9c" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b83ccc31-c215-4d52-a0fc-45aa8a652293" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b296e2a9-cd85-4d0e-a983-c0d9e33ba90a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_70183ca3-90c3-4997-9019-a71573711c9c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b296e2a9-cd85-4d0e-a983-c0d9e33ba90a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_8b83c301-c59f-4e38-a330-b535a1326c57" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_70183ca3-90c3-4997-9019-a71573711c9c" xlink:to="loc_us-gaap_TreasuryStockValue_8b83c301-c59f-4e38-a330-b535a1326c57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_7f34e825-0a73-44d3-b300-aca933ffa1a3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_70183ca3-90c3-4997-9019-a71573711c9c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_7f34e825-0a73-44d3-b300-aca933ffa1a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_aa362172-afb4-45ad-8e88-1c2acbfe733b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_8b046d4d-c9a4-48b1-af54-c4224adc4713" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_aa362172-afb4-45ad-8e88-1c2acbfe733b" xlink:to="loc_us-gaap_Liabilities_8b046d4d-c9a4-48b1-af54-c4224adc4713" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0148fd38-2c18-4442-8ed1-79746acfff61" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_aa362172-afb4-45ad-8e88-1c2acbfe733b" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0148fd38-2c18-4442-8ed1-79746acfff61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_b005d157-89e1-44de-8bcf-935247040ccd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_aa362172-afb4-45ad-8e88-1c2acbfe733b" xlink:to="loc_us-gaap_CommitmentsAndContingencies_b005d157-89e1-44de-8bcf-935247040ccd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_105f9c9c-a203-4031-a3be-8142d48bc74e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_6da379b7-9e7e-4d6d-8c88-ad3f77814385" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_105f9c9c-a203-4031-a3be-8142d48bc74e" xlink:to="loc_us-gaap_AssetsCurrent_6da379b7-9e7e-4d6d-8c88-ad3f77814385" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_385506c8-3005-49e8-9d02-fc923dc99e7b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_105f9c9c-a203-4031-a3be-8142d48bc74e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_385506c8-3005-49e8-9d02-fc923dc99e7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_e4778416-817f-4351-9820-c3a8d6433eef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_105f9c9c-a203-4031-a3be-8142d48bc74e" xlink:to="loc_us-gaap_Goodwill_e4778416-817f-4351-9820-c3a8d6433eef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_06b3fd4f-d088-470b-920e-a1a66c499461" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_105f9c9c-a203-4031-a3be-8142d48bc74e" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_06b3fd4f-d088-470b-920e-a1a66c499461" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9da674cc-2ada-4188-80bb-43d1c2392e51" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_105f9c9c-a203-4031-a3be-8142d48bc74e" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9da674cc-2ada-4188-80bb-43d1c2392e51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f332cc27-307a-4e7d-ad9e-668d1f80afb3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_000cede1-5d50-4e53-8517-91eaae0272fd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f332cc27-307a-4e7d-ad9e-668d1f80afb3" xlink:to="loc_us-gaap_LiabilitiesCurrent_000cede1-5d50-4e53-8517-91eaae0272fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_6cf3825e-3d48-4bfd-b765-41bba8c1e99c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f332cc27-307a-4e7d-ad9e-668d1f80afb3" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_6cf3825e-3d48-4bfd-b765-41bba8c1e99c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_852c5f08-0a74-4852-b11b-081ba5accb85" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f332cc27-307a-4e7d-ad9e-668d1f80afb3" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_852c5f08-0a74-4852-b11b-081ba5accb85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_6e33f321-b148-4797-8f2a-1e6b859909f2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f332cc27-307a-4e7d-ad9e-668d1f80afb3" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesNoncurrent_6e33f321-b148-4797-8f2a-1e6b859909f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_416263af-954f-4bdf-9c7c-59f020b3c03a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_f332cc27-307a-4e7d-ad9e-668d1f80afb3" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_416263af-954f-4bdf-9c7c-59f020b3c03a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_5022dc2c-f452-4bf7-9ba3-6904b5137c4a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_e1d8af5d-dd28-490a-b613-6c75edbfd217" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_5022dc2c-f452-4bf7-9ba3-6904b5137c4a" xlink:to="loc_us-gaap_AccountsPayableCurrent_e1d8af5d-dd28-490a-b613-6c75edbfd217" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_53d38ef7-1895-460c-ae97-ac338b035ae2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_5022dc2c-f452-4bf7-9ba3-6904b5137c4a" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_53d38ef7-1895-460c-ae97-ac338b035ae2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_1d2ba00d-289d-4628-8276-b426023a9e9b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_5022dc2c-f452-4bf7-9ba3-6904b5137c4a" xlink:to="loc_us-gaap_DebtCurrent_1d2ba00d-289d-4628-8276-b426023a9e9b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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_de69e68b-6e9e-4eda-a9ca-0e80194dcdd9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_c689cc7a-9b2f-4b9e-a8dd-c77413cc0cd1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_de69e68b-6e9e-4eda-a9ca-0e80194dcdd9" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_c689cc7a-9b2f-4b9e-a8dd-c77413cc0cd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_1002fef5-f452-4260-b5e8-6cdb0d1b65f1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_de69e68b-6e9e-4eda-a9ca-0e80194dcdd9" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_1002fef5-f452-4260-b5e8-6cdb0d1b65f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_cdc44446-14c5-49d2-8f27-311c7a65532b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_de69e68b-6e9e-4eda-a9ca-0e80194dcdd9" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_cdc44446-14c5-49d2-8f27-311c7a65532b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_96fef231-9921-4384-bdeb-41fe25f36059" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_ProfitLoss_96fef231-9921-4384-bdeb-41fe25f36059" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_4c2349d5-6493-4e78-889c-e80aab5257f3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_Depreciation_4c2349d5-6493-4e78-889c-e80aab5257f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_57d8cf5b-6d01-4ca6-9d68-6a3d2f5fcd37" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_AdjustmentForAmortization_57d8cf5b-6d01-4ca6-9d68-6a3d2f5fcd37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_a571ebdb-8c74-4b05-8e01-133cc8ed00c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_ShareBasedCompensation_a571ebdb-8c74-4b05-8e01-133cc8ed00c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_ff297281-df6d-4428-9490-7835c07168c0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_ff297281-df6d-4428-9490-7835c07168c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_2a8f53f8-c6f5-4949-b47e-fad08c42df1a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_2a8f53f8-c6f5-4949-b47e-fad08c42df1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_a3385ddb-2ac6-4119-8920-e9e56fbe6526" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_PaymentsForRestructuring_a3385ddb-2ac6-4119-8920-e9e56fbe6526" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_1e4af2ac-76ec-4f5b-9a7f-2d34fe503f59" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_1e4af2ac-76ec-4f5b-9a7f-2d34fe503f59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_4c76fff2-71c2-49bf-bde6-1d88e00574b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_4c76fff2-71c2-49bf-bde6-1d88e00574b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_a15a06bb-740c-4412-b7da-081fff96322f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_a15a06bb-740c-4412-b7da-081fff96322f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_5d889085-6e49-4bb3-8998-be56837dd731" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a126387a-6c14-4a2a-b1c7-7d35f53eac63" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_5d889085-6e49-4bb3-8998-be56837dd731" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_df96c7cf-ef55-49ca-baeb-cdb62bdf2c39" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_986990e9-cb3b-4582-9ef9-709ec1aeced5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_df96c7cf-ef55-49ca-baeb-cdb62bdf2c39" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_986990e9-cb3b-4582-9ef9-709ec1aeced5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_cc697b86-163f-4c3d-804d-c433f1a460bd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_df96c7cf-ef55-49ca-baeb-cdb62bdf2c39" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_cc697b86-163f-4c3d-804d-c433f1a460bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c6994770-50b6-4203-8aa2-cc7b082d462f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_df96c7cf-ef55-49ca-baeb-cdb62bdf2c39" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c6994770-50b6-4203-8aa2-cc7b082d462f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c8b191f0-8222-4690-b308-05326430ffbd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_df96c7cf-ef55-49ca-baeb-cdb62bdf2c39" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c8b191f0-8222-4690-b308-05326430ffbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_77e5f749-3d99-42a4-b5cc-d0a25238dcba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_54c95dcb-d7d2-4d0d-8158-dff5c9bbd26a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_77e5f749-3d99-42a4-b5cc-d0a25238dcba" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_54c95dcb-d7d2-4d0d-8158-dff5c9bbd26a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_6b384b22-3b3d-495c-965a-e24abc3c1b13" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_77e5f749-3d99-42a4-b5cc-d0a25238dcba" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_6b384b22-3b3d-495c-965a-e24abc3c1b13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_3560a9cf-2876-47f1-bd69-ab9f0c586bdc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_77e5f749-3d99-42a4-b5cc-d0a25238dcba" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_3560a9cf-2876-47f1-bd69-ab9f0c586bdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_b7254c13-9c33-4737-9437-d8080a8714ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_77e5f749-3d99-42a4-b5cc-d0a25238dcba" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_b7254c13-9c33-4737-9437-d8080a8714ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_f6e1b8a7-8633-4719-a3af-b8c1387e47cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_77e5f749-3d99-42a4-b5cc-d0a25238dcba" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_f6e1b8a7-8633-4719-a3af-b8c1387e47cb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/BackgroundandBasisofPresentation" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.xsd#BackgroundandBasisofPresentationDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/BackgroundandBasisofPresentationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/Revenue" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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_cc5c38bf-be73-46eb-8763-44b7425ee640" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_fa0793c3-7dce-46c2-b372-e4738cab0acc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_cc5c38bf-be73-46eb-8763-44b7425ee640" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_fa0793c3-7dce-46c2-b372-e4738cab0acc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_OtherRevenues_c3cc3760-74f0-46a9-8839-2a94b7a64837" xlink:href="xyl-20210331.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_cc5c38bf-be73-46eb-8763-44b7425ee640" xlink:to="loc_xyl_OtherRevenues_c3cc3760-74f0-46a9-8839-2a94b7a64837" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RevenueDetails" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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/RestructuringCharges" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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-20210331.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_4953bc79-651f-45a7-bafa-2862abac512b" xlink:href="xyl-20210331.xsd#xyl_AssetImpairmentandRestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_7bc8b6b1-843f-4d9d-84e1-2108060beb3a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_4953bc79-651f-45a7-bafa-2862abac512b" xlink:to="loc_us-gaap_RestructuringCharges_7bc8b6b1-843f-4d9d-84e1-2108060beb3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_7a02d9ac-ef7e-43a4-9381-6967b2e5e5f6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_4953bc79-651f-45a7-bafa-2862abac512b" xlink:to="loc_us-gaap_AssetImpairmentCharges_7a02d9ac-ef7e-43a4-9381-6967b2e5e5f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_13a0e118-e3ba-4cdc-bff6-e03f16cd888d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_654f40d9-aeb9-4679-a6f9-f51a6dd0f9e6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_13a0e118-e3ba-4cdc-bff6-e03f16cd888d" xlink:to="loc_us-gaap_SeveranceCosts1_654f40d9-aeb9-4679-a6f9-f51a6dd0f9e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_RestructuringReserveAssetImpairmentCosts_7a29792e-3ed2-4aaa-ad2c-64dc55411afe" xlink:href="xyl-20210331.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_13a0e118-e3ba-4cdc-bff6-e03f16cd888d" xlink:to="loc_xyl_RestructuringReserveAssetImpairmentCosts_7a29792e-3ed2-4aaa-ad2c-64dc55411afe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/RestructuringChargesAccrualRollfowardDetails" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.xsd#RestructuringChargesEstimatedRestructuringCostsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/RestructuringChargesEstimatedRestructuringCostsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.xyleminc.com/role/IncomeTaxes" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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_0a304b7f-17db-463f-af71-244d679e8318" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_3ece7788-f4ea-4822-8bc8-3f27df4ca1fb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_0a304b7f-17db-463f-af71-244d679e8318" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_3ece7788-f4ea-4822-8bc8-3f27df4ca1fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights_9a2d4f19-dfd7-4dbb-82d1-993d55cac8a7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_0a304b7f-17db-463f-af71-244d679e8318" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights_9a2d4f19-dfd7-4dbb-82d1-993d55cac8a7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/EarningsPerShareSummaryofAntidilutiveSecuritiesDetails" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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-20210331.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_1aaaaca4-3738-45ce-9ad6-422efe605c40" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_a1b482a3-09d8-4695-91ab-5db68b9c800e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_1aaaaca4-3738-45ce-9ad6-422efe605c40" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_a1b482a3-09d8-4695-91ab-5db68b9c800e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_82076aee-b32b-466b-a2c5-8c039e79cc12" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_1aaaaca4-3738-45ce-9ad6-422efe605c40" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_82076aee-b32b-466b-a2c5-8c039e79cc12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_aaf5ea6f-b07a-400a-8699-bf0e2cfef339" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_1aaaaca4-3738-45ce-9ad6-422efe605c40" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_aaf5ea6f-b07a-400a-8699-bf0e2cfef339" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssets" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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-20210331.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_2cda0d75-e670-4232-998f-03bfdf84fdb6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_23e0394b-88dd-4ce6-bddb-74528becf394" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_2cda0d75-e670-4232-998f-03bfdf84fdb6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_23e0394b-88dd-4ce6-bddb-74528becf394" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_22ab543d-60a2-40a5-8d66-b7e04562076a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_2cda0d75-e670-4232-998f-03bfdf84fdb6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_22ab543d-60a2-40a5-8d66-b7e04562076a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/GoodwillandOtherIntangibleAssetsDetailsTextual" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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_ebcb8d7e-f624-4a89-b37f-54642b10a762" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_5e37ee6d-003d-4c1f-9f6f-8c7a576f2f21" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ebcb8d7e-f624-4a89-b37f-54642b10a762" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_5e37ee6d-003d-4c1f-9f6f-8c7a576f2f21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_xyl_CustomerRelatedLiabilitiesCurrent_1768469f-fe9a-4c1f-87ac-c6b7153fbb0a" xlink:href="xyl-20210331.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_ebcb8d7e-f624-4a89-b37f-54642b10a762" xlink:to="loc_xyl_CustomerRelatedLiabilitiesCurrent_1768469f-fe9a-4c1f-87ac-c6b7153fbb0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_fb6ceba9-33db-461b-bf7f-60e80e1783f6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ebcb8d7e-f624-4a89-b37f-54642b10a762" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_fb6ceba9-33db-461b-bf7f-60e80e1783f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_2fca2c99-0f1f-40d3-8ffb-1b63ddd54255" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ebcb8d7e-f624-4a89-b37f-54642b10a762" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_2fca2c99-0f1f-40d3-8ffb-1b63ddd54255" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_6af69b77-37e5-404a-ad72-a2bca5eef1d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ebcb8d7e-f624-4a89-b37f-54642b10a762" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_6af69b77-37e5-404a-ad72-a2bca5eef1d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_b67a3eee-f5f8-4f03-85db-933b1706375d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_ebcb8d7e-f624-4a89-b37f-54642b10a762" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_b67a3eee-f5f8-4f03-85db-933b1706375d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebt" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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_a1b1b120-a119-4705-826b-2f8149e85cd8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_cd01d5a4-ffb3-42d5-85a4-636d721f45d8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a1b1b120-a119-4705-826b-2f8149e85cd8" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_cd01d5a4-ffb3-42d5-85a4-636d721f45d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_fbe670a0-1ecc-4354-b103-a7eb99ecc1f7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_a1b1b120-a119-4705-826b-2f8149e85cd8" xlink:to="loc_us-gaap_DebtCurrent_fbe670a0-1ecc-4354-b103-a7eb99ecc1f7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/CreditFacilitiesandDebtTextualsDetails" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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-20210331.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_07193b51-5cb0-4198-9498-7445adc6abf3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_620038b6-e338-4d55-b385-f15ea543eeca" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_07193b51-5cb0-4198-9498-7445adc6abf3" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_620038b6-e338-4d55-b385-f15ea543eeca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_7461e391-fa65-46d6-999a-0021b3facf35" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_07193b51-5cb0-4198-9498-7445adc6abf3" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_7461e391-fa65-46d6-999a-0021b3facf35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_d1f8b9a3-d1ca-4239-ae11-27763d4f36f8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_07193b51-5cb0-4198-9498-7445adc6abf3" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_d1f8b9a3-d1ca-4239-ae11-27763d4f36f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_d8fd649d-f179-43b6-8aac-b1d4b026cdf2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-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_07193b51-5cb0-4198-9498-7445adc6abf3" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_d8fd649d-f179-43b6-8aac-b1d4b026cdf2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.xyleminc.com/role/PostretirementBenefitPlansTextualsDetails" xlink:type="simple" xlink:href="xyl-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.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-20210331.xsd#SegmentInformationTextualsDetails"/>
  <link:calculationLink xlink:role="http://www.xyleminc.com/role/SegmentInformationTextualsDetails" xlink:type="extended"/>
</link:linkbase>
