<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLoss" xlink:href="erie-20161231.xsd#AccumulatedOtherComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:href="erie-20161231.xsd#AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossTables" xlink:href="erie-20161231.xsd#AccumulatedOtherComprehensiveIncomeLossTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/BorrowingArrangements" xlink:href="erie-20161231.xsd#BorrowingArrangements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/BorrowingArrangementsDetails" xlink:href="erie-20161231.xsd#BorrowingArrangementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/BorrowingArrangementsDetails2" xlink:href="erie-20161231.xsd#BorrowingArrangementsDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CapitalStock" xlink:href="erie-20161231.xsd#CapitalStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CapitalStockDetails" xlink:href="erie-20161231.xsd#CapitalStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CapitalStockDetails2" xlink:href="erie-20161231.xsd#CapitalStockDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CommitmentsAndContingencies" xlink:href="erie-20161231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CommitmentsAndContingenciesDetails" xlink:href="erie-20161231.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/ConcentrationsOfCreditRisk" xlink:href="erie-20161231.xsd#ConcentrationsOfCreditRisk" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/ConcentrationsOfCreditRiskDetails" xlink:href="erie-20161231.xsd#ConcentrationsOfCreditRiskDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/DocumentAndEntityInformation" xlink:href="erie-20161231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShare" xlink:href="erie-20161231.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShareDetails" xlink:href="erie-20161231.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShareTables" xlink:href="erie-20161231.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValue" xlink:href="erie-20161231.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueDetails" xlink:href="erie-20161231.xsd#FairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueDetails2" xlink:href="erie-20161231.xsd#FairValueDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueDetails3" xlink:href="erie-20161231.xsd#FairValueDetails3" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueTables" xlink:href="erie-20161231.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FixedAssets" xlink:href="erie-20161231.xsd#FixedAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FixedAssetsDetails" xlink:href="erie-20161231.xsd#FixedAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FixedAssetsTables" xlink:href="erie-20161231.xsd#FixedAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlans" xlink:href="erie-20161231.xsd#IncentiveAndDeferredCompensationPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansDetails" xlink:href="erie-20161231.xsd#IncentiveAndDeferredCompensationPlansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansDetails2" xlink:href="erie-20161231.xsd#IncentiveAndDeferredCompensationPlansDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansTables" xlink:href="erie-20161231.xsd#IncentiveAndDeferredCompensationPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxes" xlink:href="erie-20161231.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesDetails" xlink:href="erie-20161231.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesDetails2" xlink:href="erie-20161231.xsd#IncomeTaxesDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesDetails3" xlink:href="erie-20161231.xsd#IncomeTaxesDetails3" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesTables" xlink:href="erie-20161231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/Investments" xlink:href="erie-20161231.xsd#Investments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsDetails" xlink:href="erie-20161231.xsd#InvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsDetails2" xlink:href="erie-20161231.xsd#InvestmentsDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsDetails3" xlink:href="erie-20161231.xsd#InvestmentsDetails3" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsDetails4" xlink:href="erie-20161231.xsd#InvestmentsDetails4" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsDetails5" xlink:href="erie-20161231.xsd#InvestmentsDetails5" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsDetails6" xlink:href="erie-20161231.xsd#InvestmentsDetails6" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsDetails7" xlink:href="erie-20161231.xsd#InvestmentsDetails7" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsTables" xlink:href="erie-20161231.xsd#InvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/NatureOfOperations" xlink:href="erie-20161231.xsd#NatureOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/NatureOfOperationsDetails" xlink:href="erie-20161231.xsd#NatureOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefits" xlink:href="erie-20161231.xsd#PostretirementBenefits" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails10" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails10" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails11" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails11" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails12" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails12" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails2" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails3" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails3" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails4" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails4" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails5" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails5" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails6" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails6" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails7" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails7" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails8" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails8" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsDetails9" xlink:href="erie-20161231.xsd#PostretirementBenefitsDetails9" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsTables" xlink:href="erie-20161231.xsd#PostretirementBenefitsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnaudited" xlink:href="erie-20161231.xsd#QuarterlyResultsOfOperationsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnauditedDetails" xlink:href="erie-20161231.xsd#QuarterlyResultsOfOperationsUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/QuarterlyResultsOfOperationsUnauditedTables" xlink:href="erie-20161231.xsd#QuarterlyResultsOfOperationsUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/RelatedParty" xlink:href="erie-20161231.xsd#RelatedParty" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/RelatedPartyDetails" xlink:href="erie-20161231.xsd#RelatedPartyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/RelatedPartyTables" xlink:href="erie-20161231.xsd#RelatedPartyTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SignificantAccountingPolicies" xlink:href="erie-20161231.xsd#SignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SignificantAccountingPoliciesDetails" xlink:href="erie-20161231.xsd#SignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SignificantAccountingPoliciesDetails2" xlink:href="erie-20161231.xsd#SignificantAccountingPoliciesDetails2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SignificantAccountingPoliciesPolicies" xlink:href="erie-20161231.xsd#SignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfCashFlows" xlink:href="erie-20161231.xsd#StatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfComprehensiveIncome" xlink:href="erie-20161231.xsd#StatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfFinancialPosition" xlink:href="erie-20161231.xsd#StatementsOfFinancialPosition" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfFinancialPositionParenthetical" xlink:href="erie-20161231.xsd#StatementsOfFinancialPositionParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfOperations" xlink:href="erie-20161231.xsd#StatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfShareholdersEquity" xlink:href="erie-20161231.xsd#StatementsOfShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/StatementsOfShareholdersEquityParenthetical" xlink:href="erie-20161231.xsd#StatementsOfShareholdersEquityParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SubsequentEvents" xlink:href="erie-20161231.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlows" xlink:href="erie-20161231.xsd#SupplementaryDataOnCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlowsDetails" xlink:href="erie-20161231.xsd#SupplementaryDataOnCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlowsTables" xlink:href="erie-20161231.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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_6bae9137-af31-193c-3d25-ae5a6b05d643" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_045a7791-44b8-d416-a735-af6ac83e7eb3" 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_6bae9137-af31-193c-3d25-ae5a6b05d643" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_045a7791-44b8-d416-a735-af6ac83e7eb3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_2295fde9-6004-04c5-d6d3-8f045ad42e78" 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_6bae9137-af31-193c-3d25-ae5a6b05d643" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_2295fde9-6004-04c5-d6d3-8f045ad42e78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_43c54d29-1574-10ea-4b59-93341e2c1d6d" 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_6bae9137-af31-193c-3d25-ae5a6b05d643" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_43c54d29-1574-10ea-4b59-93341e2c1d6d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_9833f95e-e781-d888-e261-ed313ec61ed5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_e66303ff-4dab-9bd8-8638-a8b98b882b3a" 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_9833f95e-e781-d888-e261-ed313ec61ed5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_e66303ff-4dab-9bd8-8638-a8b98b882b3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_124143f7-66bc-b09b-eaae-6c2b0283fa33" 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_9833f95e-e781-d888-e261-ed313ec61ed5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_124143f7-66bc-b09b-eaae-6c2b0283fa33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_8e2ee45c-16a1-a0aa-b8db-259eb64ce0c2" 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_9833f95e-e781-d888-e261-ed313ec61ed5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_8e2ee45c-16a1-a0aa-b8db-259eb64ce0c2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_b48c4a28-b32d-ee5b-e460-6c08265330b3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_e2d94c98-271f-6716-cdee-efb1d8e5923f" 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_b48c4a28-b32d-ee5b-e460-6c08265330b3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_e2d94c98-271f-6716-cdee-efb1d8e5923f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_c3151334-8f67-f83a-42e6-535d94548433" 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_b48c4a28-b32d-ee5b-e460-6c08265330b3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_c3151334-8f67-f83a-42e6-535d94548433" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_8166ada2-f488-2da1-17db-b37212242e43" 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_b48c4a28-b32d-ee5b-e460-6c08265330b3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_8166ada2-f488-2da1-17db-b37212242e43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_f6a8fd38-4ccd-5bc7-d426-df607cf4eef4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax_ad42a1c5-6de6-be41-1ad2-3bd1767dbf3a" 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_f6a8fd38-4ccd-5bc7-d426-df607cf4eef4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax_ad42a1c5-6de6-be41-1ad2-3bd1767dbf3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_5a027acb-70e8-c4e7-9563-caddb29104b7" 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_f6a8fd38-4ccd-5bc7-d426-df607cf4eef4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_5a027acb-70e8-c4e7-9563-caddb29104b7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_9d95b26f-17e2-25f9-35f1-fa6a5885200f" 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_f6a8fd38-4ccd-5bc7-d426-df607cf4eef4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_9d95b26f-17e2-25f9-35f1-fa6a5885200f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_70648215-ab4c-6506-64e3-c2ed36d38fe9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_cbccdc82-bbab-a298-aba7-ba75496b120b" 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_70648215-ab4c-6506-64e3-c2ed36d38fe9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_cbccdc82-bbab-a298-aba7-ba75496b120b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_a1422aa3-75c0-abab-ec53-596c709a6d9f" 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_70648215-ab4c-6506-64e3-c2ed36d38fe9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_a1422aa3-75c0-abab-ec53-596c709a6d9f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_4e7885b1-8810-3ba5-4160-56cac278f549" 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_70648215-ab4c-6506-64e3-c2ed36d38fe9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_4e7885b1-8810-3ba5-4160-56cac278f549" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_76688874-ecd8-0acd-73c1-005137af83b7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_bafd0fc6-6dd9-aa11-0850-d82fea984e47" 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_76688874-ecd8-0acd-73c1-005137af83b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_bafd0fc6-6dd9-aa11-0850-d82fea984e47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_5ff868c1-c1a0-5758-a34e-ac1b9b1c7509" 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_76688874-ecd8-0acd-73c1-005137af83b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_5ff868c1-c1a0-5758-a34e-ac1b9b1c7509" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_7d5eb44c-4920-efd6-dc8f-e9e3fe680a8b" 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_76688874-ecd8-0acd-73c1-005137af83b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_7d5eb44c-4920-efd6-dc8f-e9e3fe680a8b" 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/BorrowingArrangementsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/BorrowingArrangementsDetails2" 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/CapitalStockDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CapitalStockDetails2" 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:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAttributableToParentDiluted" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_36454bd1-abf3-55c0-cd23-f76d08f9f180" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_36454bd1-abf3-55c0-cd23-f76d08f9f180" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits" xlink:label="loc_us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits_f2000077-5120-5c72-de00-aa2ee0cee263" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_36454bd1-abf3-55c0-cd23-f76d08f9f180" xlink:to="loc_us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits_f2000077-5120-5c72-de00-aa2ee0cee263" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_107a4a77-cdb9-8bc2-febe-0fcb55efef7a" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_36454bd1-abf3-55c0-cd23-f76d08f9f180" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_107a4a77-cdb9-8bc2-febe-0fcb55efef7a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae404dc0-76bc-cd1d-811f-e233c07e0569" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e841a58a-f12e-0adc-36de-0299a43719a9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae404dc0-76bc-cd1d-811f-e233c07e0569" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e841a58a-f12e-0adc-36de-0299a43719a9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_9dba38ce-5067-b4c4-09f7-0cf74e4693de" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae404dc0-76bc-cd1d-811f-e233c07e0569" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_9dba38ce-5067-b4c4-09f7-0cf74e4693de" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock" xlink:label="loc_erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock_35badfb2-950b-4b9d-23ba-b711fb53194b" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae404dc0-76bc-cd1d-811f-e233c07e0569" xlink:to="loc_erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock_35badfb2-950b-4b9d-23ba-b711fb53194b" xlink:type="arc" />
  </link:calculationLink>
  <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/FairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_fdc1f09c-fa08-4ac3-a9e1-6c69c28ccf56" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AlternativeInvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_AlternativeInvestmentsFairValueDisclosure_eb5733f6-87d6-0c9e-9be3-7ddcaaf8d8d5" 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_fdc1f09c-fa08-4ac3-a9e1-6c69c28ccf56" xlink:to="loc_us-gaap_AlternativeInvestmentsFairValueDisclosure_eb5733f6-87d6-0c9e-9be3-7ddcaaf8d8d5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_01be169b-08cc-7c30-55f5-941791d17ef8" 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_fdc1f09c-fa08-4ac3-a9e1-6c69c28ccf56" xlink:to="loc_us-gaap_AvailableForSaleSecurities_01be169b-08cc-7c30-55f5-941791d17ef8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValueDetails2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValueDetails3" 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-20161231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_4d8fa132-fa17-2df4-4e4a-b711fb821ca2" xlink:type="locator" />
    <link:loc xlink:href="erie-20161231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_8E519C97C05CE82B13125CC01162704A" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_4d8fa132-fa17-2df4-4e4a-b711fb821ca2" xlink:to="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_8E519C97C05CE82B13125CC01162704A" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets" xlink:label="loc_erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets_B8F2990672AECB47E6125CB445AC8ACD" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_4d8fa132-fa17-2df4-4e4a-b711fb821ca2" xlink:to="loc_erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets_B8F2990672AECB47E6125CB445AC8ACD" 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/IncentiveAndDeferredCompensationPlansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncentiveAndDeferredCompensationPlansDetails2" xlink:type="extended">
    <link:loc xlink:href="erie-20161231.xsd#erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings" xlink:label="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_b535e280-69db-4b5b-3160-a7cf5732701f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLaborRelatedExpenses" xlink:label="loc_us-gaap_OtherLaborRelatedExpenses_ee5eeca9-fb14-7f58-c9d5-3d2105175bb9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_b535e280-69db-4b5b-3160-a7cf5732701f" xlink:to="loc_us-gaap_OtherLaborRelatedExpenses_ee5eeca9-fb14-7f58-c9d5-3d2105175bb9" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_AllocatedSharebasedCompensationExpenseGross" xlink:label="loc_erie_AllocatedSharebasedCompensationExpenseGross_536DB065742AB689643458D03B762067" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_b535e280-69db-4b5b-3160-a7cf5732701f" xlink:to="loc_erie_AllocatedSharebasedCompensationExpenseGross_536DB065742AB689643458D03B762067" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_72490edd-cfa7-053a-fb31-d42a9622c712" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_b535e280-69db-4b5b-3160-a7cf5732701f" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_72490edd-cfa7-053a-fb31-d42a9622c712" 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/IncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7107f7ad-ea23-072c-c2a3-7b97b29553fc" 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_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_7107f7ad-ea23-072c-c2a3-7b97b29553fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_91674616-989d-90e8-1302-b52ff7a33098" 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_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_91674616-989d-90e8-1302-b52ff7a33098" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesDetails2" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_01ec1572-4ef3-c4fc-b254-d545dc66e953" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsGrossNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_03a10c9a-541f-cbe3-ea62-2ac9139ea579" 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_01ec1572-4ef3-c4fc-b254-d545dc66e953" xlink:to="loc_us-gaap_DeferredTaxAssetsGrossNoncurrent_03a10c9a-541f-cbe3-ea62-2ac9139ea579" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_b0dad9e3-8880-c8f5-a90b-b74e8b0a9e96" 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_03a10c9a-541f-cbe3-ea62-2ac9139ea579" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_b0dad9e3-8880-c8f5-a90b-b74e8b0a9e96" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionsAndPostretirementBenefits" xlink:label="loc_erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionsAndPostretirementBenefits_69d76755-c505-7848-6bed-a7cf577e433f" 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_03a10c9a-541f-cbe3-ea62-2ac9139ea579" xlink:to="loc_erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionsAndPostretirementBenefits_69d76755-c505-7848-6bed-a7cf577e433f" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_DeferredTaxAssetsNetAllowanceforPremiumCancellations" xlink:label="loc_erie_DeferredTaxAssetsNetAllowanceforPremiumCancellations_0b0f71da-3833-f0ea-a779-a7cf57a6c108" 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_03a10c9a-541f-cbe3-ea62-2ac9139ea579" xlink:to="loc_erie_DeferredTaxAssetsNetAllowanceforPremiumCancellations_0b0f71da-3833-f0ea-a779-a7cf57a6c108" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_bdc6598b-bd97-4cc7-9f4f-5d5ac82ed0ed" 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_03a10c9a-541f-cbe3-ea62-2ac9139ea579" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_bdc6598b-bd97-4cc7-9f4f-5d5ac82ed0ed" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGrossNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_d66ff519-4bff-1b7b-4174-f4f6d4c9c5fa" 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_01ec1572-4ef3-c4fc-b254-d545dc66e953" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGrossNoncurrent_d66ff519-4bff-1b7b-4174-f4f6d4c9c5fa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_3622af18-6e9e-b903-3573-9cbd06ebe01a" 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_d66ff519-4bff-1b7b-4174-f4f6d4c9c5fa" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_3622af18-6e9e-b903-3573-9cbd06ebe01a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_3e75781b-05b6-84bf-a3c7-23de492af0ab" 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_d66ff519-4bff-1b7b-4174-f4f6d4c9c5fa" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_3e75781b-05b6-84bf-a3c7-23de492af0ab" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_DeferredTaxLiabilitiesEquityMethodInvestments" xlink:label="loc_erie_DeferredTaxLiabilitiesEquityMethodInvestments_cb98b3fa-51b3-f993-d045-a7cf57d97b40" 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_d66ff519-4bff-1b7b-4174-f4f6d4c9c5fa" xlink:to="loc_erie_DeferredTaxLiabilitiesEquityMethodInvestments_cb98b3fa-51b3-f993-d045-a7cf57d97b40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesInvestments" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestments_a814a6d8-0816-1bc5-b8b1-974d989c936c" 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_d66ff519-4bff-1b7b-4174-f4f6d4c9c5fa" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestments_a814a6d8-0816-1bc5-b8b1-974d989c936c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_4a03c8c2-2a2c-2673-0e40-01494d3fdb51" 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_d66ff519-4bff-1b7b-4174-f4f6d4c9c5fa" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_4a03c8c2-2a2c-2673-0e40-01494d3fdb51" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesDetails3" 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/Investments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_84c4a6c6-0ef3-3da8-6f9e-7c79d920503a" 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_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_84c4a6c6-0ef3-3da8-6f9e-7c79d920503a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e53108a7-1cbc-ad68-00fa-93ab35ee9629" 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_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e53108a7-1cbc-ad68-00fa-93ab35ee9629" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d38a4602-a509-ea84-d4a7-84b6783fb543" 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_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d38a4602-a509-ea84-d4a7-84b6783fb543" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleEquitySecuritiesAmortizedCostBasis_3aaa4ffa-c4d3-67fa-e6a7-d19279878453" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax_6fc9b00a-cf6f-c848-f5e6-1b96a926aac6" 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_3aaa4ffa-c4d3-67fa-e6a7-d19279878453" xlink:to="loc_us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedGainBeforeTax_6fc9b00a-cf6f-c848-f5e6-1b96a926aac6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax_55f12a0f-8ac9-7ed8-b449-960fe4635dc8" 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_3aaa4ffa-c4d3-67fa-e6a7-d19279878453" xlink:to="loc_us-gaap_AvailableForSaleEquitySecuritiesAccumulatedGrossUnrealizedLossBeforeTax_55f12a0f-8ac9-7ed8-b449-960fe4635dc8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesEquitySecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesEquitySecurities_e7f56f08-b03b-8d41-11a7-390dcb4bf371" 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_3aaa4ffa-c4d3-67fa-e6a7-d19279878453" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesEquitySecurities_e7f56f08-b03b-8d41-11a7-390dcb4bf371" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ba478347-bbf1-ddfc-8a79-7775b3b62a6c" 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_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ba478347-bbf1-ddfc-8a79-7775b3b62a6c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_65f23050-696a-07fd-30c1-78a5110d800c" 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_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_65f23050-696a-07fd-30c1-78a5110d800c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_01be169b-08cc-7c30-55f5-941791d17ef8" 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_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecurities_01be169b-08cc-7c30-55f5-941791d17ef8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsDetails2" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d38a4602-a509-ea84-d4a7-84b6783fb543" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_73f419d8-d119-3f34-15a6-338e4455cd96" 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_d38a4602-a509-ea84-d4a7-84b6783fb543" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_73f419d8-d119-3f34-15a6-338e4455cd96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_db3b580e-d182-4945-7c2e-ce877e78a106" 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_d38a4602-a509-ea84-d4a7-84b6783fb543" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_db3b580e-d182-4945-7c2e-ce877e78a106" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_5cad6420-c434-2b48-13db-6c315d141f54" 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_d38a4602-a509-ea84-d4a7-84b6783fb543" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_5cad6420-c434-2b48-13db-6c315d141f54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_b2dd8726-7338-2922-d0d2-fa759fce3859" 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_d38a4602-a509-ea84-d4a7-84b6783fb543" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_b2dd8726-7338-2922-d0d2-fa759fce3859" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_64878df4-a4bb-ba61-aacb-ed249b31f694" 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_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_64878df4-a4bb-ba61-aacb-ed249b31f694" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_59295b7e-c316-eccf-27db-e84d9ca58730" 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_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_59295b7e-c316-eccf-27db-e84d9ca58730" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_4a130408-1560-1680-a9e9-a5b6577bac1b" 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_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_4a130408-1560-1680-a9e9-a5b6577bac1b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_cceae702-c03a-63ab-909d-da89433a7398" 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_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_cceae702-c03a-63ab-909d-da89433a7398" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsDetails3" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_b1d71fc9-eecd-2005-af97-28330842089f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_11612c57-1c66-2ebb-048d-5328a69f7e87" 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_b1d71fc9-eecd-2005-af97-28330842089f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_11612c57-1c66-2ebb-048d-5328a69f7e87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_94eefac8-f76d-a881-1e74-cd6a8c26f6f2" 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_b1d71fc9-eecd-2005-af97-28330842089f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_94eefac8-f76d-a881-1e74-cd6a8c26f6f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_3fa09329-0896-f55f-c02e-c8004aa08345" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_2c159316-1107-d1fe-3ca9-a0ff69e85bc6" 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_3fa09329-0896-f55f-c02e-c8004aa08345" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_2c159316-1107-d1fe-3ca9-a0ff69e85bc6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_28085bfb-becd-58b9-5554-fd2b42a29dab" 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_3fa09329-0896-f55f-c02e-c8004aa08345" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_28085bfb-becd-58b9-5554-fd2b42a29dab" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsDetails4" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetInvestmentIncome" xlink:label="loc_us-gaap_NetInvestmentIncome_fec96e76-bde5-90be-5693-51cf6a4a2050" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" 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_fec96e76-bde5-90be-5693-51cf6a4a2050" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_86b99f0f-bfc5-7967-2fd1-bfdfdf9d589d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_5b73b39c-ffc5-b164-b3a5-6a5d7dd2800f" 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_fec96e76-bde5-90be-5693-51cf6a4a2050" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_5b73b39c-ffc5-b164-b3a5-6a5d7dd2800f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsDetails5" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities_df8dfac2-6096-0858-5bae-9b01bf8a9a50" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities_9537eb21-adaa-2664-0fe2-4b87f4cc4a16" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities_df8dfac2-6096-0858-5bae-9b01bf8a9a50" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxIncludingPortionAttributableToNoncontrollingInterestAvailableforsaleSecurities_9537eb21-adaa-2664-0fe2-4b87f4cc4a16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNetAvailableforsaleSecurities" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNetAvailableforsaleSecurities_6688a91c-0fad-0943-bf82-f8ba94045c3c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities_df8dfac2-6096-0858-5bae-9b01bf8a9a50" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNetAvailableforsaleSecurities_6688a91c-0fad-0943-bf82-f8ba94045c3c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairments" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairments_9a92759e-7904-1cbb-d3f8-6ead732904be" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedGains" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_d81613c6-4e09-8e47-82ec-c84c2688c4e4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairments_9a92759e-7904-1cbb-d3f8-6ead732904be" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_d81613c6-4e09-8e47-82ec-c84c2688c4e4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableforsaleSecuritiesGrossRealizedLossesExcludingOtherThanTemporaryImpairments" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesGrossRealizedLossesExcludingOtherThanTemporaryImpairments_a08c9396-2d20-65e1-f815-2b943c6deeaa" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairments_9a92759e-7904-1cbb-d3f8-6ead732904be" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesGrossRealizedLossesExcludingOtherThanTemporaryImpairments_a08c9396-2d20-65e1-f815-2b943c6deeaa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TradingSecuritiesRealizedGainLoss" xlink:label="loc_us-gaap_TradingSecuritiesRealizedGainLoss_2db14459-33a5-ed8b-3910-5060ba7a9428" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TradingSecuritiesRealizedGain" xlink:label="loc_us-gaap_TradingSecuritiesRealizedGain_0d6833f7-e41d-a5bd-473f-123bfa918f40" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TradingSecuritiesRealizedGainLoss_2db14459-33a5-ed8b-3910-5060ba7a9428" xlink:to="loc_us-gaap_TradingSecuritiesRealizedGain_0d6833f7-e41d-a5bd-473f-123bfa918f40" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsDetails6" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsDetails7" xlink:type="extended" />
  <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/PostretirementBenefitsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fb35567d-af94-e986-7425-f369c05384fc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_f2ed32d2-85ad-f58f-ab2d-3b2179460e9b" 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_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_f2ed32d2-85ad-f58f-ab2d-3b2179460e9b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_cd88e803-25ae-d4fb-0989-daba14b2ac68" 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_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_cd88e803-25ae-d4fb-0989-daba14b2ac68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c19f8e1b-2030-51d6-2fba-848f04e86d5a" 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_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c19f8e1b-2030-51d6-2fba-848f04e86d5a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_7493028d-92b4-42b2-4575-fa8ea8ba2bc0" 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_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_7493028d-92b4-42b2-4575-fa8ea8ba2bc0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_2d2b6abe-d7df-698d-456b-f525d8c242b0" 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_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_2d2b6abe-d7df-698d-456b-f525d8c242b0" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails10" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails11" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails12" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails3" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_f2ac5c78-59d1-938d-13e7-198b7a525800" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_9617eabe-119e-e87b-0852-e1a5693db74c" 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_f2ac5c78-59d1-938d-13e7-198b7a525800" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_9617eabe-119e-e87b-0852-e1a5693db74c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_e01d5f4f-142a-8cab-e6b2-0e345a8f9104" 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_f2ac5c78-59d1-938d-13e7-198b7a525800" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_e01d5f4f-142a-8cab-e6b2-0e345a8f9104" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails4" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails5" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails6" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails7" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_986af49e-6aca-8f4e-6972-f056a7d388c1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_04629c23-5a9d-41ae-a9db-1d36d78b8c3c" 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_986af49e-6aca-8f4e-6972-f056a7d388c1" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_04629c23-5a9d-41ae-a9db-1d36d78b8c3c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_36034517-8555-8e3e-3390-4cdaacde6d81" 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_986af49e-6aca-8f4e-6972-f056a7d388c1" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_36034517-8555-8e3e-3390-4cdaacde6d81" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails8" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_2e0b3437-51dd-4d4d-a40a-6c290157962d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_51fcd9cf-d23a-0f09-7315-97623ee970a0" 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_2e0b3437-51dd-4d4d-a40a-6c290157962d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_51fcd9cf-d23a-0f09-7315-97623ee970a0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_7d5eb44c-4920-efd6-dc8f-e9e3fe680a8b" 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_2e0b3437-51dd-4d4d-a40a-6c290157962d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_7d5eb44c-4920-efd6-dc8f-e9e3fe680a8b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_5ff868c1-c1a0-5758-a34e-ac1b9b1c7509" 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_2e0b3437-51dd-4d4d-a40a-6c290157962d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_5ff868c1-c1a0-5758-a34e-ac1b9b1c7509" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_OtherComprehensiveIncomeDefinedBenefitPlansAmendmentsDuringPeriodBeforeTax" xlink:label="loc_erie_OtherComprehensiveIncomeDefinedBenefitPlansAmendmentsDuringPeriodBeforeTax_6d90186e-8c6b-56fd-f16f-a7cf57e01c6b" 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_2e0b3437-51dd-4d4d-a40a-6c290157962d" xlink:to="loc_erie_OtherComprehensiveIncomeDefinedBenefitPlansAmendmentsDuringPeriodBeforeTax_6d90186e-8c6b-56fd-f16f-a7cf57e01c6b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsDetails9" 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: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/RelatedPartyTables" 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:calculationLink xlink:role="http://www.erieinsurance.com/role/SignificantAccountingPoliciesDetails2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SignificantAccountingPoliciesPolicies" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInContinuingOperations_4ff706e9-b517-da30-64c7-b654899267cb" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInContinuingOperations_4ff706e9-b517-da30-64c7-b654899267cb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_ProceedsFromInsuranceAgencyManagementFeesReceived" xlink:label="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_ba8abd4c-faab-a92f-2ca1-b711fb534b3f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_ba8abd4c-faab-a92f-2ca1-b711fb534b3f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromFeesReceived" xlink:label="loc_us-gaap_ProceedsFromFeesReceived_6c65c782-00b7-191d-6263-488021a1867f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_ProceedsFromFeesReceived_6c65c782-00b7-191d-6263-488021a1867f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromInterestAndDividendsReceived" xlink:label="loc_us-gaap_ProceedsFromInterestAndDividendsReceived_0c48002d-2f40-ba6b-d384-13cafb0bd540" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_ProceedsFromInterestAndDividendsReceived_0c48002d-2f40-ba6b-d384-13cafb0bd540" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_8eced5e5-cf7f-5903-8c18-d4c6708401e8" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_8eced5e5-cf7f-5903-8c18-d4c6708401e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent_ec473442-534a-f3e2-60d2-3a01c798e3a0" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent_ec473442-534a-f3e2-60d2-3a01c798e3a0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForCommissions" xlink:label="loc_us-gaap_PaymentsForCommissions_80df137a-4a62-23cd-12eb-3388ff62ac39" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_PaymentsForCommissions_80df137a-4a62-23cd-12eb-3388ff62ac39" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_PaymentsForAgentBonuses" xlink:label="loc_erie_PaymentsForAgentBonuses_34d37160-8c7a-9b30-ebbc-b711fb72b270" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_erie_PaymentsForAgentBonuses_34d37160-8c7a-9b30-ebbc-b711fb72b270" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToEmployees" xlink:label="loc_us-gaap_PaymentsToEmployees_0078538b-0f33-badf-e8db-f384ce29e9f0" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_PaymentsToEmployees_0078538b-0f33-badf-e8db-f384ce29e9f0" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses" xlink:label="loc_erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses_c51dbf0a-0834-9edd-6660-b711fb729330" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses_c51dbf0a-0834-9edd-6660-b711fb729330" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForOtherOperatingActivities" xlink:label="loc_us-gaap_PaymentsForOtherOperatingActivities_f0eed3f8-161a-02bf-0f66-774754146491" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_PaymentsForOtherOperatingActivities_f0eed3f8-161a-02bf-0f66-774754146491" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_17e38c12-07a0-9021-3043-7c6d26ab50a1" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_17e38c12-07a0-9021-3043-7c6d26ab50a1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInContinuingOperations_4ff706e9-b517-da30-64c7-b654899267cb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_c02ad689-0839-347f-dbb5-560ba41e6864" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_c02ad689-0839-347f-dbb5-560ba41e6864" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireLimitedPartnershipInterests" xlink:label="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests_d11e7ef3-ae72-7cdb-abf8-3490f356484a" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:to="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests_d11e7ef3-ae72-7cdb-abf8-3490f356484a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_37f1e565-0f5b-d294-1fab-1f43106882e2" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_37f1e565-0f5b-d294-1fab-1f43106882e2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_8537a914-fea0-e31b-4574-5efbd321ed57" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_8537a914-fea0-e31b-4574-5efbd321ed57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment" xlink:label="loc_us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment_ff95ad4a-2d68-340e-9a05-48fd4be6d982" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:to="loc_us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment_ff95ad4a-2d68-340e-9a05-48fd4be6d982" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromLimitedPartnershipInvestments" xlink:label="loc_us-gaap_ProceedsFromLimitedPartnershipInvestments_cf5aee13-dba6-8dda-192f-6ff2b8cdf2d6" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:to="loc_us-gaap_ProceedsFromLimitedPartnershipInvestments_cf5aee13-dba6-8dda-192f-6ff2b8cdf2d6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromProductiveAssets" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_d00efafc-0e8c-c2e1-42ba-ff47491bbdc6" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_d00efafc-0e8c-c2e1-42ba-ff47491bbdc6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansReceivable" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_c0a9d9ff-c98b-1a22-e90e-ec9a0f5aa8c7" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_68bb4e9b-b5d4-7dc0-9a05-eb9f19c0c826" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansReceivable_c0a9d9ff-c98b-1a22-e90e-ec9a0f5aa8c7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0c0b26d1-4272-9f3a-27c6-649ac191d259" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInContinuingOperations_4ff706e9-b517-da30-64c7-b654899267cb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0c0b26d1-4272-9f3a-27c6-649ac191d259" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fc2ca57d-dc62-7ce6-b2c4-25896bddd1fc" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0c0b26d1-4272-9f3a-27c6-649ac191d259" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fc2ca57d-dc62-7ce6-b2c4-25896bddd1fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_a269f982-b168-8b73-b7b4-38da20c0fb35" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0c0b26d1-4272-9f3a-27c6-649ac191d259" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_a269f982-b168-8b73-b7b4-38da20c0fb35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfSecuredDebt" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfSecuredDebt_c4eb8ed2-95d7-c57c-3081-64e4c04edda2" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0c0b26d1-4272-9f3a-27c6-649ac191d259" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfSecuredDebt_c4eb8ed2-95d7-c57c-3081-64e4c04edda2" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" 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_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_fc027bcf-19a3-7936-be65-3ec1deb94fb4" 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_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_fc027bcf-19a3-7936-be65-3ec1deb94fb4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_6bae9137-af31-193c-3d25-ae5a6b05d643" 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_fc027bcf-19a3-7936-be65-3ec1deb94fb4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_6bae9137-af31-193c-3d25-ae5a6b05d643" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_b48c4a28-b32d-ee5b-e460-6c08265330b3" 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_fc027bcf-19a3-7936-be65-3ec1deb94fb4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_b48c4a28-b32d-ee5b-e460-6c08265330b3" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" 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_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedSalesCommissionCurrent" xlink:label="loc_us-gaap_AccruedSalesCommissionCurrent_ea7daeb5-264a-1d48-bdec-2b5131596ed4" 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_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_AccruedSalesCommissionCurrent_ea7daeb5-264a-1d48-bdec-2b5131596ed4" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_AgentBonusesPayableCurrent" xlink:label="loc_erie_AgentBonusesPayableCurrent_8f76eb1c-db0e-2a35-70c6-b711fb5323cd" 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_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_erie_AgentBonusesPayableCurrent_8f76eb1c-db0e-2a35-70c6-b711fb5323cd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_87a74df5-6262-b3a0-1a5b-b344f689ad60" 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_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_87a74df5-6262-b3a0-1a5b-b344f689ad60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableCurrent" xlink:label="loc_us-gaap_DividendsPayableCurrent_074bd34b-fe55-9059-4d4d-01f7bae9398c" 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_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_DividendsPayableCurrent_074bd34b-fe55-9059-4d4d-01f7bae9398c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredCompensationLiabilityCurrent" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_ff40b1c4-a3ed-a859-aad2-45a567f52f30" 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_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_ff40b1c4-a3ed-a859-aad2-45a567f52f30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_e01d5f4f-142a-8cab-e6b2-0e345a8f9104" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_e01d5f4f-142a-8cab-e6b2-0e345a8f9104" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_002a10aa-e1bf-cca6-ff5f-85c1b081477d" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_OtherPostretirementDefinedBenefitPlanLiabilitiesNoncurrent_002a10aa-e1bf-cca6-ff5f-85c1b081477d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent" xlink:label="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_b2b39bb7-2393-47f6-f818-d757351b4961" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_b2b39bb7-2393-47f6-f818-d757351b4961" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_898d9dde-51c0-10b5-4600-dc6b12c399c4" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_898d9dde-51c0-10b5-4600-dc6b12c399c4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_b65887e3-1865-ef3e-c8ae-81780cbff9ee" 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_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_b65887e3-1865-ef3e-c8ae-81780cbff9ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" 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_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_debba6cd-9d20-dd14-58f5-89ad7cf2a672" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_debba6cd-9d20-dd14-58f5-89ad7cf2a672" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_d53388e7-4c8c-4e6d-6e90-7a6e0a100b74" 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_debba6cd-9d20-dd14-58f5-89ad7cf2a672" xlink:to="loc_us-gaap_CommonStockValue_d53388e7-4c8c-4e6d-6e90-7a6e0a100b74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b1a68b05-ec26-b896-ce8e-937cca99264e" 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_debba6cd-9d20-dd14-58f5-89ad7cf2a672" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_b1a68b05-ec26-b896-ce8e-937cca99264e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_aeb1020a-508a-a8c1-f34c-bafff16c26cb" 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_debba6cd-9d20-dd14-58f5-89ad7cf2a672" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_aeb1020a-508a-a8c1-f34c-bafff16c26cb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f759e73e-9f4f-941e-1138-49bc44f6b118" 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_debba6cd-9d20-dd14-58f5-89ad7cf2a672" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f759e73e-9f4f-941e-1138-49bc44f6b118" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockCommonValue" xlink:label="loc_us-gaap_TreasuryStockCommonValue_97c7f08b-9a63-38d5-04c2-6955740b2051" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_TreasuryStockCommonValue_97c7f08b-9a63-38d5-04c2-6955740b2051" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_CommonStockIssuedDirectorStockTrust" xlink:label="loc_erie_CommonStockIssuedDirectorStockTrust_a7bd5342-c423-184a-6625-b711fb532203" 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_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_erie_CommonStockIssuedDirectorStockTrust_a7bd5342-c423-184a-6625-b711fb532203" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" 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_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_30444800-bccf-94eb-16a7-6eb32a0bf8df" 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_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_30444800-bccf-94eb-16a7-6eb32a0bf8df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_9fdbfee6-324f-b7e9-4647-0fda973cb171" 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_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_9fdbfee6-324f-b7e9-4647-0fda973cb171" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8cc01d89-cd24-22b5-77d4-23f6bae81aca" 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_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8cc01d89-cd24-22b5-77d4-23f6bae81aca" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="loc_us-gaap_IncomeTaxesReceivable_e84b8cf7-5c16-4daf-da6e-6c656f6f2757" 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_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_IncomeTaxesReceivable_e84b8cf7-5c16-4daf-da6e-6c656f6f2757" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_fe5887dd-1af0-1da1-a824-cfc843bb2a09" 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_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_fe5887dd-1af0-1da1-a824-cfc843bb2a09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesNoncurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesNoncurrent_b3d12002-79e5-47db-0a4d-77b30be5f00c" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesNoncurrent_b3d12002-79e5-47db-0a4d-77b30be5f00c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_8186324b-c5f1-8ea6-8e0c-32830db48a5d" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_EquityMethodInvestments_8186324b-c5f1-8ea6-8e0c-32830db48a5d" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_4d8fa132-fa17-2df4-4e4a-b711fb821ca2" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_4d8fa132-fa17-2df4-4e4a-b711fb821ca2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_01ec1572-4ef3-c4fc-b254-d545dc66e953" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_01ec1572-4ef3-c4fc-b254-d545dc66e953" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NotesReceivableRelatedPartiesNoncurrent" xlink:label="loc_us-gaap_NotesReceivableRelatedPartiesNoncurrent_013ded5d-77e2-961e-b321-ff3341f10a75" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_NotesReceivableRelatedPartiesNoncurrent_013ded5d-77e2-961e-b321-ff3341f10a75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_e6ade192-0839-bdd8-d08b-20387a0e8201" 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_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_e6ade192-0839-bdd8-d08b-20387a0e8201" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2b73f435-08bc-014c-4845-03f6580194a0" 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_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2b73f435-08bc-014c-4845-03f6580194a0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" 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_2b73f435-08bc-014c-4845-03f6580194a0" xlink:to="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" 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_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:to="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InsuranceAgencyManagementFee" xlink:label="loc_us-gaap_InsuranceAgencyManagementFee_e6ec59ff-e62a-0c4c-748e-d75c11e85c01" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" xlink:to="loc_us-gaap_InsuranceAgencyManagementFee_e6ec59ff-e62a-0c4c-748e-d75c11e85c01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets" xlink:label="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_804accbc-5950-042a-fa8c-1086ee5f49d6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" xlink:to="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_804accbc-5950-042a-fa8c-1086ee5f49d6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" 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_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:to="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InsuranceCommissions" xlink:label="loc_us-gaap_InsuranceCommissions_562fbfcd-80f9-a3fb-5803-0b70a6da20ae" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:to="loc_us-gaap_InsuranceCommissions_562fbfcd-80f9-a3fb-5803-0b70a6da20ae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_6494510a-4df0-83f7-7461-428073641d92" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:to="loc_us-gaap_LaborAndRelatedExpense_6494510a-4df0-83f7-7461-428073641d92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_70080ee2-ea2b-6059-c384-0abc533bb406" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_70080ee2-ea2b-6059-c384-0abc533bb406" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentIncomeNonoperating" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_e2a5a301-3613-5c19-2162-dbc30a68ed08" 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_2b73f435-08bc-014c-4845-03f6580194a0" xlink:to="loc_us-gaap_InvestmentIncomeNonoperating_e2a5a301-3613-5c19-2162-dbc30a68ed08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetInvestmentIncome" xlink:label="loc_us-gaap_NetInvestmentIncome_fec96e76-bde5-90be-5693-51cf6a4a2050" 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_e2a5a301-3613-5c19-2162-dbc30a68ed08" xlink:to="loc_us-gaap_NetInvestmentIncome_fec96e76-bde5-90be-5693-51cf6a4a2050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RealizedGainLossOnMarketableSecuritiesAndCostMethodInvestmentsExcludingOtherThanTemporaryImpairmentsAndOtherInvestments" xlink:label="loc_us-gaap_RealizedGainLossOnMarketableSecuritiesAndCostMethodInvestmentsExcludingOtherThanTemporaryImpairmentsAndOtherInvestments_fc768842-28bb-e124-ace7-804a7dfc522b" 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_e2a5a301-3613-5c19-2162-dbc30a68ed08" xlink:to="loc_us-gaap_RealizedGainLossOnMarketableSecuritiesAndCostMethodInvestmentsExcludingOtherThanTemporaryImpairmentsAndOtherInvestments_fc768842-28bb-e124-ace7-804a7dfc522b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNetAvailableforsaleSecurities" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNetAvailableforsaleSecurities_6688a91c-0fad-0943-bf82-f8ba94045c3c" 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_e2a5a301-3613-5c19-2162-dbc30a68ed08" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNetAvailableforsaleSecurities_6688a91c-0fad-0943-bf82-f8ba94045c3c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" 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_e2a5a301-3613-5c19-2162-dbc30a68ed08" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" 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_2b73f435-08bc-014c-4845-03f6580194a0" xlink:to="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" 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_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_DepreciationDepletionandAmortizationandGainLossonDisposition" xlink:label="loc_erie_DepreciationDepletionandAmortizationandGainLossonDisposition_8C926091A3DB034EE65B66DF352E3BCC" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_erie_DepreciationDepletionandAmortizationandGainLossonDisposition_8C926091A3DB034EE65B66DF352E3BCC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_91674616-989d-90e8-1302-b52ff7a33098" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_91674616-989d-90e8-1302-b52ff7a33098" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments" xlink:label="loc_erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments_b424834a-dcf7-5165-5325-a7cf57215ef8" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments_b424834a-dcf7-5165-5325-a7cf57215ef8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_fe59972c-181e-b516-7ec1-09a40fc27526" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_fe59972c-181e-b516-7ec1-09a40fc27526" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredCompensation" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_36e55ee5-04cd-2301-ca0c-e92757ba5e08" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_36e55ee5-04cd-2301-ca0c-e92757ba5e08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_8eced5e5-cf7f-5903-8c18-d4c6708401e8" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_8eced5e5-cf7f-5903-8c18-d4c6708401e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_659a63ad-5959-bccb-31e9-0697cb6a5971" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_659a63ad-5959-bccb-31e9-0697cb6a5971" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_07cf7d67-8476-c183-f65e-0c166d716452" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_07cf7d67-8476-c183-f65e-0c166d716452" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_e2449701-7d48-93f6-39a1-c54a5986b1da" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_e2449701-7d48-93f6-39a1-c54a5986b1da" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidPensionCosts" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidPensionCosts_7c6c8c17-1982-52a3-e00b-5685e92bc2c5" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidPensionCosts_7c6c8c17-1982-52a3-e00b-5685e92bc2c5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_e99fae14-a0f3-93f9-f0e6-bc9b4dc580ef" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_e99fae14-a0f3-93f9-f0e6-bc9b4dc580ef" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_880f9863-dd81-7240-4418-c9f1ba4fd53e" xlink:type="locator" />
    <link:calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_880f9863-dd81-7240-4418-c9f1ba4fd53e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes" xlink:label="loc_us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes_49a3e3c5-5872-7ce5-52ad-d460357c8ee1" xlink:type="locator" />
    <link:calculationArc order="15" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes_49a3e3c5-5872-7ce5-52ad-d460357c8ee1" xlink:type="arc" />
    <link:loc xlink:href="erie-20161231.xsd#erie_IncreaseDecreaseInAccruedAgentBonuses" xlink:label="loc_erie_IncreaseDecreaseInAccruedAgentBonuses_5938536c-1265-727c-71c1-a7cf57d5a03d" xlink:type="locator" />
    <link:calculationArc order="16" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_8ab9b509-cc81-9912-329b-3866a58ee72a" xlink:to="loc_erie_IncreaseDecreaseInAccruedAgentBonuses_5938536c-1265-727c-71c1-a7cf57d5a03d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SupplementaryDataOnCashFlowsTables" xlink:type="extended" />
</link:linkbase>
</XBRL>
