

<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLoss" xlink:href="erie-20181231.xsd#AccumulatedOtherComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:href="erie-20181231.xsd#AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossTables" xlink:href="erie-20181231.xsd#AccumulatedOtherComprehensiveIncomeLossTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/BorrowingArrangements" xlink:href="erie-20181231.xsd#BorrowingArrangements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/BorrowingArrangementsBankLineOfCreditDetails" xlink:href="erie-20181231.xsd#BorrowingArrangementsBankLineOfCreditDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/BorrowingArrangementsTables" xlink:href="erie-20181231.xsd#BorrowingArrangementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/BorrowingArrangementsTermLoanCreditFacilityDetails" xlink:href="erie-20181231.xsd#BorrowingArrangementsTermLoanCreditFacilityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CapitalStock" xlink:href="erie-20181231.xsd#CapitalStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CapitalStockClassAndBCommonStockDetails" xlink:href="erie-20181231.xsd#CapitalStockClassAndBCommonStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CapitalStockStockRepurchasesDetails" xlink:href="erie-20181231.xsd#CapitalStockStockRepurchasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CommitmentsAndContingencies" xlink:href="erie-20181231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CommitmentsAndContingenciesDetails" xlink:href="erie-20181231.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/ConcentrationsOfCreditRisk" xlink:href="erie-20181231.xsd#ConcentrationsOfCreditRisk" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/ConcentrationsOfCreditRiskDetails" xlink:href="erie-20181231.xsd#ConcentrationsOfCreditRiskDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/DocumentAndEntityInformation" xlink:href="erie-20181231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShare" xlink:href="erie-20181231.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShareDetails" xlink:href="erie-20181231.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShareTables" xlink:href="erie-20181231.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValue" xlink:href="erie-20181231.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsOnRecurringBasisByAssetClassAndLevelOfInputDetails" xlink:href="erie-20181231.xsd#FairValueFairValueMeasurementsOnRecurringBasisByAssetClassAndLevelOfInputDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsOnRecurringBasisByPricingSourceDetails" xlink:href="erie-20181231.xsd#FairValueFairValueMeasurementsOnRecurringBasisByPricingSourceDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsOnRecurringBasisUnobservableInputReconciliationDetails" xlink:href="erie-20181231.xsd#FairValueFairValueMeasurementsOnRecurringBasisUnobservableInputReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueFinancialInstrumentsDisclosedNotCarriedAtFairValueDetails" xlink:href="erie-20181231.xsd#FairValueFinancialInstrumentsDisclosedNotCarriedAtFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueTables" xlink:href="erie-20181231.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FixedAssets" xlink:href="erie-20181231.xsd#FixedAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FixedAssetsDetails" xlink:href="erie-20181231.xsd#FixedAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FixedAssetsTables" xlink:href="erie-20181231.xsd#FixedAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlans" xlink:href="erie-20181231.xsd#IncentiveAndDeferredCompensationPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansNarrativeDetails" xlink:href="erie-20181231.xsd#IncentiveAndDeferredCompensationPlansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansTableDetails" xlink:href="erie-20181231.xsd#IncentiveAndDeferredCompensationPlansTableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansTables" xlink:href="erie-20181231.xsd#IncentiveAndDeferredCompensationPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxes" xlink:href="erie-20181231.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="erie-20181231.xsd#IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesProvisionForIncomeTaxDetails" xlink:href="erie-20181231.xsd#IncomeTaxesProvisionForIncomeTaxDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesReconciliationOfProvisionForIncomeTaxesDetails" xlink:href="erie-20181231.xsd#IncomeTaxesReconciliationOfProvisionForIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesTables" xlink:href="erie-20181231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesUnrecognizedTaxBenefitDetails" xlink:href="erie-20181231.xsd#IncomeTaxesUnrecognizedTaxBenefitDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/Investments" xlink:href="erie-20181231.xsd#Investments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsAmortizedCostAndEstimatedFairValueOfAfsSecuritiesDetails" xlink:href="erie-20181231.xsd#InvestmentsAmortizedCostAndEstimatedFairValueOfAfsSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsCostAndFairValueOfAfsSecuritiesDetails" xlink:href="erie-20181231.xsd#InvestmentsCostAndFairValueOfAfsSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsEquityInEarningsLossesOfLimitedPartnershipsDetails" xlink:href="erie-20181231.xsd#InvestmentsEquityInEarningsLossesOfLimitedPartnershipsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsGrossUnrealizedLossPositionsDetails" xlink:href="erie-20181231.xsd#InvestmentsGrossUnrealizedLossPositionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsLimitedPartnershipInvestmentsBySectorDetails" xlink:href="erie-20181231.xsd#InvestmentsLimitedPartnershipInvestmentsBySectorDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomeDetails" xlink:href="erie-20181231.xsd#InvestmentsNetInvestmentIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsRealizedInvestmentGainsLossesAndImpairmentsDetails" xlink:href="erie-20181231.xsd#InvestmentsRealizedInvestmentGainsLossesAndImpairmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsTables" xlink:href="erie-20181231.xsd#InvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/NatureOfOperations" xlink:href="erie-20181231.xsd#NatureOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/NatureOfOperationsDetails" xlink:href="erie-20181231.xsd#NatureOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefits" xlink:href="erie-20181231.xsd#PostretirementBenefits" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsAccumulatedOtherComprehensiveIncomeDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsActuarialAssumptionsDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsActuarialAssumptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsAssetAllocationDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsAssetAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsBenefitObligationsDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsBenefitObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsCostOfPensionPlansDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsCostOfPensionPlansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsEmployeeSavingsPlanDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsEmployeeSavingsPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsEstimatedFutureBenefitPaymentsDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsEstimatedFutureBenefitPaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsFairValueMeasurementForPensionPlanAssetsByMajorCategoryAndLevelOfInputDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsFairValueMeasurementForPensionPlanAssetsByMajorCategoryAndLevelOfInputDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsFundingPolicyFundedStatusDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsFundingPolicyFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsOtherComprehensiveIncomeDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsPensionAssetsDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsPensionAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsProjectedAndAccumulatedBenefitObligationDetails" xlink:href="erie-20181231.xsd#PostretirementBenefitsProjectedAndAccumulatedBenefitObligationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsTables" xlink:href="erie-20181231.xsd#PostretirementBenefitsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnaudited" xlink:href="erie-20181231.xsd#QuarterlyResultsOfOperationsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnauditedDetails" xlink:href="erie-20181231.xsd#QuarterlyResultsOfOperationsUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnauditedTables" xlink:href="erie-20181231.xsd#QuarterlyResultsOfOperationsUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/RelatedParty" xlink:href="erie-20181231.xsd#RelatedParty" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/RelatedPartyDetails" xlink:href="erie-20181231.xsd#RelatedPartyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/Revenue" xlink:href="erie-20181231.xsd#Revenue" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/RevenueDisaggregationOfRevenueDetails" xlink:href="erie-20181231.xsd#RevenueDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/RevenueNarrativeDetails" xlink:href="erie-20181231.xsd#RevenueNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/RevenueTables" xlink:href="erie-20181231.xsd#RevenueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SignificantAccountingPolicies" xlink:href="erie-20181231.xsd#SignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SignificantAccountingPoliciesDetails" xlink:href="erie-20181231.xsd#SignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SignificantAccountingPoliciesPolicies" xlink:href="erie-20181231.xsd#SignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SignificantAccountingPoliciesTables" xlink:href="erie-20181231.xsd#SignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfCashFlows" xlink:href="erie-20181231.xsd#StatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfComprehensiveIncome" xlink:href="erie-20181231.xsd#StatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfFinancialPosition" xlink:href="erie-20181231.xsd#StatementsOfFinancialPosition" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfFinancialPositionParenthetical" xlink:href="erie-20181231.xsd#StatementsOfFinancialPositionParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfOperations" xlink:href="erie-20181231.xsd#StatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfShareholdersEquity" xlink:href="erie-20181231.xsd#StatementsOfShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfShareholdersEquityParenthetical" xlink:href="erie-20181231.xsd#StatementsOfShareholdersEquityParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SubsequentEvents" xlink:href="erie-20181231.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlows" xlink:href="erie-20181231.xsd#SupplementaryDataOnCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlowsDetails" xlink:href="erie-20181231.xsd#SupplementaryDataOnCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlowsTables" xlink:href="erie-20181231.xsd#SupplementaryDataOnCashFlowsTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLoss" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_107dc47f-3e8e-936e-b56d-159a71d56806" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_e89ca2aa-57c2-7da1-ce21-9385e8d6f5ea" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_107dc47f-3e8e-936e-b56d-159a71d56806" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_e89ca2aa-57c2-7da1-ce21-9385e8d6f5ea" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_426e7037-e52e-6d57-8593-8389365a6ce7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_e89ca2aa-57c2-7da1-ce21-9385e8d6f5ea" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_426e7037-e52e-6d57-8593-8389365a6ce7" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodbeforeTax" xlink:label="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodbeforeTax_cd9628ca-309e-88a2-2e16-2a68f6e4885a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_e89ca2aa-57c2-7da1-ce21-9385e8d6f5ea" xlink:to="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodbeforeTax_cd9628ca-309e-88a2-2e16-2a68f6e4885a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_38e7043a-91a1-7307-7d5a-7edbcdf6d346" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_e89ca2aa-57c2-7da1-ce21-9385e8d6f5ea" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_38e7043a-91a1-7307-7d5a-7edbcdf6d346" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_e144f3cc-0e6d-cd4c-a322-5e610d054f00" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_e89ca2aa-57c2-7da1-ce21-9385e8d6f5ea" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_e144f3cc-0e6d-cd4c-a322-5e610d054f00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOnRetainedEarningsBeforeTax1" xlink:label="loc_us-gaap_CumulativeEffectOnRetainedEarningsBeforeTax1_422a4999-cf8a-d4e4-4818-80c22b772031" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_e89ca2aa-57c2-7da1-ce21-9385e8d6f5ea" xlink:to="loc_us-gaap_CumulativeEffectOnRetainedEarningsBeforeTax1_422a4999-cf8a-d4e4-4818-80c22b772031" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_46a63388-1692-9e81-35ca-b528fc50538d" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_107dc47f-3e8e-936e-b56d-159a71d56806" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_46a63388-1692-9e81-35ca-b528fc50538d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_93031feb-5073-29f8-6c9d-28bf167ef08e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_46a63388-1692-9e81-35ca-b528fc50538d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_93031feb-5073-29f8-6c9d-28bf167ef08e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_5a6927f8-c962-c8c0-1e84-0cb09af136b4" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_46a63388-1692-9e81-35ca-b528fc50538d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_5a6927f8-c962-c8c0-1e84-0cb09af136b4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_95aef994-7a6a-9ba8-df38-1ad015d6c8d2" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_46a63388-1692-9e81-35ca-b528fc50538d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_95aef994-7a6a-9ba8-df38-1ad015d6c8d2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_d5bd8d70-886a-3688-e1b8-74f7295453e4" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_46a63388-1692-9e81-35ca-b528fc50538d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_d5bd8d70-886a-3688-e1b8-74f7295453e4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_d84f6a7f-e40b-fc44-e6cf-69cd696f9ea9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_89ed616e-b8f9-7a3f-5a49-116a83778eb0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_d84f6a7f-e40b-fc44-e6cf-69cd696f9ea9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_89ed616e-b8f9-7a3f-5a49-116a83778eb0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_ab8c2fc6-1521-82fd-e60d-3dd83346ddee" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_89ed616e-b8f9-7a3f-5a49-116a83778eb0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_ab8c2fc6-1521-82fd-e60d-3dd83346ddee" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodTax" xlink:label="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodTax_57b39efc-cfdb-8f8e-a0ba-2a68f6b9cc45" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_89ed616e-b8f9-7a3f-5a49-116a83778eb0" xlink:to="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodTax_57b39efc-cfdb-8f8e-a0ba-2a68f6b9cc45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_6b32c7c9-8957-d483-4b4c-707c49fdf64f" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_89ed616e-b8f9-7a3f-5a49-116a83778eb0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_6b32c7c9-8957-d483-4b4c-707c49fdf64f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_0adccca8-d5f5-20d9-2490-7e70d8c19628" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_89ed616e-b8f9-7a3f-5a49-116a83778eb0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_0adccca8-d5f5-20d9-2490-7e70d8c19628" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOnRetainedEarningsTax1" xlink:label="loc_us-gaap_CumulativeEffectOnRetainedEarningsTax1_7fcd6a7e-0bce-c5c1-1b1b-6f5050894416" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_89ed616e-b8f9-7a3f-5a49-116a83778eb0" xlink:to="loc_us-gaap_CumulativeEffectOnRetainedEarningsTax1_7fcd6a7e-0bce-c5c1-1b1b-6f5050894416" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_59dd63a3-bf29-3cd3-6c59-84a59c81fff7" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_d84f6a7f-e40b-fc44-e6cf-69cd696f9ea9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_59dd63a3-bf29-3cd3-6c59-84a59c81fff7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax_576812f8-df93-55ed-ef2d-83ba55b5a038" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_59dd63a3-bf29-3cd3-6c59-84a59c81fff7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax_576812f8-df93-55ed-ef2d-83ba55b5a038" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_4463f818-74ef-a1e6-fe4f-ccb94221236d" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_59dd63a3-bf29-3cd3-6c59-84a59c81fff7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_4463f818-74ef-a1e6-fe4f-ccb94221236d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_a5f0ece2-bf3e-3c51-e36e-b2dc7c6682d9" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_59dd63a3-bf29-3cd3-6c59-84a59c81fff7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_a5f0ece2-bf3e-3c51-e36e-b2dc7c6682d9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_98ea4fb3-2ce4-3c20-ba72-65b8e29073d1" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_59dd63a3-bf29-3cd3-6c59-84a59c81fff7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_98ea4fb3-2ce4-3c20-ba72-65b8e29073d1" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossDefinedBenefitPlanafterReclassificationAdjustmentTaxAttributabletoParent" xlink:label="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossDefinedBenefitPlanafterReclassificationAdjustmentTaxAttributabletoParent_7312e192-01e9-0f60-b3f0-2a68f689ac60" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_59dd63a3-bf29-3cd3-6c59-84a59c81fff7" xlink:to="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossDefinedBenefitPlanafterReclassificationAdjustmentTaxAttributabletoParent_7312e192-01e9-0f60-b3f0-2a68f689ac60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_6df44786-4260-4fa4-e123-591abd5e882d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_6df44786-4260-4fa4-e123-591abd5e882d" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodNetofTax" xlink:label="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodNetofTax_e03474e2-5e56-ed88-35b5-2a68f7015a71" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:to="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossUnrealizedHoldingGainLossonSecuritiesArisingDuringPeriodNetofTax_e03474e2-5e56-ed88-35b5-2a68f7015a71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_5018ac42-f22a-8f01-2030-b43a520a4ea1" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_5018ac42-f22a-8f01-2030-b43a520a4ea1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_1b550a9b-773c-82da-9d57-52924b92df4d" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_1b550a9b-773c-82da-9d57-52924b92df4d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOnRetainedEarningsNetOfTax1" xlink:label="loc_us-gaap_CumulativeEffectOnRetainedEarningsNetOfTax1_b1446a0c-2b78-bdc1-fb7b-bef0288e94de" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:to="loc_us-gaap_CumulativeEffectOnRetainedEarningsNetOfTax1_b1446a0c-2b78-bdc1-fb7b-bef0288e94de" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_5c7f2baa-fa27-0288-c1be-5b6df7289f07" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_5c7f2baa-fa27-0288-c1be-5b6df7289f07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_df6ca9c6-9b90-b610-354f-a75a1a563b7b" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_df6ca9c6-9b90-b610-354f-a75a1a563b7b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_692e22e6-3994-7bbf-3051-c279fe8930ff" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_692e22e6-3994-7bbf-3051-c279fe8930ff" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_a6409233-313d-9640-2900-4ca4824b80b4" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_a6409233-313d-9640-2900-4ca4824b80b4" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossDefinedBenefitPlanafterTaxandReclassificationAdjustmentAttributabletoParent" xlink:label="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossDefinedBenefitPlanafterTaxandReclassificationAdjustmentAttributabletoParent_7c998885-4a3f-bc32-2d51-2a68f5df8101" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:to="loc_erie_TaxCutsandJobsActof2017OtherComprehensiveIncomeLossDefinedBenefitPlanafterTaxandReclassificationAdjustmentAttributabletoParent_7c998885-4a3f-bc32-2d51-2a68f5df8101" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/BorrowingArrangements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/BorrowingArrangementsBankLineOfCreditDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/BorrowingArrangementsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/BorrowingArrangementsTermLoanCreditFacilityDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CapitalStock" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CapitalStockClassAndBCommonStockDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CapitalStockStockRepurchasesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/ConcentrationsOfCreditRisk" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/ConcentrationsOfCreditRiskDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/EarningsPerShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/EarningsPerShareDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValue" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsOnRecurringBasisByAssetClassAndLevelOfInputDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_a786ac72-7b36-d915-a262-d97f0559057f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_a786ac72-7b36-d915-a262-d97f0559057f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNi" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_e7e4ebea-e4ff-f1c9-d06d-dd805834304e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_a786ac72-7b36-d915-a262-d97f0559057f" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_e7e4ebea-e4ff-f1c9-d06d-dd805834304e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AlternativeInvestment" xlink:label="loc_us-gaap_AlternativeInvestment_17e794eb-fddc-1a34-ca2a-f04c687ade0d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_a786ac72-7b36-d915-a262-d97f0559057f" xlink:to="loc_us-gaap_AlternativeInvestment_17e794eb-fddc-1a34-ca2a-f04c687ade0d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsOnRecurringBasisByPricingSourceDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_a786ac72-7b36-d915-a262-d97f0559057f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_a786ac72-7b36-d915-a262-d97f0559057f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNi" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_e7e4ebea-e4ff-f1c9-d06d-dd805834304e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_a786ac72-7b36-d915-a262-d97f0559057f" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_e7e4ebea-e4ff-f1c9-d06d-dd805834304e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AlternativeInvestment" xlink:label="loc_us-gaap_AlternativeInvestment_17e794eb-fddc-1a34-ca2a-f04c687ade0d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_a786ac72-7b36-d915-a262-d97f0559057f" xlink:to="loc_us-gaap_AlternativeInvestment_17e794eb-fddc-1a34-ca2a-f04c687ade0d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsOnRecurringBasisUnobservableInputReconciliationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValueFinancialInstrumentsDisclosedNotCarriedAtFairValueDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValueTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FixedAssets" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FixedAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="erie-20181231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_cf582a45-a2bd-45f9-ba9b-6b85c36e0ba6" xlink:type="locator" />
    <link:loc xlink:href="erie-20181231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_0fbb9d7b-2321-a971-b2f6-2a68f50a2093" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_cf582a45-a2bd-45f9-ba9b-6b85c36e0ba6" xlink:to="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_0fbb9d7b-2321-a971-b2f6-2a68f50a2093" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets" xlink:label="loc_erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets_21403d10-0dd0-6193-a64a-2a68f6af7863" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_cf582a45-a2bd-45f9-ba9b-6b85c36e0ba6" xlink:to="loc_erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets_21403d10-0dd0-6193-a64a-2a68f6af7863" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FixedAssetsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlans" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansTableDetails" xlink:type="extended">
    <link:loc xlink:href="erie-20181231.xsd#erie_DeferredCompensationArrangementWithIndividualLiabilityIncurredDuringPeriod" xlink:label="loc_erie_DeferredCompensationArrangementWithIndividualLiabilityIncurredDuringPeriod_2b7eda3f-a80f-943d-1de9-2a68f6ec064a" xlink:type="locator" />
    <link:loc xlink:href="erie-20181231.xsd#erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings" xlink:label="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_a137b201-6077-6ef0-2ac4-2a68f692282f" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_DeferredCompensationArrangementWithIndividualLiabilityIncurredDuringPeriod_2b7eda3f-a80f-943d-1de9-2a68f6ec064a" xlink:to="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_a137b201-6077-6ef0-2ac4-2a68f692282f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLaborRelatedExpenses" xlink:label="loc_us-gaap_OtherLaborRelatedExpenses_44229eaa-5cb8-2cf0-a2cb-dd2719e22968" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_a137b201-6077-6ef0-2ac4-2a68f692282f" xlink:to="loc_us-gaap_OtherLaborRelatedExpenses_44229eaa-5cb8-2cf0-a2cb-dd2719e22968" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_AllocatedSharebasedCompensationExpenseGross" xlink:label="loc_erie_AllocatedSharebasedCompensationExpenseGross_a5bfad3b-79fd-b8fb-c9a0-2a68f5084fe0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_a137b201-6077-6ef0-2ac4-2a68f692282f" xlink:to="loc_erie_AllocatedSharebasedCompensationExpenseGross_a5bfad3b-79fd-b8fb-c9a0-2a68f5084fe0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_08c0127a-8772-fb43-2f93-3d6084890dfa" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_a137b201-6077-6ef0-2ac4-2a68f692282f" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_08c0127a-8772-fb43-2f93-3d6084890dfa" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_IncentivePlanCompensationTotalLiabilitiesPaid" xlink:label="loc_erie_IncentivePlanCompensationTotalLiabilitiesPaid_93c3f5a8-9a99-2aa9-535d-2a68f73daba1" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_DeferredCompensationArrangementWithIndividualLiabilityIncurredDuringPeriod_2b7eda3f-a80f-943d-1de9-2a68f6ec064a" xlink:to="loc_erie_IncentivePlanCompensationTotalLiabilitiesPaid_93c3f5a8-9a99-2aa9-535d-2a68f73daba1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsGrossNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_7e482f90-a463-6257-094f-b6a889541255" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_7e482f90-a463-6257-094f-b6a889541255" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_059ea1c5-ba15-6d4b-3fb5-5fbf937cf251" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_7e482f90-a463-6257-094f-b6a889541255" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_059ea1c5-ba15-6d4b-3fb5-5fbf937cf251" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionsAndPostretirementBenefits" xlink:label="loc_erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionsAndPostretirementBenefits_28787053-84ab-aae9-d6b6-2a68f772727f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_7e482f90-a463-6257-094f-b6a889541255" xlink:to="loc_erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionsAndPostretirementBenefits_28787053-84ab-aae9-d6b6-2a68f772727f" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_DeferredTaxAssetsNetAllowanceforPremiumCancellations" xlink:label="loc_erie_DeferredTaxAssetsNetAllowanceforPremiumCancellations_ea7189e4-df23-900c-c458-2a68f4fe467d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_7e482f90-a463-6257-094f-b6a889541255" xlink:to="loc_erie_DeferredTaxAssetsNetAllowanceforPremiumCancellations_ea7189e4-df23-900c-c458-2a68f4fe467d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsDeferredIncome" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_0e2dc226-85ed-d782-cf37-e83741c371ce" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_7e482f90-a463-6257-094f-b6a889541255" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_0e2dc226-85ed-d782-cf37-e83741c371ce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsInvestments" xlink:label="loc_us-gaap_DeferredTaxAssetsInvestments_22e3da68-7946-0a0f-d69b-e483e3eac978" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_7e482f90-a463-6257-094f-b6a889541255" xlink:to="loc_us-gaap_DeferredTaxAssetsInvestments_22e3da68-7946-0a0f-d69b-e483e3eac978" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_0cc13c2f-6b23-b741-4f28-07325c7e7169" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_7e482f90-a463-6257-094f-b6a889541255" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_0cc13c2f-6b23-b741-4f28-07325c7e7169" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGrossNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_6c3a5ad4-509d-5efe-88e8-9022374b2860" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_6c3a5ad4-509d-5efe-88e8-9022374b2860" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_4ed01819-014a-ce74-957e-ddc9b0c1d62e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_6c3a5ad4-509d-5efe-88e8-9022374b2860" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_4ed01819-014a-ce74-957e-ddc9b0c1d62e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_bf91fc79-ffa7-5391-a432-8fad97ca53a5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_6c3a5ad4-509d-5efe-88e8-9022374b2860" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_bf91fc79-ffa7-5391-a432-8fad97ca53a5" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_DeferredTaxLiabilitiesAdvanceCommissions" xlink:label="loc_erie_DeferredTaxLiabilitiesAdvanceCommissions_5EB8C32718A730F03E05F454A80BF4EB" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_6c3a5ad4-509d-5efe-88e8-9022374b2860" xlink:to="loc_erie_DeferredTaxLiabilitiesAdvanceCommissions_5EB8C32718A730F03E05F454A80BF4EB" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_DeferredTaxLiabilitiesEquityMethodInvestments" xlink:label="loc_erie_DeferredTaxLiabilitiesEquityMethodInvestments_75fdf08a-cd31-ee75-cc9e-2a68f518ab9a" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_6c3a5ad4-509d-5efe-88e8-9022374b2860" xlink:to="loc_erie_DeferredTaxLiabilitiesEquityMethodInvestments_75fdf08a-cd31-ee75-cc9e-2a68f518ab9a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesInvestments" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestments_575ad274-a30b-b886-76b8-b0a322b09958" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_6c3a5ad4-509d-5efe-88e8-9022374b2860" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestments_575ad274-a30b-b886-76b8-b0a322b09958" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_3e7fd080-3ec6-50fa-98f3-b61bc68dbdcf" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_6c3a5ad4-509d-5efe-88e8-9022374b2860" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_3e7fd080-3ec6-50fa-98f3-b61bc68dbdcf" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesProvisionForIncomeTaxDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_816edbc5-9d4b-113c-7ce2-6c08dd555314" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_816edbc5-9d4b-113c-7ce2-6c08dd555314" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_c0417e1a-a792-0ce9-51ca-4b55a579aa55" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_c0417e1a-a792-0ce9-51ca-4b55a579aa55" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesReconciliationOfProvisionForIncomeTaxesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesUnrecognizedTaxBenefitDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/Investments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsAmortizedCostAndEstimatedFairValueOfAfsSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_a97722c4-c88e-0258-6d8c-8f5c45929660" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_a97722c4-c88e-0258-6d8c-8f5c45929660" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_ad47d869-5bf7-62ba-8427-e58f9319b050" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_ad47d869-5bf7-62ba-8427-e58f9319b050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_e50aac2c-ef64-4942-acff-fb35c69b9a7d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_e50aac2c-ef64-4942-acff-fb35c69b9a7d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_74070219-b8a4-ccaf-5a43-c0049bc918af" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_74070219-b8a4-ccaf-5a43-c0049bc918af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_329a232f-6b5a-4dfb-de74-33d6f53aa8f1" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_329a232f-6b5a-4dfb-de74-33d6f53aa8f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb6f3730-d49d-30bc-8e52-6eba94f7dba4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb6f3730-d49d-30bc-8e52-6eba94f7dba4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_1f4f4376-806c-dd72-8312-c94d523600df" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_1f4f4376-806c-dd72-8312-c94d523600df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_d316f11c-0e79-8624-0aa3-665874b29cb1" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_d316f11c-0e79-8624-0aa3-665874b29cb1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsCostAndFairValueOfAfsSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5d23fa7e-7f76-6507-b72f-382f81b88e34" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5d23fa7e-7f76-6507-b72f-382f81b88e34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e0f935d0-20e2-15fc-55a1-79c116fbc07c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e0f935d0-20e2-15fc-55a1-79c116fbc07c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_0c37b992-ed63-c343-3bce-40db48c88fa6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ca3fdc92-5bc4-ace2-ea95-801ea8b509c5" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_0c37b992-ed63-c343-3bce-40db48c88fa6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ca3fdc92-5bc4-ace2-ea95-801ea8b509c5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_f3b99f95-1768-5254-1fcc-c01c9fbbdc02" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_0c37b992-ed63-c343-3bce-40db48c88fa6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_f3b99f95-1768-5254-1fcc-c01c9fbbdc02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_0c37b992-ed63-c343-3bce-40db48c88fa6" xlink:to="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleEquitySecuritiesAmortizedCostBasis_9c74be6a-ed30-d942-2f0b-0f1432d0f9ca" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax_575b0f48-55ba-0002-a7df-3e0eb0019b2b" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleEquitySecuritiesAmortizedCostBasis_9c74be6a-ed30-d942-2f0b-0f1432d0f9ca" xlink:to="loc_us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax_575b0f48-55ba-0002-a7df-3e0eb0019b2b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax_78a016e8-0b19-58b3-fac5-439ed05edc5c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleEquitySecuritiesAmortizedCostBasis_9c74be6a-ed30-d942-2f0b-0f1432d0f9ca" xlink:to="loc_us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax_78a016e8-0b19-58b3-fac5-439ed05edc5c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesEquitySecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesEquitySecurities_ab3c5ad9-c234-4123-0af6-37d2a2bab75c" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleEquitySecuritiesAmortizedCostBasis_9c74be6a-ed30-d942-2f0b-0f1432d0f9ca" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesEquitySecurities_ab3c5ad9-c234-4123-0af6-37d2a2bab75c" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsEquityInEarningsLossesOfLimitedPartnershipsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsGrossUnrealizedLossPositionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_97b62833-0a42-058f-3886-4b4d65c49079" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_97b62833-0a42-058f-3886-4b4d65c49079" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_db9e5922-2e70-406b-1ac3-0318ebdc102f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_5ad2bd9a-8a3d-b589-f487-66423fdb193d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_db9e5922-2e70-406b-1ac3-0318ebdc102f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_9dc7d38b-d1f1-ee4c-83ca-bf0de39ac02c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_9dc7d38b-d1f1-ee4c-83ca-bf0de39ac02c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_540feb58-a104-9e2c-e527-965521238e74" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5fba5b8c-f33f-c8fe-316d-96157b5eaddf" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_540feb58-a104-9e2c-e527-965521238e74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_21dbd9b5-9402-9b48-c80f-55c05859049a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_e991d53f-4f66-a242-d5d9-e6c95927fda6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_21dbd9b5-9402-9b48-c80f-55c05859049a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_e991d53f-4f66-a242-d5d9-e6c95927fda6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_2ec346ac-a553-2cef-6e17-f2c22a07e160" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_21dbd9b5-9402-9b48-c80f-55c05859049a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_2ec346ac-a553-2cef-6e17-f2c22a07e160" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_fae49264-8cd8-cd75-24c8-5deb13fb3298" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_a2b26c5c-64f3-c94e-2a89-4348115e8a52" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_fae49264-8cd8-cd75-24c8-5deb13fb3298" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_a2b26c5c-64f3-c94e-2a89-4348115e8a52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_fdcdc5e9-d791-824c-e870-84106782383a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_fae49264-8cd8-cd75-24c8-5deb13fb3298" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_fdcdc5e9-d791-824c-e870-84106782383a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsLimitedPartnershipInvestmentsBySectorDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetInvestmentIncome" xlink:label="loc_us-gaap_NetInvestmentIncome_0779cbb1-ab49-dff5-459c-82b1cf8f776c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_0779cbb1-ab49-dff5-459c-82b1cf8f776c" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_160c31b5-6ea9-cf10-11f2-7bf68d2e5684" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_0779cbb1-ab49-dff5-459c-82b1cf8f776c" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_160c31b5-6ea9-cf10-11f2-7bf68d2e5684" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsRealizedInvestmentGainsLossesAndImpairmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnInvestmentsExcludingOtherThanTemporaryImpairments" xlink:label="loc_us-gaap_GainLossOnInvestmentsExcludingOtherThanTemporaryImpairments_16685de5-b57c-26a8-b1c3-c700bfd40f57" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment_0e0bbe88-8a2a-b855-505d-6dfdea94d04e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnInvestmentsExcludingOtherThanTemporaryImpairments_16685de5-b57c-26a8-b1c3-c700bfd40f57" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment_0e0bbe88-8a2a-b855-505d-6dfdea94d04e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_8d287183-6757-87ff-f881-d370d24697b6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment_0e0bbe88-8a2a-b855-505d-6dfdea94d04e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_8d287183-6757-87ff-f881-d370d24697b6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLossExcludingOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLossExcludingOtherThanTemporaryImpairment_366ab535-e913-11b8-574b-ce58f536fc3c" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment_0e0bbe88-8a2a-b855-505d-6dfdea94d04e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLossExcludingOtherThanTemporaryImpairment_366ab535-e913-11b8-574b-ce58f536fc3c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingSecuritiesRealizedGainLoss" xlink:label="loc_us-gaap_TradingSecuritiesRealizedGainLoss_5bcf84a0-0370-42df-75cc-4407276d910f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnInvestmentsExcludingOtherThanTemporaryImpairments_16685de5-b57c-26a8-b1c3-c700bfd40f57" xlink:to="loc_us-gaap_TradingSecuritiesRealizedGainLoss_5bcf84a0-0370-42df-75cc-4407276d910f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_769dfb75-9711-aaea-9277-d2bbd807826d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnInvestmentsExcludingOtherThanTemporaryImpairments_16685de5-b57c-26a8-b1c3-c700bfd40f57" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_769dfb75-9711-aaea-9277-d2bbd807826d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNiGainLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_2b666e20-754c-669b-958a-aead6bb590ea" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNiRealizedLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiRealizedLoss_a42a0439-9d13-0f44-86b9-435be9b5719a" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_2b666e20-754c-669b-958a-aead6bb590ea" xlink:to="loc_us-gaap_EquitySecuritiesFvNiRealizedLoss_a42a0439-9d13-0f44-86b9-435be9b5719a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_7dc79878-6c70-80cd-fdf9-04f13ac557f6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_2b666e20-754c-669b-958a-aead6bb590ea" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_7dc79878-6c70-80cd-fdf9-04f13ac557f6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/NatureOfOperations" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/NatureOfOperationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefits" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_0f27487e-3d5a-f377-0098-b0e848cdad0f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_489d8e73-cdae-5246-456e-868aff0fc625" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_0f27487e-3d5a-f377-0098-b0e848cdad0f" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_489d8e73-cdae-5246-456e-868aff0fc625" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_5cad856d-5bc0-8a6d-8833-76680f9c72f2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_0f27487e-3d5a-f377-0098-b0e848cdad0f" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_5cad856d-5bc0-8a6d-8833-76680f9c72f2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsActuarialAssumptionsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsAssetAllocationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsBenefitObligationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsCostOfPensionPlansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_50c65441-5a4a-7b70-8a6f-4bdf84901dd7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_50c65441-5a4a-7b70-8a6f-4bdf84901dd7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_cc5d4539-1440-3488-daaf-595604d399d2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_cc5d4539-1440-3488-daaf-595604d399d2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_9eb8402e-17f1-615b-f0e0-f772c38d36ef" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_9eb8402e-17f1-615b-f0e0-f772c38d36ef" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_ec71b0cf-49f0-3a78-6e16-666ec068d28b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_ec71b0cf-49f0-3a78-6e16-666ec068d28b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_238da213-7798-05e5-0178-b455f068fdf8" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_238da213-7798-05e5-0178-b455f068fdf8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_b17de128-f18c-817b-432c-86b6aa989e9c" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_f8c4af80-3396-31ad-927b-214035fcad4c" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_b17de128-f18c-817b-432c-86b6aa989e9c" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsEmployeeSavingsPlanDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsEstimatedFutureBenefitPaymentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsFairValueMeasurementForPensionPlanAssetsByMajorCategoryAndLevelOfInputDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsFundingPolicyFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_2d5546a4-8b53-2ef1-d832-815ad7991004" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_5e365827-bf0d-168e-f956-8f25804ef1a5" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_2d5546a4-8b53-2ef1-d832-815ad7991004" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_5e365827-bf0d-168e-f956-8f25804ef1a5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_6f82a12e-6684-54bf-1831-9d2ce53cc448" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_2d5546a4-8b53-2ef1-d832-815ad7991004" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_6f82a12e-6684-54bf-1831-9d2ce53cc448" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_a21d0c25-d067-9812-e027-283668283711" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_7a6b3159-85c2-3cb7-35ae-a023bdf89f97" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_a21d0c25-d067-9812-e027-283668283711" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_7a6b3159-85c2-3cb7-35ae-a023bdf89f97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_95aef994-7a6a-9ba8-df38-1ad015d6c8d2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_a21d0c25-d067-9812-e027-283668283711" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_95aef994-7a6a-9ba8-df38-1ad015d6c8d2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_5a6927f8-c962-c8c0-1e84-0cb09af136b4" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_a21d0c25-d067-9812-e027-283668283711" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_5a6927f8-c962-c8c0-1e84-0cb09af136b4" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_OtherComprehensiveIncomeDefinedBenefitPlansAmendmentsDuringPeriodBeforeTax" xlink:label="loc_erie_OtherComprehensiveIncomeDefinedBenefitPlansAmendmentsDuringPeriodBeforeTax_7f66fa8c-6caf-5fe0-535c-2a68f77c63ee" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_a21d0c25-d067-9812-e027-283668283711" xlink:to="loc_erie_OtherComprehensiveIncomeDefinedBenefitPlansAmendmentsDuringPeriodBeforeTax_7f66fa8c-6caf-5fe0-535c-2a68f77c63ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_d5bd8d70-886a-3688-e1b8-74f7295453e4" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_a21d0c25-d067-9812-e027-283668283711" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_d5bd8d70-886a-3688-e1b8-74f7295453e4" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsPensionAssetsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsProjectedAndAccumulatedBenefitObligationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnaudited" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnauditedDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_a2f4cf19-54a3-c9c5-9b4d-23b76125e270" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_OperatingExpenses_a2f4cf19-54a3-c9c5-9b4d-23b76125e270" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentIncomeNonoperating" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_41f55a94-ade0-0e57-7055-ac01c4897210" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_InvestmentIncomeNonoperating_41f55a94-ade0-0e57-7055-ac01c4897210" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_InterestExpenseandOtherNonoperatingIncomeExpenseNet" xlink:label="loc_erie_InterestExpenseandOtherNonoperatingIncomeExpenseNet_EE8A196E4E1627F2AD3AF256D21E5397" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_erie_InterestExpenseandOtherNonoperatingIncomeExpenseNet_EE8A196E4E1627F2AD3AF256D21E5397" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnauditedTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/RelatedParty" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/RelatedPartyDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/Revenue" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/RevenueDisaggregationOfRevenueDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/RevenueNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/RevenueTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SignificantAccountingPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:type="locator" />
    <link:loc xlink:href="erie-20181231.xsd#erie_RevenuefromContractwithCustomerExcludingAssessedTaxGross" xlink:label="loc_erie_RevenuefromContractwithCustomerExcludingAssessedTaxGross_01e8d6ec-8c4a-8525-3b59-6b85c35d7fbc" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:to="loc_erie_RevenuefromContractwithCustomerExcludingAssessedTaxGross_01e8d6ec-8c4a-8525-3b59-6b85c35d7fbc" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_RevenuefromContractwithCustomerExcludingAssessedTaxPremiumCancellationAllowance" xlink:label="loc_erie_RevenuefromContractwithCustomerExcludingAssessedTaxPremiumCancellationAllowance_78da1db6-b4e4-c75e-18d8-6b85c3f55965" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:to="loc_erie_RevenuefromContractwithCustomerExcludingAssessedTaxPremiumCancellationAllowance_78da1db6-b4e4-c75e-18d8-6b85c3f55965" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/StatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ad8f5587-cd30-97dd-9cf0-81ed4f58516c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ad8f5587-cd30-97dd-9cf0-81ed4f58516c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_ProceedsFromInsuranceAgencyManagementFeesReceived" xlink:label="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_b33b4de9-08c7-c42a-f335-6b85c348620f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_b33b4de9-08c7-c42a-f335-6b85c348620f" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_AdministrativeServicesReimbursementsReceived" xlink:label="loc_erie_AdministrativeServicesReimbursementsReceived_f1af4079-d4fb-248e-e377-6b85c39dda3a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_erie_AdministrativeServicesReimbursementsReceived_f1af4079-d4fb-248e-e377-6b85c39dda3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromFeesReceived" xlink:label="loc_us-gaap_ProceedsFromFeesReceived_cb20e75c-f99a-aa86-eafd-20544fc9a2aa" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProceedsFromFeesReceived_cb20e75c-f99a-aa86-eafd-20544fc9a2aa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromInterestAndDividendsReceived" xlink:label="loc_us-gaap_ProceedsFromInterestAndDividendsReceived_f34aed42-93ea-7029-ebc8-ad61f97624cd" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProceedsFromInterestAndDividendsReceived_f34aed42-93ea-7029-ebc8-ad61f97624cd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_fc492244-7d5a-7cd0-89f2-ebfd74c617eb" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_fc492244-7d5a-7cd0-89f2-ebfd74c617eb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent_795b4f1f-d9b1-ea4f-ee14-6551511fb927" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent_795b4f1f-d9b1-ea4f-ee14-6551511fb927" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForCommissions" xlink:label="loc_us-gaap_PaymentsForCommissions_8aa9764f-8e6f-bb39-05ad-3479ff80af80" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_PaymentsForCommissions_8aa9764f-8e6f-bb39-05ad-3479ff80af80" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_PaymentsForAgentBonuses" xlink:label="loc_erie_PaymentsForAgentBonuses_0b0c8765-9476-a304-05d6-6b85c403f35e" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_erie_PaymentsForAgentBonuses_0b0c8765-9476-a304-05d6-6b85c403f35e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToEmployees" xlink:label="loc_us-gaap_PaymentsToEmployees_38071f91-b392-a3c1-ca06-1475e08b3daa" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_PaymentsToEmployees_38071f91-b392-a3c1-ca06-1475e08b3daa" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses" xlink:label="loc_erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses_b9b9e0c7-5b7f-d05d-63b0-6b85c3f8564b" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses_b9b9e0c7-5b7f-d05d-63b0-6b85c3f8564b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForOtherOperatingActivities" xlink:label="loc_us-gaap_PaymentsForOtherOperatingActivities_bcddf993-040b-7102-3a6f-d8d99dbfed39" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_PaymentsForOtherOperatingActivities_bcddf993-040b-7102-3a6f-d8d99dbfed39" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_AdministrativeServicesExpensesPaid" xlink:label="loc_erie_AdministrativeServicesExpensesPaid_ff1e5f27-0f9d-e084-cc87-6b85c38eef2b" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_erie_AdministrativeServicesExpensesPaid_ff1e5f27-0f9d-e084-cc87-6b85c38eef2b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_279d4c3d-f9a8-39dc-2da8-b290fd028b73" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_279d4c3d-f9a8-39dc-2da8-b290fd028b73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPaidNet" xlink:label="loc_us-gaap_InterestPaidNet_32cae492-b864-2706-d238-ae4295be9038" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_InterestPaidNet_32cae492-b864-2706-d238-ae4295be9038" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ad8f5587-cd30-97dd-9cf0-81ed4f58516c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5a6cca43-79c5-34f3-6172-5859b13486b1" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5a6cca43-79c5-34f3-6172-5859b13486b1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_ee3fb709-d548-2ee3-f8d1-e07a929829cb" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_ee3fb709-d548-2ee3-f8d1-e07a929829cb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireLimitedPartnershipInterests" xlink:label="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests_fb275073-cf8d-5658-8f95-79b8e7497ccf" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests_fb275073-cf8d-5658-8f95-79b8e7497ccf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_33cd5d62-efc5-7725-6424-7800a10af341" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_33cd5d62-efc5-7725-6424-7800a10af341" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b2d1473c-d06a-7053-5039-5cb1510f932e" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b2d1473c-d06a-7053-5039-5cb1510f932e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_501ceb78-782e-aec9-eff2-2bd0a073c870" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_501ceb78-782e-aec9-eff2-2bd0a073c870" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromLimitedPartnershipInvestments" xlink:label="loc_us-gaap_ProceedsFromLimitedPartnershipInvestments_92af9899-6079-6e25-d9b1-c0f4bfd6cbec" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromLimitedPartnershipInvestments_92af9899-6079-6e25-d9b1-c0f4bfd6cbec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_8cec699e-eb8f-7a25-49e6-e52d81fe4f5f" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_8cec699e-eb8f-7a25-49e6-e52d81fe4f5f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_22d4264a-c9a9-de0b-92b4-2261a21c1a6a" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_22d4264a-c9a9-de0b-92b4-2261a21c1a6a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireLoansReceivable" xlink:label="loc_us-gaap_PaymentsToAcquireLoansReceivable_ff98589b-ab30-63fa-312f-cbfc8ee382b4" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireLoansReceivable_ff98589b-ab30-63fa-312f-cbfc8ee382b4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromCollectionOfLoansReceivable" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLoansReceivable_05a3d346-9a51-48a3-a1b6-b8fe7d539e87" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLoansReceivable_05a3d346-9a51-48a3-a1b6-b8fe7d539e87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentOfNotesReceivableFromRelatedParties" xlink:label="loc_us-gaap_RepaymentOfNotesReceivableFromRelatedParties_71e2708d-dbed-a2d2-c337-422e8e94c78c" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_RepaymentOfNotesReceivableFromRelatedParties_71e2708d-dbed-a2d2-c337-422e8e94c78c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_1409fb09-f174-b7de-83f3-7374f9363a4e" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_1409fb09-f174-b7de-83f3-7374f9363a4e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_ab8c8ebe-46ac-38b1-a665-49638d537667" xlink:type="locator" />
    <link:calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_ab8c8ebe-46ac-38b1-a665-49638d537667" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment" xlink:label="loc_us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment_a7f67bbe-03b6-a1a2-3bae-664b27661d61" xlink:type="locator" />
    <link:calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment_a7f67bbe-03b6-a1a2-3bae-664b27661d61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ad8f5587-cd30-97dd-9cf0-81ed4f58516c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_15de0c29-7f29-fc68-dcff-36f8e7ff06d8" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_15de0c29-7f29-fc68-dcff-36f8e7ff06d8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfSecuredDebt" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfSecuredDebt_37eb04b3-6ba6-5ec8-3a09-0ab96fd0ba0e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfSecuredDebt_37eb04b3-6ba6-5ec8-3a09-0ab96fd0ba0e" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/StatementsOfComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f4d6d45b-88d2-a3a4-8afc-7883224dc7d6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/StatementsOfFinancialPosition" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedSalesCommissionCurrent" xlink:label="loc_us-gaap_AccruedSalesCommissionCurrent_0f43cb90-f0db-7574-0de6-798637f20f85" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_AccruedSalesCommissionCurrent_0f43cb90-f0db-7574-0de6-798637f20f85" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_AgentBonusesPayableCurrent" xlink:label="loc_erie_AgentBonusesPayableCurrent_8ccb05ae-523a-8a4e-c300-6b85c39a2c17" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_erie_AgentBonusesPayableCurrent_8ccb05ae-523a-8a4e-c300-6b85c39a2c17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_47ecca60-0dc8-25b2-6295-72031a21e0cb" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_47ecca60-0dc8-25b2-6295-72031a21e0cb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPayableCurrent" xlink:label="loc_us-gaap_DividendsPayableCurrent_fcd06ed7-1009-6ff9-f4dc-4329f4b4725a" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_DividendsPayableCurrent_fcd06ed7-1009-6ff9-f4dc-4329f4b4725a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCompensationLiabilityCurrent" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_6a5e4e83-da70-0160-7819-0c9dfce0515e" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_6a5e4e83-da70-0160-7819-0c9dfce0515e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_0d8925ae-714a-26e4-aa69-2d9eac65a5c6" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_LongTermDebtCurrent_0d8925ae-714a-26e4-aa69-2d9eac65a5c6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1beea529-7ff9-f264-77a3-b82530469f83" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1beea529-7ff9-f264-77a3-b82530469f83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_6f82a12e-6684-54bf-1831-9d2ce53cc448" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_6f82a12e-6684-54bf-1831-9d2ce53cc448" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent" xlink:label="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_ceda5c9b-a770-d73b-0b09-a6aa89bb6fa3" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_ceda5c9b-a770-d73b-0b09-a6aa89bb6fa3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_fcfc6b17-bfc5-2ebc-3fc1-751aa446a572" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_fcfc6b17-bfc5-2ebc-3fc1-751aa446a572" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_bba08e5f-78e8-6c25-01a4-6720051135cc" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_bba08e5f-78e8-6c25-01a4-6720051135cc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_c575cd94-2e5c-db53-1e93-d54553800310" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_c575cd94-2e5c-db53-1e93-d54553800310" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7f878ec9-0e45-025d-e916-551c92404219" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7f878ec9-0e45-025d-e916-551c92404219" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7f878ec9-0e45-025d-e916-551c92404219" xlink:to="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_df284507-8ac7-eed1-41db-05e81b70be6d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7f878ec9-0e45-025d-e916-551c92404219" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_df284507-8ac7-eed1-41db-05e81b70be6d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7f878ec9-0e45-025d-e916-551c92404219" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_7f878ec9-0e45-025d-e916-551c92404219" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockCommonValue" xlink:label="loc_us-gaap_TreasuryStockCommonValue_5e2a9db9-4cc5-6d89-b99e-62847b75eeaf" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_TreasuryStockCommonValue_5e2a9db9-4cc5-6d89-b99e-62847b75eeaf" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_CommonStockIssuedDirectorStockTrust" xlink:label="loc_erie_CommonStockIssuedDirectorStockTrust_37fe4176-4998-7225-ee5d-6b85c3e101cc" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_erie_CommonStockIssuedDirectorStockTrust_37fe4176-4998-7225-ee5d-6b85c3e101cc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_32f41ea9-05c6-e713-464b-586a571d1c1f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_32f41ea9-05c6-e713-464b-586a571d1c1f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_d32a2417-a96e-df92-8909-70df29d31528" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_d32a2417-a96e-df92-8909-70df29d31528" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_00ecda9d-3070-d75a-0469-024267e156f0" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_00ecda9d-3070-d75a-0469-024267e156f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_ce9014ac-0ac4-6ed2-b53f-a0edc046d6b4" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_ce9014ac-0ac4-6ed2-b53f-a0edc046d6b4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="loc_us-gaap_IncomeTaxesReceivable_ebb94f1a-1386-5eed-9402-f0f0e2cd300b" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_IncomeTaxesReceivable_ebb94f1a-1386-5eed-9402-f0f0e2cd300b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableRelatedPartiesCurrent" xlink:label="loc_us-gaap_NotesReceivableRelatedPartiesCurrent_0db433b2-32e3-3713-1af9-58d6d75da0bd" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_NotesReceivableRelatedPartiesCurrent_0db433b2-32e3-3713-1af9-58d6d75da0bd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_5194a9fc-115c-f59a-adef-21b602d3ebcc" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_5194a9fc-115c-f59a-adef-21b602d3ebcc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_779d1d70-872c-880a-786f-5c7c2a455084" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_779d1d70-872c-880a-786f-5c7c2a455084" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_5be77b8d-fe95-a009-6655-0f33965794f2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_5be77b8d-fe95-a009-6655-0f33965794f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNi" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_e7e4ebea-e4ff-f1c9-d06d-dd805834304e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_e7e4ebea-e4ff-f1c9-d06d-dd805834304e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_0682cfaa-83e6-dea4-d697-0d84430cc679" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_EquityMethodInvestments_0682cfaa-83e6-dea4-d697-0d84430cc679" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_cf582a45-a2bd-45f9-ba9b-6b85c36e0ba6" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_cf582a45-a2bd-45f9-ba9b-6b85c36e0ba6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_ddb0d184-2205-2a10-5b0e-faf2ccd717ae" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_ddb0d184-2205-2a10-5b0e-faf2ccd717ae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesNoncurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesNoncurrent_40344e31-d043-4fd3-7d85-44dbce02d758" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesNoncurrent_40344e31-d043-4fd3-7d85-44dbce02d758" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/StatementsOfFinancialPositionParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/StatementsOfOperations" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_5c890570-5904-7978-36d8-35b96dcf45ab" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_OperatingIncomeLoss_5c890570-5904-7978-36d8-35b96dcf45ab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5c890570-5904-7978-36d8-35b96dcf45ab" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_a2f4cf19-54a3-c9c5-9b4d-23b76125e270" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5c890570-5904-7978-36d8-35b96dcf45ab" xlink:to="loc_us-gaap_OperatingExpenses_a2f4cf19-54a3-c9c5-9b4d-23b76125e270" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentIncomeNonoperating" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_41f55a94-ade0-0e57-7055-ac01c4897210" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_InvestmentIncomeNonoperating_41f55a94-ade0-0e57-7055-ac01c4897210" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetInvestmentIncome" xlink:label="loc_us-gaap_NetInvestmentIncome_0779cbb1-ab49-dff5-459c-82b1cf8f776c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_41f55a94-ade0-0e57-7055-ac01c4897210" xlink:to="loc_us-gaap_NetInvestmentIncome_0779cbb1-ab49-dff5-459c-82b1cf8f776c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnInvestmentsExcludingOtherThanTemporaryImpairments" xlink:label="loc_us-gaap_GainLossOnInvestmentsExcludingOtherThanTemporaryImpairments_16685de5-b57c-26a8-b1c3-c700bfd40f57" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_41f55a94-ade0-0e57-7055-ac01c4897210" xlink:to="loc_us-gaap_GainLossOnInvestmentsExcludingOtherThanTemporaryImpairments_16685de5-b57c-26a8-b1c3-c700bfd40f57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossDebtSecuritiesAvailableForSaleRecognizedInEarnings" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossDebtSecuritiesAvailableForSaleRecognizedInEarnings_3c03356e-d8af-04e3-ab0a-109530be7ce5" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_41f55a94-ade0-0e57-7055-ac01c4897210" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossDebtSecuritiesAvailableForSaleRecognizedInEarnings_3c03356e-d8af-04e3-ab0a-109530be7ce5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_d01a4d5f-b660-27b4-db84-9a80227862fc" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_41f55a94-ade0-0e57-7055-ac01c4897210" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_d01a4d5f-b660-27b4-db84-9a80227862fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_41e96f8d-e499-8de8-69a8-27f1c7d4df6e" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_41e96f8d-e499-8de8-69a8-27f1c7d4df6e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/StatementsOfShareholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/StatementsOfShareholdersEquityParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SubsequentEvents" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlows" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_DepreciationDepletionandAmortizationandGainLossonDisposition" xlink:label="loc_erie_DepreciationDepletionandAmortizationandGainLossonDisposition_24070d31-d19e-727a-8232-2a68f60a0408" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_erie_DepreciationDepletionandAmortizationandGainLossonDisposition_24070d31-d19e-727a-8232-2a68f60a0408" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_c0417e1a-a792-0ce9-51ca-4b55a579aa55" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_c0417e1a-a792-0ce9-51ca-4b55a579aa55" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments" xlink:label="loc_erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments_3bd20ea5-b580-cf82-07df-2a68f68f4715" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments_3bd20ea5-b580-cf82-07df-2a68f68f4715" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_d01a4d5f-b660-27b4-db84-9a80227862fc" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_d01a4d5f-b660-27b4-db84-9a80227862fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f3832d5-e2fd-470b-5e04-ece38e7ab02d" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f3832d5-e2fd-470b-5e04-ece38e7ab02d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredCompensation" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_b489b242-7c42-8f9b-aefe-38a714c09711" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_b489b242-7c42-8f9b-aefe-38a714c09711" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_fc492244-7d5a-7cd0-89f2-ebfd74c617eb" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_fc492244-7d5a-7cd0-89f2-ebfd74c617eb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_976aa179-beff-3c48-8a66-8efd172cdca6" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_976aa179-beff-3c48-8a66-8efd172cdca6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_20e8f9c6-f3c8-30ae-5ab6-0f885744eb73" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_20e8f9c6-f3c8-30ae-5ab6-0f885744eb73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_18d902bc-637c-7a0c-8048-153419aa295b" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_18d902bc-637c-7a0c-8048-153419aa295b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPensionPlanObligations" xlink:label="loc_us-gaap_IncreaseDecreaseInPensionPlanObligations_20643513-5411-98b0-140e-84dc4c7da70d" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInPensionPlanObligations_20643513-5411-98b0-140e-84dc4c7da70d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_0e4168a9-901d-abb5-15c0-3622e9e2c070" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_0e4168a9-901d-abb5-15c0-3622e9e2c070" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_91c354d1-d18f-051e-80cb-f13c01058b9d" xlink:type="locator" />
    <link:calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_91c354d1-d18f-051e-80cb-f13c01058b9d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes" xlink:label="loc_us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes_0e555fb8-ea6d-e91a-ae04-f83fb342c1ec" xlink:type="locator" />
    <link:calculationArc order="16" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes_0e555fb8-ea6d-e91a-ae04-f83fb342c1ec" xlink:type="arc" />
    <link:loc xlink:href="erie-20181231.xsd#erie_IncreaseDecreaseInAccruedAgentBonuses" xlink:label="loc_erie_IncreaseDecreaseInAccruedAgentBonuses_4cce2757-cfc1-1fe2-fc98-2a68f786cb29" xlink:type="locator" />
    <link:calculationArc order="17" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_erie_IncreaseDecreaseInAccruedAgentBonuses_4cce2757-cfc1-1fe2-fc98-2a68f786cb29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_7d3f88de-7d0f-fe63-f176-2a8af9ecbcbd" xlink:type="locator" />
    <link:calculationArc order="18" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_7d3f88de-7d0f-fe63-f176-2a8af9ecbcbd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_8b5c4371-c0a9-6562-81fc-36e3ee510d15" xlink:type="locator" />
    <link:calculationArc order="19" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_8b5c4371-c0a9-6562-81fc-36e3ee510d15" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlowsTables" xlink:type="extended" />
</link:linkbase>





