<?xml version="1.0" encoding="us-ascii"?>
<!--Generated by EDGARfilings PROfile 4.1.0.0 Copyright 1995 - 2017 Summit Financial Printing, LLC. All rights reserved.-->
<link:linkbase 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" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xbrli="http://www.xbrl.org/2003/instance">
  <link:roleRef roleURI="http://communitybankna.com/role/SegmentInformationDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#SegmentInformationDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/VariableInterestEntitiesDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#VariableInterestEntitiesDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/FairValueAssetsAndLiabilitiesMeasuredOnNonrecurringBasisDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#FairValueAssetsAndLiabilitiesMeasuredOnNonrecurringBasisDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/FairValueFinancialAssetsAndLiabilitiesAccountedForAtFairValueOnRecurringBasisDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#FairValueFinancialAssetsAndLiabilitiesAccountedForAtFairValueOnRecurringBasisDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/ParentCompanyStatementsCondensedStatementsOfCashFlowsDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#ParentCompanyStatementsCondensedStatementsOfCashFlowsDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/ParentCompanyStatementsCondensedBalanceSheetsDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#ParentCompanyStatementsCondensedBalanceSheetsDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/LeasesDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#LeasesDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#EarningsPerShareDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/BenefitPlansNetPeriodicBenefitCostDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#BenefitPlansNetPeriodicBenefitCostDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/BenefitPlansCostsThatWillBeAmortizedFromAociInNextFiscalYearDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#BenefitPlansCostsThatWillBeAmortizedFromAociInNextFiscalYearDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/BenefitPlansAmountsRecognizedInAociNetOfTaxDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#BenefitPlansAmountsRecognizedInAociNetOfTaxDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/BenefitPlansFundedStatusAndAmountsRecognizedInBalanceSheetsAndAociDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#BenefitPlansFundedStatusAndAmountsRecognizedInBalanceSheetsAndAociDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/IncomeTaxesEffectiveTaxRateReconciliationDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#IncomeTaxesEffectiveTaxRateReconciliationDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/IncomeTaxesComponentsOfNetDeferredTaxLiabilityDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#IncomeTaxesComponentsOfNetDeferredTaxLiabilityDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/IncomeTaxesProvisionForIncomeTaxesDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#IncomeTaxesProvisionForIncomeTaxesDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/DepositsDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#DepositsDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/GoodwillAndIdentifiableIntangibleAssetsDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#GoodwillAndIdentifiableIntangibleAssetsDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/PremisesAndEquipmentDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#PremisesAndEquipmentDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/LoansSummaryOfImpairedLoansExcludingPurchasedImpairedDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#LoansSummaryOfImpairedLoansExcludingPurchasedImpairedDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/LoansCreditQualityByPastDueStatusDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#LoansCreditQualityByPastDueStatusDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/LoansAcquiredLoansDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#LoansAcquiredLoansDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfDebtSecuritiesByContractualMaturityDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfDebtSecuritiesByContractualMaturityDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/InvestmentSecuritiesInvestmentSecuritiesInContinuousUnrealizedLossPositionDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#InvestmentSecuritiesInvestmentSecuritiesInContinuousUnrealizedLossPositionDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/InvestmentSecuritiesDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#InvestmentSecuritiesDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/AcquisitionsSummaryOfLoansAcquiredDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#AcquisitionsSummaryOfLoansAcquiredDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/AcquisitionsEstimatedFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="cbu-20161231.xsd#AcquisitionsEstimatedFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="simple" xlink:href="cbu-20161231.xsd#ConsolidatedStatementsOfCashFlows" />
  <link:roleRef roleURI="http://communitybankna.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" xlink:href="cbu-20161231.xsd#ConsolidatedStatementsOfComprehensiveIncome" />
  <link:roleRef roleURI="http://communitybankna.com/role/ConsolidatedStatementsOfIncome" xlink:type="simple" xlink:href="cbu-20161231.xsd#ConsolidatedStatementsOfIncome" />
  <link:roleRef roleURI="http://communitybankna.com/role/ConsolidatedStatementsOfCondition" xlink:type="simple" xlink:href="cbu-20161231.xsd#ConsolidatedStatementsOfCondition" />
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ConsolidatedStatementsOfCondition">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="Assets" xlink:title="Assets" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssets" xlink:label="OtherAssets" xlink:title="OtherAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="OtherAssets" xlink:title="calculation: Assets to OtherAssets" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestReceivable" xlink:label="InterestReceivable" xlink:title="InterestReceivable" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="InterestReceivable" xlink:title="calculation: Assets to InterestReceivable" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="PropertyPlantAndEquipmentNet" xlink:title="PropertyPlantAndEquipmentNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="PropertyPlantAndEquipmentNet" xlink:title="calculation: Assets to PropertyPlantAndEquipmentNet" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_IntangibleAssetsNet" xlink:label="IntangibleAssetsNet" xlink:title="IntangibleAssetsNet" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="Goodwill" xlink:title="Goodwill" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IntangibleAssetsNet" xlink:to="Goodwill" xlink:title="calculation: IntangibleAssetsNet to Goodwill" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_OtherFiniteLivedIntangibleAssetsNet" xlink:label="OtherFiniteLivedIntangibleAssetsNet" xlink:title="OtherFiniteLivedIntangibleAssetsNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IntangibleAssetsNet" xlink:to="OtherFiniteLivedIntangibleAssetsNet" xlink:title="calculation: IntangibleAssetsNet to OtherFiniteLivedIntangibleAssetsNet" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CoreDepositIntangiblesNet" xlink:label="CoreDepositIntangiblesNet" xlink:title="CoreDepositIntangiblesNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IntangibleAssetsNet" xlink:to="CoreDepositIntangiblesNet" xlink:title="calculation: IntangibleAssetsNet to CoreDepositIntangiblesNet" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="IntangibleAssetsNet" xlink:title="calculation: Assets to IntangibleAssetsNet" order="9.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherInvestmentsAndSecuritiesAtCost" xlink:label="OtherInvestmentsAndSecuritiesAtCost" xlink:title="OtherInvestmentsAndSecuritiesAtCost" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="OtherInvestmentsAndSecuritiesAtCost" xlink:title="calculation: Assets to OtherInvestmentsAndSecuritiesAtCost" order="7.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroupMortgage" xlink:label="LoansReceivableHeldForSaleNetNotPartOfDisposalGroupMortgage" xlink:title="LoansReceivableHeldForSaleNetNotPartOfDisposalGroupMortgage" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="LoansReceivableHeldForSaleNetNotPartOfDisposalGroupMortgage" xlink:title="calculation: Assets to LoansReceivableHeldForSaleNetNotPartOfDisposalGroupMortgage" order="8.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="CashAndCashEquivalentsAtCarryingValue" xlink:title="CashAndCashEquivalentsAtCarryingValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="CashAndCashEquivalentsAtCarryingValue" xlink:title="calculation: Assets to CashAndCashEquivalentsAtCarryingValue" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="AvailableForSaleSecurities" xlink:title="AvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="AvailableForSaleSecurities" xlink:title="calculation: Assets to AvailableForSaleSecurities" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="LoansAndLeasesReceivableNetReportedAmount" xlink:title="LoansAndLeasesReceivableNetReportedAmount" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LoansAndLeasesReceivableNetReportedAmount" xlink:to="LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="calculation: LoansAndLeasesReceivableNetReportedAmount to LoansAndLeasesReceivableGrossCarryingAmount" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="LoansAndLeasesReceivableAllowance" xlink:title="LoansAndLeasesReceivableAllowance" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LoansAndLeasesReceivableNetReportedAmount" xlink:to="LoansAndLeasesReceivableAllowance" xlink:title="calculation: LoansAndLeasesReceivableNetReportedAmount to LoansAndLeasesReceivableAllowance" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="LoansAndLeasesReceivableNetReportedAmount" xlink:title="calculation: Assets to LoansAndLeasesReceivableNetReportedAmount" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="LiabilitiesAndStockholdersEquity" xlink:title="LiabilitiesAndStockholdersEquity" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="StockholdersEquity" xlink:title="StockholdersEquity" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="RetainedEarningsAccumulatedDeficit" xlink:title="RetainedEarningsAccumulatedDeficit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="StockholdersEquity" xlink:to="RetainedEarningsAccumulatedDeficit" xlink:title="calculation: StockholdersEquity to RetainedEarningsAccumulatedDeficit" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="StockholdersEquity" xlink:to="AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:title="calculation: StockholdersEquity to AccumulatedOtherComprehensiveIncomeLossNetOfTax" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="TreasuryStockValue" xlink:title="TreasuryStockValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="StockholdersEquity" xlink:to="TreasuryStockValue" xlink:title="calculation: StockholdersEquity to TreasuryStockValue" order="5.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="AdditionalPaidInCapital" xlink:title="AdditionalPaidInCapital" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="StockholdersEquity" xlink:to="AdditionalPaidInCapital" xlink:title="calculation: StockholdersEquity to AdditionalPaidInCapital" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockValueOutstanding" xlink:label="PreferredStockValueOutstanding" xlink:title="PreferredStockValueOutstanding" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="StockholdersEquity" xlink:to="PreferredStockValueOutstanding" xlink:title="calculation: StockholdersEquity to PreferredStockValueOutstanding" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockValueOutstanding" xlink:label="CommonStockValueOutstanding" xlink:title="CommonStockValueOutstanding" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="StockholdersEquity" xlink:to="CommonStockValueOutstanding" xlink:title="calculation: StockholdersEquity to CommonStockValueOutstanding" order="1.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LiabilitiesAndStockholdersEquity" xlink:to="StockholdersEquity" xlink:title="calculation: LiabilitiesAndStockholdersEquity to StockholdersEquity" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="Liabilities" xlink:title="Liabilities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="DebtAndCapitalLeaseObligations" xlink:title="DebtAndCapitalLeaseObligations" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Liabilities" xlink:to="DebtAndCapitalLeaseObligations" xlink:title="calculation: Liabilities to DebtAndCapitalLeaseObligations" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_AccruedInterestAndOtherLiabilities" xlink:label="AccruedInterestAndOtherLiabilities" xlink:title="AccruedInterestAndOtherLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Liabilities" xlink:to="AccruedInterestAndOtherLiabilities" xlink:title="calculation: Liabilities to AccruedInterestAndOtherLiabilities" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:label="JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:title="JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Liabilities" xlink:to="JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:title="calculation: Liabilities to JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Deposits" xlink:label="Deposits" xlink:title="Deposits" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilities" xlink:label="NoninterestBearingDepositLiabilities" xlink:title="NoninterestBearingDepositLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Deposits" xlink:to="NoninterestBearingDepositLiabilities" xlink:title="calculation: Deposits to NoninterestBearingDepositLiabilities" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="InterestBearingDepositLiabilities" xlink:title="InterestBearingDepositLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Deposits" xlink:to="InterestBearingDepositLiabilities" xlink:title="calculation: Deposits to InterestBearingDepositLiabilities" order="1.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Liabilities" xlink:to="Deposits" xlink:title="calculation: Liabilities to Deposits" order="3.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LiabilitiesAndStockholdersEquity" xlink:to="Liabilities" xlink:title="calculation: LiabilitiesAndStockholdersEquity to Liabilities" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ConsolidatedStatementsOfIncome">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="NetIncomeLoss" xlink:title="NetIncomeLoss" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:title="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:title="InterestIncomeExpenseAfterProvisionForLoanLoss" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="InterestIncomeExpenseNet" xlink:title="InterestIncomeExpenseNet" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="InterestAndDividendIncomeOperating" xlink:title="InterestAndDividendIncomeOperating" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="InterestAndFeeIncomeLoansAndLeases" xlink:title="InterestAndFeeIncomeLoansAndLeases" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestAndDividendIncomeOperating" xlink:to="InterestAndFeeIncomeLoansAndLeases" xlink:title="calculation: InterestAndDividendIncomeOperating to InterestAndFeeIncomeLoansAndLeases" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="InterestIncomeSecuritiesTaxable" xlink:title="InterestIncomeSecuritiesTaxable" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestAndDividendIncomeOperating" xlink:to="InterestIncomeSecuritiesTaxable" xlink:title="calculation: InterestAndDividendIncomeOperating to InterestIncomeSecuritiesTaxable" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="InterestIncomeSecuritiesTaxExempt" xlink:title="InterestIncomeSecuritiesTaxExempt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestAndDividendIncomeOperating" xlink:to="InterestIncomeSecuritiesTaxExempt" xlink:title="calculation: InterestAndDividendIncomeOperating to InterestIncomeSecuritiesTaxExempt" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestIncomeExpenseNet" xlink:to="InterestAndDividendIncomeOperating" xlink:title="calculation: InterestIncomeExpenseNet to InterestAndDividendIncomeOperating" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="InterestExpense" xlink:title="InterestExpense" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseJuniorSubordinatedDebentures" xlink:label="InterestExpenseJuniorSubordinatedDebentures" xlink:title="InterestExpenseJuniorSubordinatedDebentures" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestExpense" xlink:to="InterestExpenseJuniorSubordinatedDebentures" xlink:title="calculation: InterestExpense to InterestExpenseJuniorSubordinatedDebentures" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="InterestExpenseBorrowings" xlink:title="InterestExpenseBorrowings" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestExpense" xlink:to="InterestExpenseBorrowings" xlink:title="calculation: InterestExpense to InterestExpenseBorrowings" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="InterestExpenseDeposits" xlink:title="InterestExpenseDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestExpense" xlink:to="InterestExpenseDeposits" xlink:title="calculation: InterestExpense to InterestExpenseDeposits" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestIncomeExpenseNet" xlink:to="InterestExpense" xlink:title="calculation: InterestIncomeExpenseNet to InterestExpense" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="InterestIncomeExpenseNet" xlink:title="calculation: InterestIncomeExpenseAfterProvisionForLoanLoss to InterestIncomeExpenseNet" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="ProvisionForLoanAndLeaseLosses" xlink:title="ProvisionForLoanAndLeaseLosses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="ProvisionForLoanAndLeaseLosses" xlink:title="calculation: InterestIncomeExpenseAfterProvisionForLoanLoss to ProvisionForLoanAndLeaseLosses" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to InterestIncomeExpenseAfterProvisionForLoanLoss" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="NoninterestIncome" xlink:title="NoninterestIncome" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_EmployeeBenefitServices" xlink:label="EmployeeBenefitServices" xlink:title="EmployeeBenefitServices" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestIncome" xlink:to="EmployeeBenefitServices" xlink:title="calculation: NoninterestIncome to EmployeeBenefitServices" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InsuranceServicesRevenue" xlink:label="InsuranceServicesRevenue" xlink:title="InsuranceServicesRevenue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestIncome" xlink:to="InsuranceServicesRevenue" xlink:title="calculation: NoninterestIncome to InsuranceServicesRevenue" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_WealthManagementServices" xlink:label="WealthManagementServices" xlink:title="WealthManagementServices" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestIncome" xlink:to="WealthManagementServices" xlink:title="calculation: NoninterestIncome to WealthManagementServices" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_OtherBankingServices" xlink:label="OtherBankingServices" xlink:title="OtherBankingServices" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestIncome" xlink:to="OtherBankingServices" xlink:title="calculation: NoninterestIncome to OtherBankingServices" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FeesAndCommissionsDepositorAccounts" xlink:label="FeesAndCommissionsDepositorAccounts" xlink:title="FeesAndCommissionsDepositorAccounts" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestIncome" xlink:to="FeesAndCommissionsDepositorAccounts" xlink:title="calculation: NoninterestIncome to FeesAndCommissionsDepositorAccounts" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MarketableSecuritiesRealizedGainLoss" xlink:label="MarketableSecuritiesRealizedGainLoss" xlink:title="MarketableSecuritiesRealizedGainLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestIncome" xlink:to="MarketableSecuritiesRealizedGainLoss" xlink:title="calculation: NoninterestIncome to MarketableSecuritiesRealizedGainLoss" order="5.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="NoninterestIncome" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to NoninterestIncome" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="OperatingExpenses" xlink:title="OperatingExpenses" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OccupancyNet" xlink:label="OccupancyNet" xlink:title="OccupancyNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="OccupancyNet" xlink:title="calculation: OperatingExpenses to OccupancyNet" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SuppliesAndPostageExpense" xlink:label="SuppliesAndPostageExpense" xlink:title="SuppliesAndPostageExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="SuppliesAndPostageExpense" xlink:title="calculation: OperatingExpenses to SuppliesAndPostageExpense" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="ProfessionalFees" xlink:title="ProfessionalFees" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="ProfessionalFees" xlink:title="calculation: OperatingExpenses to ProfessionalFees" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="FederalDepositInsuranceCorporationPremiumExpense" xlink:title="FederalDepositInsuranceCorporationPremiumExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="FederalDepositInsuranceCorporationPremiumExpense" xlink:title="calculation: OperatingExpenses to FederalDepositInsuranceCorporationPremiumExpense" order="7.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="OtherNoninterestExpense" xlink:title="OtherNoninterestExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="OtherNoninterestExpense" xlink:title="calculation: OperatingExpenses to OtherNoninterestExpense" order="9.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="LaborAndRelatedExpense" xlink:title="LaborAndRelatedExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="LaborAndRelatedExpense" xlink:title="calculation: OperatingExpenses to LaborAndRelatedExpense" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessDevelopment" xlink:label="BusinessDevelopment" xlink:title="BusinessDevelopment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="BusinessDevelopment" xlink:title="calculation: OperatingExpenses to BusinessDevelopment" order="6.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="BusinessCombinationAcquisitionRelatedCosts" xlink:title="BusinessCombinationAcquisitionRelatedCosts" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="BusinessCombinationAcquisitionRelatedCosts" xlink:title="calculation: OperatingExpenses to BusinessCombinationAcquisitionRelatedCosts" order="8.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="AmortizationOfIntangibleAssets" xlink:title="AmortizationOfIntangibleAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="AmortizationOfIntangibleAssets" xlink:title="calculation: OperatingExpenses to AmortizationOfIntangibleAssets" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommunicationsAndInformationTechnology" xlink:label="CommunicationsAndInformationTechnology" xlink:title="CommunicationsAndInformationTechnology" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingExpenses" xlink:to="CommunicationsAndInformationTechnology" xlink:title="calculation: OperatingExpenses to CommunicationsAndInformationTechnology" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="OperatingExpenses" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to OperatingExpenses" order="2.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetIncomeLoss" xlink:to="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:title="calculation: NetIncomeLoss to IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="IncomeTaxExpenseBenefit" xlink:title="IncomeTaxExpenseBenefit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetIncomeLoss" xlink:to="IncomeTaxExpenseBenefit" xlink:title="calculation: NetIncomeLoss to IncomeTaxExpenseBenefit" order="1.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ConsolidatedStatementsOfComprehensiveIncome">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="ComprehensiveIncomeNetOfTax" xlink:title="ComprehensiveIncomeNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:title="OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:title="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:label="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:title="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:label="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:title="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:to="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:title="calculation: OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax to OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax" xlink:label="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax" xlink:title="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:to="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax" xlink:title="calculation: OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax to OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:title="calculation: OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent to OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:label="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:title="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" xlink:label="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" xlink:title="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:to="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" xlink:title="calculation: OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax to OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax" xlink:label="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax" xlink:title="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:to="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax" xlink:title="calculation: OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax to OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:title="calculation: OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent to OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:to="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:title="calculation: OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent to OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" order="0.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:title="OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:title="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:title="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:to="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:title="calculation: OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax to OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:label="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:title="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:to="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:title="calculation: OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax to OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:title="calculation: OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent to OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:title="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:title="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:to="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:title="calculation: OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax to OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:label="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:title="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:to="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:title="calculation: OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax to OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:title="calculation: OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent to OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" order="1.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:to="OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:title="calculation: OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent to OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" order="1.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncomeNetOfTax" xlink:to="OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:title="calculation: ComprehensiveIncomeNetOfTax to OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="NetIncomeLoss" xlink:title="NetIncomeLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ComprehensiveIncomeNetOfTax" xlink:to="NetIncomeLoss" xlink:title="calculation: ComprehensiveIncomeNetOfTax to NetIncomeLoss" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansGrossOfTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansGrossOfTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansGrossOfTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:to="AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansGrossOfTax" xlink:title="calculation: AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax to AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansGrossOfTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTaxEffect" xlink:label="AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTaxEffect" xlink:title="AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTaxEffect" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:to="AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTaxEffect" xlink:title="calculation: AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax to AccumulatedOtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTaxEffect" order="1.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:to="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:title="calculation: AccumulatedOtherComprehensiveIncomeLossNetOfTax to AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" order="0.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentGross" xlink:label="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentGross" xlink:title="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentGross" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:to="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentGross" xlink:title="calculation: AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax to AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentGross" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentTaxEffect" xlink:label="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentTaxEffect" xlink:title="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentTaxEffect" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:to="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentTaxEffect" xlink:title="calculation: AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax to AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentTaxEffect" order="1.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:to="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:title="calculation: AccumulatedOtherComprehensiveIncomeLossNetOfTax to AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ConsolidatedStatementsOfCashFlows">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInContinuingOperations" xlink:label="NetCashProvidedByUsedInContinuingOperations" xlink:title="NetCashProvidedByUsedInContinuingOperations" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:title="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="PaymentsForRepurchaseOfCommonStock" xlink:title="PaymentsForRepurchaseOfCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="PaymentsForRepurchaseOfCommonStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to PaymentsForRepurchaseOfCommonStock" order="7.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="ProceedsFromIssuanceOfCommonStock" xlink:title="ProceedsFromIssuanceOfCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="ProceedsFromIssuanceOfCommonStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to ProceedsFromIssuanceOfCommonStock" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfDebt" xlink:label="ProceedsFromRepaymentsOfDebt" xlink:title="ProceedsFromRepaymentsOfDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="ProceedsFromRepaymentsOfDebt" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to ProceedsFromRepaymentsOfDebt" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="IncreaseDecreaseInDeposits" xlink:title="IncreaseDecreaseInDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="IncreaseDecreaseInDeposits" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to IncreaseDecreaseInDeposits" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:title="ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" order="8.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="PaymentsOfDividendsCommonStock" xlink:title="PaymentsOfDividendsCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="PaymentsOfDividendsCommonStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to PaymentsOfDividendsCommonStock" order="4.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfTreasuryStock" xlink:label="ProceedsFromSaleOfTreasuryStock" xlink:title="ProceedsFromSaleOfTreasuryStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="ProceedsFromSaleOfTreasuryStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to ProceedsFromSaleOfTreasuryStock" order="6.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInContinuingOperations" xlink:to="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:title="calculation: NetCashProvidedByUsedInContinuingOperations to NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:title="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="ProceedsFromSaleOfAvailableForSaleSecurities" xlink:title="ProceedsFromSaleOfAvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="ProceedsFromSaleOfAvailableForSaleSecurities" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to ProceedsFromSaleOfAvailableForSaleSecurities" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:title="ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" order="8.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="PaymentsToAcquireAvailableForSaleSecurities" xlink:title="PaymentsToAcquireAvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="PaymentsToAcquireAvailableForSaleSecurities" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to PaymentsToAcquireAvailableForSaleSecurities" order="10.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireOtherInvestments" xlink:label="PaymentsToAcquireOtherInvestments" xlink:title="PaymentsToAcquireOtherInvestments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="PaymentsToAcquireOtherInvestments" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to PaymentsToAcquireOtherInvestments" order="11.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments" xlink:label="ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments" xlink:title="ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="PaymentsToAcquirePropertyPlantAndEquipment" xlink:title="PaymentsToAcquirePropertyPlantAndEquipment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="PaymentsToAcquirePropertyPlantAndEquipment" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to PaymentsToAcquirePropertyPlantAndEquipment" order="7.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:label="PaymentsForProceedsFromLoansAndLeases" xlink:title="PaymentsForProceedsFromLoansAndLeases" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="PaymentsForProceedsFromLoansAndLeases" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to PaymentsForProceedsFromLoansAndLeases" order="5.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:title="PaymentsToAcquireBusinessesNetOfCashAcquired" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to PaymentsToAcquireBusinessesNetOfCashAcquired" order="6.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_SettlementOfBankOwnedLifeInsurancePolicies" xlink:label="SettlementOfBankOwnedLifeInsurancePolicies" xlink:title="SettlementOfBankOwnedLifeInsurancePolicies" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="SettlementOfBankOwnedLifeInsurancePolicies" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to SettlementOfBankOwnedLifeInsurancePolicies" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInContinuingOperations" xlink:to="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:title="calculation: NetCashProvidedByUsedInContinuingOperations to NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:title="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfMortgageServicingRightsMSRs" xlink:label="AmortizationOfMortgageServicingRightsMSRs" xlink:title="AmortizationOfMortgageServicingRightsMSRs" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="AmortizationOfMortgageServicingRightsMSRs" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to AmortizationOfMortgageServicingRightsMSRs" order="7.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="AmortizationOfIntangibleAssets" xlink:title="AmortizationOfIntangibleAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="AmortizationOfIntangibleAssets" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to AmortizationOfIntangibleAssets" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MarketableSecuritiesRealizedGainLoss" xlink:label="MarketableSecuritiesRealizedGainLoss" xlink:title="MarketableSecuritiesRealizedGainLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="MarketableSecuritiesRealizedGainLoss" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to MarketableSecuritiesRealizedGainLoss" order="9.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes" xlink:label="IncreaseDecreaseInDeferredIncomeTaxes" xlink:title="IncreaseDecreaseInDeferredIncomeTaxes" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="IncreaseDecreaseInDeferredIncomeTaxes" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to IncreaseDecreaseInDeferredIncomeTaxes" order="6.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_AccretionAmortizationOnInvestmentsLoansAndBorrowings" xlink:label="AccretionAmortizationOnInvestmentsLoansAndBorrowings" xlink:title="AccretionAmortizationOnInvestmentsLoansAndBorrowings" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="AccretionAmortizationOnInvestmentsLoansAndBorrowings" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to AccretionAmortizationOnInvestmentsLoansAndBorrowings" order="11.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="IncreaseDecreaseInOtherOperatingCapitalNet" xlink:title="IncreaseDecreaseInOtherOperatingCapitalNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="IncreaseDecreaseInOtherOperatingCapitalNet" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to IncreaseDecreaseInOtherOperatingCapitalNet" order="14.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="BankOwnedLifeInsuranceIncome" xlink:title="BankOwnedLifeInsuranceIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="BankOwnedLifeInsuranceIncome" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to BankOwnedLifeInsuranceIncome" order="8.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="ProvisionForLoanAndLeaseLosses" xlink:title="ProvisionForLoanAndLeaseLosses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="ProvisionForLoanAndLeaseLosses" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to ProvisionForLoanAndLeaseLosses" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="NetIncomeLoss" xlink:title="NetIncomeLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="NetIncomeLoss" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to NetIncomeLoss" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="ShareBasedCompensation" xlink:title="ShareBasedCompensation" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="ShareBasedCompensation" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to ShareBasedCompensation" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Depreciation" xlink:label="Depreciation" xlink:title="Depreciation" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="Depreciation" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to Depreciation" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_NetGainLossOnSaleOfLoansAndOtherAssets" xlink:label="NetGainLossOnSaleOfLoansAndOtherAssets" xlink:title="NetGainLossOnSaleOfLoansAndOtherAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="NetGainLossOnSaleOfLoansAndOtherAssets" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to NetGainLossOnSaleOfLoansAndOtherAssets" order="10.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInContinuingOperations" xlink:to="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:title="calculation: NetCashProvidedByUsedInContinuingOperations to NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/AcquisitionsEstimatedFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="BusinessCombinationConsiderationTransferred1" xlink:title="BusinessCombinationConsiderationTransferred1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:title="PaymentsToAcquireBusinessesNetOfCashAcquired" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationConsiderationTransferred1" xlink:to="PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:title="calculation: BusinessCombinationConsiderationTransferred1 to PaymentsToAcquireBusinessesNetOfCashAcquired" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:label="BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:title="BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationConsiderationTransferred1" xlink:to="BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:title="calculation: BusinessCombinationConsiderationTransferred1 to BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" order="6.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" order="8.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDepositsAcquired" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDepositsAcquired" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDepositsAcquired" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDepositsAcquired" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDepositsAcquired" order="7.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansAcquired" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansAcquired" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansAcquired" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansAcquired" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansAcquired" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" order="5.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/AcquisitionsSummaryOfLoansAcquiredDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodInterestComponentOfCashFlows" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodInterestComponentOfCashFlows" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodInterestComponentOfCashFlows" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue" xlink:to="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodInterestComponentOfCashFlows" xlink:title="calculation: CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue to CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodInterestComponentOfCashFlows" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractualCashFlowsNotExpectedToBeCollected" xlink:label="CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractualCashFlowsNotExpectedToBeCollected" xlink:title="CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractualCashFlowsNotExpectedToBeCollected" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" xlink:to="CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractualCashFlowsNotExpectedToBeCollected" xlink:title="calculation: CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition to CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractualCashFlowsNotExpectedToBeCollected" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" xlink:to="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition" xlink:title="calculation: CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition to CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue" xlink:to="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" xlink:title="calculation: CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue to CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/InvestmentSecuritiesDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:title="AvailableForSaleDebtSecuritiesAmortizedCostBasis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:title="AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:title="calculation: AvailableForSaleDebtSecuritiesAmortizedCostBasis to AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:title="AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:title="calculation: AvailableForSaleDebtSecuritiesAmortizedCostBasis to AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" order="0.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="AvailableForSaleSecuritiesDebtSecurities" xlink:title="AvailableForSaleSecuritiesDebtSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="AvailableForSaleSecuritiesDebtSecurities" xlink:title="calculation: AvailableForSaleDebtSecuritiesAmortizedCostBasis to AvailableForSaleSecuritiesDebtSecurities" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="AvailableForSaleSecuritiesAmortizedCost" xlink:title="AvailableForSaleSecuritiesAmortizedCost" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="AvailableForSaleSecurities" xlink:title="AvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesAmortizedCost" xlink:to="AvailableForSaleSecurities" xlink:title="calculation: AvailableForSaleSecuritiesAmortizedCost to AvailableForSaleSecurities" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:title="AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesAmortizedCost" xlink:to="AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:title="calculation: AvailableForSaleSecuritiesAmortizedCost to AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:title="AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesAmortizedCost" xlink:to="AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:title="calculation: AvailableForSaleSecuritiesAmortizedCost to AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" order="0.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAmortizedCostBasis" xlink:label="AvailableForSaleEquitySecuritiesAmortizedCostBasis" xlink:title="AvailableForSaleEquitySecuritiesAmortizedCostBasis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:title="AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleEquitySecuritiesAmortizedCostBasis" xlink:to="AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:title="calculation: AvailableForSaleEquitySecuritiesAmortizedCostBasis to AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax" order="0.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesEquitySecurities" xlink:label="AvailableForSaleSecuritiesEquitySecurities" xlink:title="AvailableForSaleSecuritiesEquitySecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleEquitySecuritiesAmortizedCostBasis" xlink:to="AvailableForSaleSecuritiesEquitySecurities" xlink:title="calculation: AvailableForSaleEquitySecuritiesAmortizedCostBasis to AvailableForSaleSecuritiesEquitySecurities" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:title="AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleEquitySecuritiesAmortizedCostBasis" xlink:to="AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:title="calculation: AvailableForSaleEquitySecuritiesAmortizedCostBasis to AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/InvestmentSecuritiesInvestmentSecuritiesInContinuousUnrealizedLossPositionDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1" xlink:label="AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1" xlink:title="AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" xlink:label="AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" xlink:title="AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1" xlink:to="AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" xlink:title="calculation: AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1 to AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" xlink:label="AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" xlink:title="AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1" xlink:to="AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" xlink:title="calculation: AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1 to AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:title="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:title="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:to="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:title="calculation: AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue to AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:title="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:to="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:title="calculation: AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue to AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:label="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:title="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:title="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:to="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:title="calculation: AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss to AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:title="AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:to="AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:title="calculation: AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss to AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfDebtSecuritiesByContractualMaturityDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:title="AvailableForSaleDebtSecuritiesAmortizedCostBasis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" xlink:title="calculation: AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis to AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" xlink:title="calculation: AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis to AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" xlink:title="calculation: AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis to AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" xlink:title="calculation: AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis to AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis" order="4.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" xlink:title="calculation: AvailableForSaleDebtSecuritiesAmortizedCostBasis to AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost" xlink:title="calculation: AvailableForSaleDebtSecuritiesAmortizedCostBasis to AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="AvailableForSaleSecuritiesDebtSecurities" xlink:title="AvailableForSaleSecuritiesDebtSecurities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" xlink:title="calculation: AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate to AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" xlink:title="calculation: AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate to AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" xlink:title="calculation: AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate to AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" xlink:title="calculation: AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate to AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue" order="3.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtSecurities" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" xlink:title="calculation: AvailableForSaleSecuritiesDebtSecurities to AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue" xlink:label="AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue" xlink:title="AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AvailableForSaleSecuritiesDebtSecurities" xlink:to="AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue" xlink:title="calculation: AvailableForSaleSecuritiesDebtSecurities to AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/LoansAcquiredLoansDetails">
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedCarryingAmountNet" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedCarryingAmountNet" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedCarryingAmountNet" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairedCarryingAmountNet" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairedCarryingAmountNet" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairedCarryingAmountNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedCarryingAmountNet" xlink:to="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairedCarryingAmountNet" xlink:title="calculation: CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedCarryingAmountNet to CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairedCarryingAmountNet" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentCarryingAmountNet" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentCarryingAmountNet" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentCarryingAmountNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedCarryingAmountNet" xlink:to="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentCarryingAmountNet" xlink:title="calculation: CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedCarryingAmountNet to CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentCarryingAmountNet" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedOutstandingBalance" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedOutstandingBalance" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedOutstandingBalance" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairmentOutstandingBalance" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairmentOutstandingBalance" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairmentOutstandingBalance" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedOutstandingBalance" xlink:to="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairmentOutstandingBalance" xlink:title="calculation: CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedOutstandingBalance to CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonImpairmentOutstandingBalance" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentOutstandingPrincipalBalance" xlink:label="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentOutstandingPrincipalBalance" xlink:title="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentOutstandingPrincipalBalance" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedOutstandingBalance" xlink:to="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentOutstandingPrincipalBalance" xlink:title="calculation: CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairedAndNonImpairedOutstandingBalance to CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesImpairmentOutstandingPrincipalBalance" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/LoansCreditQualityByPastDueStatusDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_FinancingReceivableRecordedInvestmentPurchasedImpaired" xlink:label="FinancingReceivableRecordedInvestmentPurchasedImpaired" xlink:title="FinancingReceivableRecordedInvestmentPurchasedImpaired" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LoansAndLeasesReceivableGrossCarryingAmount" xlink:to="FinancingReceivableRecordedInvestmentPurchasedImpaired" xlink:title="calculation: LoansAndLeasesReceivableGrossCarryingAmount to FinancingReceivableRecordedInvestmentPurchasedImpaired" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="FinancingReceivableRecordedInvestmentCurrent" xlink:title="FinancingReceivableRecordedInvestmentCurrent" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LoansAndLeasesReceivableGrossCarryingAmount" xlink:to="FinancingReceivableRecordedInvestmentCurrent" xlink:title="calculation: LoansAndLeasesReceivableGrossCarryingAmount to FinancingReceivableRecordedInvestmentCurrent" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="FinancingReceivableRecordedInvestmentPastDue" xlink:title="FinancingReceivableRecordedInvestmentPastDue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LoansAndLeasesReceivableGrossCarryingAmount" xlink:to="FinancingReceivableRecordedInvestmentPastDue" xlink:title="calculation: LoansAndLeasesReceivableGrossCarryingAmount to FinancingReceivableRecordedInvestmentPastDue" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/LoansSummaryOfImpairedLoansExcludingPurchasedImpairedDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:title="ImpairedFinancingReceivableUnpaidPrincipalBalance" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:title="ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:to="ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:title="calculation: ImpairedFinancingReceivableUnpaidPrincipalBalance to ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:title="ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:to="ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:title="calculation: ImpairedFinancingReceivableUnpaidPrincipalBalance to ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/PremisesAndEquipmentDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="PropertyPlantAndEquipmentNet" xlink:title="PropertyPlantAndEquipmentNet" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="PropertyPlantAndEquipmentGross" xlink:title="PropertyPlantAndEquipmentGross" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="PropertyPlantAndEquipmentNet" xlink:to="PropertyPlantAndEquipmentGross" xlink:title="calculation: PropertyPlantAndEquipmentNet to PropertyPlantAndEquipmentGross" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:title="AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="PropertyPlantAndEquipmentNet" xlink:to="AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:title="calculation: PropertyPlantAndEquipmentNet to AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" order="2.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/GoodwillAndIdentifiableIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="FiniteLivedIntangibleAssetsNet" xlink:title="FiniteLivedIntangibleAssetsNet" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:title="FiniteLivedIntangibleAssetsAccumulatedAmortization" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FiniteLivedIntangibleAssetsNet" xlink:to="FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:title="calculation: FiniteLivedIntangibleAssetsNet to FiniteLivedIntangibleAssetsAccumulatedAmortization" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="FiniteLivedIntangibleAssetsGross" xlink:title="FiniteLivedIntangibleAssetsGross" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FiniteLivedIntangibleAssetsNet" xlink:to="FiniteLivedIntangibleAssetsGross" xlink:title="calculation: FiniteLivedIntangibleAssetsNet to FiniteLivedIntangibleAssetsGross" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillPeriodIncreaseDecrease" xlink:label="GoodwillPeriodIncreaseDecrease" xlink:title="GoodwillPeriodIncreaseDecrease" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="GoodwillAcquiredDuringPeriod" xlink:title="GoodwillAcquiredDuringPeriod" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="GoodwillPeriodIncreaseDecrease" xlink:to="GoodwillAcquiredDuringPeriod" xlink:title="calculation: GoodwillPeriodIncreaseDecrease to GoodwillAcquiredDuringPeriod" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="GoodwillImpairmentLoss" xlink:title="GoodwillImpairmentLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="GoodwillPeriodIncreaseDecrease" xlink:to="GoodwillImpairmentLoss" xlink:title="calculation: GoodwillPeriodIncreaseDecrease to GoodwillImpairmentLoss" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="Goodwill" xlink:title="Goodwill" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillGross" xlink:label="GoodwillGross" xlink:title="GoodwillGross" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Goodwill" xlink:to="GoodwillGross" xlink:title="calculation: Goodwill to GoodwillGross" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:label="GoodwillImpairedAccumulatedImpairmentLoss" xlink:title="GoodwillImpairedAccumulatedImpairmentLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Goodwill" xlink:to="GoodwillImpairedAccumulatedImpairmentLoss" xlink:title="calculation: Goodwill to GoodwillImpairedAccumulatedImpairmentLoss" order="1.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/DepositsDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Deposits" xlink:label="Deposits" xlink:title="Deposits" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDeposits" xlink:label="TimeDeposits" xlink:title="TimeDeposits" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFive" xlink:label="TimeDepositMaturitiesYearFive" xlink:title="TimeDepositMaturitiesYearFive" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDeposits" xlink:to="TimeDepositMaturitiesYearFive" xlink:title="calculation: TimeDeposits to TimeDepositMaturitiesYearFive" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFour" xlink:label="TimeDepositMaturitiesYearFour" xlink:title="TimeDepositMaturitiesYearFour" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDeposits" xlink:to="TimeDepositMaturitiesYearFour" xlink:title="calculation: TimeDeposits to TimeDepositMaturitiesYearFour" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearThree" xlink:label="TimeDepositMaturitiesYearThree" xlink:title="TimeDepositMaturitiesYearThree" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDeposits" xlink:to="TimeDepositMaturitiesYearThree" xlink:title="calculation: TimeDeposits to TimeDepositMaturitiesYearThree" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearOne" xlink:label="TimeDepositMaturitiesYearOne" xlink:title="TimeDepositMaturitiesYearOne" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDeposits" xlink:to="TimeDepositMaturitiesYearOne" xlink:title="calculation: TimeDeposits to TimeDepositMaturitiesYearOne" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesAfterYearFive" xlink:label="TimeDepositMaturitiesAfterYearFive" xlink:title="TimeDepositMaturitiesAfterYearFive" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDeposits" xlink:to="TimeDepositMaturitiesAfterYearFive" xlink:title="calculation: TimeDeposits to TimeDepositMaturitiesAfterYearFive" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TimeDepositMaturitiesYearTwo" xlink:label="TimeDepositMaturitiesYearTwo" xlink:title="TimeDepositMaturitiesYearTwo" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDeposits" xlink:to="TimeDepositMaturitiesYearTwo" xlink:title="calculation: TimeDeposits to TimeDepositMaturitiesYearTwo" order="1.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Deposits" xlink:to="TimeDeposits" xlink:title="calculation: Deposits to TimeDeposits" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDomesticDepositChecking" xlink:label="InterestBearingDomesticDepositChecking" xlink:title="InterestBearingDomesticDepositChecking" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Deposits" xlink:to="InterestBearingDomesticDepositChecking" xlink:title="calculation: Deposits to InterestBearingDomesticDepositChecking" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepositsSavingsDeposits" xlink:label="DepositsSavingsDeposits" xlink:title="DepositsSavingsDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Deposits" xlink:to="DepositsSavingsDeposits" xlink:title="calculation: Deposits to DepositsSavingsDeposits" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepositsMoneyMarketDeposits" xlink:label="DepositsMoneyMarketDeposits" xlink:title="DepositsMoneyMarketDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Deposits" xlink:to="DepositsMoneyMarketDeposits" xlink:title="calculation: Deposits to DepositsMoneyMarketDeposits" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestBearingDomesticDepositChecking" xlink:label="NoninterestBearingDomesticDepositChecking" xlink:title="NoninterestBearingDomesticDepositChecking" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Deposits" xlink:to="NoninterestBearingDomesticDepositChecking" xlink:title="calculation: Deposits to NoninterestBearingDomesticDepositChecking" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_TimeDepositsMaturities250000OrMore" xlink:label="TimeDepositsMaturities250000OrMore" xlink:title="TimeDepositsMaturities250000OrMore" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_TimeDepositsMaturities250000OrMoreYearFive" xlink:label="TimeDepositsMaturities250000OrMoreYearFive" xlink:title="TimeDepositsMaturities250000OrMoreYearFive" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDepositsMaturities250000OrMore" xlink:to="TimeDepositsMaturities250000OrMoreYearFive" xlink:title="calculation: TimeDepositsMaturities250000OrMore to TimeDepositsMaturities250000OrMoreYearFive" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_TimeDepositsMaturities250000OrMoreYearThree" xlink:label="TimeDepositsMaturities250000OrMoreYearThree" xlink:title="TimeDepositsMaturities250000OrMoreYearThree" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDepositsMaturities250000OrMore" xlink:to="TimeDepositsMaturities250000OrMoreYearThree" xlink:title="calculation: TimeDepositsMaturities250000OrMore to TimeDepositsMaturities250000OrMoreYearThree" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_TimeDepositsMaturities250000OrMoreAfterYearFive" xlink:label="TimeDepositsMaturities250000OrMoreAfterYearFive" xlink:title="TimeDepositsMaturities250000OrMoreAfterYearFive" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDepositsMaturities250000OrMore" xlink:to="TimeDepositsMaturities250000OrMoreAfterYearFive" xlink:title="calculation: TimeDepositsMaturities250000OrMore to TimeDepositsMaturities250000OrMoreAfterYearFive" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_TimeDepositsMaturities250000OrMoreNextTwelveMonths" xlink:label="TimeDepositsMaturities250000OrMoreNextTwelveMonths" xlink:title="TimeDepositsMaturities250000OrMoreNextTwelveMonths" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDepositsMaturities250000OrMore" xlink:to="TimeDepositsMaturities250000OrMoreNextTwelveMonths" xlink:title="calculation: TimeDepositsMaturities250000OrMore to TimeDepositsMaturities250000OrMoreNextTwelveMonths" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_TimeDepositsMaturities250000OrMoreYearTwo" xlink:label="TimeDepositsMaturities250000OrMoreYearTwo" xlink:title="TimeDepositsMaturities250000OrMoreYearTwo" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDepositsMaturities250000OrMore" xlink:to="TimeDepositsMaturities250000OrMoreYearTwo" xlink:title="calculation: TimeDepositsMaturities250000OrMore to TimeDepositsMaturities250000OrMoreYearTwo" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_TimeDepositsMaturities250000OrMoreYearFour" xlink:label="TimeDepositsMaturities250000OrMoreYearFour" xlink:title="TimeDepositsMaturities250000OrMoreYearFour" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="TimeDepositsMaturities250000OrMore" xlink:to="TimeDepositsMaturities250000OrMoreYearFour" xlink:title="calculation: TimeDepositsMaturities250000OrMore to TimeDepositsMaturities250000OrMoreYearFour" order="3.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/IncomeTaxesProvisionForIncomeTaxesDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="IncomeTaxExpenseBenefit" xlink:title="IncomeTaxExpenseBenefit" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit" xlink:label="DeferredFederalIncomeTaxExpenseBenefit" xlink:title="DeferredFederalIncomeTaxExpenseBenefit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeTaxExpenseBenefit" xlink:to="DeferredFederalIncomeTaxExpenseBenefit" xlink:title="calculation: IncomeTaxExpenseBenefit to DeferredFederalIncomeTaxExpenseBenefit" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit" xlink:label="CurrentFederalTaxExpenseBenefit" xlink:title="CurrentFederalTaxExpenseBenefit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeTaxExpenseBenefit" xlink:to="CurrentFederalTaxExpenseBenefit" xlink:title="calculation: IncomeTaxExpenseBenefit to CurrentFederalTaxExpenseBenefit" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit" xlink:label="DeferredStateAndLocalIncomeTaxExpenseBenefit" xlink:title="DeferredStateAndLocalIncomeTaxExpenseBenefit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeTaxExpenseBenefit" xlink:to="DeferredStateAndLocalIncomeTaxExpenseBenefit" xlink:title="calculation: IncomeTaxExpenseBenefit to DeferredStateAndLocalIncomeTaxExpenseBenefit" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit" xlink:label="CurrentStateAndLocalTaxExpenseBenefit" xlink:title="CurrentStateAndLocalTaxExpenseBenefit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeTaxExpenseBenefit" xlink:to="CurrentStateAndLocalTaxExpenseBenefit" xlink:title="calculation: IncomeTaxExpenseBenefit to CurrentStateAndLocalTaxExpenseBenefit" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/IncomeTaxesComponentsOfNetDeferredTaxLiabilityDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="DeferredTaxLiabilities" xlink:title="DeferredTaxLiabilities" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="DeferredIncomeTaxLiabilities" xlink:title="DeferredIncomeTaxLiabilities" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_DeferredTaxLiabilitiesUnrealizedGainsOnInvestmentSecurities" xlink:label="DeferredTaxLiabilitiesUnrealizedGainsOnInvestmentSecurities" xlink:title="DeferredTaxLiabilitiesUnrealizedGainsOnInvestmentSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredIncomeTaxLiabilities" xlink:to="DeferredTaxLiabilitiesUnrealizedGainsOnInvestmentSecurities" xlink:title="calculation: DeferredIncomeTaxLiabilities to DeferredTaxLiabilitiesUnrealizedGainsOnInvestmentSecurities" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses" xlink:label="DeferredTaxLiabilitiesPrepaidExpenses" xlink:title="DeferredTaxLiabilitiesPrepaidExpenses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredIncomeTaxLiabilities" xlink:to="DeferredTaxLiabilitiesPrepaidExpenses" xlink:title="calculation: DeferredIncomeTaxLiabilities to DeferredTaxLiabilitiesPrepaidExpenses" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:label="DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:title="DeferredTaxLiabilitiesPropertyPlantAndEquipment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredIncomeTaxLiabilities" xlink:to="DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:title="calculation: DeferredIncomeTaxLiabilities to DeferredTaxLiabilitiesPropertyPlantAndEquipment" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_DeferredTaxLiabilitiesDeferredExpenseDeferredLoanOriginationCosts" xlink:label="DeferredTaxLiabilitiesDeferredExpenseDeferredLoanOriginationCosts" xlink:title="DeferredTaxLiabilitiesDeferredExpenseDeferredLoanOriginationCosts" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredIncomeTaxLiabilities" xlink:to="DeferredTaxLiabilitiesDeferredExpenseDeferredLoanOriginationCosts" xlink:title="calculation: DeferredIncomeTaxLiabilities to DeferredTaxLiabilitiesDeferredExpenseDeferredLoanOriginationCosts" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" xlink:label="DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" xlink:title="DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredIncomeTaxLiabilities" xlink:to="DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" xlink:title="calculation: DeferredIncomeTaxLiabilities to DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesMortgageServicingRights" xlink:label="DeferredTaxLiabilitiesMortgageServicingRights" xlink:title="DeferredTaxLiabilitiesMortgageServicingRights" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredIncomeTaxLiabilities" xlink:to="DeferredTaxLiabilitiesMortgageServicingRights" xlink:title="calculation: DeferredIncomeTaxLiabilities to DeferredTaxLiabilitiesMortgageServicingRights" order="4.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredTaxLiabilities" xlink:to="DeferredIncomeTaxLiabilities" xlink:title="calculation: DeferredTaxLiabilities to DeferredIncomeTaxLiabilities" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsGross" xlink:label="DeferredTaxAssetsGross" xlink:title="DeferredTaxAssetsGross" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_DeferredTaxAssetsDebtExtinguishment" xlink:label="DeferredTaxAssetsDebtExtinguishment" xlink:title="DeferredTaxAssetsDebtExtinguishment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredTaxAssetsGross" xlink:to="DeferredTaxAssetsDebtExtinguishment" xlink:title="calculation: DeferredTaxAssetsGross to DeferredTaxAssetsDebtExtinguishment" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits" xlink:label="DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits" xlink:title="DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredTaxAssetsGross" xlink:to="DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits" xlink:title="calculation: DeferredTaxAssetsGross to DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="DeferredTaxAssetsOther" xlink:title="DeferredTaxAssetsOther" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredTaxAssetsGross" xlink:to="DeferredTaxAssetsOther" xlink:title="calculation: DeferredTaxAssetsGross to DeferredTaxAssetsOther" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:label="DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:title="DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredTaxAssetsGross" xlink:to="DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:title="calculation: DeferredTaxAssetsGross to DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" order="0.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DeferredTaxLiabilities" xlink:to="DeferredTaxAssetsGross" xlink:title="calculation: DeferredTaxLiabilities to DeferredTaxAssetsGross" order="0.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/IncomeTaxesEffectiveTaxRateReconciliationDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="EffectiveIncomeTaxRateContinuingOperations" xlink:title="EffectiveIncomeTaxRateContinuingOperations" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:title="EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="EffectiveIncomeTaxRateContinuingOperations" xlink:to="EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:title="calculation: EffectiveIncomeTaxRateContinuingOperations to EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:label="EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:title="EffectiveIncomeTaxRateReconciliationOtherAdjustments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="EffectiveIncomeTaxRateContinuingOperations" xlink:to="EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:title="calculation: EffectiveIncomeTaxRateContinuingOperations to EffectiveIncomeTaxRateReconciliationOtherAdjustments" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes" xlink:label="EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes" xlink:title="EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="EffectiveIncomeTaxRateContinuingOperations" xlink:to="EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes" xlink:title="calculation: EffectiveIncomeTaxRateContinuingOperations to EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome" xlink:label="EffectiveIncomeTaxRateReconciliationTaxExemptIncome" xlink:title="EffectiveIncomeTaxRateReconciliationTaxExemptIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="EffectiveIncomeTaxRateContinuingOperations" xlink:to="EffectiveIncomeTaxRateReconciliationTaxExemptIncome" xlink:title="calculation: EffectiveIncomeTaxRateContinuingOperations to EffectiveIncomeTaxRateReconciliationTaxExemptIncome" order="1.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/BenefitPlansFundedStatusAndAmountsRecognizedInBalanceSheetsAndAociDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:to="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansTax" xlink:title="calculation: AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax to AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansTax" order="2.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" xlink:label="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" xlink:title="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:label="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:title="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" xlink:to="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:title="calculation: DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax to DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax" xlink:label="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax" xlink:title="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" xlink:to="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax" xlink:title="calculation: DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax to DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax" order="2.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:to="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" xlink:title="calculation: AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax to DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/BenefitPlansAmountsRecognizedInAociNetOfTaxDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:title="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostsCreditArisingDuringPeriodNetOfTax" xlink:label="OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostsCreditArisingDuringPeriodNetOfTax" xlink:title="OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostsCreditArisingDuringPeriodNetOfTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostsCreditArisingDuringPeriodNetOfTax" xlink:title="calculation: OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent to OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostsCreditArisingDuringPeriodNetOfTax" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax" xlink:label="OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax" xlink:title="OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax" xlink:title="calculation: OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent to OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax" order="1.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/BenefitPlansCostsThatWillBeAmortizedFromAociInNextFiscalYearDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAmountToBeAmortizedFromAccumulatedOtherComprehensiveIncomeLossNextFiscalYear" xlink:label="DefinedBenefitPlanAmountToBeAmortizedFromAccumulatedOtherComprehensiveIncomeLossNextFiscalYear" xlink:title="DefinedBenefitPlanAmountToBeAmortizedFromAccumulatedOtherComprehensiveIncomeLossNextFiscalYear" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanFutureAmortizationOfGainLoss" xlink:label="DefinedBenefitPlanFutureAmortizationOfGainLoss" xlink:title="DefinedBenefitPlanFutureAmortizationOfGainLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanAmountToBeAmortizedFromAccumulatedOtherComprehensiveIncomeLossNextFiscalYear" xlink:to="DefinedBenefitPlanFutureAmortizationOfGainLoss" xlink:title="calculation: DefinedBenefitPlanAmountToBeAmortizedFromAccumulatedOtherComprehensiveIncomeLossNextFiscalYear to DefinedBenefitPlanFutureAmortizationOfGainLoss" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanFutureAmortizationOfPriorServiceCostCredit" xlink:label="DefinedBenefitPlanFutureAmortizationOfPriorServiceCostCredit" xlink:title="DefinedBenefitPlanFutureAmortizationOfPriorServiceCostCredit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanAmountToBeAmortizedFromAccumulatedOtherComprehensiveIncomeLossNextFiscalYear" xlink:to="DefinedBenefitPlanFutureAmortizationOfPriorServiceCostCredit" xlink:title="calculation: DefinedBenefitPlanAmountToBeAmortizedFromAccumulatedOtherComprehensiveIncomeLossNextFiscalYear to DefinedBenefitPlanFutureAmortizationOfPriorServiceCostCredit" order="0.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/BenefitPlansNetPeriodicBenefitCostDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="DefinedBenefitPlanNetPeriodicBenefitCost" xlink:title="DefinedBenefitPlanNetPeriodicBenefitCost" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="DefinedBenefitPlanAmortizationOfGainsLosses" xlink:title="DefinedBenefitPlanAmortizationOfGainsLosses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="DefinedBenefitPlanAmortizationOfGainsLosses" xlink:title="calculation: DefinedBenefitPlanNetPeriodicBenefitCost to DefinedBenefitPlanAmortizationOfGainsLosses" order="4.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="DefinedBenefitPlanInterestCost" xlink:title="DefinedBenefitPlanInterestCost" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="DefinedBenefitPlanInterestCost" xlink:title="calculation: DefinedBenefitPlanNetPeriodicBenefitCost to DefinedBenefitPlanInterestCost" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:label="DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:title="DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:title="calculation: DefinedBenefitPlanNetPeriodicBenefitCost to DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="DefinedBenefitPlanServiceCost" xlink:title="DefinedBenefitPlanServiceCost" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="DefinedBenefitPlanServiceCost" xlink:title="calculation: DefinedBenefitPlanNetPeriodicBenefitCost to DefinedBenefitPlanServiceCost" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:title="DefinedBenefitPlanExpectedReturnOnPlanAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:title="calculation: DefinedBenefitPlanNetPeriodicBenefitCost to DefinedBenefitPlanExpectedReturnOnPlanAssets" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanPlanAmendments" xlink:label="DefinedBenefitPlanPlanAmendments" xlink:title="DefinedBenefitPlanPlanAmendments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="DefinedBenefitPlanPlanAmendments" xlink:title="calculation: DefinedBenefitPlanNetPeriodicBenefitCost to DefinedBenefitPlanPlanAmendments" order="2.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/EarningsPerShareDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="WeightedAverageNumberOfDilutedSharesOutstanding" xlink:title="WeightedAverageNumberOfDilutedSharesOutstanding" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="WeightedAverageNumberOfSharesOutstandingBasic" xlink:title="WeightedAverageNumberOfSharesOutstandingBasic" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="WeightedAverageNumberOfSharesOutstandingBasic" xlink:title="calculation: WeightedAverageNumberOfDilutedSharesOutstanding to WeightedAverageNumberOfSharesOutstandingBasic" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:title="IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:title="calculation: WeightedAverageNumberOfDilutedSharesOutstanding to IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="NetIncomeLoss" xlink:title="NetIncomeLoss" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits" xlink:label="AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits" xlink:title="AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetIncomeLoss" xlink:to="AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits" xlink:title="calculation: NetIncomeLoss to AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="NetIncomeLossAvailableToCommonStockholdersBasic" xlink:title="NetIncomeLossAvailableToCommonStockholdersBasic" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetIncomeLoss" xlink:to="NetIncomeLossAvailableToCommonStockholdersBasic" xlink:title="calculation: NetIncomeLoss to NetIncomeLossAvailableToCommonStockholdersBasic" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/LeasesDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="OperatingLeasesFutureMinimumPaymentsDue" xlink:title="OperatingLeasesFutureMinimumPaymentsDue" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:title="OperatingLeasesFutureMinimumPaymentsDueInThreeYears" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingLeasesFutureMinimumPaymentsDue" xlink:to="OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:title="calculation: OperatingLeasesFutureMinimumPaymentsDue to OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:title="OperatingLeasesFutureMinimumPaymentsDueInFourYears" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingLeasesFutureMinimumPaymentsDue" xlink:to="OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:title="calculation: OperatingLeasesFutureMinimumPaymentsDue to OperatingLeasesFutureMinimumPaymentsDueInFourYears" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:title="OperatingLeasesFutureMinimumPaymentsDueCurrent" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingLeasesFutureMinimumPaymentsDue" xlink:to="OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:title="calculation: OperatingLeasesFutureMinimumPaymentsDue to OperatingLeasesFutureMinimumPaymentsDueCurrent" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:title="OperatingLeasesFutureMinimumPaymentsDueInTwoYears" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingLeasesFutureMinimumPaymentsDue" xlink:to="OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:title="calculation: OperatingLeasesFutureMinimumPaymentsDue to OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:title="OperatingLeasesFutureMinimumPaymentsDueInFiveYears" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingLeasesFutureMinimumPaymentsDue" xlink:to="OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:title="calculation: OperatingLeasesFutureMinimumPaymentsDue to OperatingLeasesFutureMinimumPaymentsDueInFiveYears" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:title="OperatingLeasesFutureMinimumPaymentsDueThereafter" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="OperatingLeasesFutureMinimumPaymentsDue" xlink:to="OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:title="calculation: OperatingLeasesFutureMinimumPaymentsDue to OperatingLeasesFutureMinimumPaymentsDueThereafter" order="6.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ParentCompanyStatementsCondensedBalanceSheetsDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="LiabilitiesAndStockholdersEquity" xlink:title="LiabilitiesAndStockholdersEquity" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_AccruedInterestAndOtherLiabilities" xlink:label="AccruedInterestAndOtherLiabilities" xlink:title="AccruedInterestAndOtherLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LiabilitiesAndStockholdersEquity" xlink:to="AccruedInterestAndOtherLiabilities" xlink:title="calculation: LiabilitiesAndStockholdersEquity to AccruedInterestAndOtherLiabilities" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="StockholdersEquity" xlink:title="StockholdersEquity" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LiabilitiesAndStockholdersEquity" xlink:to="StockholdersEquity" xlink:title="calculation: LiabilitiesAndStockholdersEquity to StockholdersEquity" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:label="JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:title="JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LiabilitiesAndStockholdersEquity" xlink:to="JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:title="calculation: LiabilitiesAndStockholdersEquity to JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="Assets" xlink:title="Assets" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="CashAndCashEquivalentsAtCarryingValue" xlink:title="CashAndCashEquivalentsAtCarryingValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="CashAndCashEquivalentsAtCarryingValue" xlink:title="calculation: Assets to CashAndCashEquivalentsAtCarryingValue" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssets" xlink:label="OtherAssets" xlink:title="OtherAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="OtherAssets" xlink:title="calculation: Assets to OtherAssets" order="4.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_InvestmentAndAdvancesToNonBankSubsidiaries" xlink:label="InvestmentAndAdvancesToNonBankSubsidiaries" xlink:title="InvestmentAndAdvancesToNonBankSubsidiaries" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="InvestmentAndAdvancesToNonBankSubsidiaries" xlink:title="calculation: Assets to InvestmentAndAdvancesToNonBankSubsidiaries" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Investments" xlink:label="Investments" xlink:title="Investments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="Investments" xlink:title="calculation: Assets to Investments" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_InvestmentAndAdvancesToBankSubsidiary" xlink:label="InvestmentAndAdvancesToBankSubsidiary" xlink:title="InvestmentAndAdvancesToBankSubsidiary" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Assets" xlink:to="InvestmentAndAdvancesToBankSubsidiary" xlink:title="calculation: Assets to InvestmentAndAdvancesToBankSubsidiary" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ParentCompanyStatementsCondensedStatementsOfCashFlowsDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:title="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromInvestments" xlink:label="PaymentsForProceedsFromInvestments" xlink:title="PaymentsForProceedsFromInvestments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="PaymentsForProceedsFromInvestments" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to PaymentsForProceedsFromInvestments" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:title="PaymentsToAcquireBusinessesNetOfCashAcquired" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to PaymentsToAcquireBusinessesNetOfCashAcquired" order="2.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries" xlink:label="PaymentsToAcquireAdditionalInterestInSubsidiaries" xlink:title="PaymentsToAcquireAdditionalInterestInSubsidiaries" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="PaymentsToAcquireAdditionalInterestInSubsidiaries" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivitiesContinuingOperations to PaymentsToAcquireAdditionalInterestInSubsidiaries" order="6.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:title="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="NetIncomeLoss" xlink:title="NetIncomeLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="NetIncomeLoss" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to NetIncomeLoss" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="IncreaseDecreaseInOtherOperatingCapitalNet" xlink:title="IncreaseDecreaseInOtherOperatingCapitalNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="IncreaseDecreaseInOtherOperatingCapitalNet" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to IncreaseDecreaseInOtherOperatingCapitalNet" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="IncomeLossFromEquityMethodInvestments" xlink:title="IncomeLossFromEquityMethodInvestments" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="IncomeLossFromEquityMethodInvestments" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivitiesContinuingOperations to IncomeLossFromEquityMethodInvestments" order="2.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:title="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="ProceedsFromIssuanceOfCommonStock" xlink:title="ProceedsFromIssuanceOfCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="ProceedsFromIssuanceOfCommonStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to ProceedsFromIssuanceOfCommonStock" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfOrdinaryDividends" xlink:label="PaymentsOfOrdinaryDividends" xlink:title="PaymentsOfOrdinaryDividends" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="PaymentsOfOrdinaryDividends" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to PaymentsOfOrdinaryDividends" order="2.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfTreasuryStock" xlink:label="ProceedsFromSaleOfTreasuryStock" xlink:title="ProceedsFromSaleOfTreasuryStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="ProceedsFromSaleOfTreasuryStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to ProceedsFromSaleOfTreasuryStock" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="PaymentsForRepurchaseOfCommonStock" xlink:title="PaymentsForRepurchaseOfCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="PaymentsForRepurchaseOfCommonStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivitiesContinuingOperations to PaymentsForRepurchaseOfCommonStock" order="3.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/FairValueFinancialAssetsAndLiabilitiesAccountedForAtFairValueOnRecurringBasisDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueNetAssetLiability" xlink:label="FairValueNetAssetLiability" xlink:title="FairValueNetAssetLiability" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_ForwardSalesCommitmentsFairValueDisclosure" xlink:label="ForwardSalesCommitmentsFairValueDisclosure" xlink:title="ForwardSalesCommitmentsFairValueDisclosure" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FairValueNetAssetLiability" xlink:to="ForwardSalesCommitmentsFairValueDisclosure" xlink:title="calculation: FairValueNetAssetLiability to ForwardSalesCommitmentsFairValueDisclosure" order="2.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_LoanOriginationCommitmentsRealEstateFairValueDisclosure" xlink:label="LoanOriginationCommitmentsRealEstateFairValueDisclosure" xlink:title="LoanOriginationCommitmentsRealEstateFairValueDisclosure" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FairValueNetAssetLiability" xlink:to="LoanOriginationCommitmentsRealEstateFairValueDisclosure" xlink:title="calculation: FairValueNetAssetLiability to LoanOriginationCommitmentsRealEstateFairValueDisclosure" order="3.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="AvailableForSaleSecurities" xlink:title="AvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FairValueNetAssetLiability" xlink:to="AvailableForSaleSecurities" xlink:title="calculation: FairValueNetAssetLiability to AvailableForSaleSecurities" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:label="MortgagesHeldForSaleFairValueDisclosure" xlink:title="MortgagesHeldForSaleFairValueDisclosure" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FairValueNetAssetLiability" xlink:to="MortgagesHeldForSaleFairValueDisclosure" xlink:title="calculation: FairValueNetAssetLiability to MortgagesHeldForSaleFairValueDisclosure" order="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/FairValueAssetsAndLiabilitiesMeasuredOnNonrecurringBasisDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="AssetsFairValueDisclosure" xlink:title="AssetsFairValueDisclosure" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_ImpairedLoansFairValueDisclosure" xlink:label="ImpairedLoansFairValueDisclosure" xlink:title="ImpairedLoansFairValueDisclosure" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AssetsFairValueDisclosure" xlink:to="ImpairedLoansFairValueDisclosure" xlink:title="calculation: AssetsFairValueDisclosure to ImpairedLoansFairValueDisclosure" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20161231.xsd#cbu_OtherRealEstateOwnedFairValueDisclosure" xlink:label="OtherRealEstateOwnedFairValueDisclosure" xlink:title="OtherRealEstateOwnedFairValueDisclosure" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="AssetsFairValueDisclosure" xlink:to="OtherRealEstateOwnedFairValueDisclosure" xlink:title="calculation: AssetsFairValueDisclosure to OtherRealEstateOwnedFairValueDisclosure" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/VariableInterestEntitiesDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets" xlink:label="VariableInterestEntityConsolidatedCarryingAmountAssets" xlink:title="VariableInterestEntityConsolidatedCarryingAmountAssets" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="CashAndCashEquivalentsAtCarryingValue" xlink:title="CashAndCashEquivalentsAtCarryingValue" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="VariableInterestEntityConsolidatedCarryingAmountAssets" xlink:to="CashAndCashEquivalentsAtCarryingValue" xlink:title="calculation: VariableInterestEntityConsolidatedCarryingAmountAssets to CashAndCashEquivalentsAtCarryingValue" order="0.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="PropertyPlantAndEquipmentNet" xlink:title="PropertyPlantAndEquipmentNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="VariableInterestEntityConsolidatedCarryingAmountAssets" xlink:to="PropertyPlantAndEquipmentNet" xlink:title="calculation: VariableInterestEntityConsolidatedCarryingAmountAssets to PropertyPlantAndEquipmentNet" order="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssets" xlink:label="OtherAssets" xlink:title="OtherAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="VariableInterestEntityConsolidatedCarryingAmountAssets" xlink:to="OtherAssets" xlink:title="calculation: VariableInterestEntityConsolidatedCarryingAmountAssets to OtherAssets" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/SegmentInformationDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:title="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="NoninterestIncome" xlink:title="NoninterestIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="NoninterestIncome" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to NoninterestIncome" order="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="OtherCostAndExpenseOperating" xlink:title="OtherCostAndExpenseOperating" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="OtherCostAndExpenseOperating" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to OtherCostAndExpenseOperating" order="4.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="AmortizationOfIntangibleAssets" xlink:title="AmortizationOfIntangibleAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="AmortizationOfIntangibleAssets" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to AmortizationOfIntangibleAssets" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="ProvisionForLoanAndLeaseLosses" xlink:title="ProvisionForLoanAndLeaseLosses" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="ProvisionForLoanAndLeaseLosses" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to ProvisionForLoanAndLeaseLosses" order="1.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="InterestIncomeExpenseNet" xlink:title="InterestIncomeExpenseNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="InterestIncomeExpenseNet" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to InterestIncomeExpenseNet" order="0.0" weight="1.0" />
  </link:calculationLink>
</link:linkbase>
