<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestitures" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures2015DivestitureNarrativeDetails" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestitures2015DivestitureNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures2016ShanghaiGoldenMonkeyDetails" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestitures2016ShanghaiGoldenMonkeyDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresKravePureFoodsAssetsAcquiredAndLiabilitiesAssumedAllocationDetails" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestituresKravePureFoodsAssetsAcquiredAndLiabilitiesAssumedAllocationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresKravePureFoodsNarrativeDetails" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestituresKravePureFoodsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresTables" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestituresTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentCharges" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentCharges" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesNarrativeDetails" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentChargesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesRealigmnmentReserveRollforwardDetails" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentChargesRealigmnmentReserveRollforwardDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesRealignmentRelatedChargesByIncomeStatementLocationDetails" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentChargesRealignmentRelatedChargesByIncomeStatementLocationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesTables" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentChargesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/CommitmentsAndContingenciesTables" xlink:href="hsy-20160403.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ComprehensiveIncome" xlink:href="hsy-20160403.xsd#ComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetails" xlink:href="hsy-20160403.xsd#ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ComprehensiveIncomeComponentsOfComprehensiveIncomeDetails" xlink:href="hsy-20160403.xsd#ComprehensiveIncomeComponentsOfComprehensiveIncomeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ComprehensiveIncomeTables" xlink:href="hsy-20160403.xsd#ComprehensiveIncomeTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedBalanceSheets" xlink:href="hsy-20160403.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="hsy-20160403.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfIncome" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfStockholdersEquityParenthetical" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/Contingencies" xlink:href="hsy-20160403.xsd#Contingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ContingenciesOperatingLeaseObligationsDetails" xlink:href="hsy-20160403.xsd#ContingenciesOperatingLeaseObligationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ContingenciesPurchaseObligationsDetails" xlink:href="hsy-20160403.xsd#ContingenciesPurchaseObligationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurements" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurements" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsEffectsOfDerivativeInstrumentsOnConsolidatedStatementsOfIncomeDetails" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsEffectsOfDerivativeInstrumentsOnConsolidatedStatementsOfIncomeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsFairValueOfLongTermDebtDetails" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsFairValueOfLongTermDebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsNarrativeDetails" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsTables" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DocumentAndEntityInformation" xlink:href="hsy-20160403.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/EarningsPerShare" xlink:href="hsy-20160403.xsd#EarningsPerShare" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/EarningsPerShareDetails" xlink:href="hsy-20160403.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/EarningsPerShareNarrativeDetails" xlink:href="hsy-20160403.xsd#EarningsPerShareNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/EarningsPerShareTables" xlink:href="hsy-20160403.xsd#EarningsPerShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssets" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsCarryingAmountsAndAccumulatedAmortizationDetails" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsCarryingAmountsAndAccumulatedAmortizationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsFutureEstimatedAmortizationExpenseDetails" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsFutureEstimatedAmortizationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsNarrativeDetails" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsSummaryOfChangesInCarryingValueOfGoodwillByReportableSegmentDetails" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsSummaryOfChangesInCarryingValueOfGoodwillByReportableSegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsTables" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/IncomeTaxes" xlink:href="hsy-20160403.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/IncomeTaxesIncomeBeforeTaxesDetails" xlink:href="hsy-20160403.xsd#IncomeTaxesIncomeBeforeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/IncomeTaxesNarrativeDetails" xlink:href="hsy-20160403.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/IncomeTaxesTables" xlink:href="hsy-20160403.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiaries" xlink:href="hsy-20160403.xsd#NoncontrollingInterestsInSubsidiaries" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiariesDetails" xlink:href="hsy-20160403.xsd#NoncontrollingInterestsInSubsidiariesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiariesTables" xlink:href="hsy-20160403.xsd#NoncontrollingInterestsInSubsidiariesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/OtherIncomeExpenseNet" xlink:href="hsy-20160403.xsd#OtherIncomeExpenseNet" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/OtherIncomeExpenseNetDetails" xlink:href="hsy-20160403.xsd#OtherIncomeExpenseNetDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/OtherIncomeExpenseNetTables" xlink:href="hsy-20160403.xsd#OtherIncomeExpenseNetTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlans" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansAmountsExpectedToBeAmortizedFromAociIntoNetPeriodicBenefitDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansAmountsExpectedToBeAmortizedFromAociIntoNetPeriodicBenefitDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansComponentsOfNetPeriodicBenefitCostDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansComponentsOfNetPeriodicBenefitCostDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansExpectedBenefitPaymentsToBePaidDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansExpectedBenefitPaymentsToBePaidDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansNarrativeDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansOnePercentChangeInAssumedHealthCareTrendRateEffectsDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansOnePercentChangeInAssumedHealthCareTrendRateEffectsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansPensionPlanAssetsWithinFairValueHierarchyDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansPensionPlanAssetsWithinFairValueHierarchyDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansSummaryOfPlanAssetsAcrossAssetClassesDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansSummaryOfPlanAssetsAcrossAssetClassesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansTables" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingBenefitObligationsDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingBenefitObligationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingNetPeriodicBenefitCostDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingNetPeriodicBenefitCostDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformation" xlink:href="hsy-20160403.xsd#SegmentInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationDepreciationAndAmortizationDetails" xlink:href="hsy-20160403.xsd#SegmentInformationDepreciationAndAmortizationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationNarrativeDetails" xlink:href="hsy-20160403.xsd#SegmentInformationNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationSalesAndIncomeDetails" xlink:href="hsy-20160403.xsd#SegmentInformationSalesAndIncomeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationSummaryOfDerivativeInformationDetails" xlink:href="hsy-20160403.xsd#SegmentInformationSummaryOfDerivativeInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationTables" xlink:href="hsy-20160403.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebt" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebt" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtInterestExpenseDetails" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtInterestExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtLongTermDebtInterestRatesDetails" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtLongTermDebtInterestRatesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtShortTermDebtDetails" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtShortTermDebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtSummaryOfLongTermDebtDetails" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtSummaryOfLongTermDebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtTables" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SignificantAccountingPolicies" xlink:href="hsy-20160403.xsd#SignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SignificantAccountingPoliciesPolicies" xlink:href="hsy-20160403.xsd#SignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlans" xlink:href="hsy-20160403.xsd#StockCompensationPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansCompensationExpenseAndIncomeTaxBenefitsForStockBasedCompensationProgramsDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansCompensationExpenseAndIncomeTaxBenefitsForStockBasedCompensationProgramsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansFairValueWeightedAverageAssumptionsDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansFairValueWeightedAverageAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansNarrativeDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansPsusAndRsusFairValueWeightedAverageAssumptionsDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansPsusAndRsusFairValueWeightedAverageAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansStockOptionActivityDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansStockOptionActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansStockOptionInformationByExercisePriceRangeDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansStockOptionInformationByExercisePriceRangeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansSummaryOfPsusAndRsusActivityDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansSummaryOfPsusAndRsusActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansTables" xlink:href="hsy-20160403.xsd#StockCompensationPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SupplementalBalanceSheetInformation" xlink:href="hsy-20160403.xsd#SupplementalBalanceSheetInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SupplementalBalanceSheetInformationDetails" xlink:href="hsy-20160403.xsd#SupplementalBalanceSheetInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SupplementalBalanceSheetInformationTables" xlink:href="hsy-20160403.xsd#SupplementalBalanceSheetInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/TreasuryStockActivity" xlink:href="hsy-20160403.xsd#TreasuryStockActivity" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/TreasuryStockActivityCommonStockOutstandingDetails" xlink:href="hsy-20160403.xsd#TreasuryStockActivityCommonStockOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/TreasuryStockActivityNarrativeDetails" xlink:href="hsy-20160403.xsd#TreasuryStockActivityNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/TreasuryStockActivityTables" xlink:href="hsy-20160403.xsd#TreasuryStockActivityTables" xlink:type="simple" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures2015DivestitureNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures2016ShanghaiGoldenMonkeyDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresKravePureFoodsAssetsAcquiredAndLiabilitiesAssumedAllocationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresKravePureFoodsNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentCharges" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesRealigmnmentReserveRollforwardDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesRealignmentRelatedChargesByIncomeStatementLocationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ComprehensiveIncome" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_dd6b7206-c19f-4dd5-339b-1369c57cfe0f" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_10163526-f860-b2fe-0415-7a75e9f4cc2d" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_dd6b7206-c19f-4dd5-339b-1369c57cfe0f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax_10163526-f860-b2fe-0415-7a75e9f4cc2d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_57a83a94-655e-3d34-1ca5-4e06dbff4fe1" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_dd6b7206-c19f-4dd5-339b-1369c57cfe0f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_57a83a94-655e-3d34-1ca5-4e06dbff4fe1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax_51888ea1-f530-33f7-70cf-f34ef3bfdff9" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_dd6b7206-c19f-4dd5-339b-1369c57cfe0f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax_51888ea1-f530-33f7-70cf-f34ef3bfdff9" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/ComprehensiveIncomeComponentsOfComprehensiveIncomeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_9cb44be5-2a71-02f6-ec1b-e73ec75bdeb8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_639358e7-813a-36e9-6425-d461027b3e4b" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_9cb44be5-2a71-02f6-ec1b-e73ec75bdeb8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_639358e7-813a-36e9-6425-d461027b3e4b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_7d97047e-97a1-3e62-5327-d2c97f3fd189" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_9cb44be5-2a71-02f6-ec1b-e73ec75bdeb8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_7d97047e-97a1-3e62-5327-d2c97f3fd189" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_899dfaa0-0733-036e-1b68-7a4e8ba40bf8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_5abb52e6-6b1e-a39b-b008-b28e0b654b4f" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_899dfaa0-0733-036e-1b68-7a4e8ba40bf8" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_5abb52e6-6b1e-a39b-b008-b28e0b654b4f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodTax" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_e2067165-2d1f-25a0-79c1-80bf0f10d782" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_899dfaa0-0733-036e-1b68-7a4e8ba40bf8" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_e2067165-2d1f-25a0-79c1-80bf0f10d782" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_01d4ad47-cae9-4c92-0f76-4a1ef3b23b7f" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_01d4ad47-cae9-4c92-0f76-4a1ef3b23b7f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_87c36270-1df1-292c-84be-35c80760d032" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_87c36270-1df1-292c-84be-35c80760d032" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/ComprehensiveIncomeTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a314f0d-c6fa-5cf2-0be1-add747465af3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a314f0d-c6fa-5cf2-0be1-add747465af3" xlink:to="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_1de50dbc-01a9-6657-f83f-d1e74edfdf18" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_LiabilitiesCurrent_1de50dbc-01a9-6657-f83f-d1e74edfdf18" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_22caddf9-3843-6329-6e39-dc458323b572" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1de50dbc-01a9-6657-f83f-d1e74edfdf18" xlink:to="loc_us-gaap_AccountsPayableCurrent_22caddf9-3843-6329-6e39-dc458323b572" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_eaf92fb1-642d-2c65-5ba7-1a63a3697f47" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1de50dbc-01a9-6657-f83f-d1e74edfdf18" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_eaf92fb1-642d-2c65-5ba7-1a63a3697f47" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_d02cabf3-c4d9-166f-23df-bbec715cbe7f" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1de50dbc-01a9-6657-f83f-d1e74edfdf18" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_d02cabf3-c4d9-166f-23df-bbec715cbe7f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_e67196c1-490c-d33d-cd80-088ba3e3684e" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1de50dbc-01a9-6657-f83f-d1e74edfdf18" xlink:to="loc_us-gaap_ShortTermBorrowings_e67196c1-490c-d33d-cd80-088ba3e3684e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_cb391e84-b205-7d47-a257-0dea5fb19043" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1de50dbc-01a9-6657-f83f-d1e74edfdf18" xlink:to="loc_us-gaap_LongTermDebtCurrent_cb391e84-b205-7d47-a257-0dea5fb19043" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_bd49339a-9b34-c6b1-deed-ef5ea71f7ac6" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_bd49339a-9b34-c6b1-deed-ef5ea71f7ac6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_7f5c7cfd-4659-429c-35ab-266d67961421" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_7f5c7cfd-4659-429c-35ab-266d67961421" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_d3900b70-6aae-8c94-5a39-4a06f81c5d62" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4e70462c-e5f6-e2d9-0cf5-7f1332ddbc05" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_d3900b70-6aae-8c94-5a39-4a06f81c5d62" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9a5c5aff-ee63-a4f2-571a-3515b5d26a3b" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_4a314f0d-c6fa-5cf2-0be1-add747465af3" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9a5c5aff-ee63-a4f2-571a-3515b5d26a3b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_d0f349aa-18e3-6323-86ad-665f8773c064" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9a5c5aff-ee63-a4f2-571a-3515b5d26a3b" xlink:to="loc_us-gaap_StockholdersEquity_d0f349aa-18e3-6323-86ad-665f8773c064" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_be52b263-dda5-21e0-250c-b71c8efa5893" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9a5c5aff-ee63-a4f2-571a-3515b5d26a3b" xlink:to="loc_us-gaap_MinorityInterest_be52b263-dda5-21e0-250c-b71c8efa5893" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_effc14df-fd72-eec8-ede9-64e0071b91bc" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_39eaeb62-7ee3-5503-48f5-08c2dff05e50" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_effc14df-fd72-eec8-ede9-64e0071b91bc" xlink:to="loc_us-gaap_AssetsCurrent_39eaeb62-7ee3-5503-48f5-08c2dff05e50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_cd34decb-53b6-e0a9-28d5-0a9741c4b0f8" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_39eaeb62-7ee3-5503-48f5-08c2dff05e50" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_cd34decb-53b6-e0a9-28d5-0a9741c4b0f8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_4d24e56f-a5cb-07ba-0508-f5f1533ae24e" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_39eaeb62-7ee3-5503-48f5-08c2dff05e50" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_4d24e56f-a5cb-07ba-0508-f5f1533ae24e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_eae794c2-73ec-cd91-efb3-99a2ff1f24cf" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_39eaeb62-7ee3-5503-48f5-08c2dff05e50" xlink:to="loc_us-gaap_InventoryNet_eae794c2-73ec-cd91-efb3-99a2ff1f24cf" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_f186537c-a0b4-9ca7-f59a-958a18f111e6" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_39eaeb62-7ee3-5503-48f5-08c2dff05e50" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_f186537c-a0b4-9ca7-f59a-958a18f111e6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_7ce178a4-245f-fa78-36a1-552609a67554" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_effc14df-fd72-eec8-ede9-64e0071b91bc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_7ce178a4-245f-fa78-36a1-552609a67554" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_b108d604-1348-4e65-3817-2944b734c65a" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_effc14df-fd72-eec8-ede9-64e0071b91bc" xlink:to="loc_us-gaap_Goodwill_b108d604-1348-4e65-3817-2944b734c65a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_894a128f-2068-d267-1e3e-64c93d0ed5ca" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_effc14df-fd72-eec8-ede9-64e0071b91bc" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_894a128f-2068-d267-1e3e-64c93d0ed5ca" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9b98e689-e6db-3e5b-e5c3-3324fffb4edf" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_effc14df-fd72-eec8-ede9-64e0071b91bc" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9b98e689-e6db-3e5b-e5c3-3324fffb4edf" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_d4c273a2-489c-2eba-2ea8-121e3528a113" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_effc14df-fd72-eec8-ede9-64e0071b91bc" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_d4c273a2-489c-2eba-2ea8-121e3528a113" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_783b94c5-664a-4bc7-f813-8c258cc934b7" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_783b94c5-664a-4bc7-f813-8c258cc934b7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_d4c99b59-c44a-c4ac-309f-0bddfdb944a5" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_ShareBasedCompensation_d4c99b59-c44a-c4ac-309f-0bddfdb944a5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_b841fb4f-3c0e-cd5c-bbc1-86e011a106f2" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_b841fb4f-3c0e-cd5c-bbc1-86e011a106f2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_327ab773-698f-0b50-f5d2-8402f0d40141" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_327ab773-698f-0b50-f5d2-8402f0d40141" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCostsAndAssetImpairmentCharges" xlink:label="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_14098f72-5f14-aa0c-4b16-612f94900524" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_14098f72-5f14-aa0c-4b16-612f94900524" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PensionAndOtherPostretirementBenefitContributions" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_763d6845-48d2-d27c-af74-9c70cf8ff524" xlink:type="locator" />
    <calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitContributions_763d6845-48d2-d27c-af74-9c70cf8ff524" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet_04f827c9-5aaa-1521-d397-f2f0bd78ed34" xlink:type="locator" />
    <calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet_04f827c9-5aaa-1521-d397-f2f0bd78ed34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_00a01ea7-ce0a-1d8d-a7dc-f50a8568b36a" xlink:type="locator" />
    <calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_00a01ea7-ce0a-1d8d-a7dc-f50a8568b36a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_91d80b53-6368-7466-a11d-02030d33de5c" xlink:type="locator" />
    <calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_91d80b53-6368-7466-a11d-02030d33de5c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_59947135-2495-391e-9e35-ed6effebb894" xlink:type="locator" />
    <calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_59947135-2495-391e-9e35-ed6effebb894" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_560659f4-b0e9-f2a5-9b69-760dcc1a16c4" xlink:type="locator" />
    <calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_560659f4-b0e9-f2a5-9b69-760dcc1a16c4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_bfab8b08-4541-18e9-28b5-5802fef422a3" xlink:type="locator" />
    <calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_916e1eb7-21fa-e5f0-a15f-0b05ed633776" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_bfab8b08-4541-18e9-28b5-5802fef422a3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_386292ff-155c-0309-455a-2b91b395b3da" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_386292ff-155c-0309-455a-2b91b395b3da" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsForSoftware" xlink:label="loc_us-gaap_PaymentsForSoftware_54fbdcb1-5df6-6edd-3019-2be00182e4d3" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:to="loc_us-gaap_PaymentsForSoftware_54fbdcb1-5df6-6edd-3019-2be00182e4d3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_20b2f8e5-bc13-7276-9568-761d012338aa" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_20b2f8e5-bc13-7276-9568-761d012338aa" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromDivestitureOfBusinesses" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_eaccfe49-98e3-daae-8173-45bdf649dee9" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_eaccfe49-98e3-daae-8173-45bdf649dee9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_61546375-8e73-18f9-8661-0e251945b3cc" xlink:type="locator" />
    <calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_61546375-8e73-18f9-8661-0e251945b3cc" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_4852d3ee-c33e-1b07-798c-41e651367343" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58a5bd26-e5f4-de8f-6118-f713733148b8" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_4852d3ee-c33e-1b07-798c-41e651367343" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_34a5221d-28da-5769-8451-97c78a614247" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_34a5221d-28da-5769-8451-97c78a614247" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_dbe54487-f43f-8212-69b5-2b562fa61c57" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_dbe54487-f43f-8212-69b5-2b562fa61c57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_bb66d22b-00d8-8213-df94-91578f68ce48" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_bb66d22b-00d8-8213-df94-91578f68ce48" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_109615d2-1833-125a-1bfc-cb072e58e440" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_109615d2-1833-125a-1bfc-cb072e58e440" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_b07c9b5a-c776-a7f8-0b34-5abf7f1d31cd" xlink:type="locator" />
    <calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_b07c9b5a-c776-a7f8-0b34-5abf7f1d31cd" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_f1b85fa1-97cd-57cc-5318-fb8dd976eb81" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_f1b85fa1-97cd-57cc-5318-fb8dd976eb81" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_9dbeb004-67a9-1b19-c357-8b5cbf0013ee" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_9dbeb004-67a9-1b19-c357-8b5cbf0013ee" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4c2e87e5-41d0-b35b-6dfd-e3ab5b253709" xlink:type="locator" />
    <calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4c2e87e5-41d0-b35b-6dfd-e3ab5b253709" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsForPreviousAcquisition" xlink:label="loc_us-gaap_PaymentsForPreviousAcquisition_b37d1393-be34-d3ac-6f69-9aaa7cd87077" xlink:type="locator" />
    <calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a678c20d-a481-ef6a-800a-4bd566075d81" xlink:to="loc_us-gaap_PaymentsForPreviousAcquisition_b37d1393-be34-d3ac-6f69-9aaa7cd87077" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_438c1b09-9f50-5f5e-b6af-87ca1807a1a2" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ff5db18e-7b91-5a5d-e914-0527b02a8012" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_438c1b09-9f50-5f5e-b6af-87ca1807a1a2" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_640557c9-9806-6bef-9084-9cc792948f77" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_038f4602-9abc-1f60-05a2-6f69306a77ae" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_640557c9-9806-6bef-9084-9cc792948f77" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_038f4602-9abc-1f60-05a2-6f69306a77ae" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_038f4602-9abc-1f60-05a2-6f69306a77ae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_bc19f109-5659-a219-a017-37ea6d424a3c" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_bc19f109-5659-a219-a017-37ea6d424a3c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_a8fa6c6f-a6dd-0012-f55c-e82fc2a06223" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_a8fa6c6f-a6dd-0012-f55c-e82fc2a06223" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_57f718b6-d463-a1a8-7fd5-83810f6bedf1" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_57f718b6-d463-a1a8-7fd5-83810f6bedf1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_65cbf966-17f1-6b91-ff34-d36adae843af" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e716acb8-9d7f-1564-a267-c0491db420a5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_65cbf966-17f1-6b91-ff34-d36adae843af" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_038f4602-9abc-1f60-05a2-6f69306a77ae" xlink:to="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_560dfcb1-0fb6-5ffa-6e3b-8257ed923a94" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_640557c9-9806-6bef-9084-9cc792948f77" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_560dfcb1-0fb6-5ffa-6e3b-8257ed923a94" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2c8c6c89-9465-bb81-ea21-29a749a3199b" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2c8c6c89-9465-bb81-ea21-29a749a3199b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_0ea1551e-1643-5e21-4c6e-6431fd87aa68" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2c8c6c89-9465-bb81-ea21-29a749a3199b" xlink:to="loc_us-gaap_OperatingIncomeLoss_0ea1551e-1643-5e21-4c6e-6431fd87aa68" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaap_SalesRevenueNet_533a4e74-899a-26d7-f9ea-a738a9e615c4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0ea1551e-1643-5e21-4c6e-6431fd87aa68" xlink:to="loc_us-gaap_SalesRevenueNet_533a4e74-899a-26d7-f9ea-a738a9e615c4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CostsAndExpenses" xlink:label="loc_us-gaap_CostsAndExpenses_8281466b-86c7-ec9c-c7fc-3723705ba526" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_0ea1551e-1643-5e21-4c6e-6431fd87aa68" xlink:to="loc_us-gaap_CostsAndExpenses_8281466b-86c7-ec9c-c7fc-3723705ba526" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_us-gaap_CostOfGoodsSold_47bf16bc-113d-838a-56d3-e154f0f2a154" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_8281466b-86c7-ec9c-c7fc-3723705ba526" xlink:to="loc_us-gaap_CostOfGoodsSold_47bf16bc-113d-838a-56d3-e154f0f2a154" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_37d23128-e0be-7b8b-d6c6-f3d1ac14cac9" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_8281466b-86c7-ec9c-c7fc-3723705ba526" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_37d23128-e0be-7b8b-d6c6-f3d1ac14cac9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_e9cd4402-75ed-1599-62dc-dce312ef5bf6" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_8281466b-86c7-ec9c-c7fc-3723705ba526" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_e9cd4402-75ed-1599-62dc-dce312ef5bf6" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_RestructuringChargesBusinessRealignment" xlink:label="loc_hsy_RestructuringChargesBusinessRealignment_B4A7C4ADD16F058ACB717A75CA2DD9F7" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_8281466b-86c7-ec9c-c7fc-3723705ba526" xlink:to="loc_hsy_RestructuringChargesBusinessRealignment_B4A7C4ADD16F058ACB717A75CA2DD9F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_5181c7cb-cc2b-9119-724a-97d7d41fc74f" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2c8c6c89-9465-bb81-ea21-29a749a3199b" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_5181c7cb-cc2b-9119-724a-97d7d41fc74f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_51486ac3-3cfb-dff4-43ca-0d3980775a1d" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2c8c6c89-9465-bb81-ea21-29a749a3199b" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_51486ac3-3cfb-dff4-43ca-0d3980775a1d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_b8dcf191-083d-828d-7b9f-e2d2969b89f4" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e62ce8b8-4401-2622-8598-3e644745e95e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_b8dcf191-083d-828d-7b9f-e2d2969b89f4" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfStockholdersEquityParenthetical" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/Contingencies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ContingenciesOperatingLeaseObligationsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ContingenciesPurchaseObligationsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurements" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsEffectsOfDerivativeInstrumentsOnConsolidatedStatementsOfIncomeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsFairValueOfLongTermDebtDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_864c7ad7-a755-5302-09e8-4dd5600a3e71" xlink:type="locator" />
    <loc xlink:href="hsy-20160403.xsd#hsy_LongtermDebtCurrentMaturitiesFairValue" xlink:label="loc_hsy_LongtermDebtCurrentMaturitiesFairValue_BE40F34F1D7819E265A055606DA0261B" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtFairValue_864c7ad7-a755-5302-09e8-4dd5600a3e71" xlink:to="loc_hsy_LongtermDebtCurrentMaturitiesFairValue_BE40F34F1D7819E265A055606DA0261B" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_LongtermDebtExcludingCurrentMaturitiesFairValue" xlink:label="loc_hsy_LongtermDebtExcludingCurrentMaturitiesFairValue_FB74CFB45575496EB464555FE9EF664C" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtFairValue_864c7ad7-a755-5302-09e8-4dd5600a3e71" xlink:to="loc_hsy_LongtermDebtExcludingCurrentMaturitiesFairValue_FB74CFB45575496EB464555FE9EF664C" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/EarningsPerShare" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/EarningsPerShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossDiluted" xlink:label="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossDiluted_3b158209-ad38-c230-e992-c9e3d9abb684" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic" xlink:label="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_0f3128f3-3d8b-e700-4bb6-7eb11674f54c" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossDiluted_3b158209-ad38-c230-e992-c9e3d9abb684" xlink:to="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_0f3128f3-3d8b-e700-4bb6-7eb11674f54c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Dividends" xlink:label="loc_us-gaap_Dividends_80ed3d20-4448-02e8-d098-2985936f6d6d" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_0f3128f3-3d8b-e700-4bb6-7eb11674f54c" xlink:to="loc_us-gaap_Dividends_80ed3d20-4448-02e8-d098-2985936f6d6d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_b2144b21-21ed-a0f9-5098-3646b87cf683" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_0f3128f3-3d8b-e700-4bb6-7eb11674f54c" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_b2144b21-21ed-a0f9-5098-3646b87cf683" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DistributedEarnings" xlink:label="loc_us-gaap_DistributedEarnings_a11e56e7-bd5f-fe4c-f35f-2bcd63fe96cb" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossDiluted_3b158209-ad38-c230-e992-c9e3d9abb684" xlink:to="loc_us-gaap_DistributedEarnings_a11e56e7-bd5f-fe4c-f35f-2bcd63fe96cb" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_db6e669a-c895-a8b5-889b-f02dd196e4b5" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossDiluted_3b158209-ad38-c230-e992-c9e3d9abb684" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_db6e669a-c895-a8b5-889b-f02dd196e4b5" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/EarningsPerShareNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/EarningsPerShareTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssets" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsCarryingAmountsAndAccumulatedAmortizationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsFutureEstimatedAmortizationExpenseDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsSummaryOfChangesInCarryingValueOfGoodwillByReportableSegmentDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/IncomeTaxes" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/IncomeTaxesIncomeBeforeTaxesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/IncomeTaxesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiaries" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiariesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiariesTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/OtherIncomeExpenseNet" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/OtherIncomeExpenseNetDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/OtherIncomeExpenseNetTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlans" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansAmountsExpectedToBeAmortizedFromAociIntoNetPeriodicBenefitDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansComponentsOfNetPeriodicBenefitCostDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_2ec65622-4890-2364-d89a-c6403a1d04a9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_966abc5a-0aea-5fe8-d8a1-9e044afb9784" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_2ec65622-4890-2364-d89a-c6403a1d04a9" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_966abc5a-0aea-5fe8-d8a1-9e044afb9784" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_6183ad76-cfec-d832-340d-85dc815112da" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_2ec65622-4890-2364-d89a-c6403a1d04a9" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_6183ad76-cfec-d832-340d-85dc815112da" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_313a5f98-4635-6c34-4024-f94b2c5b9063" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_2ec65622-4890-2364-d89a-c6403a1d04a9" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_313a5f98-4635-6c34-4024-f94b2c5b9063" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_2b770c62-b0fb-c708-98e5-41278be9cb84" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_2ec65622-4890-2364-d89a-c6403a1d04a9" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_2b770c62-b0fb-c708-98e5-41278be9cb84" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_ba702cef-8d4b-17f2-0b31-74e9eb092d82" xlink:type="locator" />
    <calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_2ec65622-4890-2364-d89a-c6403a1d04a9" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_ba702cef-8d4b-17f2-0b31-74e9eb092d82" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansExpectedBenefitPaymentsToBePaidDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansOnePercentChangeInAssumedHealthCareTrendRateEffectsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansPensionPlanAssetsWithinFairValueHierarchyDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansSummaryOfPlanAssetsAcrossAssetClassesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingBenefitObligationsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingNetPeriodicBenefitCostDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SegmentInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SegmentInformationDepreciationAndAmortizationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SegmentInformationNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SegmentInformationSalesAndIncomeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SegmentInformationSummaryOfDerivativeInformationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SegmentInformationTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebt" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtInterestExpenseDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_5181c7cb-cc2b-9119-724a-97d7d41fc74f" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_8d3aa4ad-dbea-9eba-4578-5d3b83ba3bc6" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_5181c7cb-cc2b-9119-724a-97d7d41fc74f" xlink:to="loc_us-gaap_InterestExpense_8d3aa4ad-dbea-9eba-4578-5d3b83ba3bc6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestExpenseDebt" xlink:label="loc_us-gaap_InterestExpenseDebt_303ddad1-c92e-dee8-e988-6fa7a693d02e" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_8d3aa4ad-dbea-9eba-4578-5d3b83ba3bc6" xlink:to="loc_us-gaap_InterestExpenseDebt_303ddad1-c92e-dee8-e988-6fa7a693d02e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestCostsCapitalized" xlink:label="loc_us-gaap_InterestCostsCapitalized_8e5eba94-48ef-e5cd-36db-3284446b48df" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_8d3aa4ad-dbea-9eba-4578-5d3b83ba3bc6" xlink:to="loc_us-gaap_InterestCostsCapitalized_8e5eba94-48ef-e5cd-36db-3284446b48df" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_f41ffc72-ebad-5797-e151-38939dd37877" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_5181c7cb-cc2b-9119-724a-97d7d41fc74f" xlink:to="loc_us-gaap_InvestmentIncomeInterest_f41ffc72-ebad-5797-e151-38939dd37877" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtLongTermDebtInterestRatesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtShortTermDebtDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtSummaryOfLongTermDebtDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_9210187e-cdda-2312-446f-000237db141c" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_cb391e84-b205-7d47-a257-0dea5fb19043" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_9210187e-cdda-2312-446f-000237db141c" xlink:to="loc_us-gaap_LongTermDebtCurrent_cb391e84-b205-7d47-a257-0dea5fb19043" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_fe891e5b-d2af-f798-198f-f728ce0375a1" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_9210187e-cdda-2312-446f-000237db141c" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_fe891e5b-d2af-f798-198f-f728ce0375a1" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SignificantAccountingPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlans" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansCompensationExpenseAndIncomeTaxBenefitsForStockBasedCompensationProgramsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansFairValueWeightedAverageAssumptionsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansPsusAndRsusFairValueWeightedAverageAssumptionsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansStockOptionActivityDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansStockOptionInformationByExercisePriceRangeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansSummaryOfPsusAndRsusActivityDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SupplementalBalanceSheetInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/SupplementalBalanceSheetInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_7ce178a4-245f-fa78-36a1-552609a67554" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_6591f040-08b3-69a1-a560-c70736475ada" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_7ce178a4-245f-fa78-36a1-552609a67554" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_6591f040-08b3-69a1-a560-c70736475ada" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Land" xlink:label="loc_us-gaap_Land_5f113b74-55d3-328d-c134-0ba25c366a34" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_6591f040-08b3-69a1-a560-c70736475ada" xlink:to="loc_us-gaap_Land_5f113b74-55d3-328d-c134-0ba25c366a34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BuildingsAndImprovementsGross" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_687d5c44-0ff0-a374-7249-2d0457f747d0" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_6591f040-08b3-69a1-a560-c70736475ada" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_687d5c44-0ff0-a374-7249-2d0457f747d0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MachineryAndEquipmentGross" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_5ebe2673-c7bd-8813-b08b-ccdafddcf93d" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_6591f040-08b3-69a1-a560-c70736475ada" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_5ebe2673-c7bd-8813-b08b-ccdafddcf93d" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionInProgressGross" xlink:label="loc_us-gaap_ConstructionInProgressGross_e52c88f9-b25a-e353-24f6-ceda52000430" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_6591f040-08b3-69a1-a560-c70736475ada" xlink:to="loc_us-gaap_ConstructionInProgressGross_e52c88f9-b25a-e353-24f6-ceda52000430" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_b84a1570-30ad-4e3a-2391-9767a64e15fd" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_7ce178a4-245f-fa78-36a1-552609a67554" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_b84a1570-30ad-4e3a-2391-9767a64e15fd" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_eae794c2-73ec-cd91-efb3-99a2ff1f24cf" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FIFOInventoryAmount" xlink:label="loc_us-gaap_FIFOInventoryAmount_8ba732b9-65ba-bc07-ba29-795ae773aa58" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_eae794c2-73ec-cd91-efb3-99a2ff1f24cf" xlink:to="loc_us-gaap_FIFOInventoryAmount_8ba732b9-65ba-bc07-ba29-795ae773aa58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_67158a47-96e7-9b0f-c6d4-8e2f09cc69df" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FIFOInventoryAmount_8ba732b9-65ba-bc07-ba29-795ae773aa58" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_67158a47-96e7-9b0f-c6d4-8e2f09cc69df" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_8162f0c6-3901-3410-efb8-4a460fb9898c" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FIFOInventoryAmount_8ba732b9-65ba-bc07-ba29-795ae773aa58" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_8162f0c6-3901-3410-efb8-4a460fb9898c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_52e0aebe-a03f-09bd-b0a5-024dc9cc6bc5" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FIFOInventoryAmount_8ba732b9-65ba-bc07-ba29-795ae773aa58" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_52e0aebe-a03f-09bd-b0a5-024dc9cc6bc5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InventoryLIFOReserve" xlink:label="loc_us-gaap_InventoryLIFOReserve_c533db97-3379-78c7-54b8-63397b59356c" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_eae794c2-73ec-cd91-efb3-99a2ff1f24cf" xlink:to="loc_us-gaap_InventoryLIFOReserve_c533db97-3379-78c7-54b8-63397b59356c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_7f5c7cfd-4659-429c-35ab-266d67961421" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_ad80ca40-75b1-2e6f-85f8-9f090963b315" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_7f5c7cfd-4659-429c-35ab-266d67961421" xlink:to="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_ad80ca40-75b1-2e6f-85f8-9f090963b315" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_5d08b7bd-ca05-8514-371c-1c59edeb75df" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_7f5c7cfd-4659-429c-35ab-266d67961421" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_5d08b7bd-ca05-8514-371c-1c59edeb75df" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_OtherMiscellaneousLiabilitiesNonCurrent" xlink:label="loc_hsy_OtherMiscellaneousLiabilitiesNonCurrent_B5AD459A6F42369C91541321350699F6" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_7f5c7cfd-4659-429c-35ab-266d67961421" xlink:to="loc_hsy_OtherMiscellaneousLiabilitiesNonCurrent_B5AD459A6F42369C91541321350699F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_eaf92fb1-642d-2c65-5ba7-1a63a3697f47" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_edc340b7-5c57-03d7-7d1e-ad6feb822363" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eaf92fb1-642d-2c65-5ba7-1a63a3697f47" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_edc340b7-5c57-03d7-7d1e-ad6feb822363" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccruedMarketingCostsCurrent" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent_8428cc33-e157-8379-c021-05825c598238" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eaf92fb1-642d-2c65-5ba7-1a63a3697f47" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent_8428cc33-e157-8379-c021-05825c598238" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DueToRelatedPartiesCurrent" xlink:label="loc_us-gaap_DueToRelatedPartiesCurrent_b37683a4-aa32-72af-aebd-b2e8257f12ec" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eaf92fb1-642d-2c65-5ba7-1a63a3697f47" xlink:to="loc_us-gaap_DueToRelatedPartiesCurrent_b37683a4-aa32-72af-aebd-b2e8257f12ec" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_048af4ee-7103-cb68-2311-629c6d180444" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eaf92fb1-642d-2c65-5ba7-1a63a3697f47" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_048af4ee-7103-cb68-2311-629c6d180444" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9b98e689-e6db-3e5b-e5c3-3324fffb4edf" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalizedComputerSoftwareNet" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareNet_6807f712-fcc2-2cb3-7f36-832d96eacef6" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_9b98e689-e6db-3e5b-e5c3-3324fffb4edf" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareNet_6807f712-fcc2-2cb3-7f36-832d96eacef6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxesReceivableNoncurrent" xlink:label="loc_us-gaap_IncomeTaxesReceivableNoncurrent_d375ac43-e218-0d7a-82ff-205b98723e5a" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_9b98e689-e6db-3e5b-e5c3-3324fffb4edf" xlink:to="loc_us-gaap_IncomeTaxesReceivableNoncurrent_d375ac43-e218-0d7a-82ff-205b98723e5a" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_OtherMiscellaneousAssetsNonCurrent" xlink:label="loc_hsy_OtherMiscellaneousAssetsNonCurrent_72C82DCC5FC9073C88C5131DA1BE2F8A" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_9b98e689-e6db-3e5b-e5c3-3324fffb4edf" xlink:to="loc_hsy_OtherMiscellaneousAssetsNonCurrent_72C82DCC5FC9073C88C5131DA1BE2F8A" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/SupplementalBalanceSheetInformationTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/TreasuryStockActivity" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/TreasuryStockActivityCommonStockOutstandingDetails" xlink:type="extended">
    <loc xlink:href="hsy-20160403.xsd#hsy_TreasuryStockChangeInShares" xlink:label="loc_hsy_TreasuryStockChangeInShares_366f33f1-0e35-375b-1c07-d463d7874eb4" xlink:type="locator" />
  </calculationLink>
  <calculationLink xlink:role="http://www.hersheys.com/role/TreasuryStockActivityNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.hersheys.com/role/TreasuryStockActivityTables" xlink:type="extended" />
</linkbase>
