<?xml version="1.0" encoding="us-ascii"?>
<!--Generated by EDGARfilings PROfile 4.3.0.0 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-20170630.xsd#SegmentInformationDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/FairValueAssetsAndLiabilitiesMeasuredOnNonrecurringBasisDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#FairValueAssetsAndLiabilitiesMeasuredOnNonrecurringBasisDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/FairValueFinancialAssetsAndLiabilitiesAccountedForAtFairValueOnRecurringBasisDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#FairValueFinancialAssetsAndLiabilitiesAccountedForAtFairValueOnRecurringBasisDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#EarningsPerShareDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/BenefitPlansDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#BenefitPlansDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/GoodwillAndIdentifiableIntangibleAssetsDetailsCalc2" xlink:type="simple" xlink:href="cbu-20170630.xsd#GoodwillAndIdentifiableIntangibleAssetsDetailsCalc2" />
  <link:roleRef roleURI="http://communitybankna.com/role/GoodwillAndIdentifiableIntangibleAssetsDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#GoodwillAndIdentifiableIntangibleAssetsDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/LoansSummaryOfImpairedLoansExcludingPurchasedImpairedDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#LoansSummaryOfImpairedLoansExcludingPurchasedImpairedDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/LoansCreditQualityByPastDueStatusDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#LoansCreditQualityByPastDueStatusDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfDebtSecuritiesByContractualMaturityDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfDebtSecuritiesByContractualMaturityDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/InvestmentSecuritiesInvestmentSecuritiesInContinuousUnrealizedLossPositionDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#InvestmentSecuritiesInvestmentSecuritiesInContinuousUnrealizedLossPositionDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/InvestmentSecuritiesDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#InvestmentSecuritiesDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/AcquisitionsSummaryOfLoansAcquiredDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#AcquisitionsSummaryOfLoansAcquiredDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/AcquisitionsEstimatedFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="cbu-20170630.xsd#AcquisitionsEstimatedFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetails" />
  <link:roleRef roleURI="http://communitybankna.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" xlink:href="cbu-20170630.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" />
  <link:roleRef roleURI="http://communitybankna.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="simple" xlink:href="cbu-20170630.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnaudited" />
  <link:roleRef roleURI="http://communitybankna.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:type="simple" xlink:href="cbu-20170630.xsd#ConsolidatedStatementsOfIncomeUnaudited" />
  <link:roleRef roleURI="http://communitybankna.com/role/ConsolidatedStatementsOfConditionUnaudited" xlink:type="simple" xlink:href="cbu-20170630.xsd#ConsolidatedStatementsOfConditionUnaudited" />
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ConsolidatedStatementsOfConditionUnaudited">
    <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_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="6.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.xsd#cbu_IntangibleAssetsNet" xlink:label="IntangibleAssetsNet" xlink:title="IntangibleAssetsNet" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="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="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="3.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="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_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="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_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="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_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="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_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="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_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="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_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_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="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_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="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_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_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="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_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="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_DeferredCompensationArrangementWithIndividualRecordedLiability" xlink:label="DeferredCompensationArrangementWithIndividualRecordedLiability" xlink:title="DeferredCompensationArrangementWithIndividualRecordedLiability" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="StockholdersEquity" xlink:to="DeferredCompensationArrangementWithIndividualRecordedLiability" xlink:title="calculation: StockholdersEquity to DeferredCompensationArrangementWithIndividualRecordedLiability" 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_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="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_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_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="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_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="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="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_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_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="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_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="2.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="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_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="2.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="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_ShortTermBorrowings" xlink:label="ShortTermBorrowings" xlink:title="ShortTermBorrowings" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Liabilities" xlink:to="ShortTermBorrowings" xlink:title="calculation: Liabilities to ShortTermBorrowings" 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_OtherLongTermDebt" xlink:label="OtherLongTermDebt" xlink:title="OtherLongTermDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Liabilities" xlink:to="OtherLongTermDebt" xlink:title="calculation: Liabilities to OtherLongTermDebt" 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_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="SecuritiesSoldUnderAgreementsToRepurchase" xlink:title="SecuritiesSoldUnderAgreementsToRepurchase" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="Liabilities" xlink:to="SecuritiesSoldUnderAgreementsToRepurchase" xlink:title="calculation: Liabilities to SecuritiesSoldUnderAgreementsToRepurchase" order="4.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="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_CommitmentsAndContingencies" xlink:label="CommitmentsAndContingencies" xlink:title="CommitmentsAndContingencies" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="LiabilitiesAndStockholdersEquity" xlink:to="CommitmentsAndContingencies" xlink:title="calculation: LiabilitiesAndStockholdersEquity to CommitmentsAndContingencies" order="3.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ConsolidatedStatementsOfIncomeUnaudited">
    <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_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="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_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:loc xlink:type="locator" xlink:href="cbu-20170630.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="9.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="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_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="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="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_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="8.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="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_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_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="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_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_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="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_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="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_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="1.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="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_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="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="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_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="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="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="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="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_NoninterestExpense" xlink:label="NoninterestExpense" xlink:title="NoninterestExpense" />
    <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="NoninterestExpense" xlink:to="BusinessCombinationAcquisitionRelatedCosts" xlink:title="calculation: NoninterestExpense to BusinessCombinationAcquisitionRelatedCosts" 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="NoninterestExpense" xlink:to="CommunicationsAndInformationTechnology" xlink:title="calculation: NoninterestExpense to CommunicationsAndInformationTechnology" 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_OtherNoninterestExpense" xlink:label="OtherNoninterestExpense" xlink:title="OtherNoninterestExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestExpense" xlink:to="OtherNoninterestExpense" xlink:title="calculation: NoninterestExpense to OtherNoninterestExpense" 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_SuppliesAndPostageExpense" xlink:label="SuppliesAndPostageExpense" xlink:title="SuppliesAndPostageExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestExpense" xlink:to="SuppliesAndPostageExpense" xlink:title="calculation: NoninterestExpense to SuppliesAndPostageExpense" 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_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="FederalDepositInsuranceCorporationPremiumExpense" xlink:title="FederalDepositInsuranceCorporationPremiumExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestExpense" xlink:to="FederalDepositInsuranceCorporationPremiumExpense" xlink:title="calculation: NoninterestExpense to FederalDepositInsuranceCorporationPremiumExpense" 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_LaborAndRelatedExpense" xlink:label="LaborAndRelatedExpense" xlink:title="LaborAndRelatedExpense" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestExpense" xlink:to="LaborAndRelatedExpense" xlink:title="calculation: NoninterestExpense to LaborAndRelatedExpense" 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_AmortizationOfIntangibleAssets" xlink:label="AmortizationOfIntangibleAssets" xlink:title="AmortizationOfIntangibleAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestExpense" xlink:to="AmortizationOfIntangibleAssets" xlink:title="calculation: NoninterestExpense to AmortizationOfIntangibleAssets" 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_BusinessDevelopment" xlink:label="BusinessDevelopment" xlink:title="BusinessDevelopment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestExpense" xlink:to="BusinessDevelopment" xlink:title="calculation: NoninterestExpense to BusinessDevelopment" 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_OccupancyNet" xlink:label="OccupancyNet" xlink:title="OccupancyNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestExpense" xlink:to="OccupancyNet" xlink:title="calculation: NoninterestExpense to OccupancyNet" 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_ProfessionalFees" xlink:label="ProfessionalFees" xlink:title="ProfessionalFees" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NoninterestExpense" xlink:to="ProfessionalFees" xlink:title="calculation: NoninterestExpense to ProfessionalFees" order="7.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="NoninterestExpense" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to NoninterestExpense" order="3.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="1.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited">
    <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_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: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="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_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="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="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_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="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_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_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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:loc xlink:type="locator" xlink:href="cbu-20170630.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="2.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="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_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:label="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:title="AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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:loc xlink:type="locator" xlink:href="cbu-20170630.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="2.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="2.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/ConsolidatedStatementsOfCashFlowsUnaudited">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:title="CashAndCashEquivalentsPeriodIncreaseDecrease" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="NetCashProvidedByUsedInOperatingActivities" xlink:title="NetCashProvidedByUsedInOperatingActivities" />
    <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="NetCashProvidedByUsedInOperatingActivities" xlink:to="ProvisionForLoanAndLeaseLosses" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities to ProvisionForLoanAndLeaseLosses" order="5.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="NetCashProvidedByUsedInOperatingActivities" xlink:to="AccretionAmortizationOnInvestmentsLoansAndBorrowings" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities to AccretionAmortizationOnInvestmentsLoansAndBorrowings" order="3.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="NetCashProvidedByUsedInOperatingActivities" xlink:to="NetGainLossOnSaleOfLoansAndOtherAssets" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities to NetGainLossOnSaleOfLoansAndOtherAssets" 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_BankOwnedLifeInsuranceIncome" xlink:label="BankOwnedLifeInsuranceIncome" xlink:title="BankOwnedLifeInsuranceIncome" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivities" xlink:to="BankOwnedLifeInsuranceIncome" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities to BankOwnedLifeInsuranceIncome" 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_ShareBasedCompensation" xlink:label="ShareBasedCompensation" xlink:title="ShareBasedCompensation" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivities" xlink:to="ShareBasedCompensation" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities 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="NetCashProvidedByUsedInOperatingActivities" xlink:to="Depreciation" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities to Depreciation" 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_AmortizationOfIntangibleAssets" xlink:label="AmortizationOfIntangibleAssets" xlink:title="AmortizationOfIntangibleAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivities" xlink:to="AmortizationOfIntangibleAssets" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities 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_NetIncomeLoss" xlink:label="NetIncomeLoss" xlink:title="NetIncomeLoss" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivities" xlink:to="NetIncomeLoss" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities 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_AmortizationOfMortgageServicingRightsMSRs" xlink:label="AmortizationOfMortgageServicingRightsMSRs" xlink:title="AmortizationOfMortgageServicingRightsMSRs" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivities" xlink:to="AmortizationOfMortgageServicingRightsMSRs" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities to AmortizationOfMortgageServicingRightsMSRs" 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_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="IncreaseDecreaseInOtherOperatingCapitalNet" xlink:title="IncreaseDecreaseInOtherOperatingCapitalNet" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInOperatingActivities" xlink:to="IncreaseDecreaseInOtherOperatingCapitalNet" xlink:title="calculation: NetCashProvidedByUsedInOperatingActivities to IncreaseDecreaseInOtherOperatingCapitalNet" order="10.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="NetCashProvidedByUsedInOperatingActivities" xlink:title="calculation: CashAndCashEquivalentsPeriodIncreaseDecrease to NetCashProvidedByUsedInOperatingActivities" 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_NetCashProvidedByUsedInInvestingActivities" xlink:label="NetCashProvidedByUsedInInvestingActivities" xlink:title="NetCashProvidedByUsedInInvestingActivities" />
    <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="NetCashProvidedByUsedInInvestingActivities" xlink:to="ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivities to ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" 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_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="PaymentsToAcquireAvailableForSaleSecurities" xlink:title="PaymentsToAcquireAvailableForSaleSecurities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivities" xlink:to="PaymentsToAcquireAvailableForSaleSecurities" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivities to PaymentsToAcquireAvailableForSaleSecurities" 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_PaymentsForProceedsFromLoansAndLeases" xlink:label="PaymentsForProceedsFromLoansAndLeases" xlink:title="PaymentsForProceedsFromLoansAndLeases" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivities" xlink:to="PaymentsForProceedsFromLoansAndLeases" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivities to PaymentsForProceedsFromLoansAndLeases" order="15.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="NetCashProvidedByUsedInInvestingActivities" xlink:to="PaymentsToAcquireOtherInvestments" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivities to PaymentsToAcquireOtherInvestments" 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_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="PaymentsToAcquirePropertyPlantAndEquipment" xlink:title="PaymentsToAcquirePropertyPlantAndEquipment" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivities" xlink:to="PaymentsToAcquirePropertyPlantAndEquipment" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivities to PaymentsToAcquirePropertyPlantAndEquipment" order="16.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="NetCashProvidedByUsedInInvestingActivities" xlink:to="ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivities to ProceedsFromMaturitiesPrepaymentsAndCallsOfOtherInvestments" 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_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:title="PaymentsToAcquireBusinessesNetOfCashAcquired" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInInvestingActivities" xlink:to="PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivities to PaymentsToAcquireBusinessesNetOfCashAcquired" order="8.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="NetCashProvidedByUsedInInvestingActivities" xlink:to="SettlementOfBankOwnedLifeInsurancePolicies" xlink:title="calculation: NetCashProvidedByUsedInInvestingActivities to SettlementOfBankOwnedLifeInsurancePolicies" order="10.0" weight="1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="NetCashProvidedByUsedInInvestingActivities" xlink:title="calculation: CashAndCashEquivalentsPeriodIncreaseDecrease to NetCashProvidedByUsedInInvestingActivities" 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_NetCashProvidedByUsedInFinancingActivities" xlink:label="NetCashProvidedByUsedInFinancingActivities" xlink:title="NetCashProvidedByUsedInFinancingActivities" />
    <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="NetCashProvidedByUsedInFinancingActivities" xlink:to="ProceedsFromSaleOfTreasuryStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivities to ProceedsFromSaleOfTreasuryStock" 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_PaymentsOfDividendsCommonStock" xlink:label="PaymentsOfDividendsCommonStock" xlink:title="PaymentsOfDividendsCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivities" xlink:to="PaymentsOfDividendsCommonStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivities to PaymentsOfDividendsCommonStock" 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_ProceedsFromIssuanceOfCommonStock" xlink:label="ProceedsFromIssuanceOfCommonStock" xlink:title="ProceedsFromIssuanceOfCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivities" xlink:to="ProceedsFromIssuanceOfCommonStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivities to ProceedsFromIssuanceOfCommonStock" 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_IncreaseDecreaseInDeposits" xlink:label="IncreaseDecreaseInDeposits" xlink:title="IncreaseDecreaseInDeposits" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivities" xlink:to="IncreaseDecreaseInDeposits" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivities 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_ProceedsFromRepaymentsOfDebt" xlink:label="ProceedsFromRepaymentsOfDebt" xlink:title="ProceedsFromRepaymentsOfDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivities" xlink:to="ProceedsFromRepaymentsOfDebt" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivities 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_IncreaseDecreaseInDeferredCompensation" xlink:label="IncreaseDecreaseInDeferredCompensation" xlink:title="IncreaseDecreaseInDeferredCompensation" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivities" xlink:to="IncreaseDecreaseInDeferredCompensation" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivities to IncreaseDecreaseInDeferredCompensation" 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_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:title="PaymentsRelatedToTaxWithholdingForShareBasedCompensation" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivities" xlink:to="PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivities to PaymentsRelatedToTaxWithholdingForShareBasedCompensation" 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_PaymentsForRepurchaseOfCommonStock" xlink:label="PaymentsForRepurchaseOfCommonStock" xlink:title="PaymentsForRepurchaseOfCommonStock" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetCashProvidedByUsedInFinancingActivities" xlink:to="PaymentsForRepurchaseOfCommonStock" xlink:title="calculation: NetCashProvidedByUsedInFinancingActivities to PaymentsForRepurchaseOfCommonStock" order="5.0" weight="-1.0" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="NetCashProvidedByUsedInFinancingActivities" xlink:title="calculation: CashAndCashEquivalentsPeriodIncreaseDecrease to NetCashProvidedByUsedInFinancingActivities" 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_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="15.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="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_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_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="11.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.xsd#cbu_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSecuritiesSoldUnderAgreementToRepurchaseShortTerm" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSecuritiesSoldUnderAgreementToRepurchaseShortTerm" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSecuritiesSoldUnderAgreementToRepurchaseShortTerm" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSecuritiesSoldUnderAgreementToRepurchaseShortTerm" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSecuritiesSoldUnderAgreementToRepurchaseShortTerm" 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="16.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="cbu-20170630.xsd#cbu_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSubordinatedDebtHeldByUnconsolidatedSubsidiaryTrusts" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSubordinatedDebtHeldByUnconsolidatedSubsidiaryTrusts" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSubordinatedDebtHeldByUnconsolidatedSubsidiaryTrusts" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSubordinatedDebtHeldByUnconsolidatedSubsidiaryTrusts" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSubordinatedDebtHeldByUnconsolidatedSubsidiaryTrusts" 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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" order="7.0" weight="-1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="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_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="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_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-20170630.xsd#cbu_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedShortTermAdvances" xlink:label="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedShortTermAdvances" xlink:title="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedShortTermAdvances" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedShortTermAdvances" xlink:title="calculation: BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet to BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedShortTermAdvances" 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_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="1.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="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="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="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="2.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="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="2.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_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_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_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_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_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: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_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_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_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_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: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_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_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: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_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_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_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: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_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_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="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_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_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_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: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_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: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="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_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_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="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_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_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_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_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_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="0.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-20170630.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="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_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="1.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_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" xlink:label="ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" xlink:title="ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:to="ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" xlink:title="calculation: ImpairedFinancingReceivableUnpaidPrincipalBalance to ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" 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_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" xlink:label="ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" xlink:title="ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:to="ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" xlink:title="calculation: ImpairedFinancingReceivableUnpaidPrincipalBalance to ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" order="1.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="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_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="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_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="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_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="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_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="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_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="2.0" weight="-1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/GoodwillAndIdentifiableIntangibleAssetsDetailsCalc2">
    <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_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:title="FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FiniteLivedIntangibleAssetsNet" xlink:to="FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:title="calculation: FiniteLivedIntangibleAssetsNet to FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" 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_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:label="FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:title="FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FiniteLivedIntangibleAssetsNet" xlink:to="FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:title="calculation: FiniteLivedIntangibleAssetsNet to FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" 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_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:title="FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FiniteLivedIntangibleAssetsNet" xlink:to="FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:title="calculation: FiniteLivedIntangibleAssetsNet to FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" 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_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:title="FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FiniteLivedIntangibleAssetsNet" xlink:to="FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:title="calculation: FiniteLivedIntangibleAssetsNet to FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" 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_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:title="FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FiniteLivedIntangibleAssetsNet" xlink:to="FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:title="calculation: FiniteLivedIntangibleAssetsNet to FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" 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_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:title="FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FiniteLivedIntangibleAssetsNet" xlink:to="FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:title="calculation: FiniteLivedIntangibleAssetsNet to FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" order="2.0" weight="1.0" />
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://communitybankna.com/role/BenefitPlansDetails">
    <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="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_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="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_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: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_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="NetIncomeLossAvailableToCommonStockholdersBasic" xlink:title="NetIncomeLossAvailableToCommonStockholdersBasic" />
    <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="NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits" xlink:title="calculation: NetIncomeLossAvailableToCommonStockholdersBasic to AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits" 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:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="NetIncomeLoss" xlink:title="calculation: NetIncomeLossAvailableToCommonStockholdersBasic 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_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_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="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_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="1.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="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="DerivativeAssets" xlink:title="DerivativeAssets" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FairValueNetAssetLiability" xlink:to="DerivativeAssets" xlink:title="calculation: FairValueNetAssetLiability to DerivativeAssets" 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_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="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_DerivativeLiabilities" xlink:label="DerivativeLiabilities" xlink:title="DerivativeLiabilities" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="FairValueNetAssetLiability" xlink:to="DerivativeLiabilities" xlink:title="calculation: FairValueNetAssetLiability to DerivativeLiabilities" 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_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="7.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-20170630.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="1.0" weight="1.0" />
    <link:loc xlink:type="locator" xlink:href="cbu-20170630.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="0.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_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="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_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="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_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="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_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="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_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="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_BusinessCombinationAcquisitionRelatedCosts" xlink:label="BusinessCombinationAcquisitionRelatedCosts" xlink:title="BusinessCombinationAcquisitionRelatedCosts" />
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="BusinessCombinationAcquisitionRelatedCosts" xlink:title="calculation: IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments to BusinessCombinationAcquisitionRelatedCosts" order="6.0" weight="-1.0" />
  </link:calculationLink>
</link:linkbase>
