<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase 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:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.acnb.com/role/AccumulatedOtherComprehensiveLoss" xlink:href="acnb-20170930.xsd#AccumulatedOtherComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:href="acnb-20170930.xsd#AccumulatedOtherComprehensiveLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AccumulatedOtherComprehensiveLossTables" xlink:href="acnb-20170930.xsd#AccumulatedOtherComprehensiveLossTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpInc" xlink:href="acnb-20170930.xsd#AcquisitionOfNewWindsorBancorpInc" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncAcquiredPurchasedCreditImpairedLoansReceivableDetails" xlink:href="acnb-20170930.xsd#AcquisitionOfNewWindsorBancorpIncAcquiredPurchasedCreditImpairedLoansReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncAcquiredPurchasedCreditImpairedLoansReceivableDetailsCalc2" xlink:href="acnb-20170930.xsd#AcquisitionOfNewWindsorBancorpIncAcquiredPurchasedCreditImpairedLoansReceivableDetailsCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncFairValueAdjustmentsDetails" xlink:href="acnb-20170930.xsd#AcquisitionOfNewWindsorBancorpIncFairValueAdjustmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncNarrativeDetails" xlink:href="acnb-20170930.xsd#AcquisitionOfNewWindsorBancorpIncNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncProFormaInformationDetails" xlink:href="acnb-20170930.xsd#AcquisitionOfNewWindsorBancorpIncProFormaInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncPurchasePriceConsiderationInCommonStockDetails" xlink:href="acnb-20170930.xsd#AcquisitionOfNewWindsorBancorpIncPurchasePriceConsiderationInCommonStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncTables" xlink:href="acnb-20170930.xsd#AcquisitionOfNewWindsorBancorpIncTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperations" xlink:href="acnb-20170930.xsd#BasisOfPresentationAndNatureOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperationsDetails" xlink:href="acnb-20170930.xsd#BasisOfPresentationAndNatureOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/Borrowings" xlink:href="acnb-20170930.xsd#Borrowings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/BorrowingsDetails" xlink:href="acnb-20170930.xsd#BorrowingsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/BorrowingsTables" xlink:href="acnb-20170930.xsd#BorrowingsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="acnb-20170930.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnaudited" xlink:href="acnb-20170930.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical" xlink:href="acnb-20170930.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:href="acnb-20170930.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnauditedParenthetical" xlink:href="acnb-20170930.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnaudited" xlink:href="acnb-20170930.xsd#ConsolidatedStatementsOfConditionUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnauditedParenthetical" xlink:href="acnb-20170930.xsd#ConsolidatedStatementsOfConditionUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:href="acnb-20170930.xsd#ConsolidatedStatementsOfIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/DocumentAndEntityInformation" xlink:href="acnb-20170930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlan" xlink:href="acnb-20170930.xsd#EarningsPerShareAndRestrictedStockPlan" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlanDetails" xlink:href="acnb-20170930.xsd#EarningsPerShareAndRestrictedStockPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurements" xlink:href="acnb-20170930.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsNarrativeDetails" xlink:href="acnb-20170930.xsd#FairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsScheduleOfAdditionalQuantitativeInformationDetails" xlink:href="acnb-20170930.xsd#FairValueMeasurementsScheduleOfAdditionalQuantitativeInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsScheduleOfCarryingAmountFairValueAndPlacementInFairValueHierarchyDetails" xlink:href="acnb-20170930.xsd#FairValueMeasurementsScheduleOfCarryingAmountFairValueAndPlacementInFairValueHierarchyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsScheduleOfFairValueMeasurementsDetails" xlink:href="acnb-20170930.xsd#FairValueMeasurementsScheduleOfFairValueMeasurementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsTables" xlink:href="acnb-20170930.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/GoodwillAndOtherIntangibleAssets" xlink:href="acnb-20170930.xsd#GoodwillAndOtherIntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:href="acnb-20170930.xsd#GoodwillAndOtherIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:href="acnb-20170930.xsd#GoodwillAndOtherIntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/Guarantees" xlink:href="acnb-20170930.xsd#Guarantees" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/GuaranteesDetails" xlink:href="acnb-20170930.xsd#GuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/Loans" xlink:href="acnb-20170930.xsd#Loans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansNarrativeDetails" xlink:href="acnb-20170930.xsd#LoansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfAllowanceForLoanLossesAndRecordedInvestmentInFinancingReceivablesDetails" xlink:href="acnb-20170930.xsd#LoansScheduleOfAllowanceForLoanLossesAndRecordedInvestmentInFinancingReceivablesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfChangeInAccretableYieldsOfAcquiredLoansDetails" xlink:href="acnb-20170930.xsd#LoansScheduleOfChangeInAccretableYieldsOfAcquiredLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails" xlink:href="acnb-20170930.xsd#LoansScheduleOfClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfLoanPortfolioSummarizedByPastDueStatusDetails" xlink:href="acnb-20170930.xsd#LoansScheduleOfLoanPortfolioSummarizedByPastDueStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfNonaccrualLoansByClassesOfLoanPortfolioDetails" xlink:href="acnb-20170930.xsd#LoansScheduleOfNonaccrualLoansByClassesOfLoanPortfolioDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfTroubledDebtRestructuringsDetails" xlink:href="acnb-20170930.xsd#LoansScheduleOfTroubledDebtRestructuringsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansSummaryOfAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails" xlink:href="acnb-20170930.xsd#LoansSummaryOfAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansSummaryOfImpairedLoansByLoanPortfolioClassDetails" xlink:href="acnb-20170930.xsd#LoansSummaryOfImpairedLoansByLoanPortfolioClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansTables" xlink:href="acnb-20170930.xsd#LoansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/NewAccountingPronouncements" xlink:href="acnb-20170930.xsd#NewAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/NewAccountingPronouncementsPolicies" xlink:href="acnb-20170930.xsd#NewAccountingPronouncementsPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/RetirementBenefits" xlink:href="acnb-20170930.xsd#RetirementBenefits" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/RetirementBenefitsDetails" xlink:href="acnb-20170930.xsd#RetirementBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/RetirementBenefitsTables" xlink:href="acnb-20170930.xsd#RetirementBenefitsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/Securities" xlink:href="acnb-20170930.xsd#Securities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesNarrativeDetails" xlink:href="acnb-20170930.xsd#SecuritiesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueByContractualMaturityDetails" xlink:href="acnb-20170930.xsd#SecuritiesScheduleOfAmortizedCostAndFairValueByContractualMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueOfSecuritiesDetails" xlink:href="acnb-20170930.xsd#SecuritiesScheduleOfAmortizedCostAndFairValueOfSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesScheduleOfUnrealizedLossesAndFairValueDetails" xlink:href="acnb-20170930.xsd#SecuritiesScheduleOfUnrealizedLossesAndFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreements" xlink:href="acnb-20170930.xsd#SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsDetails" xlink:href="acnb-20170930.xsd#SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsTables" xlink:href="acnb-20170930.xsd#SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesTables" xlink:href="acnb-20170930.xsd#SecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SegmentReporting" xlink:href="acnb-20170930.xsd#SegmentReporting" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SegmentReportingDetails" xlink:href="acnb-20170930.xsd#SegmentReportingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SegmentReportingTables" xlink:href="acnb-20170930.xsd#SegmentReportingTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AccumulatedOtherComprehensiveLoss" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AccumulatedOtherComprehensiveLossTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpInc" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncAcquiredPurchasedCreditImpairedLoansReceivableDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition_fe3ebbf6-be5c-8f51-ab84-603d7a4a6b10" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferAccretableYield" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferAccretableYield_e902285e-0cb5-1193-c14e-84e4e0a76e2c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition_fe3ebbf6-be5c-8f51-ab84-603d7a4a6b10" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferAccretableYield_e902285e-0cb5-1193-c14e-84e4e0a76e2c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue_0ba9a817-5627-0bf0-f442-301c24c0e67b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition_fe3ebbf6-be5c-8f51-ab84-603d7a4a6b10" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue_0ba9a817-5627-0bf0-f442-301c24c0e67b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncAcquiredPurchasedCreditImpairedLoansReceivableDetailsCalc2" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition_33B1F395B038B3DAD38372C7D871DBBB_fe3ebbf6-be5c-8f51-ab84-603d7a4a6b10" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition_33B1F395B038B3DAD38372C7D871DBBB_40b2ffee-9f62-1196-f8f7-40b7ce66bd5f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition_33B1F395B038B3DAD38372C7D871DBBB_fe3ebbf6-be5c-8f51-ab84-603d7a4a6b10" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition_33B1F395B038B3DAD38372C7D871DBBB_40b2ffee-9f62-1196-f8f7-40b7ce66bd5f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNonaccretableDifference" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNonaccretableDifference_33B1F395B038B3DAD38372C7D871DBBB_cfd2613b-2eba-c921-bf74-82385dc48c29" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition_33B1F395B038B3DAD38372C7D871DBBB_fe3ebbf6-be5c-8f51-ab84-603d7a4a6b10" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferNonaccretableDifference_33B1F395B038B3DAD38372C7D871DBBB_cfd2613b-2eba-c921-bf74-82385dc48c29" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncFairValueAdjustmentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncProFormaInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncPurchasePriceConsiderationInCommonStockDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/AcquisitionOfNewWindsorBancorpIncTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperations" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/Borrowings" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/BorrowingsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/BorrowingsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_ea91341e-361d-c0f7-cf49-b928bb2b8c92" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_ea91341e-361d-c0f7-cf49-b928bb2b8c92" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170930.xsd#acnb_GainLossOnSalesOfLoansPropertyAndForeclosedRealEstate" xlink:label="loc_acnb_GainLossOnSalesOfLoansPropertyAndForeclosedRealEstate_dc25da04-93ab-9804-3fb2-173b83cc0dd5" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_acnb_GainLossOnSalesOfLoansPropertyAndForeclosedRealEstate_dc25da04-93ab-9804-3fb2-173b83cc0dd5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_95be95e4-0ed3-e1e8-0c63-33a490947570" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_95be95e4-0ed3-e1e8-0c63-33a490947570" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_4cbe5c15-9ded-be02-3fa0-35d770913236" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_4cbe5c15-9ded-be02-3fa0-35d770913236" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockExpense" xlink:label="loc_us-gaap_RestrictedStockExpense_cf06cdb3-6564-4960-43b4-9bba063ebf87" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_RestrictedStockExpense_cf06cdb3-6564-4960-43b4-9bba063ebf87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherDepreciationAndAmortization" xlink:label="loc_us-gaap_OtherDepreciationAndAmortization_af035d49-0557-cd02-3338-ff26f027fd0d" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_OtherDepreciationAndAmortization_af035d49-0557-cd02-3338-ff26f027fd0d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_e0ca8321-ebf3-2764-9c0e-6cfd763aef57" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_e0ca8321-ebf3-2764-9c0e-6cfd763aef57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_ee12cc29-63c9-040c-19f2-17921f90c9bb" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_ee12cc29-63c9-040c-19f2-17921f90c9bb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_1fdda9a8-1ac6-b4f1-d104-6808da93dbe1" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_1fdda9a8-1ac6-b4f1-d104-6808da93dbe1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_7c9b8031-2c89-2c7f-60e7-6af976eb8a29" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_7c9b8031-2c89-2c7f-60e7-6af976eb8a29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_eb3d1f57-8afc-4e17-e4c5-077b3a40ad0f" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_eb3d1f57-8afc-4e17-e4c5-077b3a40ad0f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_52a8d5c3-309b-28e2-6ae4-483ba7502c0b" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_52a8d5c3-309b-28e2-6ae4-483ba7502c0b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_ac9066b4-6e40-13ed-8628-1a20304926d8" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_ac9066b4-6e40-13ed-8628-1a20304926d8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_7e3bb724-19f9-7fc7-d3fb-60f34a11e15a" xlink:type="locator" />
    <link:calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_7e3bb724-19f9-7fc7-d3fb-60f34a11e15a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_0de8de13-3824-9d0d-a270-12d0f2fbdb58" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_0de8de13-3824-9d0d-a270-12d0f2fbdb58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b49c7a2f-2986-824d-e7cb-bc082ac0e888" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b49c7a2f-2986-824d-e7cb-bc082ac0e888" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_9cebbd9b-269e-5a19-54b8-1c32e2660d83" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_9cebbd9b-269e-5a19-54b8-1c32e2660d83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_e0f2b8e9-6b37-c3e1-7816-e99783b05ab3" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_e0f2b8e9-6b37-c3e1-7816-e99783b05ab3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_c84002e7-fa43-cc52-024d-b47cc02aa671" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_c84002e7-fa43-cc52-024d-b47cc02aa671" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_fee12b15-6b42-6245-2e2f-ff030b98332c" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_fee12b15-6b42-6245-2e2f-ff030b98332c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_f7ed6106-862d-edb5-3fd1-677e7651af64" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_f7ed6106-862d-edb5-3fd1-677e7651af64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_bfad01a4-9622-d297-1ba3-b8d6c65e6307" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_bfad01a4-9622-d297-1ba3-b8d6c65e6307" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_01379495-f364-e017-eca1-552db0d80389" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_01379495-f364-e017-eca1-552db0d80389" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInTimeDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInTimeDeposits_bdde7ba9-cc4d-7752-5914-dc1fdd6e8526" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_IncreaseDecreaseInTimeDeposits_bdde7ba9-cc4d-7752-5914-dc1fdd6e8526" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_27f3e695-baed-1adc-cc35-793c3b76e4f9" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_27f3e695-baed-1adc-cc35-793c3b76e4f9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_6f80ca9e-82d0-f056-a403-c4914c1ce379" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_6f80ca9e-82d0-f056-a403-c4914c1ce379" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_dbbd5d91-eb58-fa81-2753-d9ddf4ada4c1" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_dbbd5d91-eb58-fa81-2753-d9ddf4ada4c1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e5f1c7a4-b42a-8461-2001-b1f20e51b257" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e5f1c7a4-b42a-8461-2001-b1f20e51b257" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xlink:label="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_13b009f3-3eda-4479-524d-2711dfe256e7" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_13b009f3-3eda-4479-524d-2711dfe256e7" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnaudited" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:to="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72d12753-e25c-cdc0-88b6-98db8d7b7fae" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72d12753-e25c-cdc0-88b6-98db8d7b7fae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_57e8ae74-d8b6-c629-9bee-2d0929cd3999" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72d12753-e25c-cdc0-88b6-98db8d7b7fae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_57e8ae74-d8b6-c629-9bee-2d0929cd3999" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_ab3008c3-c5c2-a86b-0613-39cbd9b94527" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72d12753-e25c-cdc0-88b6-98db8d7b7fae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_ab3008c3-c5c2-a86b-0613-39cbd9b94527" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax_c46098c8-4808-6e4d-3ba0-db074a116d8a" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72d12753-e25c-cdc0-88b6-98db8d7b7fae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax_c46098c8-4808-6e4d-3ba0-db074a116d8a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks_6ea59cdf-420f-0221-a162-87e84408dc3b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:to="loc_us-gaap_CashAndDueFromBanks_6ea59cdf-420f-0221-a162-87e84408dc3b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_75c23f4c-57d7-1642-0f06-8805879e7b8d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_75c23f4c-57d7-1642-0f06-8805879e7b8d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_d444402b-921b-e0fa-119c-908ab66850af" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_AvailableForSaleSecurities_d444402b-921b-e0fa-119c-908ab66850af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_3bb8bc81-af51-9945-0a22-cc4527e07a17" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_HeldToMaturitySecurities_3bb8bc81-af51-9945-0a22-cc4527e07a17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_42786bb9-6e3c-6b98-ae1f-cfea111c0df9" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_42786bb9-6e3c-6b98-ae1f-cfea111c0df9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_8aea15c4-5727-d9d4-717f-630ed8fbfd83" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_8aea15c4-5727-d9d4-717f-630ed8fbfd83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170930.xsd#acnb_RestrictedInvestmentInBankStocks" xlink:label="loc_acnb_RestrictedInvestmentInBankStocks_66dfbf14-1ad8-3792-3721-173b83d1d0f0" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_acnb_RestrictedInvestmentInBankStocks_66dfbf14-1ad8-3792-3721-173b83d1d0f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BankOwnedLifeInsurance" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_018f383f-2509-5672-bb2d-340e9af33c38" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_018f383f-2509-5672-bb2d-340e9af33c38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_42d61097-0951-9fd0-ccda-87d8624a6e85" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_42d61097-0951-9fd0-ccda-87d8624a6e85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_93a64cae-271a-5e6b-8c83-5adf9f941142" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_Goodwill_93a64cae-271a-5e6b-8c83-5adf9f941142" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_6593ba19-1d49-dfde-a85a-ff9e22b4a858" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_6593ba19-1d49-dfde-a85a-ff9e22b4a858" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_cb56b01f-b9c5-ca9e-8988-e23b27fc7a20" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_OtherAssets_cb56b01f-b9c5-ca9e-8988-e23b27fc7a20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_20926415-8452-ba54-f959-6378e08cdab1" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_Deposits_20926415-8452-ba54-f959-6378e08cdab1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilitiesDomestic" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilitiesDomestic_8210bf5f-0715-f286-294e-5ad58bbebaab" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_20926415-8452-ba54-f959-6378e08cdab1" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilitiesDomestic_8210bf5f-0715-f286-294e-5ad58bbebaab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestBearingDepositLiabilitiesDomestic" xlink:label="loc_us-gaap_InterestBearingDepositLiabilitiesDomestic_67ebabf3-376b-d037-fb0f-7c354bfbf24d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_20926415-8452-ba54-f959-6378e08cdab1" xlink:to="loc_us-gaap_InterestBearingDepositLiabilitiesDomestic_67ebabf3-376b-d037-fb0f-7c354bfbf24d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_c4493b41-4418-ed41-2f06-05ff9c61369f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_ShortTermBorrowings_c4493b41-4418-ed41-2f06-05ff9c61369f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_LongTermDebt_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_81d717e1-3e46-8423-3e5f-d98aacc74856" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_OtherLiabilities_81d717e1-3e46-8423-3e5f-d98aacc74856" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_c3f7606a-e7e9-61d5-b60b-b4b059f68b26" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_CommonStockValue_c3f7606a-e7e9-61d5-b60b-b4b059f68b26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_40678492-c421-af67-b276-f663f9ff2f98" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_TreasuryStockValue_40678492-c421-af67-b276-f663f9ff2f98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_41895068-9590-2880-73df-521995865843" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_41895068-9590-2880-73df-521995865843" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_04f0961a-a0bc-88cf-6658-3f950da4a458" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_04f0961a-a0bc-88cf-6658-3f950da4a458" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_4fb6195d-d905-dac7-e5a0-79f324993f79" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_PreferredStockValue_4fb6195d-d905-dac7-e5a0-79f324993f79" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_d2250640-c0ab-3b70-41b7-136d9a4aad78" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_d2250640-c0ab-3b70-41b7-136d9a4aad78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_f279d790-3f69-6bb0-bf56-02597d072677" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_LaborAndRelatedExpense_f279d790-3f69-6bb0-bf56-02597d072677" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet_dcfa93d8-21b7-f135-13ea-2a15d58dda33" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_OccupancyNet_dcfa93d8-21b7-f135-13ea-2a15d58dda33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquipmentExpense" xlink:label="loc_us-gaap_EquipmentExpense_68010612-5547-1da2-3601-ba9069d4962a" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_EquipmentExpense_68010612-5547-1da2-3601-ba9069d4962a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxesOther" xlink:label="loc_us-gaap_TaxesOther_568c8aa6-b74b-ba4c-ae89-eb95d50a2d5b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_TaxesOther_568c8aa6-b74b-ba4c-ae89-eb95d50a2d5b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="loc_us-gaap_ProfessionalFees_46076b2a-9606-b624-8289-f52fd7fc12d1" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_ProfessionalFees_46076b2a-9606-b624-8289-f52fd7fc12d1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SuppliesAndPostageExpense" xlink:label="loc_us-gaap_SuppliesAndPostageExpense_8c2f66c2-8389-dd05-5a59-b8b092875f8e" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_SuppliesAndPostageExpense_8c2f66c2-8389-dd05-5a59-b8b092875f8e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MarketingAndAdvertisingExpense" xlink:label="loc_us-gaap_MarketingAndAdvertisingExpense_3abace1b-3fd2-6874-1636-b46a709401c6" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_MarketingAndAdvertisingExpense_3abace1b-3fd2-6874-1636-b46a709401c6" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170930.xsd#acnb_FdicAndRegulatory" xlink:label="loc_acnb_FdicAndRegulatory_0aa93021-3bf0-930c-07e7-173b83f8f014" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_acnb_FdicAndRegulatory_0aa93021-3bf0-930c-07e7-173b83f8f014" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationIntegrationRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_6bb31a22-5d72-9721-76bb-72efc45096a2" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_6bb31a22-5d72-9721-76bb-72efc45096a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_ae796c5c-1c01-d654-6a3c-3b5dd2c89517" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_ae796c5c-1c01-d654-6a3c-3b5dd2c89517" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense_02adc972-ee35-2b4e-07cf-dcb0252789fc" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_OtherNoninterestExpense_02adc972-ee35-2b4e-07cf-dcb0252789fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeclosedRealEstateExpense" xlink:label="loc_us-gaap_ForeclosedRealEstateExpense_79506dd2-3fe6-218c-a401-af0073b416b0" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_b9eb1ceb-6771-3351-1281-e8b3cd4f24bc" xlink:to="loc_us-gaap_ForeclosedRealEstateExpense_79506dd2-3fe6-218c-a401-af0073b416b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FeesAndCommissionsDepositorAccounts" xlink:label="loc_us-gaap_FeesAndCommissionsDepositorAccounts_a4fbc5df-70a9-e2bd-ec71-0fe6359f2eee" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:to="loc_us-gaap_FeesAndCommissionsDepositorAccounts_a4fbc5df-70a9-e2bd-ec71-0fe6359f2eee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FeesAndCommissionsFiduciaryAndTrustActivities" xlink:label="loc_us-gaap_FeesAndCommissionsFiduciaryAndTrustActivities_a0a09439-f676-5b44-5d17-fb305f94c8ad" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:to="loc_us-gaap_FeesAndCommissionsFiduciaryAndTrustActivities_a0a09439-f676-5b44-5d17-fb305f94c8ad" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_4cbe5c15-9ded-be02-3fa0-35d770913236" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_4cbe5c15-9ded-be02-3fa0-35d770913236" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_95be95e4-0ed3-e1e8-0c63-33a490947570" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_95be95e4-0ed3-e1e8-0c63-33a490947570" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FeesAndCommissionsOther" xlink:label="loc_us-gaap_FeesAndCommissionsOther_66ef45b2-a5a1-9a12-6f4a-0e048b4e6c08" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:to="loc_us-gaap_FeesAndCommissionsOther_66ef45b2-a5a1-9a12-6f4a-0e048b4e6c08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InsuranceCommissionsAndFees" xlink:label="loc_us-gaap_InsuranceCommissionsAndFees_3b23ed3c-3949-15b2-a061-1a0d131912ee" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:to="loc_us-gaap_InsuranceCommissionsAndFees_3b23ed3c-3949-15b2-a061-1a0d131912ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_bbc2d8f2-839a-169c-6677-9e1bd2a87a11" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_85d8e349-2d49-3422-00b4-05065a60f6f9" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_bbc2d8f2-839a-169c-6677-9e1bd2a87a11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_4b7a9f96-e361-95dc-567f-7c30db8e2c0d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_4b7a9f96-e361-95dc-567f-7c30db8e2c0d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_e0ca8321-ebf3-2764-9c0e-6cfd763aef57" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_4b7a9f96-e361-95dc-567f-7c30db8e2c0d" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_e0ca8321-ebf3-2764-9c0e-6cfd763aef57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_1df5100d-c7c3-27c8-1405-81abbd3827e1" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_4b7a9f96-e361-95dc-567f-7c30db8e2c0d" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_1df5100d-c7c3-27c8-1405-81abbd3827e1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_1df5100d-c7c3-27c8-1405-81abbd3827e1" xlink:to="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpenseDomesticDeposits" xlink:label="loc_us-gaap_InterestExpenseDomesticDeposits_8158ca41-8206-25d3-528a-f3f9d0f57b17" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:to="loc_us-gaap_InterestExpenseDomesticDeposits_8158ca41-8206-25d3-528a-f3f9d0f57b17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpenseShortTermBorrowings" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings_3b21a485-dd9a-bbcc-544e-c91399070436" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:to="loc_us-gaap_InterestExpenseShortTermBorrowings_3b21a485-dd9a-bbcc-544e-c91399070436" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm" xlink:label="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_32ade617-105e-2499-13bf-2a739b8f1723" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:to="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_32ade617-105e-2499-13bf-2a739b8f1723" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_4477516e-3843-f1b4-8a61-de669ff8f0e0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_1df5100d-c7c3-27c8-1405-81abbd3827e1" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_4477516e-3843-f1b4-8a61-de669ff8f0e0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_73eb116a-244c-faca-8f1b-fa72559b1ebe" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_4477516e-3843-f1b4-8a61-de669ff8f0e0" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_73eb116a-244c-faca-8f1b-fa72559b1ebe" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_8eeb6f23-0d88-2477-9de1-6ce7e482d4b6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_4477516e-3843-f1b4-8a61-de669ff8f0e0" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_8eeb6f23-0d88-2477-9de1-6ce7e482d4b6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_85ed5e03-4038-047b-5c67-89989f46ca8b" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_4477516e-3843-f1b4-8a61-de669ff8f0e0" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_85ed5e03-4038-047b-5c67-89989f46ca8b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendIncomeOperating" xlink:label="loc_us-gaap_DividendIncomeOperating_57339619-4b63-266e-2bfe-cefb4a989452" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_4477516e-3843-f1b4-8a61-de669ff8f0e0" xlink:to="loc_us-gaap_DividendIncomeOperating_57339619-4b63-266e-2bfe-cefb4a989452" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherInterestAndDividendIncome" xlink:label="loc_us-gaap_OtherInterestAndDividendIncome_e7190940-6dd9-cccb-7cdc-ad2fcbe3a626" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_4477516e-3843-f1b4-8a61-de669ff8f0e0" xlink:to="loc_us-gaap_OtherInterestAndDividendIncome_e7190940-6dd9-cccb-7cdc-ad2fcbe3a626" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlan" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlanDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsScheduleOfAdditionalQuantitativeInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsScheduleOfCarryingAmountFairValueAndPlacementInFairValueHierarchyDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsScheduleOfFairValueMeasurementsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/GoodwillAndOtherIntangibleAssets" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/Guarantees" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/GuaranteesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/Loans" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansScheduleOfAllowanceForLoanLossesAndRecordedInvestmentInFinancingReceivablesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_d4ff86fc-d3e8-a070-89c1-3818078e0b14" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_2728da51-6cce-af3e-5ce7-dffdc8662526" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_d4ff86fc-d3e8-a070-89c1-3818078e0b14" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_2728da51-6cce-af3e-5ce7-dffdc8662526" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_85116712-b047-8f0c-ec82-a503d282893f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_d4ff86fc-d3e8-a070-89c1-3818078e0b14" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_85116712-b047-8f0c-ec82-a503d282893f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansScheduleOfChangeInAccretableYieldsOfAcquiredLoansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansScheduleOfClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansScheduleOfLoanPortfolioSummarizedByPastDueStatusDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_d4ff86fc-d3e8-a070-89c1-3818078e0b14" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_38a9b0f0-99cf-7bf1-a2e9-09df10077c91" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_d4ff86fc-d3e8-a070-89c1-3818078e0b14" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_38a9b0f0-99cf-7bf1-a2e9-09df10077c91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_a2853db1-cebd-a17c-f6ff-3ade2a726584" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_d4ff86fc-d3e8-a070-89c1-3818078e0b14" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_a2853db1-cebd-a17c-f6ff-3ade2a726584" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansScheduleOfNonaccrualLoansByClassesOfLoanPortfolioDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansScheduleOfTroubledDebtRestructuringsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansSummaryOfAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansSummaryOfImpairedLoansByLoanPortfolioClassDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/LoansTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/NewAccountingPronouncements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/NewAccountingPronouncementsPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/RetirementBenefits" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/RetirementBenefitsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_bae25320-9d69-b27b-4684-0b60368d617f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_053c4475-6836-cf00-1abe-b15f58110eab" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_053c4475-6836-cf00-1abe-b15f58110eab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_50406d00-3746-2e05-3a50-4b2bf529ff14" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_50406d00-3746-2e05-3a50-4b2bf529ff14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_b2e93b1c-a313-bd95-39dd-1f9d9938b2e9" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_b2e93b1c-a313-bd95-39dd-1f9d9938b2e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_89ad3af5-a7a9-a0b6-3ed0-1824210c7a90" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_89ad3af5-a7a9-a0b6-3ed0-1824210c7a90" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/RetirementBenefitsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/Securities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SecuritiesNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueByContractualMaturityDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueOfSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_30dc6014-97a8-c9af-5d13-c233c1983f7f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1932fd43-f07d-5e04-493b-eca2ebb13c97" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_30dc6014-97a8-c9af-5d13-c233c1983f7f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1932fd43-f07d-5e04-493b-eca2ebb13c97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e96beffd-8ab7-62f8-402b-cfa1adccd68f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_30dc6014-97a8-c9af-5d13-c233c1983f7f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e96beffd-8ab7-62f8-402b-cfa1adccd68f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_d444402b-921b-e0fa-119c-908ab66850af" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_30dc6014-97a8-c9af-5d13-c233c1983f7f" xlink:to="loc_us-gaap_AvailableForSaleSecurities_d444402b-921b-e0fa-119c-908ab66850af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_3bb8bc81-af51-9945-0a22-cc4527e07a17" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_034611ea-64e8-e6ac-6b57-530c530d2463" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_3bb8bc81-af51-9945-0a22-cc4527e07a17" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_034611ea-64e8-e6ac-6b57-530c530d2463" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_04cbaa59-5eb0-e143-0a21-a553da1ab158" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_3bb8bc81-af51-9945-0a22-cc4527e07a17" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_04cbaa59-5eb0-e143-0a21-a553da1ab158" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_317678d5-aa75-7221-6f7e-512a1e9594ce" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_3bb8bc81-af51-9945-0a22-cc4527e07a17" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_317678d5-aa75-7221-6f7e-512a1e9594ce" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/SecuritiesScheduleOfUnrealizedLossesAndFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_04cbaa59-5eb0-e143-0a21-a553da1ab158" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_5591543c-e106-9160-fa18-4366844ee790" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_04cbaa59-5eb0-e143-0a21-a553da1ab158" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_5591543c-e106-9160-fa18-4366844ee790" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_5a6ef725-4b6e-9e35-fba2-5b883d021434" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_04cbaa59-5eb0-e143-0a21-a553da1ab158" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_5a6ef725-4b6e-9e35-fba2-5b883d021434" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_ae410534-ff1f-afef-7c75-bbe62f56894d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_4b9ba026-7273-0821-7d62-bb1019365c55" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_ae410534-ff1f-afef-7c75-bbe62f56894d" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_4b9ba026-7273-0821-7d62-bb1019365c55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_da993c7c-63f5-a242-9f8a-6e9d9ff288c6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_ae410534-ff1f-afef-7c75-bbe62f56894d" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_da993c7c-63f5-a242-9f8a-6e9d9ff288c6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e96beffd-8ab7-62f8-402b-cfa1adccd68f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_aaf3e830-a5d9-ffa3-4995-c9e738f331db" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e96beffd-8ab7-62f8-402b-cfa1adccd68f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_aaf3e830-a5d9-ffa3-4995-c9e738f331db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_80d8afbb-83ba-fc94-42ba-ea8166197445" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e96beffd-8ab7-62f8-402b-cfa1adccd68f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_80d8afbb-83ba-fc94-42ba-ea8166197445" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_00e7a94b-1ec9-6499-7f0a-2050ff159115" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_a1dd3f1b-4c24-2372-1a98-24b25891a665" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_00e7a94b-1ec9-6499-7f0a-2050ff159115" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_a1dd3f1b-4c24-2372-1a98-24b25891a665" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_7b1de9af-f23a-d7bf-8a2c-7efccf28ddba" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_00e7a94b-1ec9-6499-7f0a-2050ff159115" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_7b1de9af-f23a-d7bf-8a2c-7efccf28ddba" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SecuritiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SegmentReporting" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SegmentReportingDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.acnb.com/role/SegmentReportingTables" xlink:type="extended" />
</link:linkbase>
